1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-24 11:11:12 +02:00
Commit Graph

550 Commits

Author SHA1 Message Date
Nicolas Graves
5053a59a0b gnu: Add and use libxml2-next/fixed.
Fixes guix/guix#2599.

* gnu/packages/xml.scm (libxml2-next/fixed): New variable.
(libxml2-next-from-grafting): Change replacement to libxml2-next/fixed.

Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
2025-09-11 13:24:30 +09:00
Liliana Marie Prikler
3f0c91bf26 gnu: Add libxml2-next-for-grafting.
* gnu/packages/xml.scm (libxml2-next-for-grafting): New variable.
2025-09-10 07:39:53 +02:00
Nicolas Graves
5bd5624982 gnu: packages: Avoid libxml2@2.9 propagation.
libxml2@2.9 has CVEs, we don't want it in user profiles.

* gnu/packages/augeas.scm (augeas)
* gnu/packages/bioinformatics.scm (libsbml)
* gnu/packages/elf.scm (libabigail)
* gnu/packages/freedesktop.scm (telepathy-logger)
* gnu/packages/glib.scm (libaccounts-glib)
* gnu/packages/gtk.scm (gtksourceview)
* gnu/packages/image-processing.scm (vips)
* gnu/packages/mate.scm (libmateweather)
* gnu/packages/messaging.scm (libgnt)
* gnu/packages/virtualization.scm (libvirt-glib)
* gnu/packages/vpn.scm (openconnect)
* gnu/packages/xml.scm (xmlsec)
[propagated-inputs]: Replace libxml2 by libxml2-next.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2025-09-04 11:13:05 +02:00
Ada Stevenson
761c1f7ac0 gnu: xmlsec: Update to 1.3.7.
* gnu/packages/xml.scm (xmlsec): Update to 1.3.7.

Fixes: guix/guix#2060

Change-Id: I16e25e6037734718a20041ec05ee195faa52de0d
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-08-18 19:37:10 +02:00
Maxim Cournoyer
27322a0be4 gnu: xlsxio: Switch to cmake-build-system.
* gnu/packages/xml.scm (xlsxio) [build-system]: Switch to cmake-build-system.
[arguments]: Streamline.
[native-inputs]: Remove which.

Change-Id: Ie40e04b4ee1e53b158609cb378674f9a64da512a
2025-07-26 11:54:44 +09:00
Liliana Marie Prikler
a823e30b74 gnu: Add python-lxml-html-clean.
* gnu/packages/xml.scm (python-lxml-html-clean): New variable.

Change-Id: Ia67f7cd90a172f025c810123bc3838926ef693a7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-23 16:23:25 +01:00
Maxim Cournoyer
026bd8771c gnu: Add libxml2-next.
* gnu/packages/xml.scm (libxml2-next): New variable.

Change-Id: I1c68243e8c53d6e8a1fbb4e21db2c7926d9730f0
2025-07-22 15:26:45 +09:00
Greg Hogan
fe5d8f5359 gnu: perl-xml-libxslt: Fix configure script.
* gnu/packages/patches/perl-xml-libxslt-fix-configure.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register patch.
* gnu/packages/xml.scm (perl-xml-libxslt)[origin]: Apply patch.

Change-Id: I9199c6e4de924c7425ccb06c3d7da12d9093b8a4
2025-07-18 20:17:54 +02:00
Greg Hogan
3ec3199fbb gnu: perl-xml-libxml: Fix build with clang 16+.
* gnu/packages/patches/perl-xml-libxml-fix-function-prototypes.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Register patch.
* gnu/packages/xml.scm (perl-xml-libxml)[origin]: Apply patch.

Change-Id: Ib0be83bbf149af6c3f8a477c24159fbd975fc06b
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-07-18 20:17:54 +02:00
Zheng Junjie
68714be8c7 gnu: Add python-lxml-4.9.
* gnu/packages/xml.scm (python-lxml-4.9): New variable.

Change-Id: Iaadc8e600f812759c3028482e76a6390b8caa801
2025-07-18 20:17:51 +02:00
Zheng Junjie
5f756ac866 gnu: expat: Update to 2.7.1.
* gnu/packages/xml.scm (expat): Update to 2.7.1.
(expat/fixed): Remove it.
* gnu/packages/patches/expat-CVE-2024-45490.patch: Remove it.
* gnu/packages/patches/expat-CVE-2024-45491.patch: Remove it.
* gnu/packages/patches/expat-CVE-2024-45492.patch: Remove it.
* gnu/local.mk (dist_patch_DATA): Unregister them.

Change-Id: Ia0bc5da202afba0636032e4f4e10051778214944
2025-07-18 20:17:33 +02:00
Janneke Nieuwenhuizen
df3664f155 gnu: xmlto: Fix build with gcc-14.
* gnu/packages/xml.scm (xmlto)[arguments]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.

Change-Id: I4eb5c18dede03f197aebb6d99c61e1cee307b471
2025-07-18 20:17:12 +02:00
Janneke Nieuwenhuizen
2f89df19ce gnu: python-lxml: Update to 5.2.2; fixes build with gcc-14.
* gnu/packages/xml.scm (python-lxml): Update to 5.2.2.  This fixes the build
with gcc-14.

Change-Id: Ia14c5266f157ed373d4d0129cc4623a09f22bb75
2025-07-18 20:17:12 +02:00
Antoine Côté
b5f79f21d0 gnu: libebml: Update to 1.4.5.
* gnu/packages/xml.scm (libebml): Update to 1.4.5.

Change-Id: Ib78669474d5040b6d4ceff64eb3f248ec77fc435
Signed-off-by: Andreas Enge <andreas@enge.fr>
2025-07-11 10:41:15 +02:00
Nicolas Graves
8dfd0173ee gnu: tinyxml: Fix CVE-2023-34194.
* gnu/packages/patches/tinyxml-CVE-2023-34194.patch: Add patch.
* gnu/packages/xml.scm, gnu/local.mk: Record it.

Signed-off-by: Zheng Junjie <z572@z572.online>
2025-06-23 12:32:51 +08:00
Lars Bilke
72de3752f0 gnu: Add xmlpatch.
* gnu/packages/xml.scm (xmlpatch): New variable.

Change-Id: I557f2dfbaadfef11c8ca592bb03ec829782fcb4e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2025-01-28 14:56:13 +01:00
Zheng Junjie
39dd387067 gnu: libxml2: Fix build to loongarch64.
* gnu/packages/xml.scm (libxml2)[native-inputs]: When target is loongarch64, add
config.
[arguments]: When target is loongarch64, Add update-config-scripts phase.

Change-Id: Icd2fbfbb321842933ddb9935fd8c3121beb2ad8c
2025-01-25 12:02:56 +08:00
宋文武
1cc3d3730b gnu: python-pyxb: Switch to maintained fork pyxb-x.
* gnu/packages/xml.scm (python-pyxb): Remove variable.
(python-pyxb-x): New variable.

Change-Id: I92d0157788542d81e024bb87a373075c6d2d1990
2025-01-20 21:37:51 +01:00
Gabriel Wicki
cba83a2038 gnu: Fix various style issues in descriptions.
* gnu/packages/astronomy.scm (python-ads): Fix description.
* gnu/packages/crates-io.scm (rust-is-debug-1): Fix description.
* gnu/packages/haskell-xyz.scm (ghc-ordered-containers): Fix description.
* gnu/packages/tex.scm (texlive-stex): Fix description.
* gnu/packages/textutils.scm bibutils): Fix description.
* gnu/packages/xml.scm (perl-libxml): Fix description.

