Gentoo Archives: gentoo-dev

From: "Harald van Dijk" <truedfx@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] Useflags: qt, qt3, qt4?
Date: Fri, 14 Jul 2006 19:50:26
Message-Id: 20060714194552.GA4876@gentoo.org
In Reply to: Re: [gentoo-dev] [RFC] Useflags: qt, qt3, qt4? by Paul de Vrieze
1 On Fri, Jul 14, 2006 at 09:09:15PM +0200, Paul de Vrieze wrote:
2 > On Wednesday 21 June 2006 15:45, Donnie Berkholz wrote:
3 > >
4 > > -qt +qt3:
5 > >
6 > > This would only be available in 2 cases:
7 > >
8 > > - Package supports both qt4 and qt3, and they're mutually exclusive
9 > > - Package supports both qt4 and qt3, and they can both be enabled at once
10 > >
11 > > In case 1, "-qt +qt3" would enable qt3. In case 2, "-qt +qt3" would
12 > > enable qt3.
13 > >
14 > > In other words, as I've been trying to say all along, there is no such
15 > > thing as a preference flag here. That creates a 2-flag combination to
16 > > get a single feature, which is _not_ what we want. There is a "qt" flag
17 > > to indicate enabling the best available qt for that package, and there
18 > > are "qt#" flags to indicate enabling older qt for that package.
19 > >
20 > > The downside to this setup is that it's difficult to avoid installing
21 > > certain qt versions when it's unknown which version USE=qt will pull in
22 > > for any given package. This favors an entirely versioned setup instead,
23 > > and we should get rid of USE=qt altogether in favor of only USE=qt#.
24 >
25 > Avoiding installation of a package can IMHO better be done by
26 > using /etc/portage/package.mask
27
28 Arguably better, but sure not easier. It requires lots of entries in
29 /etc/portage/package.use since portage won't automatically disable the
30 qt flag if the required qt version is masked, and when packages change
31 from/to qt3 to/from qt4, there is no way for portage to let the user
32 know (so that "cat/pkg -qt" can be removed from package.use again).
33 --
34 gentoo-dev@g.o mailing list