Gentoo Archives: gentoo-dev

From: Spider <spider@g.o>
To: gentoo-dev <gentoo-dev@g.o>
Subject: [gentoo-dev] USE="gtk gtk2" clarification
Date: Fri, 17 Oct 2003 21:18:11
Message-Id: 20031017231804.39f3955e.spider@gentoo.org
1 Okay,
2 Its once again time to clarify the meaning of theese :
3
4 gtk : Signifies that a user wants support for the Gimp ToolKit in
5 their GUI
6 gtk2: Signifies that in cases where there is a gtk+ 1.2 (old)
7 and gtk+ 2.x (that means, BOTH are supported) they prefer gtk+ 2.0.
8
9 Testing logic should be as follows:
10
11 DEPEND="
12 gtk? (
13 gtk2? ( >=x11-libs/gtk+-2.0.3 )
14 !gtk2? ( =x11-libs/gtk+-1.2.10* )
15 )"
16 And there should be -NO- case where a user can get a "gtk2" UI with the
17 case :
18 USE="-gtk gtk2" since this means that all gtk interfaces should be
19 disabled.
20
21
22 the gtk2 USE flag is a hack, and came only due to some migration-style
23 applications that for a period has support for both kinds of GUI (gftp,
24 mozilla)
25
26 The gtk2 flag is destined to dissapear from the tree, gtk+ 1.2 is
27 unsupported, and badly broken on UTF-8 locales, and hopefully more and
28 more applications who have both interfaces will stabilize the GTK 2 one,
29 and then deprecate the 1.2 interface.
30
31 Yes, I know people like gtk+ 1.2, but as a user and developer who has to
32 maintain and make programs work with it, I hate gtk+ 1.2.
33
34
35
36 //Spider
37
38
39 --
40 begin .signature
41 This is a .signature virus! Please copy me into your .signature!
42 See Microsoft KB Article Q265230 for more information.
43 end

Replies

Subject Author
Re: [gentoo-dev] USE="gtk gtk2" clarification Aron Griffis <agriffis@g.o>