Gentoo Archives: gentoo-dev

From: AllenJB <gentoo-lists@××××××××××.uk>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: "X" vs "gtk" USE flags
Date: Mon, 08 Feb 2010 13:42:27
Message-Id: 4B70149D.6020702@allenjb.me.uk
In Reply to: [gentoo-dev] Re: "X" vs "gtk" USE flags by Nikos Chantziaras
1 On 08/02/10 12:32, Nikos Chantziaras wrote:
2 > On 02/08/2010 01:39 PM, Samuli Suominen wrote:
3 >> IMHO. USE="X" is for controlling X.org dependencies, not for avoiding
4 >> everything that deps on them, so I disagree.
5 >
6 > I was under the impression that USE flags are for enabling/disabling
7 > features, not for controlling deps. DEPEND and RDEPEND is, AFAIK, the
8 > way to control deps.
9 >
10 >
11 Features influence dependencies. If you enable kde features the package
12 will require kde dependencies. So use flags and dependencies are
13 irrevocably linked.
14
15 What Samuli is saying is that the X flag should be specifically for X
16 (and not X-related, such as graphical libraries) features, while the kde
17 and gtk use flags should remain in use as they are. This way when you
18 see "X" as a use flag, you know it means "enable X features" and isn't
19 likely to pull in anything but X libraries, if you see "kde" you know it
20 means "enable kde features" and isn't likely to pull in anything but kde
21 libraries, and so on.
22
23 AllenJB

Replies

Subject Author
[gentoo-dev] Re: "X" vs "gtk" USE flags Nikos Chantziaras <realnc@×××××.de>