ConsoleKit2 added support for inhibitors.
Enable them by using the proper name, path and interface.
This commit is contained in:
parent
810f67770d
commit
dd6634cddd
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.178 2019/01/10 08:32:06 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.179 2019/01/18 06:37:01 ajacoutot Exp $
|
||||
|
||||
# XXX gcm-dmi.c:141:2: warning: #warning Please add dmi support for your OS
|
||||
|
||||
@ -6,6 +6,7 @@ COMMENT= GNOME settings daemon
|
||||
|
||||
GNOME_PROJECT= gnome-settings-daemon
|
||||
GNOME_VERSION= 3.30.2
|
||||
REVISION= 0
|
||||
|
||||
# GPLv3
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-plugins_media-keys_gsd-media-keys-manager_c,v 1.12 2019/01/18 06:37:01 ajacoutot Exp $
|
||||
|
||||
Index: plugins/media-keys/gsd-media-keys-manager.c
|
||||
--- plugins/media-keys/gsd-media-keys-manager.c.orig
|
||||
+++ plugins/media-keys/gsd-media-keys-manager.c
|
||||
@@ -120,9 +120,9 @@ static const gchar introspection_xml[] =
|
||||
#define VOLUME_STEP_PRECISE 2
|
||||
#define MAX_VOLUME 65536.0
|
||||
|
||||
-#define SYSTEMD_DBUS_NAME "org.freedesktop.login1"
|
||||
-#define SYSTEMD_DBUS_PATH "/org/freedesktop/login1"
|
||||
-#define SYSTEMD_DBUS_INTERFACE "org.freedesktop.login1.Manager"
|
||||
+#define SYSTEMD_DBUS_NAME "org.freedesktop.ConsoleKit"
|
||||
+#define SYSTEMD_DBUS_PATH "/org/freedesktop/ConsoleKit/Manager"
|
||||
+#define SYSTEMD_DBUS_INTERFACE "org.freedesktop.ConsoleKit.Manager"
|
||||
|
||||
#define AUDIO_SELECTION_DBUS_NAME "org.gnome.Shell.AudioDeviceSelection"
|
||||
#define AUDIO_SELECTION_DBUS_PATH "/org/gnome/Shell/AudioDeviceSelection"
|
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-plugins_power_gsd-power-manager_c,v 1.1 2019/01/18 06:37:02 ajacoutot Exp $
|
||||
|
||||
Index: plugins/power/gsd-power-manager.c
|
||||
--- plugins/power/gsd-power-manager.c.orig
|
||||
+++ plugins/power/gsd-power-manager.c
|
||||
@@ -69,9 +69,9 @@
|
||||
#define GSD_POWER_MANAGER_NOTIFY_TIMEOUT_SHORT 10 * 1000 /* ms */
|
||||
#define GSD_POWER_MANAGER_NOTIFY_TIMEOUT_LONG 30 * 1000 /* ms */
|
||||
|
||||
-#define SYSTEMD_DBUS_NAME "org.freedesktop.login1"
|
||||
-#define SYSTEMD_DBUS_PATH "/org/freedesktop/login1"
|
||||
-#define SYSTEMD_DBUS_INTERFACE "org.freedesktop.login1.Manager"
|
||||
+#define SYSTEMD_DBUS_NAME "org.freedesktop.ConsoleKit"
|
||||
+#define SYSTEMD_DBUS_PATH "/org/freedesktop/ConsoleKit/Manager"
|
||||
+#define SYSTEMD_DBUS_INTERFACE "org.freedesktop.ConsoleKit.Manager"
|
||||
|
||||
/* Time between notifying the user about a critical action and the action itself in UPower. */
|
||||
#define GSD_ACTION_DELAY 20
|
Loading…
x
Reference in New Issue
Block a user