On Thu, 2011-11-24 at 07:38 +0100, Koen Kooi wrote:
> Op 24 nov. 2011, om 04:06 heeft Xiaofeng Yan het volgende geschreven:
> 
> > From: Xiaofeng Yan <[email protected]>
> > 
> > gtk run over x11 at current OE-core. If gtk want to run over directfb, then 
> > \
> > the configuration related to x11 should be disabled and directfb should be 
> > enabled.
> 
> Apart from this patch is messing with PACKAGES as well, I still don't believe 
> it's true that x11 must be disabled for directfb to work

[...]

> +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} 
> \
> +           ${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', 
> d)}"
> +
> +PACKAGECONFIG[x11] = "--with-x=yes 
> --with-gdktarget=x11,--with-x=no,${X11DEPENDS}"
> +PACKAGECONFIG[directfb] = "--with-gdktarget=directfb,,directfb"

If you're using a version of GTK+ which expects the "--with-gdktarget"
option then I think it is true that X11 and directfb are exclusive since
you can only have one backend enabled at a time.  There's nothing you
can do in the recipe that will help with this, though it would be nice
if you got a sensible diagnostic rather than one of the options just
being silently ignored.

With newer versions (3.0 and later, I think) there are separate
--enable-FOO-backend options for the different backends and you can turn
on as many as you want at the same time.  In those versions I don't
think --with-gdktarget will do anything useful at all so this patch
won't work.

p.



_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to