Gentoo Archives: gentoo-dev

From: Thomas de Grenier de Latour <degrenier@×××××××××××.fr>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] iuse defaults example
Date: Sun, 15 Jul 2007 12:56:06
Message-Id: 20070715145312.7a120ffe@eusebe
In Reply to: Re: [gentoo-dev] iuse defaults example by Marius Mauch
1 On 2007/07/15, Marius Mauch <genone@g.o> wrote:
2
3 > On Sun, 15 Jul 2007 11:53:08 +0200
4 > Thomas de Grenier de Latour <degrenier@×××××××××××.fr> wrote:
5 >
6 > > My point is just that it doesn't work that well with the USE_ORDER
7 > > that have been chosen. Even keeping the "-* in make.conf" case
8 > > appart (obviously my opinion on how it should behave was not widely
9 > > shared, i can live with that), there is still a problem with -* in
10 > > make.defaults files: the day you switch from IUSE="nocxx" to
11 > > IUSE="+cxx", will you remember that, as a consequence, you have to
12 > > fix hardened/2.6/minimal profile?
13 >
14 > Well, it's just like any other renaming of USE flags in that regard.
15
16 But it shows that the "we shouldn't care about per-ebuild defaults in
17 profiles" argument doesn't really stand, which is unfortunate because
18 Mike is probaly right that it would have been a good thing.
19
20 > And while I can see why people would want IUSE defaults to have a
21 > higher priority than USE in make.defaults and/or make.conf, I suspect
22 > the vast majority of users would get completely lost in finding out
23 > where a flag was enabled/disabled (the current system is already
24 > confusing to a lot of people until they get a detailed explanation).
25
26 I don't think it's something which would be that hard to explain to
27 users. All it takes is having "emerge -pv" to clearly shows that
28 something unusual is happening when a flag value is overidden by an
29 IUSE-default, for instance with an exclamation mark suffix, and to
30 document that in the man page, with the rest of the --verbose output:
31 ! suffix = profile's global default value for this flag is
32 overidden by an ebuild-specific setting. You can still enable /
33 disable it in your own configuration (make.conf or package.use)
34 if you really want to.
35 Maybe i am over-estimating the average user, but to me it doesn't sound
36 that complicated or obscure.
37
38 --
39 TGL.
40 --
41 gentoo-dev@g.o mailing list