New commits:
commit 414703c2934410f16414da2ec1be9d997285a8eb
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
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" &&