Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (414703c2934410f16414da2ec1be9d997285a8eb)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (414703c2934410f16414da2ec1be9d997285a8eb)
  • Date: Thu, 7 Aug 2025 01:12:41 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

graphics-libs/mesa/BUILD | 7 ---
graphics-libs/mesa/CONFIGURE | 44 ++++------------------
graphics-libs/mesa/DETAILS | 2 -
graphics-libs/mesa/HISTORY | 9 ++++
graphics-libs/mesa/PRE_BUILD | 4 --
graphics-libs/mesa/patches/musl-endian.patch | 21 ----------
graphics-libs/mesa/patches/musl.patch | 53
---------------------------
7 files changed, 17 insertions(+), 123 deletions(-)

New commits:
commit 414703c2934410f16414da2ec1be9d997285a8eb
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

grapgics-libs/mesa: version 25.2.0

diff --git a/graphics-libs/mesa/BUILD b/graphics-libs/mesa/BUILD
index 5e88ba1..c8cd619 100755
--- a/graphics-libs/mesa/BUILD
+++ b/graphics-libs/mesa/BUILD
@@ -59,13 +59,6 @@ meson_opt boolean "teflon" "$MESA_TEFLON"
&&
meson_opt feature "xlib-lease" "$MESA_XLIB_LEASE" &&
meson_opt feature "xmlconfig" "$MESA_XMLCONFIG" &&

-if [[ "${MESA_BRANCH}" != "scm" ]]; then
- meson_opt boolean "gallium-nine" "$MESA_GALLIUM_D3D9" &&
- meson_opt feature "gallium-xa" "$MESA_GALLIUM_XA" &&
- meson_opt choice "gallium-opencl" "${MESA_OPENCL:-disabled}" &&
- meson_opt boolean "osmesa" "$MESA_OSMESA"
-fi &&
-
if [ -n "$MESA_GALLIUM" ] && ! list_find "$MESA_GALLIUM" none ;then
meson_opt list "gallium-drivers" "$MESA_GALLIUM"
else
diff --git a/graphics-libs/mesa/CONFIGURE b/graphics-libs/mesa/CONFIGURE
index 5ab1fb7..11dd575 100755
--- a/graphics-libs/mesa/CONFIGURE
+++ b/graphics-libs/mesa/CONFIGURE
@@ -214,19 +214,6 @@ if [ -n "$MESA_GALLIUM" ] && ! list_find "$MESA_GALLIUM"
none ;then

config_query MESA_GALLIUM_HUD "Enable HUD block/NIC I/O HUD status
support?" n &&

- local allow_xa
- # XA state tracker requires one of the following gallium drivers
- for driver in nouveau freedreno i915 svga ;do
- if check_gallium "$driver" ;then
- allow_xa="y"
- fi
- done &&
-
- if [[ "$allow_xa" == "y" ]] &&
- [[ "${MESA_BRANCH}" == "stable" ]]; then
- config_query MESA_GALLIUM_XA "Build gallium XA frontend?" n
- fi &&
-
if check_gallium vmware ;then
if ! check_gallium svga ;then
message "The vmware driver requires gallium svga; adding gallium
svga." &&
@@ -235,9 +222,6 @@ if [ -n "$MESA_GALLIUM" ] && ! list_find "$MESA_GALLIUM"
none ;then
fi &&

if check_gallium llvmpipe softpipe ;then
- if [[ "${MESA_BRANCH}" == "stable" ]]; then
- config_query MESA_GALLIUM_D3D9 "Build gallium Direct3D9 (nine)
frontend?" n
- fi &&
if check_driver WSL ;then
config_query MESA_GALLIUM_D3D10 "Build gallium Direct3D10 (WDDM UMD)
frontend?" n
fi
@@ -248,19 +232,6 @@ if [ -n "$MESA_GALLIUM" ] && ! list_find "$MESA_GALLIUM"
none ;then
config_query MESA_GALLIUM_D3D12_VIDEO "Build gallium with Direct3D12
video support?" n
fi &&

-if [[ "${MESA_BRANCH}" != "scm" ]]; then
- config_query MESA_OPENCL_ENABLE "Build gallium OpenCL (clover)
frontend?" n &&
-
- if [[ "$MESA_OPENCL_ENABLE" == "y" ]] ;then
- config_query_list MESA_OPENCL "How should the gallium OpenCL (clover)
frontend be built?" \
- icd \
- standalone
- fi
-else
- persistent_remove MESA_OPENCL_ENABLE &&
- persistent_remove MESA_OPENCL
-fi &&
-
config_query MESA_RUSTICL "Build gallium rusticl (OpenCL) frontend
(requires rust)?" n &&

if [[ "$MESA_RUSTICL" == "y" ]] ;then
@@ -340,12 +311,6 @@ config_query MESA_GLES23 "Support OpenGL ES 2.x and
3.x?" n &&
config_query MESA_OPENGL "Enable desktop OpenGL support?" y &&
config_query MESA_GBM "Enable generic buffer management (GBM) support?" n &&

-if [[ "${MESA_BRANCH}" == "stable" ]]; then
- config_query MESA_OSMESA "Build OSmesa to support off-screen rendering?" n
-else
- persistent_remove MESA_OSMESA
-fi &&
-
config_query_list MESA_GLX_CHOICE "Which GLX build type (dri recommended)?" \
disabled \
dri \
@@ -429,4 +394,11 @@ persistent_add MESA_GLX &&
persistent_add MESA_TOOLS &&
persistent_add MESA_VULKAN &&
persistent_add MESA_VULKAN_LAYERS &&
-persistent_remove MESA_OPENCL_SPIRV
+
+# Clean up
+persistent_remove MESA_OPENCL_SPIRV &&
+persistent_remove MESA_GALLIUM_XA &&
+persistent_remove MESA_GALLIUM_D3D9 &&
+persistent_remove MESA_OPENCL_ENABLE &&
+persistent_remove MESA_OPENCL &&
+persistent_remove MESA_OSMESA
diff --git a/graphics-libs/mesa/DETAILS b/graphics-libs/mesa/DETAILS
index 4b04767..47011ea 100755
--- a/graphics-libs/mesa/DETAILS
+++ b/graphics-libs/mesa/DETAILS
@@ -11,7 +11,7 @@ if [[ "${MESA_BRANCH}" == "scm" ]]; then
SOURCE_IGNORE="volatile"
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-git"
else
- VERSION="25.1.7"
+ VERSION="25.2.0"
SOURCE="mesa-$VERSION.tar.xz"
# Watch: https://archive.mesa3d.org/ mesa-([0-9.]+)[.]tar
SOURCE_URL[0]="https://mesa.freedesktop.org/archive/${SOURCE}";
diff --git a/graphics-libs/mesa/HISTORY b/graphics-libs/mesa/HISTORY
index 9715e69..8b55ae7 100644
--- a/graphics-libs/mesa/HISTORY
+++ b/graphics-libs/mesa/HISTORY
@@ -1,3 +1,10 @@
+2025-08-06 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 25.2.0
+ * BUILD, CONFIGURE: removeed gallium-nine, gallium-xa, gallium-opencl
and
+ osmesa options
+ * PRE_BUILD, patches/musl-endian.patch, patches/musl.patch: removed
the
+ patches
+
2025-07-30 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 25.1.7

@@ -356,7 +363,7 @@

2022-06-16 Pavel Vinogradov <public AT sourcemage.org>
* PRE_BUILD, patches{,-stable}/musl-stacksize.patch: made the patch
to be
- applied in stable brancch only
+ applied in stable branch only

2022-06-02 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 22.1.1
diff --git a/graphics-libs/mesa/PRE_BUILD b/graphics-libs/mesa/PRE_BUILD
index 348da29..43e52fa 100755
--- a/graphics-libs/mesa/PRE_BUILD
+++ b/graphics-libs/mesa/PRE_BUILD
@@ -1,10 +1,6 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&

