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
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
* 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>
* 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>
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
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
Use ‘define-deprecated-package’ instead of (define x (deprecated-package …))
throughout gnu/packages/*.scm.
Change-Id: I4e176da9ac660327489dab256ca4d12c4e78fe8d
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>
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
* 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
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
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
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