public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] RFC: GTK USE flag situation (gtk, gtk2, gtk3; relevant to bug #420493)
@ 2014-02-11 22:39 Alex Alexander
  2014-02-11 23:04 ` Samuli Suominen
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: Alex Alexander @ 2014-02-11 22:39 UTC (permalink / raw
  To: gentoo-dev; +Cc: gnome

[-- Attachment #1: Type: text/plain, Size: 2574 bytes --]

Hello fellow developers,

In the first meeting of the new QA team, we discussed the state of the
gtk{,2,3} USE flags in the main tree. [0]

In its current state, USE="gtk" means gtk2. The Gnome team is trying to change
this into "the most recent gtk version" (it is a work in progress).

Unfortunately, the concurrent nature of gtk2/gtk3 has resulted in packages that
may support either or both the toolkits. To handle this, a few developers have
introduced the "gtk3" useflag, that prefers gtk3 over gtk2 when both toolkit
versions are supported. At this point, the Gnome team highly recommends
prefering gtk3 if possible, skipping the useflag altogether. [1]

Some developers choose to follow the Gnome team's highlights, while others
choose to go their own way. The QA team would like to establish a guideline
that solves this problem in the best way possible.

During our discussion, it was pointed out that keeping a generic USE="gtk" is
sub-optimal. The non-straightforward nature of new toolkit versions makes
transitioning from one to the other a slow, tedius process and we think that a
non-versioned USE flag makes things even worse.

A few of our members recommended a move away from the unversioned USE="gtk" to
versioned-only USE flags. Qt managed to do this quite successfully when they
transitioned from the unversioned USE="qt" (that actually meant qt3) to
USE="qt4". The benefits can be seen now that qt5 is around the corner.
USE="qt5" is straightforward, does not mess with qt4 packages and was
introduced to the tree without messing with current packages too much - other
than adding a new use flag where appropriate. There is also no need for
USE="qt" anymore.

To achieve this, version 3 of gtk should always be enabled by USE="gtk3". At
some point in the future, when gtk2 consumers reach zero, we will retire "gtk"
for good. Then, if some day gtk4 comes around, we will be able to introduce
support for it in the tree by simply adding USE="gtk4", without having to
re-structure half the tree.

We are reaching out to the developer community to hear your thoughts and ideas
on the matter. We would like to reach a decision that could possibly affect and
direct the state of whole tree. This decision could then be turned into a
policy, improving Gentoo's consistency across the tree.

Cheers

[0] https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Meeting_Summaries#Summary_of_Wednesday_January_29.2C_2014
[1] https://wiki.gentoo.org/wiki/Gnome_Team_Policies#gtk3
-- 
Alex Alexander | wired@gentoo

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2014-02-21  3:20 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-11 22:39 [gentoo-dev] RFC: GTK USE flag situation (gtk, gtk2, gtk3; relevant to bug #420493) Alex Alexander
2014-02-11 23:04 ` Samuli Suominen
2014-02-11 23:51   ` Ulrich Mueller
2014-02-12  0:00     ` Samuli Suominen
2014-02-12  0:20       ` Ulrich Mueller
2014-02-18  9:39   ` Ben de Groot
2014-02-19 17:40     ` Sergey Popov
2014-02-11 23:13 ` Gilles Dartiguelongue
2014-02-12  0:33   ` Chris Reffett
2014-02-12  6:27     ` [gentoo-dev] " Ryan Hill
2014-02-12  7:23     ` [gentoo-dev] " Pacho Ramos
2014-02-12  8:09     ` Michał Górny
2014-02-12 22:46       ` Chris Reffett
2014-02-12 23:56         ` Gilles Dartiguelongue
2014-02-13  0:22         ` Matt Turner
2014-02-12  8:10     ` Gilles Dartiguelongue
2014-02-13  0:45       ` [gentoo-dev] " Ryan Hill
2014-02-21  3:19   ` [gentoo-dev] " Donnie Berkholz
2014-02-12  7:29 ` Lars Wendler
2014-02-12  8:14   ` Gilles Dartiguelongue
2014-02-12  8:05 ` Michał Górny
2014-02-12  9:14   ` Tom Wijsman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox