From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 3/4] distcc: make distccmon-gnome optional and default to off
Date: Mon, 14 Nov 2011 21:48:58 +0000 [thread overview]
Message-ID: <1321307338.26881.83.camel@ted> (raw)
In-Reply-To: <22478035-0923-402B-8617-45F140D38288@dominion.thruhere.net>
On Mon, 2011-11-14 at 21:55 +0100, Koen Kooi wrote:
> Op 14 nov. 2011, om 21:39 heeft Richard Purdie het volgende geschreven:
> > On Mon, 2011-11-14 at 20:17 +0100, Koen Kooi wrote:
> >> I think splitting distccmon-gnome into a seperate recipe is a better idea.
> >
> > I think that makes sense in some cases but I'd hate for it to become the
> > default approach for issues like this as the duplication of code,
> > parsing and build time etc. grate on me. Do we really need separate
> > recipes?
>
> I think for this case, yes. And I'll happily trade needing extra
> buildtime for not needing USEFLAGS.
>
The proposals for alternative recipes for the different combinations got
voted down and PACKAGECONFIG was the preferred solution. I can't say I
personally like everything about the outcome. I do however understand
why we've ended up in that position and don't intend to undermine the
usefulness of it.
> > I'll probably take this patch as it improves the situation IMO (and
> is
> > easy to change the configuration from a distro config if anyone does
> > have an issue with it being disabled).
>
> This patch changes the default behaviour in a way that distros need to
> update their configs in order to keep the status quo. I know I use
> distccmon-gnome on my boards, but will I remember 2 months from now
> that this patch went in? I asked this before in a different context,
> but I'll ask again: do you expect distro maintainers to vet each and
> every commit that goes into OE-core to find out when default got
> (silently) changed?
>
> USEFLAGS should be a last resort when having seperate recipes doesn't
> work out, not a default cure.
The discussion and decision went against this, rightly or wrongly
PACKAGECONFIG is here and we should start to use it. In some cases it
will help you a lot, in others it will cause you a bit more work. Such
is life.
However I do agree the defaults should be backwards compatible so I'm
going to ask Paul to resubmit with a default value that matches the
original recipe, probably something like:
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}
although we could/should probably have some kind of "HAVEGTK" macro type
variable defined to help avoid some of this ugliness.
Cheers,
Richard
next prev parent reply other threads:[~2011-11-14 21:55 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-14 18:54 [PATCH 0/4] Remove dependency on X11 when building for qemu machines Paul Eggleton
2011-11-14 18:54 ` [PATCH 1/4] oprofileui: split server to separate recipe to avoid X11 dependency Paul Eggleton
2011-11-14 18:54 ` [PATCH 2/4] qemu-config: split out anjuta-remote-run Paul Eggleton
2011-11-14 18:54 ` [PATCH 3/4] distcc: make distccmon-gnome optional and default to off Paul Eggleton
2011-11-14 19:17 ` Koen Kooi
2011-11-14 20:39 ` Richard Purdie
2011-11-14 20:55 ` Koen Kooi
2011-11-14 21:48 ` Richard Purdie [this message]
2011-11-15 7:58 ` Koen Kooi
2011-11-15 10:15 ` Richard Purdie
2011-11-15 11:44 ` Paul Eggleton
2011-11-15 12:15 ` Koen Kooi
2011-11-15 13:43 ` Richard Purdie
2011-11-15 13:59 ` Koen Kooi
2011-11-15 14:42 ` Richard Purdie
2011-11-15 14:55 ` Koen Kooi
2011-11-15 15:12 ` Richard Purdie
2011-11-15 15:23 ` Koen Kooi
2011-11-15 15:27 ` Paul Eggleton
2011-11-15 15:24 ` Paul Eggleton
2011-11-15 8:47 ` Paul Menzel
2011-11-15 10:51 ` Richard Purdie
2011-11-14 21:56 ` Paul Eggleton
2011-11-14 18:54 ` [PATCH 4/4] qemu-config: update DESCRIPTION and LICENSE Paul Eggleton
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=1321307338.26881.83.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox