mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: gdk-pixbuf: Unconditionally lookup docbook in native-inputs.
* gnu/packages/gtk.scm (gdk-pixbuf)[arguments]<#:phases>{patch-docbook}: Unconditionally look in (or native-inputs inputs) for docbook-xsl and docbook-xml. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
parent
9ccb0cf70a
commit
cf7c7e2596
1 changed files with 5 additions and 11 deletions
|
@ -623,23 +623,17 @@ highlighting and other features typical of a source code editor.")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-docbook
|
(add-after 'unpack 'patch-docbook
|
||||||
;; TODO(core-updates): Unconditionally look in (or native-inputs inputs)
|
(lambda* (#:key native-inputs inputs #:allow-other-keys)
|
||||||
(lambda* (#:key ,@(if (%current-target-system)
|
|
||||||
'(native-inputs)
|
|
||||||
'())
|
|
||||||
inputs #:allow-other-keys)
|
|
||||||
(with-directory-excursion "docs"
|
(with-directory-excursion "docs"
|
||||||
(substitute* "meson.build"
|
(substitute* "meson.build"
|
||||||
(("http://docbook.sourceforge.net/release/xsl/current/")
|
(("http://docbook.sourceforge.net/release/xsl/current/")
|
||||||
(string-append (assoc-ref ,(if (%current-target-system)
|
(string-append (assoc-ref (or native-inputs inputs)
|
||||||
'(or native-inputs inputs)
|
"docbook-xsl")
|
||||||
'inputs) "docbook-xsl")
|
|
||||||
"/xml/xsl/docbook-xsl-1.79.2/")))
|
"/xml/xsl/docbook-xsl-1.79.2/")))
|
||||||
(substitute* (find-files "." "\\.xml$")
|
(substitute* (find-files "." "\\.xml$")
|
||||||
(("http://www.oasis-open.org/docbook/xml/4\\.3/")
|
(("http://www.oasis-open.org/docbook/xml/4\\.3/")
|
||||||
(string-append (assoc-ref ,(if (%current-target-system)
|
(string-append (assoc-ref (or native-inputs inputs)
|
||||||
'(or native-inputs inputs)
|
"docbook-xml")
|
||||||
'inputs) "docbook-xml")
|
|
||||||
"/xml/dtd/docbook/"))))
|
"/xml/dtd/docbook/"))))
|
||||||
#t))
|
#t))
|
||||||
(add-before 'configure 'disable-failing-tests
|
(add-before 'configure 'disable-failing-tests
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue