gnu: Enable gnome-doc-utils tests
* gnu/packages/gnome (gnome-doc-utils): Set the XML_CATALOG_FILES variable and enable the tests.
This commit is contained in:
parent
7f4bf03034
commit
b4ce630048
|
@ -26,6 +26,7 @@
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages bison)
|
#:use-module (gnu packages bison)
|
||||||
#:use-module (gnu packages flex)
|
#:use-module (gnu packages flex)
|
||||||
|
#:use-module (gnu packages docbook)
|
||||||
#:use-module (gnu packages glib)
|
#:use-module (gnu packages glib)
|
||||||
#:use-module (gnu packages gnupg)
|
#:use-module (gnu packages gnupg)
|
||||||
#:use-module (gnu packages gstreamer)
|
#:use-module (gnu packages gstreamer)
|
||||||
|
@ -136,14 +137,24 @@ The gnome-about program helps find which version of GNOME is installed.")
|
||||||
(base32
|
(base32
|
||||||
"19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
|
"19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(alist-cons-before
|
||||||
|
'check 'pre-check
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys #:rest args)
|
||||||
|
;; This is needed, because without it, xmlint etc tries
|
||||||
|
;; to download docbookx.dtd from the net
|
||||||
|
(setenv "XML_CATALOG_FILES"
|
||||||
|
(string-append (assoc-ref inputs "docbook-xml")
|
||||||
|
"/xml/dtd/docbook/catalog.xml")))
|
||||||
|
%standard-phases)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("intltool" ,intltool)
|
`(("intltool" ,intltool)
|
||||||
|
("docbook-xml" ,docbook-xml-4.4)
|
||||||
("libxml2" ,libxml2)
|
("libxml2" ,libxml2)
|
||||||
("libxslt" ,libxslt)
|
("libxslt" ,libxslt)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
("python-2" ,python-2)))
|
("python-2" ,python-2)))
|
||||||
(arguments
|
|
||||||
`(#:tests? #f)) ; tries to load http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd
|
|
||||||
(home-page "https://wiki.gnome.org/GnomeDocUtils")
|
(home-page "https://wiki.gnome.org/GnomeDocUtils")
|
||||||
(synopsis
|
(synopsis
|
||||||
"Documentation utilities for the Gnome project")
|
"Documentation utilities for the Gnome project")
|
||||||
|
|
Loading…
Reference in New Issue