Gentoo Archives: gentoo-dev

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: "X" vs "gtk" USE flags
Date: Mon, 08 Feb 2010 19:21:46
Message-Id: hkpo75$akn$1@ger.gmane.org
In Reply to: Re: [gentoo-dev] Re: "X" vs "gtk" USE flags by AllenJB
1 On 02/08/2010 05:22 PM, AllenJB wrote:
2 > On 08/02/10 14:02, Nikos Chantziaras wrote:
3 >> On 02/08/2010 03:41 PM, AllenJB wrote:
4 >>> On 08/02/10 12:32, Nikos Chantziaras wrote:
5 >>>> On 02/08/2010 01:39 PM, Samuli Suominen wrote:
6 >>>>> IMHO. USE="X" is for controlling X.org dependencies, not for avoiding
7 >>>>> everything that deps on them, so I disagree.
8 >>>>
9 >>>> I was under the impression that USE flags are for enabling/disabling
10 >>>> features, not for controlling deps. DEPEND and RDEPEND is, AFAIK, the
11 >>>> way to control deps.
12 >>>>
13 >>>>
14 >>> Features influence dependencies. If you enable kde features the package
15 >>> will require kde dependencies. So use flags and dependencies are
16 >>> irrevocably linked.
17 >>>
18 >>> What Samuli is saying is that the X flag should be specifically for X
19 >>> (and not X-related, such as graphical libraries) features, while the kde
20 >>> and gtk use flags should remain in use as they are. This way when you
21 >>> see "X" as a use flag, you know it means "enable X features" and isn't
22 >>> likely to pull in anything but X libraries, if you see "kde" you know it
23 >>> means "enable kde features" and isn't likely to pull in anything but kde
24 >>> libraries, and so on.
25 >>
26 >> So I guess what I was really proposing then was a "gui" USE flag :P
27 >> Sorry about that, I didn't fully understand the meaning of the X flag.
28 >>
29 >>
30 > And what purpose would this flag server that's not already covered by
31 > using USE="X fltk qt gtk kde gnome" (and possibly a couple of others
32 > I've forgotten about) - which are all already in the desktop profile,
33 > which the vast majority of people who don't care what toolkit they get
34 > will already be using anyway?
35
36 I'm confused. First there's talk about HTPC people and now about people
37 who have all USE flags enabled.
38
39 Why do you always have to pick the extremes? The majority set it up
40 like this:
41
42 "X kde qt4 -gnome -gtk"
43
44 and
45
46 "X gnome gtk -kde -qt4"
47
48
49 > The current system caters perfectly for both people who want to avoid
50 > specific toolkits and those who don't care what toolkits they use.
51
52 I saw a problem with using "gtk" with stuff where gtk isn't actually
53 optional and what is really meant by that use flag is not "provide the
54 gtk version of the GUI", but "provide the only available GUI; happens to
55 be Gtk".
56
57 But since most people think that's the way to go, I'm obviously wrong.
58 In any event, there's no need to continue this discussion.