Skip to contentSkip to conversation

mesa-gl: drop obsolete comment

PATCH In review Dmitry Baryshkov 2 participants 3 messages Jun 4, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 mesa-gl: drop obsolete comment

Drop comment mentioning OSMesa (which was removed from mesa).

Fixes 7ee8e99a5204 ("mesa-gl: Remove osmesa dependency")
---
 meta/recipes-graphics/mesa/mesa-gl.bb | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-graphics/mesa/mesa-gl.bb +0 -1
index 680fda1be5c9..2bdabddc287d 100644
@@ -9,7 +9,6 @@ S = "${WORKDIR}/mesa-${PV}"
 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', '', d)}"
 PACKAGECONFIG:class-target = "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
 
Signature · 1 line
2.39.5
#1 lore raw

PATCH 2/2 mesa-demos: drop osmesa PACKAGECONFIG

Support for OSMesa has been removed in the latest Mesa versions, drop corresponding PACKAGECONFIG option from mesa-demos. Note, there is no need to pass -Dosmesa=disabled, meson will detect that the library is not available.

---
 meta/recipes-graphics/mesa/mesa-demos_9.0.0.bb | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-graphics/mesa/mesa-demos_9.0.0.bb +0 -1
index d92f1ddc5baa..a9e84039d2c9 100644
@@ -30,7 +30,6 @@ PACKAGECONFIG[egl] = "-Degl=enabled,-Degl=disabled,virtual/egl"
 PACKAGECONFIG[gles1] = "-Dgles1=enabled,-Dgles1=disabled,virtual/libgles1"
 PACKAGECONFIG[gles2] = "-Dgles2=enabled,-Dgles2=disabled,virtual/libgles2"
 PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},,freeglut"
-PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
 PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader glslang-native"
 PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland wayland-native wayland-protocols libxkbcommon libdecor"
 PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libglu libxkbcommon libxcb"
Signature · 1 line
2.39.5
#2 lore raw

Re: [PATCH 2/2] mesa-demos: drop osmesa PACKAGECONFIG

Thanks for the follow up.

LGTM

Quoted 27 lines · Dmitry Baryshkov

Support for OSMesa has been removed in the latest Mesa versions, drop corresponding PACKAGECONFIG option from mesa-demos. Note, there is no need to pass -Dosmesa=disabled, meson will detect that the library is not available.

---
 meta/recipes-graphics/mesa/mesa-demos_9.0.0.bb | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-graphics/mesa/mesa-demos_9.0.0.bb +0 -2
index d92f1ddc5baa..a9e84039d2c9 100644
@@ -30,7 +30,6 @@ PACKAGECONFIG[egl] = "-Degl=enabled,-Degl=disabled,virtual/egl"
 PACKAGECONFIG[gles1] = "-Dgles1=enabled,-Dgles1=disabled,virtual/libgles1"
 PACKAGECONFIG[gles2] = "-Dgles2=enabled,-Dgles2=disabled,virtual/libgles2"
 PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},,freeglut"
-PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
 PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader glslang-native"
 PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland wayland-native wayland-protocols libxkbcommon libdecor"
 PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libglu libxkbcommon libxcb"
--

2.39.5