I have found that when building xfce4-session-4.7.0 with consolekit enabled and policykit disabled, the configure script results in consolekit disabled and policykit enabled. After poking around in the configure.in, I found 2 problems: 1) There's a typo in the policykit test ("x$ac_cv_enable_polkit" = !"xyes" should be "x$ac_cv_enable_polkit" != "xyes"). 2) The AC_ARG_ENABLE macros and following tests use a custom variable name, which is undefined when the configure flag is present. Reproducible: Always Steps to Reproduce:
Created attachment 246208 [details] configure.in patch
Patch looks good to me, can you please open a bug at http://bugs.xfce.org/ too and link the bug in the URL field here?
Upstream bug has been filed.
Actually, none of these are required at build-time at all... But simply detected from the dbus service at runtime. There's really no reason to disable any of them far as I can see. But of course this bug should get fixed, so thanks for opening the upstream ticket! + 06 Sep 2010; Samuli Suominen <ssuominen@gentoo.org> + xfce4-session-4.7.0.ebuild: + Change gnome-keyring depend to libgnome-keyring. Remove USE flags for + consolekit, policykit and udev because they are not required at build-time + wrt #336146 by Matthew Turnbull.
http://git.xfce.org/xfce/xfce4-session/commit/?id=d21e21188c3ed7ab59d7924b9f63f2ab52cc182d :) I'll look at xfce4-session-4.7.1 again if it's worth to bring back any of these USE flags. Thanks a lot again.
restored the USE flags now for 4.7.3 since upstream took your patch, thanks again.
Fixed in tree by 4.8.x releases