1
=== modified file 'configure.ac'
2
Index: unity-greeter-13.04.1/configure.ac
3
===================================================================
4
--- unity-greeter-13.04.1.orig/configure.ac 2013-01-30 15:09:40.019896479 -0500
5
+++ unity-greeter-13.04.1/configure.ac 2013-01-30 15:09:40.015896479 -0500
7
INDICATORDIR=`$PKG_CONFIG --variable=indicatordir indicator3-0.4`
10
+GSD_BINARY=`$PKG_CONFIG --variable=binary gnome-settings-daemon`
11
+if test -z "$GSD_BINARY"; then
12
+ AC_MSG_ERROR([Could not find path to gnome-settings-daemon binary])
14
+AC_DEFINE_UNQUOTED([GSD_BINARY], ["$GSD_BINARY"], [Path to g-s-d])
16
dnl ###########################################################################
17
dnl Internationalization
18
dnl ###########################################################################
19
Index: unity-greeter-13.04.1/src/config.vapi
20
===================================================================
21
--- unity-greeter-13.04.1.orig/src/config.vapi 2013-01-30 15:09:40.019896479 -0500
22
+++ unity-greeter-13.04.1/src/config.vapi 2013-01-30 15:23:20.139905047 -0500
24
-[CCode (cprefix = "", lower_case_cprefix = "")]
25
+[CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "config.h")]
28
public const string GETTEXT_PACKAGE;
30
public const string CONFIG_FILE;
31
public const string PKGDATADIR;
32
public const string INDICATORDIR;
33
+ public const string GSD_BINARY;
35
Index: unity-greeter-13.04.1/src/settings-daemon.vala
36
===================================================================
37
--- unity-greeter-13.04.1.orig/src/settings-daemon.vala 2013-01-30 15:09:40.019896479 -0500
38
+++ unity-greeter-13.04.1/src/settings-daemon.vala 2013-01-30 15:09:40.019896479 -0500
41
private async void run ()
43
- /* Activate g-s-d over dbus */
46
- var proxy = new GLib.DBusProxy.for_bus_sync (GLib.BusType.SESSION,
47
- GLib.DBusProxyFlags.NONE, null,
48
- "org.gnome.SettingsDaemon",
49
- "/org/gnome/SettingsDaemon",
50
- "org.gnome.SettingsDaemon",
53
- /* This tells g-s-d to activate its plugins */
54
- yield proxy.call ("Awake", null, GLib.DBusCallFlags.NONE, -1, null);
55
+ Process.spawn_command_line_async (Config.GSD_BINARY);
58
+ catch (SpawnError e)
60
- debug ("Could not start gnome-settings-daemon over DBus: %s", e.message);
61
+ debug ("Could not start gnome-settings-daemon: %s", e.message);