Gentoo Archives: gentoo-dev

From: Rich Freeman <rich0@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] Re: useflag policies
Date: Tue, 11 Aug 2015 14:20:15
Message-Id: CAGfcS_mhUvLdXnycEp9pz0udwBXQCNGsqjAwc3waaHkjPaUgVg@mail.gmail.com
In Reply to: Re: [gentoo-dev] Re: useflag policies by Sergey Popov
1 On Tue, Aug 11, 2015 at 9:42 AM, Sergey Popov <pinkbyte@g.o> wrote:
2 > 11.08.2015 16:36, Rich Freeman пишет:
3 >> On Tue, Aug 11, 2015 at 9:19 AM, Sergey Popov <pinkbyte@g.o> wrote:
4 >>> 11.08.2015 16:11, James Le Cuirot пишет:
5 >>>> On Tue, 11 Aug 2015 15:58:49 +0300
6 >>>> Sergey Popov <pinkbyte@g.o> wrote:
7 >>>>
8 >>>>> If both of flags are not set - we stick to default.
9 >>>>> Should this be set in EVERY ebuild explicitly?
10 >>>>>
11 >>>>> Maybe provide some sugar like $(qt_use_default qtgui 5), where
12 >>>>> qt_use_default is the name of function, qtgui is the package and 5 is
13 >>>>> the slot for default choice, where either BOTH of flags(qt4, qt5) are
14 >>>>> enabled or disabled
15 >>>>
16 >>>> That sounds a little bit like what I suggested earlier.
17 >>>>
18 >>>> https://archives.gentoo.org/gentoo-dev/message/884257a2d924a51851d629b1dc9b30df
19 >>>>
20 >>>
21 >>> But without introducing brand new useless USE flag. Which makes huge
22 >>> difference to me :-)
23 >>>
24 >>
25 >> If we want the typical user to not set either qt4 or qt5, are we
26 >> saying that any package that could use either always enable one of
27 >> them by default? Then all users get a GUI by default, and then users
28 >> have to explicitly disable it? That seems to be the opposite of how
29 >> we normally do things, but it does let you get away from having lots
30 >> of users turning on qt.
31 >
32 > I suggested this for packages, where GUI can not be disabled AND it
33 > should be either qt4 or qt5. Then, if we do not add + to USE
34 > description, users without anything in make.conf just run the blocker
35 >
36
37 What if the GUI can be disabled? Should we force users to set
38 USE="-qt4 -qt5" to disable the GUI? Or should we force users to put
39 one of those in their make.conf or profile to enable it (causing
40 problems with packages that don't allow both)?
41
42 --
43 Rich

Replies

Subject Author
Re: [gentoo-dev] Re: useflag policies Ian Stakenvicius <axs@g.o>