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
Created attachment 260980 [details, diff] This should be it
sound sane, feel free to apply.
thanks
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?