Gentoo Archives: gentoo-dev

From: Raymond Jennings <shentino@×××××.com>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] [RFC] Global USE=gui
Date: Wed, 01 Jun 2016 17:50:05
Message-Id: CAGDaZ_pezQABA3oTPng9fgr0jf4PQKytiSUqP+p3Os+SEqHNxg@mail.gmail.com
In Reply to: Re: [gentoo-dev] [RFC] Global USE=gui by NP-Hardass
1 What about a global "default gui" somewhere in make.conf that says what GUI
2 to use if a package provides multiple?
3
4 Relatedly, I also like having a general "qt" USE flag to select any/the
5 best version of qt, and then having "qtX' for each version of qt...ditto
6 for gtk and gtkX
7
8 On Wed, Jun 1, 2016 at 9:59 AM, NP-Hardass <NP-Hardass@g.o> wrote:
9
10 > On 06/01/2016 12:52 PM, Ian Stakenvicius wrote:
11 > > On 01/06/16 11:19 AM, NP-Hardass wrote:
12 > >> On 06/01/2016 10:29 AM, Mart Raudsepp wrote:
13 > >>> Hello,
14 > >>>
15 > >>> So here's something more simple wrt GUI USE flags.
16 > >>>
17 > >>> Global USE=gui for
18 > >>> gui - enable an optional graphics user interface or extra GUI tool
19 > >>>
20 > >>> Essentially, if it's an optional GUI, it'd be behind a USE=gui, instead
21 > >>> of USE=gtk, USE=X, USE=qt4 or USE=qt5, when that optional GUI is
22 > >>> available in only one toolkit version. So hence feature based flag, not
23 > >>> dependency-based.
24 > >>>
25 > >> I know that it was previously mentioned that there was discussion about
26 > >> this long ago, but I'm not familiar with those discussions. Is someone
27 > >> more familiar with those discussions able to bring up the talking
28 > points?
29 > >>
30 > >> One issue that springs to mind though is, let's say a pkg supports only
31 > >> qt4 for a gui, you'd have the gui flag. Upstream adds qt5 support. Do
32 > >> you keep the gui flag and make qt4 and qt5 dependent on it, or do you
33 > >> remove the gui flag? I feel like the latter might lead to confusion,
34 > >> while the former suggests that the flag should be used more generally
35 > >> than just one toolkit/version being available.
36 > >
37 > > This would be the:
38 > >
39 > >>> There are some other things in the ideas pipeline for when there are
40 > >>> multiple toolkit choices, but that's something for a different thread,
41 > >>> a different day and more controversial.
42 > >
43 > > ...portion. :)
44 > >
45 > >
46 > Ah :)
47 >
48 > --
49 > NP-Hardass
50 >
51 >