[OE-core] [PATCH 3/4] gtk+3: Set depends to the virtual needed not explicitly on Mesa

Richard Purdie richard.purdie at linuxfoundation.org
Mon Sep 16 22:27:46 UTC 2019


On Fri, 2019-09-13 at 15:36 -0400, Andrew F. Davis via Openembedded-core wrote:
> The dependency is for EGL and GLES2 libraries. On some systems these
> are not provided by Mesa, list what is actually needed so the system
> can choose the correct provider.
> 
> Signed-off-by: Andrew F. Davis <afd at ti.com>
> ---
>  meta/recipes-gnome/gtk+/gtk+3.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-gnome/gtk+/gtk+3.inc b/meta/recipes-gnome/gtk+/gtk+3.inc
> index 77b6c31536..7ec40dcbf5 100644
> --- a/meta/recipes-gnome/gtk+/gtk+3.inc
> +++ b/meta/recipes-gnome/gtk+/gtk+3.inc
> @@ -52,7 +52,7 @@ PACKAGECONFIG[x11] = "--enable-x11-backend,--disable-x11-backend,at-spi2-atk fon
>  # this is provided by oe-core patch that removes epoxy/gl dependency from a X11 build
>  PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,libepoxy"
>  PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,,libgl"
> -PACKAGECONFIG[wayland] = "--enable-wayland-backend,--disable-wayland-backend,wayland wayland-protocols libxkbcommon virtual/mesa wayland-native"
> +PACKAGECONFIG[wayland] = "--enable-wayland-backend,--disable-wayland-backend,wayland wayland-protocols libxkbcommon virtual/egl virtual/gles2 wayland-native"
>  PACKAGECONFIG[cups] = "--enable-cups,--disable-cups,cups"
>  
>  prepare_gtk_scripts() {

This breaks things:

https://autobuilder.yoctoproject.org/typhoon/#/builders/57/builds/1037

step1b: ERROR: Nothing PROVIDES 'virtual/gles2' (but /home/pokybuild/yocto-worker/qemux86-64-x32/build/meta/recipes-gnome/gtk+/gtk+3_3.24.8.bb DEPENDS on or otherwise requires it). Close matches:

Cheers,

Richard





More information about the Openembedded-core mailing list