add support for ConsoleKit2
Submitted by Eric Koegel
Link to original bug (#783335)
Description
Created attachment 353039 add support for ConsoleKit2
ConsoleKit2 provides the same dbus methods as logind for PowerOff, Suspend, Inhibit, etc so attempt to use it if connecting to logind fails. This will help the BSDs have a smaller patch set to maintain to keep GNOME support. I tried to make the changes as small as possible, i.e. I didn't rename the logind_proxy since it's doing the same thing anyway.
Patch 353039, "add support for ConsoleKit2":
0001-Add-ConsoleKit2-Support.patch