Skip to contentSkip to conversation

gtk+3: libgl has multiple providers

PATCH In review Trevor Woerner 2 participants 2 messages Apr 18, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gtk+3: libgl has multiple providers

The libgl can be satisfied by a set of libgl providers, therefore set the dependency to virtual/libgl.

---
 meta/recipes-gnome/gtk+/gtk+3.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-gnome/gtk+/gtk+3.inc +1 -1
index 27da844fea..c430aecde2 100644
@@ -46,7 +46,7 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl wayland x11', d
 PACKAGECONFIG[x11] = "--enable-x11-backend,--disable-x11-backend,at-spi2-atk fontconfig libx11 libxext libxcursor libxi libxdamage libxrandr libxrender libxcomposite libxfixes"
 # 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[glx] = "--enable-glx,--disable-glx,,virtual/libgl"
 PACKAGECONFIG[wayland] = "--enable-wayland-backend,--disable-wayland-backend,wayland wayland-protocols libxkbcommon virtual/mesa wayland-native"
 
 do_install_append() {
Signature · 1 line
2.12.0.rc1.48.g076c053
#1 lore raw

meta/recipes-gnome/gtk+/gtk+3.inc PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl wayland x11', d · line 49

Quoted 3 lines · Trevor Woerner
meta/recipes-gnome/gtk+/gtk+3.inc +1 -1
-PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,,libgl"
+PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,,virtual/libgl"

That's the runtime dependency not build time, so virtual/libgl is wrong. Mesa for example generates packages called libgl-mesa that RPROVIDES libgl and libgl1.

Ross