summaryrefslogtreecommitdiff
path: root/gnu/packages/gl.scm
AgeCommit message (Collapse)Author
2026-03-06gnu: ftgl: Fix build.Maxim Cournoyer
* 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-02-21gnu: rust-cbindgen-cli: Build with newer clang.Efraim Flashner
* 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-07gnu: mesa: Add python-packaging to native-inputs.Nicolas Graves
* gnu/packages/gl.scm (mesa)[native-inputs]: Add python-packaging. Change-Id: I0a1c5ec7efc7c6d51491b418d90dfa4126c08c14 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-01-25gnu: piglit: Use python-numpy@1.Sharlatan Hellseher
* 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-01gnu: glad-0.1: Switch to pyproject.Nicolas Graves
* 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>
2025-12-18gnu: glad: Use xvfb-run-for-tests.John Kehayias
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-03Update Giacomo's email address.Giacomo Leidi
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-10-23gnu: Use ‘define-deprecated-package’ for deprecated packages.Ludovic Courtès
Use ‘define-deprecated-package’ instead of (define x (deprecated-package …)) throughout gnu/packages/*.scm. Change-Id: I4e176da9ac660327489dab256ca4d12c4e78fe8d
2025-10-01gnu: mesa-opencl: Introduce rust-bindgen-cli-next to avoid mesa rebuild.Maxim Cournoyer
* 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-01gnu: mesa-opencl-icd: Deprecate in favor of mesa-opencl.Maxim Cournoyer
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-01gnu: mesa-opencl: Use the new rusticl OpenCL backend.Maxim Cournoyer
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-09-30mesa: Re-enable dependency fallbacks.Liliana Marie Prikler
* gnu/packages/gl.scm (mesa)[#:configure-flags]: Add “--wrap-mode=nodownload”. (cherry picked from commit f0b058a54140fec3d2bb35a86496929d04a833c1)
2025-09-30gnu: mesa: Update to 25.2.3.John Kehayias
* gnu/packages/gl.scm (mesa): Update to 25.2.3. Change-Id: I28cee586fc49ba5aad9fa362260357e96d76977f
2025-09-30gnu: meson: Update to 1.9.0.Sharlatan Hellseher
* 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-30gnu: libxml2: Update to 2.14.6; deprecate python-libxml2.John Kehayias
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-30gnu: mesa: Update to 25.2.2.Maxim Cournoyer
* gnu/packages/gl.scm (mesa): Update to 25.2.2. Change-Id: Iad91783d151000f6a7e43ce5d59f4b9b38aedc45
2025-09-30gnu: mesa: Update to 25.2.1.John Kehayias
* gnu/packages/gl.scm (mesa): Update to 25.2.1. Change-Id: I4ee0255e6208b282ccca139c56e051a08170e026
2025-09-30gnu: mesa: Update to 25.2.0.John Kehayias
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-30gnu: mesa: Update to 25.1.6.John Kehayias
* gnu/packages/gl.scm (mesa): Update to 25.1.6. Change-Id: I42e6d33411aea3876d84477212f5e21fadcf2605
2025-09-30gnu: mesa: Re-enable X11 protocol support for the DRI2 extension.Philipp Berger
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-30gnu: mesa: Update to 25.1.5.Maxim Cournoyer
* gnu/packages/gl.scm (mesa): Update to 25.1.5. Change-Id: Ic05db30a9c4d8ee8c165eb8455c245aa2e2afd85
2025-09-18Reapply "Update Maxim's email address."Maxim Cournoyer
This reverts commit a7db92d9b389cbe565395523882c34c6eff2c21a, 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-18Revert "Update Maxim's email address."Maxim Cournoyer
This reverts commit d0d87a744d724b7e7d5ac013c586039652087bb3. Oops! This caused a world rebuild. Change-Id: I25fff644b2b61d0ee93d69b457b04c72b5b74d15
2025-09-18Update Maxim's email address.Maxim Cournoyer
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-17gnu: Add nanovg.Sughosha
* gnu/packages/gl.scm (nanovg): New variable. Change-Id: I89333066029e5277c979854c5f96b5e60d999579 Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
2025-08-21gnu: mesa: Use subproject sources from (gnu packages rust-crates).Hilton Chain
* 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-01gnu: glad: Update to 2.0.8 and run tests.Maxim Cournoyer
* 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-07-18gnu: ftgl: Fix build with newer freetype.宋文武
* gnu/packages/gl.scm (ftgl) [arguments]: Add -fpermissive to CXXFLAGS. Change-Id: Id9d7c14b608c8352898467ecdff708b2b752b09c
2025-07-18gnu: mesa-utils: Fix build for gcc-14.Zheng Junjie
* gnu/packages/gl.scm (mesa-utils)[arguments]<#:configure-flags>: Add "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types". Change-Id: I21ba52e18a70c01996af45997707872528e8b55e
2025-06-23gnu: soil: Add lint-hidden-cpe-vendors property.Nicolas Graves
* gnu/packages/gl.scm (soil)[properties]: Add lint-hidden-cpe-vendors. Signed-off-by: Zheng Junjie <z572@z572.online>
2025-06-11gnu: mesa: Adjust skipped tests on riscv64-linux.Efraim Flashner
* 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-08gnu: mesa: Update to 25.1.3.John Kehayias
* gnu/packages/gl.scm (mesa): Update to 25.1.3. Change-Id: I1c19b1fab28400b6e9cce01a41813afb643242d1
2025-06-08gnu: mesa: Update to 25.1.2.John Kehayias
* gnu/packages/gl.scm (mesa): Update to 25.1.2. Change-Id: I545b299ed95a5bf8966d8ff6365526d3a3a1f512
2025-06-08gnu: mesa: Update to 25.1.1.John Kehayias
* gnu/packages/gl.scm (mesa): Update to 25.1.1. Change-Id: I3ab477ce7334b4ef066e7fd3c6adfdd35e8cea76
2025-06-08gnu: mesa: Update to 25.0.5.John Kehayias
* gnu/packages/gl.scm (mesa): Update to 25.0.5. Change-Id: Iff5908185278c46053f2b687498774d1fea0bfb0
2025-06-08gnu: mesa: Update to 25.0.4.John Kehayias
* gnu/packages/gl.scm (mesa): Update to 25.0.4. Change-Id: I3589d8e3b2570009f430b5b2068c98c469645ff6
2025-06-08gnu: mesa: Update to 25.0.3.John Kehayias
* gnu/packages/gl.scm (mesa): Update to 25.0.3. Change-Id: I020a797b448cfa529bfc2849072ffc90ccd91371
2025-06-08gnu: mesa: Update to 25.0.2.John Kehayias
* gnu/packages/gl.scm (mesa): Update to 25.0.2. Change-Id: I2daa62441a760577de5ae28bab4de1a46773a194
2025-01-05gnu: mesa: Update to 24.3.2.John Kehayias
* gnu/packages/gl.scm (mesa): Update to 24.3.2. Change-Id: Ie003db7cedb768752ad89cdfde039cdf4f5ce124
2025-01-05gnu: mesa: Build asahi vulkan driver on aarch64-linux.Efraim Flashner
* 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-05gnu: mesa: Update to 24.3.1.John Kehayias
* 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
2024-11-27gnu: mesa: Use standard meson.Andreas Enge
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-05gnu: mesa: Update to 24.2.5.John Kehayias
* gnu/packages/gl.scm (mesa): Update to 24.2.5. Change-Id: I84b8af46617fb414b564ceda6e9772dcee3f48d6
2024-11-05gnu: mesa: Update to 24.2.4.John Kehayias
* gnu/packages/gl.scm (mesa): Update to 24.2.4. Change-Id: I60a43d0344ff901c18d2b025aad7f0f9b925593b
2024-11-05gnu: mesa: Update to 24.2.3.John Kehayias
* gnu/packages/gl.scm (mesa): Update to 24.2.3. Change-Id: I910baba6e1f5b9d4fb15dc37551d3dd5baabb940
2024-11-05gnu: mesa: Enable NVK driver for x86_64 architecture.aurtzy
* 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-05gnu: mesa: Fix build on arm architectures.Efraim Flashner
* 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-05gnu: mesa: Update configure flags.John Kehayias
Previously, in 1ed0283fcc12b4b48f5b61be026a7b832d9781dc, mesa's configuration options were altered to use "auto" as needed, while it looks like this was inadvertently changed in 9b2a3e023f7090d19c98e7582220340df3962555. 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-05gnu: mesa: Update to 24.2.2.John Kehayias
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-05gnu: llvm-for-mesa: Update to llvm-18.John Kehayias
* 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