Commit graph

442 commits

Author SHA1 Message Date
Liliana Marie Prikler
9b72edbc66
mesa: Re-enable dependency fallbacks.
* gnu/packages/gl.scm (mesa)[#:configure-flags]: Add “--wrap-mode=nodownload”.

(cherry picked from commit f0b058a541)
2025-09-25 23:26:29 -04:00
John Kehayias
442343a895
gnu: mesa: Update to 25.2.3.
* gnu/packages/gl.scm (mesa): Update to 25.2.3.

Change-Id: I28cee586fc49ba5aad9fa362260357e96d76977f
2025-09-25 23:26:28 -04:00
Sharlatan Hellseher
3b0387e8ca
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 3bcc621b2f)
2025-09-25 23:26:27 -04:00
John Kehayias
4c15f6f41a
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-25 23:26:11 -04:00
Maxim Cournoyer
5a738c6a9a
gnu: mesa: Update to 25.2.2.
* gnu/packages/gl.scm (mesa): Update to 25.2.2.

Change-Id: Iad91783d151000f6a7e43ce5d59f4b9b38aedc45
2025-09-25 23:26:05 -04:00
John Kehayias
7cfc2503ed
gnu: mesa: Update to 25.2.1.
* gnu/packages/gl.scm (mesa): Update to 25.2.1.

Change-Id: I4ee0255e6208b282ccca139c56e051a08170e026
2025-09-25 23:25:52 -04:00
John Kehayias
b1a0e0b3ae
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-25 23:25:47 -04:00
John Kehayias
7576d8ca24
gnu: mesa: Update to 25.1.6.
* gnu/packages/gl.scm (mesa): Update to 25.1.6.

Change-Id: I42e6d33411aea3876d84477212f5e21fadcf2605
2025-09-25 23:25:42 -04:00
Philipp Berger
a540ec794c
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-25 23:25:41 -04:00
Maxim Cournoyer
7746384cfa
gnu: mesa: Update to 25.1.5.
* gnu/packages/gl.scm (mesa): Update to 25.1.5.

Change-Id: Ic05db30a9c4d8ee8c165eb8455c245aa2e2afd85
2025-09-25 23:25:36 -04: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
John Kehayias
7c6070e61c
gnu: mesa: Update to 25.0.2.
* gnu/packages/gl.scm (mesa): Update to 25.0.2.

Change-Id: I2daa62441a760577de5ae28bab4de1a46773a194
2025-06-08 15:35:27 -04:00
John Kehayias
a65ebe5fad
gnu: mesa: Update to 24.3.2.
* gnu/packages/gl.scm (mesa): Update to 24.3.2.

Change-Id: Ie003db7cedb768752ad89cdfde039cdf4f5ce124
2025-01-05 20:28:22 -05:00
Efraim Flashner
ce7443bb67
gnu: mesa: Build asahi vulkan driver on aarch64-linux.
* gnu/packages/gl.scm (mesa)[arguments]: Adjust the configure-flags to
also build the asahi vulkan driver when building for aarch64.

Change-Id: I65320d254734b93c2d0a0891cdf329e7b3ff0c12
2025-01-05 20:28:19 -05:00
John Kehayias
e11df98795
gnu: mesa: Update to 24.3.1.
* 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
2025-01-05 20:28:17 -05:00
Andreas Enge
0376420e87
gnu: mesa: Use standard meson.
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
2024-11-27 12:43:04 +01:00
John Kehayias
40b6729fd7
gnu: mesa: Update to 24.2.5.
* gnu/packages/gl.scm (mesa): Update to 24.2.5.

Change-Id: I84b8af46617fb414b564ceda6e9772dcee3f48d6
2024-11-05 11:56:51 -05:00
John Kehayias
22a2b66a82
gnu: mesa: Update to 24.2.4.
* gnu/packages/gl.scm (mesa): Update to 24.2.4.

Change-Id: I60a43d0344ff901c18d2b025aad7f0f9b925593b
2024-11-05 11:56:47 -05:00
John Kehayias
c236894563
gnu: mesa: Update to 24.2.3.
* gnu/packages/gl.scm (mesa): Update to 24.2.3.

Change-Id: I910baba6e1f5b9d4fb15dc37551d3dd5baabb940
2024-11-05 11:56:46 -05:00
aurtzy
6832edf804
gnu: mesa: Enable NVK driver for x86_64 architecture.
* 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>
2024-11-05 11:56:44 -05:00
Efraim Flashner
e13f4b10c5
gnu: mesa: Fix build on arm architectures.
* 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
2024-11-05 11:56:38 -05:00
John Kehayias
fda63ca521
gnu: mesa: Update configure flags.
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
2024-11-05 11:56:31 -05:00
John Kehayias
e00c621cbb
gnu: mesa: Update to 24.2.2.
Note the clang input for mesa was in inputs for aarch64-linux but more
generally in native-inputs for mesa-opencl.  Moved to native-inputs for
all (mesa does not retain a reference to clang).

