Bug 8371

Summary: gtk3-demo needs opengl to run but doesn't depend on it
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Jussi Kukkonen <jku>
Component: graphicsAssignee: Jussi Kukkonen <jku>
Status: VERIFIED FIXED QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: normal    
Priority: Medium+ CC: bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher
Version: unspecified   
Target Milestone: 2.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Jussi Kukkonen 2015-09-22 12:24:11 UTC
gtk3-demo fails to run (saying it can't find libGL.so) when only it is added to core-image-sato. If mesa is added as well, things start to work.

Not sure yet if this is GTK+3 problem or just about the demo app.
Comment 1 Jussi Kukkonen 2015-09-23 08:45:29 UTC
I believe libepoxy packageconfig is missing a virtual/libgl when built with X11.
Comment 2 Jussi Kukkonen 2015-10-13 07:13:48 UTC
commit 67d65008e89e78e43878510df16b293319fddbbf
Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
Date:   Fri Oct 9 15:20:55 2015 +0300

    gtk+3: gtk3-demo needs libgl
    
    The demo app uses OpenGL (within a GtkGLArea): it needs a runtime
    dependency on a GL library. Current GTK+ can only handle
    full GL (libGL.so.1) so RDEPEND on libgl.
    
    (From OE-Core rev: 3d95440b77bfe90d20c8b7a96e611b6cf2ffcb70)
    
    Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
    Signed-off-by: Ross Burton <ross.burton@intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Comment 3 Bogdan Alexandru Voiculescu 2015-10-26 15:55:42 UTC
Verified on master 505a82673ac2487df5ea343a6422c2fc47018831