fix_for_openSUSE:42
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-settings-daemon?expand=0&rev=221
This commit is contained in:
parent
a434ec56e7
commit
9e8af56684
18
gnome-settings-daemon-fdo-Screensaver-Lock.patch
Normal file
18
gnome-settings-daemon-fdo-Screensaver-Lock.patch
Normal file
@ -0,0 +1,18 @@
|
||||
Index: gnome-settings-daemon-3.12.0.1/plugins/screensaver-proxy/gsd-screensaver-proxy-manager.c
|
||||
===================================================================
|
||||
--- gnome-settings-daemon-3.12.0.1.orig/plugins/screensaver-proxy/gsd-screensaver-proxy-manager.c
|
||||
+++ gnome-settings-daemon-3.12.0.1/plugins/screensaver-proxy/gsd-screensaver-proxy-manager.c
|
||||
@@ -253,7 +253,12 @@ handle_method_call (GDBusConnection
|
||||
} else if (g_strcmp0 (method_name, "UnThrottle") == 0) {
|
||||
g_dbus_method_invocation_return_value (invocation, NULL);
|
||||
} else if (g_strcmp0 (method_name, "Lock") == 0) {
|
||||
- goto unimplemented;
|
||||
+ GVariant *ret;
|
||||
+ ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (G_DBUS_PROXY (manager->priv->session)),
|
||||
+ "Lock",
|
||||
+ NULL,
|
||||
+ G_DBUS_CALL_FLAGS_NONE,
|
||||
+ -1, NULL, NULL);
|
||||
} else if (g_strcmp0 (method_name, "SimulateUserActivity") == 0) {
|
||||
goto unimplemented;
|
||||
} else if (g_strcmp0 (method_name, "GetActive") == 0) {
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 22 13:10:53 UTC 2015 - dimstar@opensuse.org
|
||||
|
||||
- Add conditional pkgconfig(wayland-client) BuildRequires, based
|
||||
on bcond wayland.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 12 18:34:15 UTC 2015 - zaitor@opensuse.org
|
||||
|
||||
|
@ -85,6 +85,9 @@ BuildRequires: pkgconfig(xext)
|
||||
BuildRequires: pkgconfig(xi)
|
||||
BuildRequires: pkgconfig(xkbfile)
|
||||
BuildRequires: pkgconfig(xtst)
|
||||
%if %{with wayland}
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
%endif
|
||||
Requires: gsettings-desktop-schemas
|
||||
# g-s-d uses the pkexec binary
|
||||
Requires: polkit
|
||||
|
Loading…
Reference in New Issue
Block a user