sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (e365cc0aaabfda2d542613671d05690bc6efc762)
- From: Pavel Vinogradov <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (e365cc0aaabfda2d542613671d05690bc6efc762)
- Date: Tue, 21 Feb 2023 19:14:37 +0000
GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:
graphics-libs/mesa/BUILD | 1 -
graphics-libs/mesa/CONFIGURE | 6 ++++--
graphics-libs/mesa/DEPENDS | 12 +++++++-----
graphics-libs/mesa/HISTORY | 5 +++++
4 files changed, 16 insertions(+), 8 deletions(-)
New commits:
commit e365cc0aaabfda2d542613671d05690bc6efc762
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
graphics-libs/mesa: made bunch of X11 libs optional, removed dead code,
handled disabled GLX option
diff --git a/graphics-libs/mesa/BUILD b/graphics-libs/mesa/BUILD
index 4206e6c..7121a4d 100755
--- a/graphics-libs/mesa/BUILD
+++ b/graphics-libs/mesa/BUILD
@@ -28,7 +28,6 @@ fi &&
local vulkan=${MESA_VULKAN//none} &&
local gallium=${MESA_GALLIUM//none} &&
-local dri=${MESA_DRI//none} &&
OPTS+=" gallium-drivers=${gallium// /,} \
vulkan-drivers=${vulkan// /,} \
diff --git a/graphics-libs/mesa/CONFIGURE b/graphics-libs/mesa/CONFIGURE
index 8397407..dece735 100755
--- a/graphics-libs/mesa/CONFIGURE
+++ b/graphics-libs/mesa/CONFIGURE
@@ -39,8 +39,10 @@ if list_find "$MESA_DRM" NOUVEAU;then
AVAILABLE_GALLIUM+=" nouveau"
fi &&
-config_query_multi MESA_GLX "glx build types, recommend dri" dri xlib &&
-
+config_query_multi MESA_GLX "glx build types, recommend dri" disabled dri
xlib &&
+if list_find "${MESA_GLX}" "disabled"; then
+ MESA_GLX="disabled"
+fi &&
# Gallium support
diff --git a/graphics-libs/mesa/DEPENDS b/graphics-libs/mesa/DEPENDS
index 96f32dd..215c14f 100755
--- a/graphics-libs/mesa/DEPENDS
+++ b/graphics-libs/mesa/DEPENDS
@@ -8,12 +8,7 @@ depends glslang &&
depends -sub "$MESA_DRM" libdrm &&
depends util-macros &&
depends expat &&
-depends libxdamage &&
-depends libx11 &&
-depends xorgproto &&
-depends libxshmfence &&
depends -sub "PYTHON3" mako &&
-depends libxrandr &&
depends nettle &&
depends zlib &&
@@ -36,6 +31,13 @@ if list_find "$MESA_GLX" dri;then
depends libxfixes &&
depends libxcb
fi &&
+if list_find "$MESA_EGL" "x11"; then
+ depends libxdamage &&
+ depends libx11 &&
+ depends xorgproto &&
+ depends libxshmfence &&
+ depends libxrandr
+fi &&
if list_find "$MESA_EGL" wayland;then
depends wayland &&
depends wayland-protocols
diff --git a/graphics-libs/mesa/HISTORY b/graphics-libs/mesa/HISTORY
index fdff250..bca8ef3 100644
--- a/graphics-libs/mesa/HISTORY
+++ b/graphics-libs/mesa/HISTORY
@@ -1,3 +1,8 @@
+2023-02-21 Pavel Vinogradov <public AT sourcemage.org>
+ * BUILD: dropped obsolete MESA_DRI code
+ * CONFIGURE: handle the disabled GLX option
+ * DEPENDS: made bunch of X11 libraries optional
+
2023-02-08 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 22.3.5
- [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (e365cc0aaabfda2d542613671d05690bc6efc762), Pavel Vinogradov, 02/21/2023
Archive powered by MHonArc 2.6.24.