Gentoo Archives: gentoo-dev

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-dev@l.g.o
Cc: wired@g.o, gnome@g.o
Subject: Re: [gentoo-dev] RFC: GTK USE flag situation (gtk, gtk2, gtk3; relevant to bug #420493)
Date: Wed, 12 Feb 2014 07:29:44
Message-Id: 20140212082926.4a75e2d7@shanghai.paradoxon.rec
In Reply to: [gentoo-dev] RFC: GTK USE flag situation (gtk, gtk2, gtk3; relevant to bug #420493) by Alex Alexander
1 Hi,
2
3 On Wed, 12 Feb 2014 00:39:14 +0200 Alex Alexander wrote:
4
5 >Hello fellow developers,
6 >
7 >In the first meeting of the new QA team, we discussed the state of the
8 >gtk{,2,3} USE flags in the main tree. [0]
9 >
10 >In its current state, USE="gtk" means gtk2. The Gnome team is trying
11 >to change this into "the most recent gtk version" (it is a work in
12 >progress).
13 >
14 >Unfortunately, the concurrent nature of gtk2/gtk3 has resulted in
15 >packages that may support either or both the toolkits. To handle this,
16 >a few developers have introduced the "gtk3" useflag, that prefers gtk3
17 >over gtk2 when both toolkit versions are supported. At this point, the
18 >Gnome team highly recommends prefering gtk3 if possible, skipping the
19 >useflag altogether. [1]
20 >
21 >Some developers choose to follow the Gnome team's highlights, while
22 >others choose to go their own way. The QA team would like to establish
23 >a guideline that solves this problem in the best way possible.
24 >
25 >During our discussion, it was pointed out that keeping a generic
26 >USE="gtk" is sub-optimal. The non-straightforward nature of new
27 >toolkit versions makes transitioning from one to the other a slow,
28 >tedius process and we think that a non-versioned USE flag makes things
29 >even worse.
30 >
31 >A few of our members recommended a move away from the unversioned
32 >USE="gtk" to versioned-only USE flags. Qt managed to do this quite
33 >successfully when they transitioned from the unversioned
34 >USE="qt" (that actually meant qt3) to USE="qt4". The benefits can be
35 >seen now that qt5 is around the corner. USE="qt5" is straightforward,
36 >does not mess with qt4 packages and was introduced to the tree without
37 >messing with current packages too much - other than adding a new use
38 >flag where appropriate. There is also no need for USE="qt" anymore.
39 >
40 >To achieve this, version 3 of gtk should always be enabled by
41 >USE="gtk3". At some point in the future, when gtk2 consumers reach
42 >zero, we will retire "gtk" for good. Then, if some day gtk4 comes
43 >around, we will be able to introduce support for it in the tree by
44 >simply adding USE="gtk4", without having to re-structure half the tree.
45 >
46 >We are reaching out to the developer community to hear your thoughts
47 >and ideas on the matter. We would like to reach a decision that could
48 >possibly affect and direct the state of whole tree. This decision
49 >could then be turned into a policy, improving Gentoo's consistency
50 >across the tree.
51 >
52 >Cheers
53 >
54 >[0]
55 >https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Meeting_Summaries#Summary_of_Wednesday_January_29.2C_2014
56 >[1] https://wiki.gentoo.org/wiki/Gnome_Team_Policies#gtk3
57
58
59 This is a really good idea and I am all in favor of it.
60 gtk+:3 still isn't adopted widely and there are still not many good
61 looking skins available for it. (sorry but I don't want to have all gtk+
62 apps I am using looking totally ugly again)
63 I doubt gtk+:2 will be deprecated that soon as some of our devs try
64 to imply.
65
66
67 --
68 Lars Wendler
69 Gentoo package maintainer
70 GPG: 4DD8 C47C CDFA 5295 E1A6 3FC8 F696 74AB 981C A6FC

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies