mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: gtk-doc: Update to 1.27.
* gnu/packages/gtk.scm (gtk-doc)[source]: Update to 1.27. [arguments]<#:phases>[patch-gtk-doc-scan]: New phase. [arguments]<#:phases>[patch-test-out]: New phase. [propagated-inputs]: Add python-six.
This commit is contained in:
parent
abf818bcf5
commit
36ba88da4a
1 changed files with 22 additions and 2 deletions
|
@ -1416,7 +1416,7 @@ (define-public girara
|
||||||
(define-public gtk-doc
|
(define-public gtk-doc
|
||||||
(package
|
(package
|
||||||
(name "gtk-doc")
|
(name "gtk-doc")
|
||||||
(version "1.25")
|
(version "1.27")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnome/sources/" name "/"
|
(uri (string-append "mirror://gnome/sources/" name "/"
|
||||||
|
@ -1424,12 +1424,30 @@ (define-public gtk-doc
|
||||||
name "-" version ".tar.xz"))
|
name "-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0hpxcij9xx9ny3gs9p0iz4r8zslw8wqymbyababiyl7603a6x90y"))))
|
"0vwsdl61nvnmqswlz5j9m4hg7qirhazwcikcnqf9nx0c13vx6sz2"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:parallel-tests? #f
|
`(#:parallel-tests? #f
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-gtk-doc-scan
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(substitute* "gtk-doc.xsl"
|
||||||
|
(("http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl")
|
||||||
|
(string-append (assoc-ref inputs "docbook-xsl")
|
||||||
|
"/xml/xsl/docbook-xsl-"
|
||||||
|
,(package-version docbook-xsl)
|
||||||
|
"/html/chunk.xsl")))
|
||||||
|
#t))
|
||||||
|
(add-after 'patch-gtk-doc-scan 'patch-test-out
|
||||||
|
(lambda _
|
||||||
|
;; sanity.sh counts the number of status lines. Since our
|
||||||
|
;; texlive regenerates the fonts every time and the font
|
||||||
|
;; generator metafont outputs a lot of extra lines, this
|
||||||
|
;; test would always fail. Disable it for now.
|
||||||
|
(substitute* "tests/Makefile.in"
|
||||||
|
(("empty.sh sanity.sh") "empty.sh"))
|
||||||
|
#t))
|
||||||
(add-before 'build 'set-HOME
|
(add-before 'build 'set-HOME
|
||||||
(lambda _
|
(lambda _
|
||||||
;; FIXME: dblatex with texlive-union does not find the built
|
;; FIXME: dblatex with texlive-union does not find the built
|
||||||
|
@ -1470,6 +1488,8 @@ (define-public gtk-doc
|
||||||
("docbook-xsl" ,docbook-xsl)
|
("docbook-xsl" ,docbook-xsl)
|
||||||
("source-highlight" ,source-highlight)
|
("source-highlight" ,source-highlight)
|
||||||
("glib" ,glib)))
|
("glib" ,glib)))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("python-six" ,python-six)))
|
||||||
(home-page "http://www.gtk.org/gtk-doc/")
|
(home-page "http://www.gtk.org/gtk-doc/")
|
||||||
(synopsis "Documentation generator from C source code")
|
(synopsis "Documentation generator from C source code")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue