1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: metapixel: Drop docbook workaround.

* gnu/packages/image-processing.scm (metapixel)[arguments]<#:phases>: Drop
'make-local-docbook-xml phase.
[native-inputs]: Use docbook-xml-4.2 instead of docbook-xml.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Bruno Victal
2023-10-09 21:06:24 +01:00
committed by Ludovic Courtès
parent 27b60ae829
commit 775c41827c

View File

@@ -1563,7 +1563,7 @@ full-featured UI aimed at clinical researchers.")
("perl" ,perl)))
(native-inputs
`(("pkg-config" ,pkg-config)
("docbook-xml" ,docbook-xml)
("docbook-xml" ,docbook-xml-4.2)
("docbook-xsl" ,docbook-xsl)
("xsltproc" ,libxslt)))
(arguments
@@ -1576,13 +1576,6 @@ full-featured UI aimed at clinical researchers.")
#:phases
(modify-phases %standard-phases
(delete 'configure)
(add-before 'install 'make-local-docbook-xml
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "metapixel.xml"
(("http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd")
(string-append (assoc-ref inputs "docbook-xml")
"/xml/dtd/docbook/docbookx.dtd")))
#t))
(add-before 'install 'fix-directory-creation
(lambda* (#:key outputs #:allow-other-keys)
(mkdir-p (string-append (assoc-ref outputs "out") "/share/man/man1"))