Skip to contentSkip to conversation

package/mesa3d: Execute MESA3D_REMOVE_OPENGL_PC also for DRI configs lacking OpenGL

PATCH New Bernd Kuhls 2 participants 2 messages May 17, 2016 – May 24, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/mesa3d: Execute MESA3D_REMOVE_OPENGL_PC also for DRI configs lacking OpenGL

Mesa3d provides libgl only with DRI drivers and X.org enabled. Since

https://git.busybox.net/buildroot/commit/package/mesa3d/mesa3d.mk?id=f1894ec95728806e09405d26663e0ea371afaeab

DRI drivers can be enabled without X.org support, but mesa3d still does not provide OpenGL support so we also need to remove the pkgconf files in this case. A POST_INSTALL_*_HOOK is already present but needs to be executed not only when DRI support was disabled but also with DRI en- and X.org disabled.

Fixes
http://autobuild.buildroot.net/results/342/3420ad6aa8e1e8151bf11b43be2c97cbe1dbb400/

---
 package/mesa3d/mesa3d.mk | 2 ++
 1 file changed, 2 insertions(+)
package/mesa3d/mesa3d.mk +2 -0
index 4e0d255..3c98f8d 100644
@@ -108,6 +108,8 @@ endif
 # libGL is only provided for a full xorg stack
 ifeq ($(BR2_PACKAGE_XORG7),y)
 MESA3D_PROVIDES += libgl
+else
+MESA3D_POST_INSTALL_STAGING_HOOKS += MESA3D_REMOVE_OPENGL_PC
 endif
 MESA3D_CONF_OPTS += \
 	--enable-shared-glapi \
Signature · 1 line
2.8.1
#1 lore raw

PATCH 1/1 package/mesa3d: Execute MESA3D_REMOVE_OPENGL_PC also for DRI configs lacking OpenGL

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

Mesa3d provides libgl only with DRI drivers and X.org enabled. Since
https://git.busybox.net/buildroot/commit/package/mesa3d/mesa3d.mk?id=f1894ec95728806e09405d26663e0ea371afaeab

DRI drivers can be enabled without X.org support, but mesa3d still does not provide OpenGL support so we also need to remove the pkgconf files in this case. A POST_INSTALL_*_HOOK is already present but needs to be executed not only when DRI support was disabled but also with DRI en- and X.org disabled.

Quoted 4 lines

Fixes
http://autobuild.buildroot.net/results/342/3420ad6aa8e1e8151bf11b43be2c97cbe1dbb400/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard