Follow-up to changes in ed1b2d0a86a0a62d8d843f06669a5f072482c37e.
* gnu/packages/xml.scm (perl-xml-xpath)[arguments]<#:phases>: Order
'wrap-xpath after 'install instead of the nonexistent 'wrap.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
The native-search-paths from libxslt are reused within xmlto to provide
XML_CATALOG_FILES and SGML_CATALOG_FILES so it's unnecessary to include
libxml2 for the same effect.
* gnu/packages/wm.scm (i3status, awesome)[native-inputs]: Remove libxml2.
* gnu/packages/xml.scm (opensp)[native-inputs]: Ditto.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Otherwise when xmlto invokes xsltproc it will fail to find the XML catalog
files.
* gnu/packages/xml.scm (xmlto)[native-search-paths]: Add libxslt
native-search-paths to its own.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
According to xsltproc manpage it supports both XML_CATALOG_FILES and
SGML_CATALOG_FILES for catalog lookup.
Since the native-search-paths field is not thunked,
doing (package-native-search-paths libxslt) can lead to module import cycles
so we define a %libxslt-search-paths variable to avoid this kind of trouble.
* guix/search-paths.scm (%libxslt-search-paths): New variable.
* gnu/packages/xml.scm (libxslt)[native-search-paths]: Set to
%libxslt-search-paths.
* gnu/packages/perl.scm
(perl-app-xml-docbook-builder)[native-search-paths]: Ditto.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
According to the xmllint manpage it also makes use of the SGML_CATALOG_FILES
environment variable.
* gnu/packages/xml.scm (libxml2)[native-search-paths]: Add $SGML_CATALOG_FILES.
Co-authored-by: gemmaro <gemmaro.dev@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I7b4befe352ba10b7a4e134f0806331b63bb4f855
These variables are used by some packages for XML/SGML catalog lookups.
* guix/search-paths ($XML_CATALOG_FILES, $SGML_CATALOG_FILES): New variable,
extracted from …
* gnu/packages/xml.scm (libxml2, opensp)[native-search-paths]: … here. Refer
to the variables from (guix search-paths) respectively.
* gnu/packages/perl.scm
(perl-app-xml-docbook-builder)[native-search-paths]: Use $XML_CATALOG_FILES.
* doc/guix.texi (Search Paths): Update documentation to reflect changes.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
liblzma is present in Requires.private in the pkg-config definition of xmlb.
* gnu/packages/xml.scm (libxmlb) [propagated-inputs]: Add xz.
Change-Id: I7189b47d879561ffd1902079d20054a287ffaf20
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Commit af916f3f8b led './configure' to
attempt to run a non-native 'python' binary, which would fail unless
transparent binfmt_misc QEMU emulation is set up.
* gnu/packages/xml.scm (libxslt)[arguments]: Replace #:configure-flags
with "--disable-python" when cross-compiling.
* gnu/packages/xml.scm (python-lxml): Update to 4.9.1.
[source](modules, snippet): Remove.
[arguments]: Respect TESTS? keyword in check phase.
(python-lxml-4.7): Define as deprecated alias for PYTHON-LXML.
* gnu/packages/video.scm (streamlink)[propagated-inputs]: Change from
PYTHON-LXML-4.7 to PYTHON-LXML.
The www.extreme.indiana.edu site is now serving a redirect:
This site has been deprecated. You can access an archive of this site at
https://web.archive.org/web/20210225153105/https://www.extreme.indiana.edu/.
Because this isn't a 404, as it probably should be, guix follows this redirect
and gets some content that isn't the file it asked for.
To avoid this incorrect behaviour, switch to using a ci.guix.gnu.org URL for
the file instead.
* gnu/packages/xml.scm (java-xpp3)[source]: Switch the uri to ci.guix.gnu.org.
* gnu/packages/xml.scm (python-libxml2)[arguments]: Use G-expression. Remove
iconv header substitution which is no longer needed.
[inputs]: Remove labels.