Re: [OE-core] [PATCH 1/1] gtk+3: Do not try to initialize GL without libgl

2015-10-21 Thread Otavio Salvador
On Wed, Oct 21, 2015 at 6:53 AM, Jussi Kukkonen wrote: > On 21 October 2015 at 11:43, Burton, Ross wrote: >> >> On 21 October 2015 at 09:34, Jussi Kukkonen >> wrote: >>> >>> +PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,,libgl" >> >> >> This adds a RDEPENDS of libgl to libgtk3, so the explic

Re: [OE-core] [PATCH 1/1] gtk+3: Do not try to initialize GL without libgl

2015-10-21 Thread Jussi Kukkonen
On 21 October 2015 at 11:43, Burton, Ross wrote: > > On 21 October 2015 at 09:34, Jussi Kukkonen > wrote: > >> +PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,,libgl" >> > > This adds a RDEPENDS of libgl to libgtk3, so the explicit RDEPENDS on > gtk3-demo isn't required. As GTK+ explicitly che

Re: [OE-core] [PATCH 1/1] gtk+3: Do not try to initialize GL without libgl

2015-10-21 Thread Burton, Ross
On 21 October 2015 at 09:34, Jussi Kukkonen wrote: > +PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,,libgl" > This adds a RDEPENDS of libgl to libgtk3, so the explicit RDEPENDS on gtk3-demo isn't required. As GTK+ explicitly checks for GLX at startup I guess you want to remove the explicit R

[OE-core] [PATCH 1/1] gtk+3: Do not try to initialize GL without libgl

2015-10-21 Thread Jussi Kukkonen
Gdk initialization ends up calling epoxy GLX api, which calls exit() if libGL.so.1 is not present. In practice this prevents all GTK+ applications from starting if GLX is not present. If opengl and x11 distro features are set, make gtk+3 RDEPEND on libgl. If opengl and x11 distro features are not