gnu: glib: Enable man pages.

* gnu/packages/glib.scm (glib)[arguments]<#:configure-flags>[-Dman]: New flag.
[native-inputs]: Add docbook-xsl.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
This commit is contained in:
Raghav Gururajan 2021-03-25 02:14:27 -04:00
parent 8b8e611876
commit f1466c0caf
No known key found for this signature in database
GPG key ID: 45A8B1E86BCD10A6

View file

@ -198,6 +198,7 @@ (define glib
"bin")) ; glib-mkenums, gtester, etc.; depends on Python
(arguments
`(#:disallowed-references (,tzdata-for-tests)
#:configure-flags '("-Dman=true")
#:phases
(modify-phases %standard-phases
;; TODO: Remove the conditional in the next core-updates cycle.
@ -270,7 +271,8 @@ (define glib
;; (assoc-ref %outputs "bin")
;; "/bin"))
(native-inputs
`(("gettext" ,gettext-minimal)
`(("docbook-xsl" ,docbook-xsl)
("gettext" ,gettext-minimal)
("libintl" ,intltool)
("m4" ,m4) ; for installing m4 macros
("perl" ,perl) ; needed by GIO tests