Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 455782 - gnome-base/gvfs-1.14.2 - USE=gtk should be USE=gtk3
Summary: gnome-base/gvfs-1.14.2 - USE=gtk should be USE=gtk3
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-06 03:44 UTC by Dennis Nezic
Modified: 2013-02-07 22:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Nezic 2013-02-06 03:44:25 UTC
The ebuild says

   gtk? ( >=x11-libs/gtk+-3.0:3 )

So... shouldn't it be called gtk3?

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-02-06 03:51:53 UTC
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.
Comment 2 Dennis Nezic 2013-02-06 03:56:17 UTC
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?
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-02-06 04:43:50 UTC
(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.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-02-06 17:34:24 UTC
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.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-02-07 22:41:48 UTC
I updated the wiki.