[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
144/334: gnu: yelp: Update package definition.
From: |
guix-commits |
Subject: |
144/334: gnu: yelp: Update package definition. |
Date: |
Sat, 15 Aug 2020 16:26:48 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit eb0fd28523148593443891867319e7e5223c38c4
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Wed Jul 15 21:05:47 2020 -0400
gnu: yelp: Update package definition.
* gnu/packages/gnome.scm (yelp) [version]: Update to 3.36.0.
[source]<origin>[sha256]: Modify base32.
[outputs]: New output "doc".
[arguments]<#:configure-flags>[--enable-gtk-doc]: New flag.
[--with-html-dir]: New flag.
<#:phases>['patch-docbook-xml]: New phase.
[native-inputs]: Add docbook-xml, gtk+:bin, gtk-doc and python-wrapper.
[inputs]: Add glib and gtk+.
[home-page]: Modify.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 60 ++++++++++++++++++++++++++++++++++----------------
1 file changed, 41 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 719c671..a1f242e 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -6393,35 +6393,57 @@ jQuery.Syntax JavaScript libraries.")
(define-public yelp
(package
(name "yelp")
- (version "3.32.2")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnome/sources/" name "/"
- (version-major+minor version) "/"
- name "-" version ".tar.xz"))
- (sha256
- (base32
- "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f"))))
+ (version "3.36.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://gnome/sources/" name "/"
+ (version-major+minor version) "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32 "097djjyl096zmicjpxlb858yz6rd5cj813xc8azbxlhsscikwjzx"))))
(build-system glib-or-gtk-build-system)
+ (outputs '("out" "doc"))
+ (arguments
+ `(#:configure-flags
+ (list
+ "--enable-gtk-doc"
+ (string-append "--with-html-dir="
+ (assoc-ref %outputs "doc")
+ "/share/gtk-doc/html"))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "docs"
+ (substitute* "libyelp/libyelp-docs.xml"
+ (("http://www.oasis-open.org/docbook/xml/4.3/")
+ (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook/"))))
+ #t)))))
(native-inputs
- `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
+ `(("docbook-xml" ,docbook-xml-4.3)
+ ("glib:bin" ,glib "bin")
+ ("gtk+:bin" ,gtk+ "bin")
+ ("gtk-doc" ,gtk-doc)
("intltool" ,intltool)
("itstool" ,itstool)
- ("pkg-config" ,pkg-config)))
- (propagated-inputs
- `(("dconf" ,dconf)))
+ ("pkg-config" ,pkg-config)
+ ("python" ,python-wrapper)))
(inputs
- `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
+ `(("glib" ,glib)
+ ("gtk+" ,gtk+)
+ ("libxml2" ,libxml2)
("libxslt" ,libxslt)
("sqlite" ,sqlite)
("webkitgtk" ,webkitgtk)
("yelp-xsl" ,yelp-xsl)))
- (home-page "https://wiki.gnome.org/Apps/Yelp")
(synopsis "GNOME help browser")
- (description
- "Yelp is the help viewer in Gnome. It natively views Mallard, DocBook,
-man, info, and HTML documents. It can locate documents according to the
-freedesktop.org help system specification.")
+ (description "Yelp is the help viewer in Gnome. It natively views Mallard,
+DocBook, man, info, and HTML documents. It can locate documents according to
+the freedesktop.org help system specification.")
+ (home-page "https://wiki.gnome.org/Apps/Yelp")
(license license:gpl2+)))
(define-public yelp-tools
- 109/334: gnu: Add rust-serial-test-derive@0.4.0., (continued)
- 109/334: gnu: Add rust-serial-test-derive@0.4.0., guix-commits, 2020/08/15
- 119/334: git: rust-rgb: Update to 0.8.20., guix-commits, 2020/08/15
- 120/334: gnu: Add rust-servo-arc@0.1.1., guix-commits, 2020/08/15
- 118/334: gnu: Add rust-pin-project@0.4.22., guix-commits, 2020/08/15
- 122/334: gnu: Add rust-xml5ever@0.16.1., guix-commits, 2020/08/15
- 125/334: gnu: libsoup: Update package definition., guix-commits, 2020/08/15
- 127/334: gnu: openjpeg: Update package definition., guix-commits, 2020/08/15
- 132/334: gnu: pango: Update package definition., guix-commits, 2020/08/15
- 136/334: gnu: woff2: Update package definition., guix-commits, 2020/08/15
- 138/334: gnu: Add libcamera., guix-commits, 2020/08/15
- 144/334: gnu: yelp: Update package definition.,
guix-commits <=
- 145/334: gnu: zenity: Update package definition., guix-commits, 2020/08/15
- 152/334: gnu: glibmm: Update package definition., guix-commits, 2020/08/15
- 156/334: gnu: Add pangomm-2.42., guix-commits, 2020/08/15
- 158/334: gnu: gtkmm: Update package definition., guix-commits, 2020/08/15
- 159/334: gnu: gtkmm-2: Update package definition., guix-commits, 2020/08/15
- 160/334: gnu: gtksourceviewmm: Update package definition., guix-commits, 2020/08/15
- 165/334: gnu: Add gtx., guix-commits, 2020/08/15
- 167/334: gnu: Add zeitgeist., guix-commits, 2020/08/15
- 170/334: gnu: Add mmm., guix-commits, 2020/08/15
- 171/334: gnu: Add mrg., guix-commits, 2020/08/15