GNOME Bugzilla – Bug 783313
add support for ConsoleKit2
Last modified: 2017-06-21 22:23:56 UTC
Created attachment 352979 [details] [review] add support for ConsoleKit2 This patch adds support for ConsoleKit2's suspend, hibernate, and inhibit calls. In doing this, gsm-consolekit.c has been rebased from the gsm-systemd.c file so that consolekit uses GDBus instead of dbus-glib. Additionally, this continues to support ConsoleKit + HAVE_OLD_UPOWER code paths for any systems that haven't migrated to ConsoleKit2.
Review of attachment 352979 [details] [review]: feel free to commit. that file is on life support so you can make whatever changes you want to it. though maybe a better approach would be to drop the file entirely and encourage wingo's elogind thing for people that really can't use the standard systemd stuff.
I'm just trying to lower the number of patches the BSDs have to carry and improve support there. I don't think elogind is usable on the BSD platforms yet.
ok