1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

466 Commits

Author SHA1 Message Date
John Kehayias
3ce565ecaf gnu: mesa-opencl: Fix gallium-rusticl driver options.
* gnu/packages/gl.scm (mesa-opencl)[arguments]<#:configure-flags>: Change to
all current drivers.

Change-Id: Ib2643518c7f5fe56a133db1c62c1b529ecffd726
2026-03-30 10:36:24 +03:00
Andreas Enge
d9d725c991 gnu: glad: Disinherit from glad-0.1 and enable tests.
* gnu/packages/gl.scm (glad)[inherit]: Remove field.
[home-page, synopsis, description, license]: Copy fields from glad-0.1.
[arguments]<#:tests>: Do not copy from glad-0.1.
<#:phases>: Rewrite from scratch.

Change-Id: I1404b087d1b39bbfab4e695682a301c2ea8ae7f8
Signed-off-by: John Kehayias <john@guixotic.coop>
2026-03-30 10:36:23 +03:00
Andreas Enge
7ec8a42a2f gnu: glad: Install missing cmake file.
* gnu/packages/gl.scm (glad)[arguments]<#:phases>{install-cmakelists.txt}:
Install an additional configuration file.

Fixes: guix/guix#7183
Change-Id: I080bcca553e6324ea7fa6a48e33aa2a29743e591
Signed-off-by: John Kehayias <john@guixotic.coop>
2026-03-30 10:36:23 +03:00
Efraim Flashner
327409219d gnu: mesa: Enable the virtio vulkan driver.
* gnu/packages/gl.scm (mesa)[arguments]: Adjust the vulkan-drivers flag
in configure-flags to add the virtio driver to most architectures.

Change-Id: I324ad378db2ed8149f492ddc019bbb32b45e16ec
2026-03-30 10:36:23 +03:00
John Kehayias
56644e8eea gnu: mesa: Update to 26.0.2.
* gnu/packages/gl.scm (mesa): Update to 26.0.2.

Change-Id: I5454f3e4df5db47bbdcf701a51407689ff3d257b
2026-03-30 10:36:23 +03:00
Efraim Flashner
73a8f8daab gnu: mesa: Update compiled drivers.
* gnu/packages/gl.scm (mesa)[arguments]: For aarch64-linux add the iris
and lima gallium drivers and intel and panfront vulkan drivers.  For
armhf-linux add the iris and lima gallium drivers.

Change-Id: Iac192a770f653cff59c4debad1ba0d90f0d6195f
2026-03-30 10:36:22 +03:00
Efraim Flashner
08235b1973 gnu: mesa: Add more dependencies for freedreno driver.
* gnu/packges/gl.scm (mesa)[inputs]: When building for arm targets add
lua-5.4 and libarchive.

Change-Id: I92bee30cda7e218d64c7b6e5c0a3e74e9ccd69df
2026-03-30 10:36:22 +03:00
Efraim Flashner
03e0d52f32 gnu: mesa: Remove deprecated configure flags.
* gnu/packges/gl.scm (mesa)[arguments]: Remove the deprecated
configure-flags.

Change-Id: I973a6f9b3c18e96c1af242d825b4796b0e6baa12
2026-03-30 10:36:22 +03:00
Efraim Flashner
c5e9b92f55 gnu: mesa: Add missing rust crate.
* gnu/packages/gl.scm (mesa)[arguments]: Adjust custom
'prepare-rust-crates phase to not delete the once_cell wrapper.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[mesa]: Add
rust-once-cell-1.8.0.

Change-Id: I3abfa35048b22cfd02a1cc00d9680d085b2ea0a3
2026-03-30 10:36:22 +03:00
John Kehayias
aaf135adf7 gnu: mesa: Update to 26.0.1.
* gnu/packages/gl.scm (mesa): Update to 26.0.1.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs): [mesa]: Update rust-libc
and rust-rustix version.  Add rust-windows-link and rust-windows-sys.

Change-Id: I71537563a1aa8113d06390f2c2a1e513ee9a2fef
2026-03-30 10:36:21 +03:00
Alvin Hsu
1f5c8dd270 gnu: mesa: Update to 25.3.6.
* gnu/packages/rust-crates.scm (mesa-cargo-inputs): Delete variable.
(lookup-cargo-inputs): [mesa]: New entry.
* gnu/packages/gl.scm (mesa): Update to 25.3.6.
[arguments]<#:phases>: Remove redundant 'patch-subproject-sources phase.
When building with rust add a phase to make the build system use the
packaged rust crates.
[inputs]: Re-add cargo inputs here.
[native-inputs]: Refer to rust-bindgen-cli and rust-cbindgen directly.
Remove rust-cbindgen-0.26, add rust-cbindgen.

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Ie05b762dbfcc14691edc4c2dad222c9c9a174da2
Signed-off-by: John Kehayias <john@guixotic.coop>
2026-03-30 10:36:21 +03:00
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
Maxim Cournoyer
2ce1fbc553 gnu: ftgl: Fix build.
* gnu/packages/patches/ftgl-ftcontour-type.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/gl.scm (ftgl) [source]: Apply it.

