Skip to contentSkip to conversation

mesa-gl: Remove osmesa dependency

PATCH Superseded Khem Raj 2 participants 2 messages May 27, 2025 – May 28, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 mesa-gl: Remove osmesa dependency

osmesa has been removed from recently upgrade mesa recipes remove it from the fallback for non-x11 systems

---
 meta/recipes-graphics/mesa/mesa-gl.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/mesa/mesa-gl.bb +2 -2
index ca160f1bfce..680fda1be5c 100644
@@ -10,6 +10,6 @@ TARGET_CFLAGS = "-I${STAGING_INCDIR}/drm"
 
 # At least one DRI rendering engine is required to build mesa.
 # When no X11 is available, use osmesa for the rendering engine.
-PACKAGECONFIG ??= "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}"
-PACKAGECONFIG:class-target = "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}"
+PACKAGECONFIG ??= "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
+PACKAGECONFIG:class-target = "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
 
#1 lore raw
Quoted 13 lines · Khem Raj via lists.openembedded.org

osmesa has been removed from recently upgrade mesa recipes remove it from the fallback for non-x11 systems

---
 meta/recipes-graphics/mesa/mesa-gl.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/mesa/mesa-gl.bb +0 -0
index ca160f1bfce..680fda1be5c 100644

meta/recipes-graphics/mesa/mesa-gl.bb TARGET_CFLAGS = "-I${STAGING_INCDIR}/drm" · line 12

Quoted 3 lines
meta/recipes-graphics/mesa/mesa-gl.bb +0 -0
@@ -10,6 +10,6 @@ TARGET_CFLAGS = "-I${STAGING_INCDIR}/drm"
 
 # At least one DRI rendering engine is required to build mesa.
 # When no X11 is available, use osmesa for the rendering engine.

^^ should probably also fixup the comment too

Quoted 15 lines
meta/recipes-graphics/mesa/mesa-gl.bb +2 -3
-PACKAGECONFIG ??= "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}"
-PACKAGECONFIG:class-target = "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}"
+PACKAGECONFIG ??= "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
+PACKAGECONFIG:class-target = "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#217312): https://lists.openembedded.org/g/openembedded-core/message/217312
Mute This Topic: https://lists.openembedded.org/mt/113327839/900817
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-