It does not matter if policykit useflag is enabled or disabled, xfpm-0.9.98 builds with polkit support anyway, since configure ignores --disable-polkit flag Proposed patches and complimentary ebuild attached. See also http://bugzilla.xfce.org/show_bug.cgi?id=6568 Reproducible: Always Steps to Reproduce: 1. set USE-=policykit 2. emerge xfce4-power-manager 3. run xfce-power-manager --dump | head -n4 | tail -n1 Actual Results: With policykit support Expected Results: Without policykit support Since there are some policykit-related bugs in xfpm-0.9.98 (e.g. http://bugzilla.xfce.org/show_bug.cgi?id=6462), I suppose inability to turn it off results in some major loss of functionality.
Created attachment 239595 [details, diff] Proposed patch Patch is very simplistic, but it works for me.
Created attachment 239597 [details] Complimentary ebuild Applies patch and runs autoconf.
Simple is good, when you can get away with it. Thanks for submitting your fix -- assigning to xfce team
I'm not sure if xfce4-power-manager is useful without polkit, but here goes: 06 Aug 2010; Samuli Suominen <ssuominen@gentoo.org> xfce4-power-manager-0.9.98.ebuild, +files/xfce4-power-manager-0.9.98-fix_polkit_switch.patch: Fix --disable-polkit configure switch wrt #329157 by "Livid". Remove postinst message because xfce-base/xfce-utils >= 4.6.2-r1 will start xfce4-session with ck-launch-session.
It actually IS useful without polkit. It just fallbacks to dbus and whatnot. Thank you.