Change-Id: Ifaf78e18cd2d1ec1c706ebb5d649d7ead7df335a
2026-03-06 14:52:05 +01:00
Efraim Flashner
dbd4fd0e71 gnu: rust-cbindgen-cli: Build with newer clang.
* gnu/packages/rust-apps.scm (rust-bindgen-cli)[inputs]: Replace clang
with clang-18.
(rust-bindgen-cli-next): Remove variable.
* gnu/packages/gl.scm (mesa-opencl)[native-inputs]: Remove field.

Change-Id: I1ba0afbd46ac4c70807376c4993af431b775d699
2026-02-21 10:17:03 +01:00
Nicolas Graves
330909db92 gnu: mesa: Add python-packaging to native-inputs.
* gnu/packages/gl.scm (mesa)[native-inputs]: Add python-packaging.

Change-Id: I0a1c5ec7efc7c6d51491b418d90dfa4126c08c14
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-02-07 12:28:31 +01:00
Sharlatan Hellseher
b80dbd7d43 gnu: piglit: Use python-numpy@1.
* gnu/packages/gl.scm (piglit):
[inputs]: Remove python-numpy; add python-numpy-1.

Change-Id: I9d8975ebaff57e56fe293b7f2c6f5c86aa181115
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2026-01-25 21:21:04 +01:00
Nicolas Graves
430bc7066a gnu: glad-0.1: Switch to pyproject.
* gnu/packages/gl.scm (glad-0.1):
[build-system]: Switch to pyproject-build-system.
[arguments]: Improve them.
<#:tests?>: Disable them.
[native-inputs]: Add python-setuptools.

Change-Id: I3e2afc6238bd5d53af1104bd569e826a7759df3f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-01 19:34:35 +00:00
John Kehayias
b26b379a28 gnu: glad: Use xvfb-run-for-tests.
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
2025-12-18 22:06:54 -05: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
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
Maxim Cournoyer
3fa30960ea gnu: mesa-opencl: Introduce rust-bindgen-cli-next to avoid mesa rebuild.
* gnu/packages/rust-apps.scm (rust-bindgen-cli-next): New variant.
(rust-bindgen-cli) [inputs]: Revert to use default clang.
* gnu/packages/gl.scm (mesa-opencl) [native-inputs]: Replace rust-bindgen-cli
with rust-bindgen-cli-next.

