[OE-core] [openembedded-core][PATCH] xorg-xserver: fix building of the package when different virtual/egl provider are selected

Francesco Giancane francescogiancane8 at gmail.com
Fri Sep 29 09:47:02 UTC 2017


xorg-xserver fails to build when Xwayland feature is enabled on targets which do not fully
support mesa and/or have different vendor-provided openGL stack.

I.e. in the case of raspberry pi 3 the recipe 'userland' provided
virtual/gles2
virtual/egl

Doing some checks revealed that the correct package is egl and NOT libegl,
as wrongly stated in the PACKAGECONFIG[glamor] dependency.

This patch fixes the issue.

Signed-off-by: Francesco Giancane <francescogiancane8 at gmail.com>
---
 meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
index 863d80ce43..33fe66844e 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
@@ -133,7 +133,7 @@ PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2,dri2proto"
 # DRI3 requires xshmfence to also be enabled
 PACKAGECONFIG[dri3] = "--enable-dri3,--disable-dri3,dri3proto"
 PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,glproto virtual/libgl virtual/libx11"
-PACKAGECONFIG[glamor] = "--enable-glamor,--disable-glamor,libepoxy,libegl"
+PACKAGECONFIG[glamor] = "--enable-glamor,--disable-glamor,libepoxy,egl"
 PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind"
 PACKAGECONFIG[xshmfence] = "--enable-xshmfence,--disable-xshmfence,libxshmfence"
 PACKAGECONFIG[xmlto] = "--with-xmlto, --without-xmlto, xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
-- 
2.13.5




More information about the Openembedded-core mailing list