The ebuild says gtk? ( >=x11-libs/gtk+-3.0:3 ) So... shouldn't it be called gtk3? Reproducible: Always
Why would that make a difference? The USE flag should specify a branch only if an alternative branch could also be enabled or disabled, i.e. to optionally build in support for more than one branch.
Well, I don't have (or want) gtk3 -- but I don't want to disable the global gtk flag for all my gtk2 apps. Come to think of it, why isn't there a global gtk3 USE flag?
(In reply to comment #2) > Well, I don't have (or want) gtk3 -- but I don't want to disable the global > gtk flag for all my gtk2 apps. Come to think of it, why isn't there a global > gtk3 USE flag? Thanks for your report. However, the gentoo gnome team has a policy of using gtk USE flag to mean exactly what is says: gtk. In other words, enabling support for the best version of gtk that the package in question can support. We regard gtk2 as an obsolete version that will go away at some point, and the sooner we can make it go away, the better. We discourage the use of the "gtk3" flag (see bug #420493). Basically, applications should use the "gtk" flag to mean gtk3 support if gt3 support works, and gtk2 support if gtk3 support is broken or nonexistent. The exception is for libraries which can optionally support gtk2 or gtk3, and where splitting the library into gtk2-only and gtk3-only slots is too difficult due to build system peculiarities. Unfortunately, some ebuilds not maintained by the gnome team do not follow these guidelines, which understandably can lead to confusion.
This was discussed on gentoo-dev mailing list in great lenght a few times already. I will update http://wiki.gentoo.org/wiki/Gnome_Team_Policies so that this is written down somewhere out of mailing lists at least.
I updated the wiki.