Change-Id: I765a5326180cfa31ca1a1727d4da2b1f6a05faa0
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2025-01-05 12:34:06 -08:00
Sharlatan Hellseher
5e4951a539 gnu: python-defusedxml: Update to 0.7.1.
* gnu/packages/xml.scm (python-defusedxml): Update to 0.7.1.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Id6fd8fbc302f4c6a47d1b269efa9318a6e52919f
2024-12-13 20:19:04 +00:00
Nicolas Graves
2ae38bc72f gnu: python-xmltodict: Move to pyproject-build-system.
* gnu/packages/xml.scm (python-xmltodict):
  [build-system]: Move to pyproject-build-system.
  [native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ifb8f3f4aa56255ca596d9c8ae5ae41be479daf90
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:55 +00:00
Efraim Flashner
bd3d7c8587 gnu: xlsx2csv: Honor the #:tests? flag.
* gnu/packages/xml.scm (xlsx2csv)[arguments]: Adjust the custom 'check
phase to honor the #:tests? flag.

Change-Id: I13809dd414bc0e27b5bf404c35dabf67bbc4c4f4
2024-11-06 12:49:40 +02:00
Efraim Flashner
683e3f4fab gnu: tinyxml: Fix cross-compiling.
* gnu/packages/xml.scm (tinyxml)[arguments]: Adjust the custom
'build-shared-library phase to use the correct compiler for the target.

Change-Id: I7db740fca974aa719e06fab4d67cee1a3e014312
2024-11-06 12:49:40 +02:00
Efraim Flashner
ff799a1a95 gnu: tinyxml: Honor the #:tests? flag.
* gnu/packages/xml.scm (tinyxml)[arguments]: Adjust the custom 'check
phase to honor the #:tests? flag.

Change-Id: Id085358cc07572be3bcee887c825c826f1b00f58
2024-11-06 12:49:40 +02:00
Nicolas Graves
4915d321ca gnu: xlsxio: Update to 0.2.35. [security fixes]
This fixes CVE-2023-34795.

* gnu/packages/xml.scm (xlsxio): Update to 0.2.35.
2024-11-04 17:36:29 +08:00
Nicolas Graves
3196e072d7 gnu: xerces-c: Update to 3.2.5. [security fixes]
This fixes CVE-2023-37536.

* gnu/packages/xml.scm (xerces-c): Update to 3.2.5.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-24 14:50:09 +02:00
Efraim Flashner
610b395424 gnu: expat: Fix security vulnerabilities.
Fixes CVE-2024-45490, CVE-2024-45491, CVE-2024-45492.

* gnu/packages/xml.scm (expat)[replacement]: New field.
(expat/fixed): New variable.
* gnu/packages/patches/expat-CVE-2024-45490.patch,
gnu/packages/patches/expat-CVE-2024-45491.patch,
gnu/packages/patches/expat-CVE-2024-45492.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.

Change-Id: I74d5d7bce98d6c983b989c1afec7cf28777d1617
2024-09-19 09:57:10 +03:00
Bruno Victal
99c8d2ddd4 gnu: perl-xml-xpath: Fix use of nonexistent phase.
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>
2024-08-31 10:42:24 +02:00
Bruno Victal
5a3ee6b78f gnu: Remove unneeded libxml2 from native-inputs. (xmlto)
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>
2024-08-31 10:42:14 +02:00
Bruno Victal
f678c5f932 gnu: xmlto: Add libxslt native-search-paths to its own.
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>
2024-08-31 10:42:09 +02:00
Bruno Victal
3fab3a6439 gnu: xmlto: Rewrite with G-Expressions.
* gnu/packages/xml.scm (xmlto)[arguments]: Rewrite with G-Expressions.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:09 +02:00
Bruno Victal
74dd1ab733 gnu: libxml2: Rewrite using G-Expressions.
* gnu/packages/xml.scm (libxml2): Use G-Expressions.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:09 +02:00
Bruno Victal
ec28ce00fd gnu: libxslt: Set search-paths for XML and SGML catalogs.
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>
2024-08-31 10:42:07 +02:00
Bruno Victal
ed4e9eebb4 gnu: libxml2: Add $SGML_CATALOG_FILES to native-search-path.
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
2024-08-31 10:42:07 +02:00
Bruno Victal
e96fa0b695 search-paths: Add $XML_CATALOG_FILES and $SGML_CATALOG_FILES.
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>
2024-08-31 10:42:07 +02:00
Bruno Victal
67039cda75 gnu: perl-xml-xpath: Update to 1.48.
* gnu/packages/xml.scm (perl-xml-xpath): Update to 1.48.
[native-inputs]: Add perl-test-leaktrace.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:06 +02:00
Bruno Victal
f246666d32 gnu: perl-xml-xpath: Wrap xpath command.
* gnu/packages/xml.scm (perl-xml-xpath)[arguments]: Wrap xpath. Add test for
wrapped xpath.
[description]: Document xpath command presence.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:42:06 +02:00
gemmaro
b1edf2649e gnu: Add xml-namespace-xsd.
* gnu/packages/xml.scm (xml-namespace-xsd): New variable.

Change-Id: Iec2d68f1d9190ba9e1723ca10adf1de0dfd2d722
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2024-07-21 09:42:13 +02:00
Vivien Kraus
60db3a6b3f gnu: libxmlb: Add xz to propagated-inputs.
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>
2023-11-21 22:00:54 +01:00
Liliana Marie Prikler
02555467ce gnu: libxmlb: Update to 0.3.14.
* gnu/packages/xml.scm (libxmlb): Update to 0.3.14.

Change-Id: I8571b3f46a5528d04cc2ea013ff2ab0ef4ba19da
2023-11-11 01:37:59 +01:00
Tobias Geerinckx-Rice
0318188a5c gnu: libxmlb: Update to 0.3.12.
* gnu/packages/xml.scm (libxmlb): Update to 0.3.12.
[propagated-inputs]: Add zstd:lib.
2023-08-06 02:00:00 +02:00
Felix Gruber
bc6d1b4a41 gnu: freexl: Update to 2.0.0.
* gnu/packages/xml.scm (freexl): Update to 2.0.0.
  [inputs]: Add expat and minizip.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-08-13 15:50:49 +02:00
Efraim Flashner
533d2b83a1 gnu: libxml2: Download using mirror uri.
* gnu/packages/xml.scm (libxml2)[source]: Rewrite source uri to use
download mirrors.
2023-07-09 10:43:02 +03:00
Efraim Flashner
8c759ce23e gnu: libxslt: Download using mirror uri.
* gnu/packages/xml.scm (libxslt)[source]: Rewrite source uri to use
download mirrors.
2023-07-09 10:43:02 +03:00
Greg Hogan
fd76ffb974 gnu: html-xml-utils: Update to 8.6.
* gnu/packages/xml.scm (html-xml-utils): Update to 8.6.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-06-01 12:39:58 +03:00
Maxim Cournoyer
555e3a951f gnu: opensp: Fix build.
This is a follow up commit to b84d0b81b2.

* gnu/packages/xml.scm (opensp) [arguments]: Properly quote.
2023-04-21 08:29:00 -04:00
Maxim Cournoyer
b84d0b81b2 gnu: opensp: Remove patch-docbook-xml phase.
* gnu/packages/xml.scm (opensp) [arguments]: Remove patch-docbook-xml
phase.  Use gexps.
[native-inputs]: Remove labels.
2023-04-21 00:44:06 -04:00
Ludovic Courtès
0bd40ca9a9 gnu: libxslt: Really allow cross-compilation.
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.
2023-03-10 00:26:23 +01:00
Ludovic Courtès
ef893df92a gnu: libxslt: Allow cross-compilation.
* gnu/packages/xml.scm (libxslt)[arguments]: Rewrite using gexps.
Add #:configure-flags.
2023-03-09 22:24:10 +01:00
Christopher Baines
7df09ee0ab Merge remote-tracking branch 'savannah/master' into core-updates
Conflicts:
	gnu/local.mk
	gnu/packages/autotools.scm
	gnu/packages/cmake.scm
	gnu/packages/gnuzilla.scm
	gnu/packages/haskell.scm
	gnu/packages/pdf.scm
	gnu/packages/python-xyz.scm
	gnu/packages/samba.scm
	gnu/packages/tex.scm
	gnu/packages/tls.scm
	gnu/packages/wxwidgets.scm
2023-03-02 10:55:08 +00:00