Gentoo Archives: gentoo-dev

From: Brian Harring <ferringb@g.o>
To: gentoo-dev@××××××××××××.org
Subject: Re: [gentoo-dev] GTK und GTK2 Use Flag
Date: Tue, 29 Mar 2005 11:11:41
Message-Id: 20050329111142.GA29694@exodus
In Reply to: Re: [gentoo-dev] GTK und GTK2 Use Flag by Stefan Sperling
1 On Tue, Mar 29, 2005 at 12:58:57PM +0200, Stefan Sperling wrote:
2 > On Tue, Mar 29, 2005 at 12:15:17PM +0200, Fabian Zeindl wrote:
3 > > Hello
4 > >
5 > > There was a discussion on the gentoo-user-de list about this two
6 > > Useflags: gtk and gtk2. Because not everybody is sure what the mean, so
7 > > if you have -gtk +gtk2 some think that gtk2 should be installed and soon.
8 >
9 > There are lots of useflags that don't install anything.
10 > Take the new mp3 useflag for example, used by beep-media-player.
11 > would you expect it to install a program called 'mp3'? :)
12 >
13 > > Wouldn't it be better if "gtk" meaned that the newest available gtk
14 > > version ist installed (gtk1 or gtk2) and a flag like oldgtk take the
15 > > older version gtk1.
16 >
17 > As soon as gtk3 comes along, you scheme won't work anymore.
18 >
19 > Some programs use gtk1 only, some gtk2 only, and a few have
20 > support for both. As there is not much point in using both
21 > of them at runtime, if you use +gtk2, programs that support
22 > both will use gtk2.
23 A saner (and previously proposed) approach would be
24 gtk ~= gtk support. *any* version.
25 gtk1 = gtk v1 support
26 gtk2 = gtk v2 support
27 gtkN = gtk vN support.
28
29 With the current approach, gtk2 is dependant on gtk; above approach
30 breaks the dependency between the two flags, and gives the user the
31 ability to control explicitly what versions are used, rather then the
32 partial crapshoot it is now. If they want *just* v2 support, above
33 allows it w/out resorting to a package.mask.
34 ~brian
35 --
36 gentoo-dev@g.o mailing list