mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
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>
This commit is contained in:
parent
3e921edd6b
commit
41f203f9da
1 changed files with 41 additions and 19 deletions
|
@ -6765,35 +6765,57 @@ (define-public yelp-xsl
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue