summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-12-03 08:59:00 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-12-03 08:59:52 +0200
commitd9865443161efb6edfa82fb924e8fcae02b1e851 (patch)
treea7a781f99702b4d09d8e98ac42e52030037d6da0 /gnu/packages
parent6b7c483328801af1bcafe5e87eeac1b1a7819f66 (diff)
gnu: libsoup: Patch docbook-xml references.
* gnu/packages/gnome.scm (libsoup)[arguments]: Add phase to refer to local copy of docbook-xml. [native-inputs]: Add docbook-xml-4.1.2.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/gnome.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 530846350f..623732d8bc 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4680,6 +4680,14 @@ libxml to ease remote use of the RESTful API.")
#:configure-flags '("-Dgtk_doc=true")
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((xmldoc (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook")))
+ (substitute* (find-files "docs/reference")
+ (("http://.*/docbookx\\.dtd")
+ (string-append xmldoc "/docbookx.dtd")))
+ #t)))
(add-after 'unpack 'adjust-tests
(lambda _
;; This test fails due to missing /etc/nsswitch.conf
@@ -4751,7 +4759,8 @@ libxml to ease remote use of the RESTful API.")
(delete-file-recursively (string-append out "/share/gtk-doc"))
#t))))))
(native-inputs
- `(("glib:bin" ,glib "bin") ; for glib-mkenums
+ `(("docbook-xml" ,docbook-xml-4.1.2)
+ ("glib:bin" ,glib "bin") ; for glib-mkenums
("gobject-introspection" ,gobject-introspection)
("gtk-doc" ,gtk-doc)
("intltool" ,intltool)