Change-Id: Ia1acb30869d368f54a3b41250ef4d95ebbcd90b0
2025-10-01 08:29:13 +09:00
Maxim Cournoyer
b733de0dce gnu: mesa-opencl-icd: Deprecate in favor of mesa-opencl.
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
2025-10-01 08:07:19 +09:00
Maxim Cournoyer
e2f6d4f961 gnu: mesa-opencl: Use the new rusticl OpenCL backend.
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
2025-10-01 07:25:37 +09:00
Liliana Marie Prikler
9687e9d6d5 mesa: Re-enable dependency fallbacks.
* gnu/packages/gl.scm (mesa)[#:configure-flags]: Add “--wrap-mode=nodownload”.

(cherry picked from commit f0b058a54140fec3d2bb35a86496929d04a833c1)
2025-09-30 16:48:21 +09:00
John Kehayias
dd72e1b65d gnu: mesa: Update to 25.2.3.
* gnu/packages/gl.scm (mesa): Update to 25.2.3.

Change-Id: I28cee586fc49ba5aad9fa362260357e96d76977f
2025-09-30 16:48:21 +09:00
Sharlatan Hellseher
291929f785 gnu: meson: Update to 1.9.0.
* gnu/packages/build-tools.scm (meson): Update to 1.9.0.
[build-system]: Use pyproject.
[native-inputs]: Add python-setuptools.
[#:phases]: Adjust 'wrap phase for pyproject-build-system.
(meson-1.8): Remove variable.
* gnu/packages/gl.scm (mesa)[arguments]: Remove #:meson.

Co-authored-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Co-authored-by: Dariqq <dariqq@posteo.net>
Change-Id: I31932f24d1a54b8c79987296daaeb5a5285a8344
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Co-authored-by: John Kehayias <john@guixotic.coop>
(cherry picked from commit 3bcc621b2f4be2f75aaf2d8fa175f4f8df4f5688)
2025-09-30 16:48:21 +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
Maxim Cournoyer
ecdb88fcfb gnu: mesa: Update to 25.2.2.
* gnu/packages/gl.scm (mesa): Update to 25.2.2.

Change-Id: Iad91783d151000f6a7e43ce5d59f4b9b38aedc45
2025-09-30 16:48:18 +09:00
John Kehayias
23cc98e691 gnu: mesa: Update to 25.2.1.
* gnu/packages/gl.scm (mesa): Update to 25.2.1.

Change-Id: I4ee0255e6208b282ccca139c56e051a08170e026
2025-09-30 16:48:17 +09:00
John Kehayias
877a00dfa7 gnu: mesa: Update to 25.2.0.
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
2025-09-30 16:48:17 +09:00
John Kehayias
05b9e21f40 gnu: mesa: Update to 25.1.6.
* gnu/packages/gl.scm (mesa): Update to 25.1.6.

Change-Id: I42e6d33411aea3876d84477212f5e21fadcf2605
2025-09-30 16:48:16 +09:00
Philipp Berger
f782f70cce gnu: mesa: Re-enable X11 protocol support for the DRI2 extension.
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>
2025-09-30 16:48:16 +09:00
Maxim Cournoyer
c17cd7d964 gnu: mesa: Update to 25.1.5.
* gnu/packages/gl.scm (mesa): Update to 25.1.5.

Change-Id: Ic05db30a9c4d8ee8c165eb8455c245aa2e2afd85
2025-09-30 16:48:16 +09:00
Maxim Cournoyer
10482f731e Reapply "Update Maxim's email address."
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
2025-09-18 13:44:12 +09:00
Maxim Cournoyer
a7db92d9b3 Revert "Update Maxim's email address."
This reverts commit d0d87a744d. Oops! This
caused a world rebuild.

Change-Id: I25fff644b2b61d0ee93d69b457b04c72b5b74d15
2025-09-18 12:07:31 +09:00
Maxim Cournoyer
d0d87a744d Update Maxim's email address.
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
2025-09-18 08:05:19 +09:00
Sughosha
1c9be166c1 gnu: Add nanovg.
* gnu/packages/gl.scm (nanovg): New variable.

Change-Id: I89333066029e5277c979854c5f96b5e60d999579
Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
2025-09-17 14:14:20 +02:00
Hilton Chain
30c63b4678 gnu: mesa: Use subproject sources from (gnu packages rust-crates).
* 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
2025-08-21 19:08:25 +08:00
Maxim Cournoyer
38a020ed8e gnu: glad: Update to 2.0.8 and run tests.
* gnu/packages/gl.scm (glad): Update to 2.0.8.
[build-system]: Switch to pyproject-build-system.
[#:phases] {check}: New phase override.
[native-inputs]: Add python-setuptools, python-wheel and xvfb-run.

Change-Id: I20594a2bc880e080c089a7b9ae1a07cd332b5dce
2025-08-01 11:47:41 +09:00
宋文武
86c5509e28 gnu: ftgl: Fix build with newer freetype.
* gnu/packages/gl.scm (ftgl) [arguments]: Add -fpermissive to CXXFLAGS.

Change-Id: Id9d7c14b608c8352898467ecdff708b2b752b09c
2025-07-18 20:17:38 +02:00
Zheng Junjie
232af934ea gnu: mesa-utils: Fix build for gcc-14.
* gnu/packages/gl.scm (mesa-utils)[arguments]<#:configure-flags>:
Add "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types".

Change-Id: I21ba52e18a70c01996af45997707872528e8b55e
2025-07-18 20:17:35 +02:00
Nicolas Graves
117de9378b gnu: soil: Add lint-hidden-cpe-vendors property.
* gnu/packages/gl.scm (soil)[properties]: Add lint-hidden-cpe-vendors.

Signed-off-by: Zheng Junjie <z572@z572.online>
2025-06-23 12:32:52 +08:00
Efraim Flashner
86524126a4 gnu: mesa: Adjust skipped tests on riscv64-linux.
* gnu/packages/gl.scm (mesa)[arguments]: Adjust the
'disable-failing-test phase on riscv64-linux for changes in the sources.

Change-Id: If78345c1fb67fc6c83d5b32d40319e13b3e80831
2025-06-11 08:45:44 +03:00
John Kehayias
3aa0d9de4b gnu: mesa: Update to 25.1.3.
* gnu/packages/gl.scm (mesa): Update to 25.1.3.

Change-Id: I1c19b1fab28400b6e9cce01a41813afb643242d1
2025-06-08 15:35:41 -04:00
John Kehayias
70a890468f gnu: mesa: Update to 25.1.2.
* gnu/packages/gl.scm (mesa): Update to 25.1.2.

Change-Id: I545b299ed95a5bf8966d8ff6365526d3a3a1f512
2025-06-08 15:35:40 -04:00
John Kehayias
21236055fe gnu: mesa: Update to 25.1.1.
* gnu/packages/gl.scm (mesa): Update to 25.1.1.

Change-Id: I3ab477ce7334b4ef066e7fd3c6adfdd35e8cea76
2025-06-08 15:35:35 -04:00
John Kehayias
9bdbef2e75 gnu: mesa: Update to 25.0.5.
* gnu/packages/gl.scm (mesa): Update to 25.0.5.

Change-Id: Iff5908185278c46053f2b687498774d1fea0bfb0
2025-06-08 15:35:34 -04:00
John Kehayias
d0c26df241 gnu: mesa: Update to 25.0.4.
* gnu/packages/gl.scm (mesa): Update to 25.0.4.

Change-Id: I3589d8e3b2570009f430b5b2068c98c469645ff6
2025-06-08 15:35:33 -04:00
John Kehayias
00ff01b4f1 gnu: mesa: Update to 25.0.3.
* gnu/packages/gl.scm (mesa): Update to 25.0.3.

Change-Id: I020a797b448cfa529bfc2849072ffc90ccd91371
2025-06-08 15:35:29 -04:00