* gnu/packages/gl.scm (mesa): Update to 24.2.2.
[inputs]: Move clang-18 when building for aarch64-linux to ...
[native-inputs]: ... here for all architectures.  Add python-ply, and
python-pyyaml.  Use libclc for all architectures.
(mesa-opencl)[inputs, native-inputs]: Remove fields.
* gnu/packages/python-xyz.scm (python-pyyaml, python-ply): Add a comment about
being dependencies of mesa.

Change-Id: Ie262e6ea5a31fda0e410277256c203ea3caed96b
2024-11-05 11:56:29 -05:00
John Kehayias
6ebb5ecafc
gnu: llvm-for-mesa: Update to llvm-18.
* gnu/packages/llvm.scm (llvm-for-mesa): Update to llvm-18.
* gnu/packages/gl.scm (mesa)[inputs]: Always use llvm-for-mesa (remove llvm-18
for aarch64 to use llvm-for-mesa).
(mesa-opencl)[native-inputs]: Remove clang-15.  Add clang-18.

Change-Id: I767d40d62a827864d3d109c44f82a43302875eb8
2024-11-05 11:56:26 -05:00
Arnaud Lechevallier
e9a9f40ded
gnu: glfw: Fix a missing path to a dlopen call.
Recent release of glfw introduced a new dlopen call to `libwayland-client.so.0´.
This small fix adds this library to the list of libraries to be patched. It
does not affect earlier versions.

* gnu/packages/gl.scm (glfw): Add `libwayland-client.so.0' to the list of
libraries to be patched.

Change-Id: I9436c63f49a9b2fed18e06d593e67a593e3c6cad
2024-09-24 22:57:15 +08:00
Guillaume Le Vaillant
baf8c5cf80
gnu: glfw-3.4: Fix build.
* gnu/packages/glfw.scm (glfw-3.4)[arguments]: Don't build out of source.

Change-Id: I42437c60f7adbc0b087f7149b17181fbc8eab4ce
2024-09-04 13:18:59 +02:00
Efraim Flashner
d10ab3d397
gnu: mesa: Fix building on aarch64-linux.
* gnu/packages/gl.scm (mesa)[inputs]: When building for aarch64-linux
use clang-18 and llvm-18 instead of llvm-for-mesa.
[native-inputs]: When building for aarch64-linux add libclc.
[arguments]: Adjust the 'disable-failing-test phase when building for
aarch64-linux to skip a test.
(mesa-opencl)[native-inputs]: When building for aarch64-linux don't add
clang-15.
* gnu/packages/check.scm (python-lit),
* gnu/packages/llvm.scm (libclc),
* gnu/packages/vulkan.scm (spirv-llvm-translator): Add a note about it
being a dependency for mesa.

Change-Id: I0bf5ab019ffd0626ad2d0c38bafceec401e3c886
2024-08-31 10:45:42 +02:00
Roman Scherer
944d99af26
Agnu: mesa: Build asahi driver on aarch64.
* gnu/packages/gl.scm (mesa): Build asahi driver on aarch64.

Change-Id: I597e70732b9ebd18960131f1b664b2dc83683b8e
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:38 +02:00
Artyom V. Poptsov
f3a2cf6643
gnu: glfw-3.4: New variable.
* gnu/packages/gl.scm (glfw-3.4): New variable.

Change-Id: I77f2214c78f35455436897a3fbff083331295314
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-08-12 22:51:56 +01:00
Artyom V. Poptsov
fe7c622ab0
gnu: glfw: Update to 3.3.10.
* gnu/packages/gl.scm (glfw): Update to 3.3.10.

Change-Id: I9d789fb74af4ed649102195891adc5e437883d30
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-08-12 22:51:55 +01:00
Christopher Baines
953253eff3
Merge remote-tracking branch 'savannah/master' into mesa-updates
Change-Id: I00980ec5dbd9d23ab076995bc79331d136424796
2024-04-15 10:57:31 +01:00
Wilko Meyer
191a4bfe1a
gnu: glmark2: Update to 2023.01.
* gnu/packages/gl.scm (glmark2): Update to 2023.01.

Change-Id: Ia3a468d5da28801fc9c13de6995ca6599bbbb87c
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-09 17:03:06 +01:00
Efraim Flashner
b1b22cab72
gnu: mesa: Enable svga driver on all architectures.
* gnu/packages/gl.scm (mesa)[arguments]: Adjust configure-flags so that
the svga gallium-driver is enabled on all architectures.

Change-Id: I0a604f1f8e4dac511c273149b95bf9b270e8e1fe
2024-04-07 14:24:37 +03:00
Efraim Flashner
1fed3f9877
gnu: mesa: Enable all the video codecs.
* gnu/packages/gl.scm (mesa)[arguments]: Adjust the configure-flags to
enable all the video codecs.

Change-Id: Id540e4d8af8b756f1d0e4978b18e22dd19dd8985
2024-04-07 09:48:33 +03:00
Efraim Flashner
1b86dfa34d
gnu: mesa: Adjust skipped tests on powerpc-linux.
* gnu/packages/gl.scm (mesa)[arguments]: In the 'disable-failing-test
phase enable another test when building for powerpc-linux.

Change-Id: Ib043b2ea77dc145b3b067496ed45662ad635dc72
2024-04-07 09:22:23 +03:00