From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 04/10] gtk.inc: add feature based on directfb
Date: Fri, 09 Dec 2011 10:34:52 +0000 [thread overview]
Message-ID: <1323426892.5309.120.camel@ted> (raw)
In-Reply-To: <CB3A9DC8-124F-4314-A7B5-17C34B59E9D0@dominion.thruhere.net>
On Fri, 2011-12-09 at 07:51 +0100, Koen Kooi wrote:
> Op 8 dec. 2011, om 22:59 heeft Richard Purdie het volgende geschreven:
>
> > On Thu, 2011-12-08 at 17:12 +0000, Phil Blundell wrote:
> >> On Thu, 2011-12-08 at 16:55 +0000, Richard Purdie wrote:
> >>> The question is whether it makes sense to have directfb and X based gtk
> >>> in the same builds and package feeds or not. I can see that it might be
> >>> desired and that it likely is possible.
> >>
> >> This is true, though there's nothing to stop a distro that particularly
> >> wants this from inventing their own stub recipes which just set
> >> PACKAGECONFIG appropriately and then require the generic version. So
> >> it's really just a question of what we want to be the default in
> >> oe-core.
> >>
> >> Also note that, although you can parallel install multiple versions of
> >> the gtk+ runtime on the target system, if you want the build system to
> >> be deterministic then (in the absence of per-recipe sysroot
> >> construction) you need some way to decide which one gets to provide the
> >> gtk+-2.0.pc that other recipes will build against. (The different
> >> targets have different library sonames so you can't just swap them out
> >> at run time: a given binary will remain coupled to the particular Gtk
> >> variant that it was compiled against.) And if the two variants could
> >> conceivably be different versions of GTK then you also need a way to
> >> deconflict ${includedir}/gtk-2.0.
> >>
> >> So it isn't quite as simple as just having the two recipes, there is a
> >> bit of extra policy involved as well. And of course there would be all
> >> the normal overhead in terms of parse time, memory footprint and
> >> maintenance burden associated with having more recipes.
> >
> > This is the key detail I was missing. I thought they just might have
> > been a drop in replacement.
> >
> > That isn't the case so this makes the choice easier, I think separate
> > recipes don't make sense based on this.
> >
> >> So, in light of all the above plus the fact that everything is different
> >> with Gtk+3 anyway, my preference for supporting directfb on gtk+2 in
> >> oe-core would be to use PACKAGECONFIG and not have separate recipe
> >> files.
> >
> > Agreed, given the above.
>
> So to be safe and give other directfb implementations a change, can
> this PACKAGECONFIG option be named 'gtk-directfb' in DISTRO_FEATURES?
I think that is reasonable.
Cheers,
Richard
next prev parent reply other threads:[~2011-12-09 10:41 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-08 9:33 [PATCH 00/10] gtk+-directfb: The patches to run gtk over directfb Xiaofeng Yan
2011-12-08 9:33 ` [PATCH 01/10] qemu-config: Disable dbus-x11 when no x11 in DISTRO_FEATURES Xiaofeng Yan
2011-12-08 9:34 ` [PATCH 02/10] gconf: Disable dbus-x11 when x11 isn't " Xiaofeng Yan
2011-12-08 9:34 ` [PATCH 03/10] gtk.inc: ship gtk-demo to independent package Xiaofeng Yan
2011-12-08 9:34 ` [PATCH 04/10] gtk.inc: add feature based on directfb Xiaofeng Yan
2011-12-08 10:14 ` Koen Kooi
2011-12-08 14:39 ` Phil Blundell
2011-12-08 16:55 ` Richard Purdie
2011-12-08 17:12 ` Phil Blundell
2011-12-08 21:59 ` Richard Purdie
2011-12-09 6:51 ` Koen Kooi
2011-12-09 10:08 ` Phil Blundell
2011-12-09 10:25 ` Koen Kooi
2011-12-09 10:30 ` Phil Blundell
2011-12-09 10:34 ` Richard Purdie [this message]
2011-12-08 9:34 ` [PATCH 05/10] gtk: add demos to the configuation of gtk+ Xiaofeng Yan
2011-12-08 22:15 ` Richard Purdie
2011-12-08 9:34 ` [PATCH 06/10] cairo: add directfb DISTRO_FEATURE Xiaofeng Yan
2011-12-08 9:34 ` [PATCH 07/10] pango: " Xiaofeng Yan
2011-12-08 9:34 ` [PATCH 08/10] directfb-examples: add package directfb-examples to OE-core Xiaofeng Yan
2011-12-08 9:34 ` [PATCH 09/10] task-core-gtk-directfb.bb: Add task list to run gtk over directfb Xiaofeng Yan
2011-12-08 11:22 ` Phil Blundell
2011-12-08 9:34 ` [PATCH 10/10] core-image-gtk-directfb.bb: add an image for " Xiaofeng Yan
2011-12-08 13:22 ` Samuel Stirtzel
2011-12-08 15:45 ` POKY_BASE_INSTALL was " Mark Hatle
-- strict thread matches above, loose matches on Subject: below --
2011-12-07 8:58 [PATCH 00/10]gtk+-directfb: The patches to run " Xiaofeng Yan
2011-12-07 8:58 ` [PATCH 04/10] gtk.inc: add feature based on directfb Xiaofeng Yan
2011-12-07 9:04 ` Koen Kooi
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=1323426892.5309.120.camel@ted \
--to=richard.purdie@linuxfoundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.