Skip to Content.
Sympa Menu

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

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
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (064359758b7d89fbd6dd8212144d6916f5bea34b)
  • Date: Wed, 31 Jan 2024 01:41:16 +0000

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

graphics-libs/mesa/CONFIGURE | 21 +++++++++++++--------
graphics-libs/mesa/DEPENDS | 11 ++++++++---
graphics-libs/mesa/HISTORY | 4 ++++
3 files changed, 25 insertions(+), 11 deletions(-)

New commits:
commit 064359758b7d89fbd6dd8212144d6916f5bea34b
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

graphics-libs/mesa: added nouveau vulkan driver
which needs rust, quoting++,
removed += in CONFIGURE and DEPENDS

diff --git a/graphics-libs/mesa/CONFIGURE b/graphics-libs/mesa/CONFIGURE
index dece735..0740e52 100755
--- a/graphics-libs/mesa/CONFIGURE
+++ b/graphics-libs/mesa/CONFIGURE
@@ -16,8 +16,8 @@ MESA_GLES1=${MESA_GLES1/false/disabled}
MESA_GLES2=${MESA_GLES2/false/disabled}
MESA_EGL=${MESA_EGL/drm/}

-. $GRIMOIRE/config_query_multi.function &&
-. $GRIMOIRE/MESON_CONFIGURE &&
+. "${GRIMOIRE}/config_query_multi.function" &&
+. "${GRIMOIRE}/MESON_CONFIGURE" &&

config_query_multi MESA_EGL "window systems to support,recommend x11" x11
wayland &&

@@ -26,17 +26,18 @@ config_query_multi MESA_DRM "which libdrm hardware" AMD
INTEL NOUVEAU RADEON &&
local AVAILABLE_GALLIUM="svga swrast virgl zink"
local AVAILABLE_VULKAN="swrast"
if list_find "$MESA_DRM" AMD;then
- AVAILABLE_VULKAN+=" amd"
+ AVAILABLE_VULKAN="amd ${AVAILABLE_VULKAN}"
fi &&
if list_find "$MESA_DRM" RADEON;then
- AVAILABLE_GALLIUM+=" r300 r600 radeonsi"
+ AVAILABLE_GALLIUM="r300 r600 radeonsi ${AVAILABLE_GALLIUM}"
fi &&
if list_find "$MESA_DRM" INTEL;then
- AVAILABLE_GALLIUM+=" i915 iris crocus"
- AVAILABLE_VULKAN+=" intel"
+ AVAILABLE_GALLIUM="i915 iris crocus ${AVAILABLE_GALLIUM}" &&
+ AVAILABLE_VULKAN="intel ${AVAILABLE_VULKAN}"
fi &&
if list_find "$MESA_DRM" NOUVEAU;then
- AVAILABLE_GALLIUM+=" nouveau"
+ AVAILABLE_GALLIUM="nouveau ${AVAILABLE_GALLIUM}" &&
+ AVAILABLE_VULKAN="nouveau-experimental ${AVAILABLE_VULKAN}"
fi &&

config_query_multi MESA_GLX "glx build types, recommend dri" disabled dri
xlib &&
@@ -62,6 +63,10 @@ config_query_multi MESA_VULKAN \
if list_find "$MESA_VULKAN" all; then
MESA_VULKAN="$AVAILABLE_VULKAN"
fi &&
+if list_find "${MESA_VULKAN}" "nouveau-experimental";then
+ message "${MESSAGE_COLOR}Nouveau Vulkan driver is still experimental, the
build may fail.${DEFAULT_COLOR}"
+fi &&
+
config_query_option MESA_GLES1 "support GLES1 - embedded systems" n
gles1=enabled gles1=disabled &&
config_query_option MESA_GLES2 "support GLES2/3 - embedded systems" n
gles2=enabled gles2=disabled &&

@@ -77,5 +82,5 @@ config_query_multi MESA_TOOLS "which tools to build" \
config_query_multi MESA_OMX "OMax support" auto disabled tizonia bellagio

# strip any leading spaces from the driver lists
-MESA_GALLIUM="${MESA_GALLIUM# }"
+MESA_GALLIUM="${MESA_GALLIUM# }" &&
MESA_VULKAN="${MESA_VULKAN# }"
diff --git a/graphics-libs/mesa/DEPENDS b/graphics-libs/mesa/DEPENDS
index c41becb..e3a44e6 100755
--- a/graphics-libs/mesa/DEPENDS
+++ b/graphics-libs/mesa/DEPENDS
@@ -14,11 +14,11 @@ depends nettle &&
depends zlib &&

local LLVM_SUB_DEPS &&
-if list_find "$MESA_GALLIUM" "nouveau"; then LLVM_SUB_DEPS+=" RTTI"; fi &&
+if list_find "$MESA_GALLIUM" "nouveau"; then LLVM_SUB_DEPS="RTTI
${LLVM_SUB_DEPS}"; fi &&

if (list_find "${MESA_GALLIUM}" "radeonsi") ||
(list_find "$MESA_VULKAN" amd); then
- LLVM_SUB_DEPS+=" AMD" &&
+ LLVM_SUB_DEPS="AMD ${LLVM_SUB_DEPS}" &&
depends LIBELF
fi &&
if [[ -z "${LLVM_SUB_DEPS}" ]]; then
@@ -27,6 +27,11 @@ else
depends -sub "${LLVM_SUB_DEPS# }" llvm "llvm=enabled"
fi &&

+if list_find "${MESA_VULKAN}" "nouveau-experimental"; then
+ depends rust &&
+ depends rust-bindgen
+fi &&
+
if list_find "$MESA_GLX" dri;then
depends libxext &&
depends libxxf86vm &&
@@ -52,7 +57,7 @@ fi &&
optional_depends libvdpau 'gallium-vdpau=enabled' 'gallium-vdpau=disabled'
'gallium vdpau state tracker' &&
optional_depends libva 'gallium-va=enabled' 'gallium-va=disabled'
'gallium va state tracker' &&
if is_depends_enabled "${SPELL}" libva; then
- . $GRIMOIRE/config_query_multi.function &&
+ . "${GRIMOIRE}/config_query_multi.function" &&
config_query_multi MESA_VA_CODECS "Would you like to enable some patented
codecs?" \
none all vc1dec h264dec h264enc h265dec
h265enc &&
MESA_VA_CODECS="${MESA_VA_CODECS# }" &&
diff --git a/graphics-libs/mesa/HISTORY b/graphics-libs/mesa/HISTORY
index 5b566fa..a9c8be4 100644
--- a/graphics-libs/mesa/HISTORY
+++ b/graphics-libs/mesa/HISTORY
@@ -1,3 +1,7 @@
+2024-01-30 Pavel Vinogradov <public AT sourcemage.org>
+ * CONFIGURE, DEPENDS: added nouveau vulkan driver which needs rust,
+ quoting++, removed +=
+
2024-01-24 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 23.3.4



  • [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (064359758b7d89fbd6dd8212144d6916f5bea34b), Pavel Vinogradov, 01/31/2024

Archive powered by MHonArc 2.6.24.

Top of Page