diff options
| author | John Darrington <jmd@gnu.org> | 2014-07-13 16:38:26 +0200 |
|---|---|---|
| committer | John Darrington <jmd@gnu.org> | 2014-07-16 06:28:01 +0200 |
| commit | b4ce630048e0c755897c35670560d7c0bb9ce044 (patch) | |
| tree | 43c3c8cef5e093740230d76affb9ea85f93889dd /gnu | |
| parent | 7f4bf030343bcb8a356f225595b0e2732025d311 (diff) | |
gnu: Enable gnome-doc-utils tests
* gnu/packages/gnome (gnome-doc-utils): Set the XML_CATALOG_FILES variable and
enable the tests.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/gnome.scm | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index a043d8d4d27..893c3e8a6bf 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | #:use-module (gnu packages) | 26 | #:use-module (gnu packages) |
| 27 | #:use-module (gnu packages bison) | 27 | #:use-module (gnu packages bison) |
| 28 | #:use-module (gnu packages flex) | 28 | #:use-module (gnu packages flex) |
| 29 | #:use-module (gnu packages docbook) | ||
| 29 | #:use-module (gnu packages glib) | 30 | #:use-module (gnu packages glib) |
| 30 | #:use-module (gnu packages gnupg) | 31 | #:use-module (gnu packages gnupg) |
| 31 | #:use-module (gnu packages gstreamer) | 32 | #:use-module (gnu packages gstreamer) |
| @@ -136,14 +137,24 @@ The gnome-about program helps find which version of GNOME is installed.") | |||
| 136 | (base32 | 137 | (base32 |
| 137 | "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb")))) | 138 | "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb")))) |
| 138 | (build-system gnu-build-system) | 139 | (build-system gnu-build-system) |
| 140 | (arguments | ||
| 141 | `(#:phases | ||
| 142 | (alist-cons-before | ||
| 143 | 'check 'pre-check | ||
| 144 | (lambda* (#:key inputs #:allow-other-keys #:rest args) | ||
| 145 | ;; This is needed, because without it, xmlint etc tries | ||
| 146 | ;; to download docbookx.dtd from the net | ||
| 147 | (setenv "XML_CATALOG_FILES" | ||
| 148 | (string-append (assoc-ref inputs "docbook-xml") | ||
| 149 | "/xml/dtd/docbook/catalog.xml"))) | ||
| 150 | %standard-phases))) | ||
| 139 | (native-inputs | 151 | (native-inputs |
| 140 | `(("intltool" ,intltool) | 152 | `(("intltool" ,intltool) |
| 153 | ("docbook-xml" ,docbook-xml-4.4) | ||
| 141 | ("libxml2" ,libxml2) | 154 | ("libxml2" ,libxml2) |
| 142 | ("libxslt" ,libxslt) | 155 | ("libxslt" ,libxslt) |
| 143 | ("pkg-config" ,pkg-config) | 156 | ("pkg-config" ,pkg-config) |
| 144 | ("python-2" ,python-2))) | 157 | ("python-2" ,python-2))) |
| 145 | (arguments | ||
| 146 | `(#:tests? #f)) ; tries to load http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd | ||
| 147 | (home-page "https://wiki.gnome.org/GnomeDocUtils") | 158 | (home-page "https://wiki.gnome.org/GnomeDocUtils") |
| 148 | (synopsis | 159 | (synopsis |
| 149 | "Documentation utilities for the Gnome project") | 160 | "Documentation utilities for the Gnome project") |
