Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: GTK USE flag situation (gtk, gtk2, gtk3; relevant to bug #420493)
Date: Wed, 12 Feb 2014 00:02:02
Message-Id: 52FAB9A0.6070501@gentoo.org
In Reply to: Re: [gentoo-dev] RFC: GTK USE flag situation (gtk, gtk2, gtk3; relevant to bug #420493) by Ulrich Mueller
1 On 12/02/14 01:51, Ulrich Mueller wrote:
2 >>>>>> On Wed, 12 Feb 2014, Samuli Suominen wrote:
3 >> USE="gtk3" is valid only for libraries when it's not easy to
4 >> split/slot as a temporary flag. Applications should simply pick one,
5 >> the latest one that works, since anything else is obviously
6 >> redudant.
7 > I don't see why applications should be treated differently from
8 > libraries. If a program supports more than one toolkit, then the
9 > choice should be left to the user. Nothing redundant there.
10 >
11 > Ulrich
12
13 For libraries it's forced, like eg. libcanberra's gtk3 version for GNOME
14 and gtk2
15 version for Xfce due to direct use of NEEDED, headers, pkg-config etc.
16
17 But applications is whole different story...
18
19 The maintainer makes the decision which toolkit is used and best supported.
20 If some application has initial port to gtk3, but still lacks some
21 features the gtk2
22 version still had, then maintainer makes the smart choice of using the
23 version
24 that has all the features, if the maintainer deems those features important.
25 There is no point in having them in parallel, it only increases the
26 workload,
27 making maintainer do double-testing of the application, not to mention the
28 work it causes later when gtk2 is slated obsolete as gtk1 is now
29
30 Sometimes I think people have already forgotten the mess we had during the
31 gnome1 removal times with USE="gtk2" :-(
32
33 - Samuli

Replies