From: Phil Blundell <philb@gnu.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 3/9] gtk.inc: add directfb DISTRO_FEATURE
Date: Thu, 24 Nov 2011 11:04:02 +0000 [thread overview]
Message-ID: <1322132645.26081.49.camel@phil-desktop> (raw)
In-Reply-To: <2C6A2DBB-2756-4475-9BBF-16A2496EB4A3@dominion.thruhere.net>
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 <xiaofeng.yan@windriver.com>
> >
> > 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.
next prev parent reply other threads:[~2011-11-24 11:10 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-24 3:06 [PATCH 0/9] The patches to run gtk over directfb Xiaofeng Yan
2011-11-24 3:06 ` [PATCH 1/9] qemu-config: Disable dbus-x11 when no x11 in DISTRO_FEATURES Xiaofeng Yan
2011-11-24 3:06 ` [PATCH 2/9] gconf: Disable dbus-x11 when x11 isn't " Xiaofeng Yan
2011-11-24 3:06 ` [PATCH 3/9] gtk.inc: add directfb DISTRO_FEATURE Xiaofeng Yan
2011-11-24 6:38 ` Koen Kooi
2011-11-24 7:28 ` Xiaofeng Yan
2011-11-24 8:57 ` Koen Kooi
2011-11-24 11:04 ` Phil Blundell [this message]
2011-11-24 3:06 ` [PATCH 4/9] gtk+: add demos to the configuation of gtk+ Xiaofeng Yan
2011-11-24 3:06 ` [PATCH 5/9] cairo: add directfb DISTRO_FEATURE Xiaofeng Yan
2011-11-24 3:06 ` [PATCH 6/9] pango: " Xiaofeng Yan
2011-11-24 3:06 ` [PATCH 7/9] directfb-examples: add package directfb-examples to OE-core Xiaofeng Yan
2011-11-24 3:06 ` [PATCH 8/9] task-gtk-directfb.bb: Add task list to run gtk over directfb Xiaofeng Yan
2011-11-24 3:06 ` [PATCH 9/9] core-image-gtk-directfb.bb: add an image for " Xiaofeng Yan
2011-12-05 12:14 ` [PATCH 0/9] The patches to run " Phil Blundell
-- strict thread matches above, loose matches on Subject: below --
2011-11-23 6:47 Xiaofeng Yan
2011-11-23 6:47 ` [PATCH 3/9] gtk.inc: add directfb DISTRO_FEATURE Xiaofeng Yan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1322132645.26081.49.camel@phil-desktop \
--to=philb@gnu.org \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox