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
This prevents xorg-server from having over 1,000 dependents.
* gnu/packages/gl.scm (glad)[native-inputs]: Use xvfb-run-for-tests instead of
xvfb-run.
Change-Id: I6b2fea1ba92395eef08fab77e5225b2abd95a954
Use ‘define-deprecated-package’ instead of (define x (deprecated-package …))
throughout gnu/packages/*.scm.
Change-Id: I4e176da9ac660327489dab256ca4d12c4e78fe8d
The previously used Clover backend has been removed.
* gnu/packages/gl.scm (mesa-opencl-icd): Define as deprecated, using as
replacement...
(mesa-opencl): ... this, absorbing its icd file adjusting phase.
[#:modules]: New field.
[#:phases] {use-absolute-file-name-in-rusticl}: New phase.
Change-Id: If7ff766557dd37928e70d8e3ae03d7f1f467ab8a
The previously used Clover backend has been removed.
* gnu/packages/gl.scm (mesa-opencl) [#:configure-flags]: Remove
gallium-opencl flag. Add gallium-rusticl and gallium-rusticl-enable-drivers.
* gnu/packages/rust-apps.scm (rust-bindgen-cli) [inputs]: Replace clang with
clang-18.
Change-Id: I4e3557816c9a5bb5c652295f1351c3bd8eac608d
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
Note: this is not the first "stable" release, but making this available for
testing as some configuration we used have been dropped upstream.
* gnu/packages/gl.scm (mesa): Update to 25.2.0.
[arguments]<#:meson>: Use meson-1.8.
<#:configure-flags>: Remove osmesa and gallium-xa flags (no longer available).
* gnu/packages/rust-crates.scm (mesa-cargo-inputs): Add rustc-hash.
Change-Id: I36d59582b5d827f78040a248a54fd11e2f982393
Starting with Mesa 24.3, X11 protocol support for the DRI2 extension is
no longer enabled by default. The developers are phasing it out in
favor of DRI3, and have moved it into an optional 'legacy-x11' feature.
Re-enable it to retain hardware acceleration on older systems that do
not support DRI3.
* gnu/packages/gl.el (mesa)[arguments]<#:configure-flags>: Add
'-Dlegacy-x11=dri2'.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
This reverts commit a7db92d9b3, this time with
the more careful command, to avoid a world rebuild:
grep -rl --exclude-dir=build --exclude-dir=patches --exclude=ld-wrapper.in \
--exclude=sitecustomize.py --exclude=guix-emacs.el maxim.cournoyer@gmail.com |
xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'
Change-Id: I0871f5cf9ace79e34e78e24154d0da6ea95a3a91
The change was automated via:
git grep -l maxim.cournoyer@gmail.com |
xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'
* .mailmap: New entry.
Change-Id: Iaa88b1e51c94159c49138fb43910badb990eb169
* gnu/packages/rust-crates.scm (mesa-cargo-inputs): New variable.
* gnu/packages/gl.scm (mesa)[arguments]<#:phases>: Use it in
‘patch-subproject-sources’ phase.
Change-Id: Iaddcd488b0394ef4448bb6155349623ec4e8fb8a
* gnu/packages/gl.scm (mesa)[arguments]: Adjust the
'disable-failing-test phase on riscv64-linux for changes in the sources.
Change-Id: If78345c1fb67fc6c83d5b32d40319e13b3e80831
* gnu/packages/gl.scm (mesa)[arguments]: Adjust the configure-flags to
also build the asahi vulkan driver when building for aarch64.
Change-Id: I65320d254734b93c2d0a0891cdf329e7b3ff0c12
* gnu/packages/gl.scm (mesa): Update to 24.3.1.
[arguments]: Add 'set-home-directory phase (build tries to use a
shader cache, though this without it won't fail to build).
Change-Id: I1fd7d1fe20109ccdd7386a82ecf7d415999c262a
The meson variable now points to version 1.5.2, and meson-1.5 is
not defined.
* gnu/packages/gl.scm (mesa)[arguments]: Remove #:meson.
Change-Id: I2fa5aebdab048ef53488d2976173dab67134471e
* gnu/packages/gl.scm (mesa)[native-inputs]: Add rust, rust-bindgen-cli,
rust-cbindgen-0.26 for x86_64.
[arguments]<#:meson>: Use newer version of meson to satisfy NVK build
requirements.
<#:configure-flags>: Use "auto" for 'vulkan-drivers' flag when target arch is
x86_64.
<#:phases>: Add 'patch-subproject-sources phase to patch rust subproject
sources when target arch is x86_64.
* gnu/packages/crates-io.scm (rust-paste-1, rust-proc-macro2-1, rust-quote-1,
rust-syn-2, rust-unicode-ident-1): Add a comment about being dependencies of
mesa.
Change-Id: I76e3db5072ca3c718155b188ca64b52766d55f36
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
* gnu/packages/gl.scm (mesa)[inputs]: When building for an arm platform
add python-pycparser.
[arguments]: When building for aarch64 or armhf don't add kmsro as a
gallium driver.
* gnu/packages/python-xyz.scm (python-pycparser): Mark as a dependency
for mesa.
Change-Id: I61182157418a6667fcbb0d4280c959a708119b0d
Previously, in 1ed0283fcc, mesa's configuration
options were altered to use "auto" as needed, while it looks like this was
inadvertently changed in 9b2a3e023f. This meant
i915 dropped from x86/x86_64. This commit restores the "auto" behavior where
it matched our previous driver list (or restored missing drivers). See mesa's
meson.build for all options.
* gnu/packages/gl.scm (mesa)[arguments]: For gallium-drivers, use
"softpipe,llvmpipe" instead of the deprecated "swrast" option. Use "auto"
in gallium-drivers and vulkan-drivers where it provides the same driver
list (or restores ones dropped from x86/x86_64). Comment on differences from
"auto" where we don't use it.
Change-Id: I920701f71d19578f4913fda7372273955f0a9847