1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-17 07:40:29 +02:00
Commit Graph

574 Commits

Author SHA1 Message Date
Ricardo Wurmus
a77f4fb279 gnu: Add libxml2-with-zlib.
* gnu/packages/xml.scm (libxml2-with-zlib): New variable.

Change-Id: I2cc59d8f0758b4caf6f35dedabc9ee66f41ca11c
2025-11-13 11:16:18 +01:00
Maxim Cournoyer
429e41739c gnu: python-libxml2: Reintroduce simplified deprecation.
This is a fixup for commit c23b9a1 ("gnu: Remove libxml2-xpath0.") which
wrongly resolved a conflict.

* gnu/packages/xml.scm (python-libxml2): Reintroduce simplified deprecation.

Change-Id: Ia9e474329c0ec695e15571cbe99dbbb6ced0b3ab
2025-11-13 15:12:12 +09:00
Maxim Cournoyer
c23b9a1017 gnu: Remove libxml2-xpath0.
* gnu/packages/xml.scm (libxml2-xpath0): Delete variable.

Fixes: #3516
Fixes: <https://bugs.gnu.org/79572>
Change-Id: I8fd49d0ce1394fc4e55a148e15c23388934524a4
2025-11-13 11:05:04 +09:00
Ludovic Courtès
9fcfb93944 gnu: Use ‘define-deprecated-package’ for deprecated packages.
Use ‘define-deprecated-package’ instead of (define x (deprecated-package …))
throughout gnu/packages/*.scm.

Change-Id: I4e176da9ac660327489dab256ca4d12c4e78fe8d
2025-10-23 19:35:06 +02:00
Sharlatan Hellseher
12fc06db4b gnu: python-lxml-html-clean: Update to 0.4.3, fixing tests.
* gnu/packages/xml.scm (python-lxml-html-clean): Update to 0.4.3.
[native-inputs]: Remove python-wheel.

Change-Id: Ice66bd0f1333071c4f296a39d32d44b95573dcc8
2025-10-05 17:09:35 +01:00
Yelninei
3f1e7cc449 gnu: libxml2: Fix cross compiling
Also add a comment to remove inputs for deprecated and removed functionality.

* gnu/packages/xml.scm (libxml2)[inputs]: Add python-minimal.

Change-Id: I1bdff4808b92bf5001e9f19bea46ef2e32b73a87
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
2025-10-04 20:05:20 +09:00
Maxim Cournoyer
638c051622 gnu: perl-xml-libxslt: Update to 2.003000, take 2.
This is a fixup to commit ef22a23ecf, inadvertently pushed too early.

* gnu/packages/xml.scm (perl-xml-libxslt)
[arguments]: Delete.
[native-inputs]: Add pkg-config.
[inputs]: Add comment justifying use of older libxml2-2.11.
* gnu/packages/patches/perl-xml-libxslt-fix-configure.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.

Fixes: #3175
Change-Id: I850e9bec260bfd527372509bbe8eaa30883840a3
2025-10-03 12:41:52 +09:00
Maxim Cournoyer
f9323c4585 gnu: perl-xml-libxslt: Update to 2.003000.
* gnu/packages/xml.scm (perl-xml-libxslt): Update to 2.003000.
[source] {patches}: Delete.
[#:phases]: New argument.
[inputs]: Replace libxml2 with libxml2-2.11, for the test suite to pass.

Change-Id: I850e9bec260bfd527372509bbe8eaa30883840a3
2025-10-03 12:23:07 +09:00
Maxim Cournoyer
7e5d0624f3 gnu: libxslt: Add TODOs for progating libxml2.
* gnu/packages/xml.scm (libxslt): Add TODO comments.

Change-Id: Ib192ea24f131b06dc44fa57f1cbc999c3585a19c
2025-10-03 12:20:46 +09:00
Remco van 't Veer
b9d14de556 gnu: xmlstarlet: Fix build.
* gnu/packages/xml.scm (xmlstarlet)[inputs]: Replace libxml2 with libxml2-2.11.

Change-Id: I51d31c5b1ed92dc3b9b7a32e3e363525489272d1
Signed-off-by: jgart <jgart@dismail.de>
2025-10-02 10:50:50 -05:00
Maxim Cournoyer
8565ce1161 gnu: perl-xml-libxml: Skip test suite for now.
The test suite is broken with the recent libxml2 update.

* gnu/packages/xml.scm (perl-xml-libxml) [inputs]: Replace libxml2 with
libxml2-2.11.
[#:tests?]: Set to #f.

Change-Id: I9a39f02897388cc5f493e9f54df0af26ac7d1903
2025-09-30 16:52:06 +09:00
Maxim Cournoyer
c6ab85258a gnu: python-lxml-4.9: Disable test suite.
* gnu/packages/xml.scm (python-lxml-4.9) [#:tests?]: Set to #f.
[#:phases] {check}: Delete.

Change-Id: I1e984f27598ed7dfd694712bb609b4d6a2ab242c
2025-09-30 16:48:24 +09:00
John Kehayias
c383c3b059 gnu: librsvg-2.40: Fix build.
* gnu/packages/gnome.scm (librsvg-2.40)[inputs]: Replace libxml2 with libxml2-2.11.
* gnu/packages/xml.scm (libxml2-2.11): New variable.
(libxml2): Remove outdated comment.

Change-Id: I7080f39aab81ca104836b64dd1f7c10d14157e81
2025-09-30 16:48:21 +09:00
John Kehayias
275548ebdb gnu: python-lxml: Update to 6.0.1.
* gnu/packages/xml.scm (python-lxml): Update to 6.0.1.

Change-Id: Iab60f97a74c804e17fd2f2adf326d8a098c06ef0
2025-09-30 16:48:20 +09:00
John Kehayias
993e34e3d3 gnu: libxslt: Update to 1.1.43 [security-fixes].
The following CVEs were fixed:

- CVE-2025-24855: Fix use-after-free of XPath context node
- CVE-2024-55549: Fix UAF related to excluded namespaces

Additionally, a patch from Debian for generated IDs and reproduciblity no
longer applies cleanly and is likely problematic or (partially?) unneeded.
See <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902051> for the latest.

* gnu/packages/xml.scm (libxslt): Update to 1.1.43.
(source): Remove patch.
* gnu/packages/patches/libxslt-generated-ids.patch: Delete it.
* gnu/local.mk (dist_patch_DATA): Unregister it.

Change-Id: Ia10d906bab090792d28524beda6aca79a5a21684
2025-09-30 16:48:20 +09:00
John Kehayias
58c345f56c gnu: libxml2: Update to 2.14.6; deprecate python-libxml2.
Python bindings for libxml2 are now built as part of libxml2; remove all
python-libxml2 inputs for libxml2 (nearly all already had libxml2) and
deprecate the package.  This was done manually using

git grep python-libxml2 gnu/packages

to find affected packages and then check all their input fields.

With the update to libxml2, we can remove all the libxml2-next* variants.
This change was automated with:

git grep -rl libxml2-next | xargs sed -i 's/\(libxml2-next\|libxml2-next-for-grafting\)/libxml2/g'

* gnu/packages/xml.scm (libxml2): Update to 2.14.6.
[arguments]<#:phases>: Add configure-python phase (from python-libxml2).
[native-inputs]: Add pkg-config and python-minimal.
(libxml2-next, libxml2-next/fixed, libxml2-next-for-grafting): Remove.
(python-libxml2): Deprecate in favor of libxml2.

Change-Id: I2976f2fde086e9bc345d661edbdc125abbb7a753
2025-09-30 16:48:20 +09:00
Sharlatan Hellseher
4196c9673f gnu: python-xmltodict: Update to 0.14.2.
* gnu/packages/xml.scm (python-xmltodict): Update to 0.14.2.
[native-inputs]: Remove python-coverage, python-nose, and python-wheel; add
python-pytest.

Change-Id: Iecfc5a944fa34637f758d08211466a9ab3d5aa76
2025-09-25 09:36:02 +01:00
Sharlatan Hellseher
f2527aaa23 gnu: python-untangle: Update to 1.2.1-2.7eec044.
* gnu/packages/xml.scm (python-untangle): Update to 1.2.1-2.7eec044.
  [build-system]: Use pyproject.
  [arguments]: Dropp them.
  [propagated-inputs]: Add python-defusedxml.
  [native-inputs]: Add python-poetry-core and python-pytest.

Change-Id: I811928c729e6c89034734b3998c52d6aa1e4b94d
2025-09-25 09:36:01 +01:00
Sharlatan Hellseher
523d68a25c gnu: python-elementpath: Enable tests.
* gnu/packages/xml.scm (python-elementpath): Enable tests.
[arguments] <test-backend>: Use 'unittest.
<phases>: Add 'set-locales.
[native-inputs]: Add glibc-locales, python-lxml, and
python-xmlschema-bootstrap.

Change-Id: I9a48dc1e508a6701472890a17a3ed0cf95d051a8
2025-09-25 09:35:37 +01:00
Sharlatan Hellseher
8d02f097e6 gnu: Add python-xmlschema-bootstrap.
* gnu/packages/xml.scm (python-xmlschema-bootstrap): New variable.

Change-Id: I2b5ae32a3157c57a8e89a2d14b314404043a0a5c
2025-09-25 09:35:37 +01:00
Sharlatan Hellseher
a49c2fb668 gnu: python-xmlschema: Update to 4.1.0.
* gnu/packages/xml.scm (python-xmlschema): Update to 4.1.0.
[build-system]: Use pyproject.
[arguments] <test-backend>: Use 'unittest.
<phases>: Use default 'check.
[native-inputs]: Add python-setuptools.

Change-Id: Ia7fd7d8af9981e19566be05d85cf8288a772a7e9
2025-09-25 09:35:37 +01:00
Sharlatan Hellseher
0d0211a113 gnu: python-elementpath: Update to 5.0.4.
* gnu/packages/xml.scm (python-elementpath): Update to 5.0.4.
[build-system]: Use pyproject.
[native-inputs]: Add python-setuptools.

Change-Id: I03f0a0c46644946370694fceb3a68c3c03dccb59
2025-09-25 09:35:37 +01:00
Sharlatan Hellseher
0fdca05c08 gnu: python-libxml2: Switch to pyproject.
* gnu/packages/xml.scm (python-libxml2)[build-system]: Switch to
pypojrect-build-system.
[native-inputs]: Add python-setuptools.

Change-Id: I4a8ac976b9bdb508f4c1efa4b29407a96615aeb2
2025-09-25 09:35:34 +01:00
Sharlatan Hellseher
c05d25aa79 gnu: python-lxml: Switch to pyproject.
* gnu/packages/xml.scm (python-lxml) [build-system]: Switch to
pyproject-build-system.
[native-inputs]: Add python-setuptools.
(python-lxml-4.9)[arguments] <phases>: Add custom 'check.

Change-Id: Ib64a5e181dbc70fdb03607e05d79549ef2e51738
2025-09-25 09:35:34 +01:00
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