[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/22: gnu: mesa: Update to 24.2.2.
From: |
guix-commits |
Subject: |
08/22: gnu: mesa: Update to 24.2.2. |
Date: |
Mon, 4 Nov 2024 21:14:10 -0500 (EST) |
podiki pushed a commit to branch mesa-updates
in repository guix.
commit 128a7e3092b53017256174e4451e2da7e4b62897
Author: John Kehayias <john.kehayias@protonmail.com>
AuthorDate: Sun Sep 1 21:06:57 2024 -0400
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
---
gnu/packages/gl.scm | 49 ++++++++++++++++++---------------------------
gnu/packages/python-xyz.scm | 2 ++
2 files changed, 21 insertions(+), 30 deletions(-)
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index f056cc07fa..55625ff3c4 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -15,7 +15,7 @@
;;; Copyright © 2020, 2021, 2022, 2023 Maxim Cournoyer
<maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
-;;; Copyright © 2021, 2022, 2023 John Kehayias <john.kehayias@protonmail.com>
+;;; Copyright © 2021-2024 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2023 Kaelyn Takata <kaelyn.alexi@protonmail.com>
;;; Copyright © 2023, 2024 Zheng Junjie <873216071@qq.com>
@@ -299,7 +299,7 @@ also known as DXTn or DXTC) for Mesa.")
(define-public mesa
(package
(name "mesa")
- (version "24.0.4")
+ (version "24.2.2")
(source
(origin
(method url-fetch)
@@ -309,7 +309,7 @@ also known as DXTn or DXTC) for Mesa.")
"mesa-" version ".tar.xz")))
(sha256
(base32
- "1w25lwdrb0ffrx2fjk9izbvpcgf9ypfc7v32zybwvjwql0qbvzlh"))))
+ "00hxi7wjp368kh5qq2v25nyzjrf0grsx55w55fg4bgpd0hqps1zx"))))
(build-system meson-build-system)
(propagated-inputs
;; The following are in the Requires.private field of gl.pc.
@@ -322,35 +322,32 @@ also known as DXTn or DXTC) for Mesa.")
libxxf86vm
xorgproto))
(inputs
- (append
- (if (target-aarch64?)
- (list clang-18)
- '())
- (list elfutils ;libelf required for r600 when using
llvm
- expat
- (force libva-without-mesa)
- libxml2
- libxrandr
- libxvmc
- llvm-for-mesa
- vulkan-loader
- wayland
- wayland-protocols
- `(,zstd "lib"))))
+ (list elfutils ;libelf required for r600 when using llvm
+ expat
+ (force libva-without-mesa)
+ libxml2
+ libxrandr
+ libxvmc
+ llvm-for-mesa
+ vulkan-loader
+ wayland
+ wayland-protocols
+ `(,zstd "lib")))
(native-inputs
(append
(list bison
+ clang-18
flex
gettext-minimal
glslang
+ libclc
pkg-config
python-libxml2 ;for OpenGL ES 1.1 and 2.0 support
python-mako
+ python-ply
+ python-pyyaml
python-wrapper
(@ (gnu packages base) which))
- (if (target-aarch64?)
- (list libclc)
- '())
(if (%current-target-system)
(list cmake-minimal-cross
pkg-config-for-build
@@ -595,15 +592,7 @@ from software emulation to complete hardware acceleration
for modern GPUs.")
(arguments
(substitute-keyword-arguments (package-arguments mesa)
((#:configure-flags flags)
- #~(cons "-Dgallium-opencl=standalone" #$flags))))
- (inputs
- (modify-inputs (package-inputs mesa)
- (prepend libclc)))
- (native-inputs
- (if (target-aarch64?)
- (package-native-inputs mesa)
- (modify-inputs (package-native-inputs mesa)
- (prepend clang-18))))))
+ #~(cons "-Dgallium-opencl=standalone" #$flags))))))
(define-public mesa-opencl-icd
(package/inherit mesa-opencl
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2a929466d8..7ebe94716a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6213,6 +6213,7 @@ visualisation and class tracker statistics.")
environments and back.")
(license license:bsd-3)))
+;; WARNING: This package is a dependency of mesa.
(define-public python-pyyaml
(package
(name "python-pyyaml")
@@ -21167,6 +21168,7 @@ Protocol) 0-9-1 protocol that tries to stay fairly
independent of the underlying
network support library.")
(license license:bsd-3)))
+;; WARNING: This package is a dependency of mesa.
(define-public python-ply
(package
(name "python-ply")
- branch mesa-updates created (now 34833d1ca9), guix-commits, 2024/11/04
- 03/22: gnu: Remove wayland-protocols-next., guix-commits, 2024/11/04
- 01/22: gnu: libdrm: Update to 2.4.123., guix-commits, 2024/11/04
- 02/22: gnu: wayland-protocols: Update to 1.37., guix-commits, 2024/11/04
- 05/22: gnu: volk: Hard-code path of vulkan-loader for dynamic loading, guix-commits, 2024/11/04
- 07/22: gnu: llvm-for-mesa: Build all targets., guix-commits, 2024/11/04
- 08/22: gnu: mesa: Update to 24.2.2.,
guix-commits <=
- 17/22: gnu: qtwayland: Fix build., guix-commits, 2024/11/04
- 13/22: gnu: wlroots: Update to 0.18., guix-commits, 2024/11/04
- 16/22: gnu: gtk-layer-shell: Update to 0.9.0., guix-commits, 2024/11/04
- 15/22: gnu: qtwayland-6: Fix build., guix-commits, 2024/11/04
- 09/22: gnu: mesa: Update configure flags., guix-commits, 2024/11/04
- 14/22: gnu: mesa: Fix build on arm architectures., guix-commits, 2024/11/04
- 20/22: gnu: mesa: Update to 24.2.4., guix-commits, 2024/11/04
- 21/22: gnu: sdl2: Update to 2.30.8., guix-commits, 2024/11/04
- 22/22: gnu: mesa: Update to 24.2.5., guix-commits, 2024/11/04
- 12/22: gnu: wlroots: Remove unneeded hwdata patch., guix-commits, 2024/11/04