After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 783313 - add support for ConsoleKit2
add support for ConsoleKit2
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: gnome-session
git master
Other All
: Normal enhancement
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-06-01 05:02 UTC by Eric Koegel
Modified: 2017-06-21 22:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add support for ConsoleKit2 (57.85 KB, patch)
2017-06-01 05:02 UTC, Eric Koegel
committed Details | Review

Description Eric Koegel 2017-06-01 05:02:38 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.
Comment 1 Ray Strode [halfline] 2017-06-01 20:36:02 UTC
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.
Comment 2 Eric Koegel 2017-06-02 01:04:16 UTC
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.
Comment 3 Ray Strode [halfline] 2017-06-02 14:08:28 UTC
ok