1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-13 08:30:38 +02:00
Commit Graph

589 Commits

Author SHA1 Message Date
Ludovic Courtès
1ae20f03f4 gnu: Reference the inherited inputs values.
This commit was made by running this command:

  sed -e's/modify-inputs (package-\([a-z-]*\)inputs [a-zA-Z0-9-]\+)/modify-inputs \1inputs/g' -i gnu/packages/*.scm

… and then reverting individual hunks where the change would trigger unbound
variable warnings or other issues (such as ‘native-inputs’ is bound in the
body of the ‘inputs’ field, but it refers to the ‘native-inputs’ thunk defined
just above).

Change-Id: I6d94819f2809313fa1fbefc61897502ee7d66fab
2026-03-20 13:27:16 +01:00
Ludovic Courtès
2a50c9598b gnu: Reference the inherited ‘arguments’ value.
This commit was made by running this command:

  sed -e's/substitute-keyword-arguments (package-arguments [a-zA-Z0-9-]\+)/substitute-keyword-arguments arguments/g' -i gnu/packages/*.scm

… and then:

  1. reverting changes from ‘gnu/packages/rust.scm’ and
     ‘gnu/packages/java.scm’ since they would incur derivation changes and/or
     breakage;
  2. reverting the change for ‘gcc-final’ in ‘gnu/packages/commencement.scm’;
  3. reverting the change for ‘onnx-optimizer’, ‘openquest’, and ‘certbot’,
     which use ‘substitute-keyword-arguments’ for arguments that are not
     inherited (and thus ‘arguments’ would be unbound);
  4. reverting the change for ‘insight-toolkit-legacy’ and ‘wine64-staging’
     which make bogus assumptions about inherited arguments.

Change-Id: I122a7cf517b6b63cae38944b5d33ade4b1f5a89c
2026-03-20 13:27:15 +01:00
pinoaffe
87a7c9272d gnu: Add xmlbird.
* gnu/packages/xml.scm (xmlbird): New variable.

Change-Id: Id4a0d359ef851cd01b846bfd16a788c2413dc947
Signed-off-by: Steve George <steve@futurile.net>
2026-02-14 21:34:25 +00:00
Yelninei
3afbbf8ae3 gnu: opensp: Fix build on the Hurd.
* gnu/packages/patches/opensp-maxpathlen.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/xml.scm (opensp): Add phase for adding the patch.

Change-Id: I47278396eb5ded8f654708019e51b7d88b13b976
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2026-02-07 22:37:16 +01:00
Nicolas Graves
348032e627 gnu: xmlsec: Update to 1.3.9.
* gnu/packages/xml.scm (xmlsec): Update to 1.3.9.
[source]: Switch to git-fetch.
[arguments]<#:configure-flags>: Disable dynamic loading support, as it
is not required and causes peculiar configuration requirements.
[inputs]: Remove libltdl.

Change-Id: I538fd6ff14fdc8f52531f7cd6ebd15fa063437f6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-02-07 12:28:46 +01:00
Nicolas Graves
ab0c70e27e gnu: python-defusedxml: Update to 0.7.1-0.c744588.
* gnu/packages/xml.scm (python-defusedxml): Update to 0.7.1-0.c744588.
[source]: Switch to git-fetch.
[arguments]: Run a custom test-suite.
[native-inputs]: Remove python-wheel.

Change-Id: If80357c1c4a18e0ca910ec245141ecad7649b08e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-02-07 12:28:28 +01:00
Nicolas Graves
2d6d1d1ca4 gnu: Add python-lxml-for-texlive.
* gnu/packages/xml.scm (python-lxml-for-texlive): New variable.

Change-Id: I736960de9bcf5ccf403678ca626904d65e70cff7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-02-07 12:28:19 +01:00
Hartmut Goebel
6a2d67a531 gnu: xerces-c: Update to 3.3.0.
* gnu/packages/xml.scm (xerces-c): Update to 3.3.0.

Change-Id: Ia2ca2d0761c66deb0a665f04ed268b05ab7551aa
2026-01-31 11:14:01 +01:00
Nicolas Graves
085593c5ef gnu: xlsx2csv: Update to 0.8.3.
* gnu/packages/xml.scm (xlsx2csv): Update to 0.8.3.
[arguments]: Improve style.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.

Change-Id: I8b4bd7e00b1fd6de08d9961ddc2f0a1c12c363b9
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-12-27 22:02:48 +00:00
Andrew Wong
e5dce117a2 gnu: Add pugixml-next.
* gnu/packages/xml.scm (pugixml-next): New variable.

Change-Id: I6256e7f94f85f73917c2dea30b914d90c23a429a
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2025-12-26 13:15:40 +01:00
Sergey Trofimov
1f3c679795 gnu: tinyxml2: Build position independent.
* gnu/packages/xml.scm (tinyxml2)[arguments]{#:configure-flags}:
Add CMAKE_POSITION_INDEPENDENT_CODE.

Change-Id: I0e41895edc617225ed998d15d050e2306bf7bef5
Signed-off-by: Greg Hogan <code@greghogan.com>
2025-12-11 19:26:25 +00:00
Hugo Buddelmeijer
8d9372a851 gnu: tinyxml2: Update to 11.0.0.
* gnu/packages/xml.scm (tinyxml2): Update to 11.0.0.
[home-page]: Fix URL.

Change-Id: I8cd1c61c40ad766c4dac640dd71f72a1955c04d3
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-12-09 19:46:18 +02:00
Giacomo Leidi
c425bac93d Update Giacomo's email address.
The change was automated via:

git grep -l goodoldpaul@autistici.org |
    xargs sed -i 's/goodoldpaul@autistici.org/therewasa@fishinthecalculator.me/g'

* .mailmap: New entry.

Change-Id: I1629388334695d221647afe6a14faf61af5fe0d6
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
2025-12-03 14:38:09 +09:00
Ricardo Wurmus
383fb009c8 gnu: libxml2-with-zlib: Use PACKAGE/INHERIT.
This is a follow-up to commit a77f4fb279.
Using PACKAGE/INHERIT allows us to benefit from replacements.

* gnu/packages/xml.scm (libxml2-with-zlib): Define with PACKAGE/INHERIT.

Change-Id: Ic637bcf93f9c273db28b6d460543723861497e89
2025-11-29 12:19:08 +01:00
Andreas Enge
073dbbd6c8 gnu: Remove python-lxml-4.7.
* gnu/packages/xml.scm (python-lxml-4.7): Delete variable.

Change-Id: I451d0a1269cd2d540f26a049d11f0d557e9b1689
2025-11-24 10:41:08 +01:00
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