-if [[ "${MESA_BRANCH}" == "stable" ]]; then
- apply_patch_dir patches
-fi &&
-
if is_depends_enabled "$SPELL" smgl-gl_select; then
patch -fp1 -i "$SPELL_DIRECTORY"/0001-install-GL-headers-in-.mesa.patch
fi
diff --git a/graphics-libs/mesa/patches/musl-endian.patch
b/graphics-libs/mesa/patches/musl-endian.patch
deleted file mode 100644
index 2c19378..0000000
--- a/graphics-libs/mesa/patches/musl-endian.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Origin: Void Linux
-
---- a/src/util/u_endian.h 2017-12-21 18:31:22.000000000 +0100
-+++ b/src/util/u_endian.h 2017-12-26 09:22:52.597199480 +0100
-@@ -68,6 +68,16 @@
-
- #define PIPE_ARCH_LITTLE_ENDIAN
-
-+#else
-+/* Musl libc */
-+#include <endian.h>
-+
-+#if __BYTE_ORDER == __LITTLE_ENDIAN
-+# define PIPE_ARCH_LITTLE_ENDIAN
-+#elif __BYTE_ORDER == __BIG_ENDIAN
-+# define PIPE_ARCH_BIG_ENDIAN
-+#endif
-+
- #endif
-
- #endif
diff --git a/graphics-libs/mesa/patches/musl.patch
b/graphics-libs/mesa/patches/musl.patch
deleted file mode 100644
index 81b1526..0000000
--- a/graphics-libs/mesa/patches/musl.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-Origin: Void Linux
-
---- a/src/gallium/frontends/nine/threadpool.h 2015-05-07 14:10:53.443337212
+0200
-+++ b/src/gallium/frontends/nine/threadpool.h 2015-05-07 14:11:04.210307653
+0200
-@@ -24,6 +24,8 @@
- #ifndef _THREADPOOL_H_
- #define _THREADPOOL_H_
-
-+#include <pthread.h>
-+
- #define MAXTHREADS 1
-
- struct threadpool {
---- a/src/util/rand_xor.c 2020-10-03 12:27:48.489024729 +0200
-+++ b/src/util/rand_xor.c 2020-10-03 12:31:05.927113521 +0200
-@@ -28,6 +28,7 @@
- #if defined(HAVE_GETRANDOM)
- #include <sys/random.h>
- #endif
-+#include <sys/types.h> /* size_t, ssize_t */
- #include <unistd.h>
- #include <fcntl.h>
- #endif
---- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
-+++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
-@@ -30,6 +30,7 @@
-
- #include <amdgpu.h>
- #include <pthread.h>
-+#include <sys/types.h>
- #include "util/list.h"
- #include "util/rwlock.h"
- #include "ac_gpu_info.h"
---- a/src/gallium/frontends/nine/nine_debug.c 2020-03-06 07:46:48.278918421
+0100
-+++ b/src/gallium/frontends/nine/nine_debug.c 2020-03-06 07:51:32.919964119
+0100
-@@ -65,7 +65,7 @@ _nine_debug_printf( unsigned long flag,
- {
- static boolean first = TRUE;
- static unsigned long dbg_flags = DBG_ERROR | DBG_WARN;
-- unsigned long tid = 0;
-+ pthread_t tid = 0;
-
- if (first) {
- first = FALSE;
-@@ -74,7 +74,7 @@ _nine_debug_printf( unsigned long flag,
-
- #if defined(HAVE_PTHREAD)
- if (dbg_flags & DBG_TID)
-- tid = (unsigned long)pthread_self();
-+ tid = pthread_self();
- #endif
-
- if (dbg_flags & flag) {


  • [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (414703c2934410f16414da2ec1be9d997285a8eb), Pavel Vinogradov, 08/06/2025

Archive powered by MHonArc 2.6.24.

Top of Page