If you have USE=gtk in sys-block/gparted-* (all versions - currently 0.9.1 and 0.10.0), it depends on x11-libs/gksu. But this is wrong. The flag "gtk" is to pull in x11-libs/gtk+, NOT, never, gksu. (gparted ebuild depends on gtkmm, so gtk+ is pulled in anyway.) This "improvement" was introduced in bug #353121, so please read it first. In short, it was intended to support gnome, lxde, rox, and xfce. The #4 comment in that bug report is correct - thanks Christopher Head - but let me add another point: Not only it's bad for gparted, but also this "fix" is inconsistent. app-emulation/q4wine and net-misc/dnetstats use USE=gnome to rely on gksu. (thanks to use.local.desc) If non-KDE DEs want gksu, then something has to be done, perhaps introduce a new flag "gksu", and if gnome or gksu is on, then depends on dev-libs/gksu. (Sorry, I'm not interested in DEs, and I can't propose a fix.) Thanks developers beforehand. Reproducible: Always
*** This bug has been marked as a duplicate of bug 359527 ***
Yes, this is a duplicate of bug 359527 (sorry, but you usually don't search for closed bugs), but that bug is wrongly judged as "INVALID". Since I can't re-open it, I re-opened this instead. The reporter's claim of bug 359527 was misunderstood. S/he meant: * You can build gparted USE="-gtk" without losing any functions except gksu, but it has obvious side effects. An example more than obvious is: USE="-gtk" emerge -auDN world is * Even if you don't want gksu, USE="gtk" is natural. But when you want gparted, it pulls in unnecessary gksu and its dependency. (This is the core complaint, which is correct and thus repeated.) The answer #2 in bug 359527 is correct as regards .desktop file. But it misses the above points, and the correct solution I sketched in the comment #1.
Comment in bug 359527 then *** This bug has been marked as a duplicate of bug 359527 ***
Or better, bug 387353 *** This bug has been marked as a duplicate of bug 387353 ***