Gentoo Archives: gentoo-dev

From: Brian Harring <ferringb@g.o>
To: Donnie Berkholz <spyderous@g.o>
Cc: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: [gentoo-core] crap use flags in the profiles
Date: Sat, 27 Aug 2005 10:05:41
Message-Id: 20050827100130.GX1701@nightcrawler
In Reply to: [gentoo-dev] Re: [gentoo-core] crap use flags in the profiles by Donnie Berkholz
1 Note, sending to dev only, not cc'ing core; the inital -core post was
2 to make sure those who aren't watching dev ml see the email (annoying,
3 but it's an old habit I've yet to kick despite needing to).
4
5 On Sat, Aug 27, 2005 at 04:48:26AM -0500, Donnie Berkholz wrote:
6 > Brian Harring wrote:
7 > >I don't recall having kde/gtk crap turned on by default when I first
8 > >showed up. Maybe I'm missing something; regardless, the defaults
9 > >(which should be minimal from my standpoint) are anything but.
10 >
11 > I think you recall wrong, then. The default USE flags have been set so
12 > that the majority of systems will work properly without modifications,
13 > not so that they're the minimal set.
14 Already stated that it's entirely possible my memory is whacked, that
15 said my point still stands.
16
17 > The purpose of being able to negate USE flags in lower cascaded profiles
18 > is pointless if each level is the minimum. I think it makes more sense
19 > to have each level be a reasonable default that most people would
20 > prefer, then have weird exceptions subtract it.
21
22 Note I'm not advocating every level of the profile be bare minimal,
23 with the end nodes having tons jammed into it; I'm advocating exactly
24 what you're stating. Chunk the sucker up, shifting stuff around just
25 the same as you would if you were designing base classes to be
26 inherited.
27
28 The thing to note is that if you're relying on negation, it's going to
29 bite you in the ass without efforts. A server subprofile pulling from
30 a parent that holds desktop cruft will be forced to either
31 A) reinvent the wheel (maintain their own USE list), as a sizable
32 chunk of users do via -* usage
33 B) or very carefully watch people screwing around with the parent,
34 tagging in a new desktop USE var, and adding the matching negation.
35
36 What I'm advocating is that the '05 profile (fex) tag in the defaults
37 for that profile release, desktop/server agnostic, *system*
38 defaults, eg toolchain, pam, nptl, etc. The subprofile the user
39 chooses (the desktop or server target) building upon those base
40 settngs.
41
42 Multiple inherits for profiles is the main reason I'm not pushing on
43 this; shifting desktop cruft out of the bases (my definition of base
44 mind you) requires pulling from (fex) x86/2005.1 + desktop/2005.1 .
45
46 My 2 cents at least.
47 ~harring

Replies