guix_mirror_bot pushed a commit to branch mesa-updates
in repository guix.
commit 1014fe940f4556b74ba3a8f95eebf63f0bb0d823
Author: John Kehayias <[email protected]>
AuthorDate: Thu Aug 7 14:22:40 2025 -0400
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/crates-io.scm (rust-rustc-hash-2): Add comment about being
dependency of mesa.
* 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).
<#:phases>: In patch-subproject-sources phase, add rust-rustc-hash-2.
Change-Id: I36d59582b5d827f78040a248a54fd11e2f982393
---
gnu/packages/crates-io.scm | 1 +
gnu/packages/gl.scm | 10 +++++-----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 356b13e653..2d94c19df3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69397,6 +69397,7 @@ reading and writing BAM files.")
@code{rustc-demangle} crate.")
(license (list license:expat license:asl2.0))))
+;; WARNING: This package is a dependency of mesa.
(define-public rust-rustc-hash-2
(package
(name "rust-rustc-hash")
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index f26cdda8e4..da2a9dd4b9 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -313,7 +313,7 @@ also known as DXTn or DXTC) for Mesa.")
(define-public mesa
(package
(name "mesa")
- (version "25.1.6")
+ (version "25.2.0")
(source
(origin
(method url-fetch)
@@ -323,7 +323,7 @@ also known as DXTn or DXTC) for Mesa.")
"mesa-" version ".tar.xz")))
(sha256
(base32
- "116f712h9nwdmjxph9x3idqd7h70lgfqz1m961yp3n6j77mnjawz"))))
+ "0kwdpl87v4damasg3rvw9453qbs286vkimjks8qlvlblq0hnnwkw"))))
(build-system meson-build-system)
(propagated-inputs
;; The following are in the Requires.private field of gl.pc.
@@ -383,6 +383,7 @@ also known as DXTn or DXTC) for Mesa.")
(outputs '("out" "bin"))
(arguments
(list
+ #:meson meson-1.8
#:configure-flags
#~(list
#$@(cond
@@ -405,8 +406,6 @@
panfrost,r300,r600,svga,softpipe,llvmpipe,tegra,v3d,vc4,virgl,zink"))
"-Dglx=dri" ;Thread Local Storage, improves performance
;; "-Dopencl=true"
;; "-Domx=true"
- "-Dosmesa=true"
- "-Dgallium-xa=enabled"
;; features required by wayland
"-Dgles2=enabled"
@@ -553,7 +552,8 @@ directory = ~a
(from-crates-io 'rust-unicode-ident-1)
(from-crates-io 'rust-quote-1)
(from-crates-io 'rust-proc-macro2-1)
- (from-crates-io 'rust-paste-1))))))))
+ (from-crates-io 'rust-paste-1)
+ (from-crates-io
'rust-rustc-hash-2))))))))
#~())
(add-after 'unpack 'set-home-directory
;; Build tries to use a shader cache (non-fatal error).