Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353121 - sys-block/gparted: USE="xfce" is not allowed USE flag in gentoo-x86
Summary: sys-block/gparted: USE="xfce" is not allowed USE flag in gentoo-x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Gilles Dartiguelongue (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2011-01-29 10:22 UTC by Samuli Suominen (RETIRED)
Modified: 2015-02-19 06:10 UTC (History)
2 users (show)

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


Attachments
This should be it (foo.patch,1.07 KB, patch)
2011-01-29 10:25 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2011-01-29 10:22:24 UTC
We prefer to avoid using USE="xfce" entirely. In gparted's case the solution seems to be to replace both USE="xfce" and USE="gnome" with single USE="gtk" and use NotShowIn=KDE; in the desktop entry if USE="kde" is not enabled.
And as a bonus you'll get added support for other GTK+ based desktops, LXDE, ROX...

Attaching a patch to sort it out
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-01-29 10:25:11 UTC
Created attachment 260980 [details, diff]
This should be it
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-01-29 16:23:43 UTC
sound sane, feel free to apply.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2011-01-29 16:34:46 UTC
thanks
Comment 4 Christopher Head 2011-09-18 09:01:26 UTC
I have to say I don't like this solution all that much. The USE flag description for "gtk" is:

Adds support for x11-libs/gtk+ (The GIMP Toolkit)

and yet this USE flag, when enabled for gparted, pulls in gnome-keyring via gksu! gksu is not part of gtk+, nor is gnome-keyring; on the flip side, gparted uses GTK+ whether the USE flag is on or off. It seems pretty counterintuitive that I run an XFCE system, use mostly GTK+ apps, and yet have to turn the gtk USE flag *off* for gparted to avoid pulling in stuff I don't want, and will end up with a GTK+-based gparted anyway after having done so.

Is there no better way? Something like a gksu USE flag, or a gnome-keyring USE flag, or something?