gnu: plymouth: Delete fix-docbook phase.

* gnu/packages/freedesktop.scm (plymouth) [arguments]: Delete fix-docbook phase.
[native-inputs]: Add libxml2.
This commit is contained in:
Maxim Cournoyer 2023-04-21 00:23:22 -04:00
parent 8c3c5183e8
commit 62142016a4
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -2516,23 +2516,13 @@ (define-public plymouth
(add-after 'unpack 'make-reproducible
(lambda _
(substitute* "src/main.c"
(("__DATE__") "\"guix\""))))
(add-before 'configure 'fix-docbook
(lambda _
(substitute* "docs/Makefile.in"
(("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")
(string-append #$(this-package-native-input "docbook-xsl")
"/xml/xsl/docbook-xsl-"
#$(package-version (this-package-native-input "docbook-xsl"))
"/manpages/docbook.xsl")))
(setenv "XML_CATALOG_FILES"
(string-append #$(this-package-native-input "docbook-xml")
"/xml/dtd/docbook/catalog.xml")))))))
(("__DATE__") "\"guix\"")))))))
(inputs
(list glib pango libdrm libpng eudev))
(native-inputs
(list gettext-minimal
pkg-config
libxml2 ;for XML_CATALOG_FILES
libxslt
docbook-xsl
docbook-xml))