Skip to content

Solving the GTK+ libgl runtime dependency issue

Jussi Kukkonen openembedded-core openembedded-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1gtk+3: gtk3-demo needs libglmeta/recipes-gnome/gtk+/gtk+3.inc+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] Solving the GTK+ libgl runtime dependency issue

Recap of the situation as I understand it:
* Gtk+3 works fine without any OpenGL, if GtkGLArea is not used
* When GtkGLArea is used, Gtk+ uses libepoxy which is supposed dlopen the correct libraries as they are needed
* Gtk+ can only handle desktop GL at the moment (GdkGLContext does not have a GLES profile), so epoxy ends up dlopening libGL.so.1

With this in mind I think the right solution is that applications that use OpenGL in a GtkGLArea must depend on a gl implementation (currently only libgl works).

I am sending a patch that makes gtk3-demo RDEPEND on libgl.

- Jussi

The following changes since commit ceeb52a2544045fe8432e36307a321f6e934de49:

linux-yocto: Update SRCREV for genericx86* BSPs (2015-10-07 00:36:47 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib jku/gtk-gl
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=jku/gtk-gl

Jussi Kukkonen (1):
gtk+3: gtk3-demo needs libgl

 meta/recipes-gnome/gtk+/gtk+3.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.1.4