updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / gdm-plymouth / fix_external_program_directories.patch
blob18255dc7490b9200e151eb3f12982d7f6ebf09b0
1 diff -Nur gdm-3.2.0.orig/daemon/gdm-server.c gdm-3.2.0/daemon/gdm-server.c
2 --- gdm-3.2.0.orig/daemon/gdm-server.c 2011-10-02 01:13:37.772372528 +0000
3 +++ gdm-3.2.0/daemon/gdm-server.c 2011-10-02 01:14:58.036444496 +0000
4 @@ -131,7 +131,7 @@
5 g_return_val_if_fail (GDM_IS_SERVER (server), NULL);
7 error = NULL;
8 - command = g_strdup_printf (LIBEXECDIR "/ck-get-x11-display-device --display %s",
9 + command = g_strdup_printf ("/usr/lib/ConsoleKit/ck-get-x11-display-device --display %s",
10 server->priv->display_name);
12 g_debug ("GdmServer: Running helper %s", command);
13 diff -Nur gdm-3.2.0.orig/data/gdm-shell.session.in gdm-3.2.0/data/gdm-shell.session.in
14 --- gdm-3.2.0.orig/data/gdm-shell.session.in 2011-10-02 01:17:01.394246573 +0000
15 +++ gdm-3.2.0/data/gdm-shell.session.in 2011-10-02 01:16:22.210552560 +0000
16 @@ -1,5 +1,5 @@
17 [GNOME Session]
18 Name=Display Manager
19 RequiredComponents=gnome-shell;gnome-settings-daemon;
20 -IsRunnableHelper=bash -c 'gnome-shell --help | grep -q gdm-mode && @libexecdir@/gnome-session-check-accelerated'
21 +IsRunnableHelper=bash -c 'gnome-shell --help | grep -q gdm-mode && /usr/lib/gnome-session/gnome-session-check-accelerated'
22 FallbackSession=gdm-fallback
23 diff -Nur gdm-3.2.0.orig/gui/simple-chooser/gdm-chooser-session.c gdm-3.2.0/gui/simple-chooser/gdm-chooser-session.c
24 --- gdm-3.2.0.orig/gui/simple-chooser/gdm-chooser-session.c 2011-10-02 01:13:37.775705892 +0000
25 +++ gdm-3.2.0/gui/simple-chooser/gdm-chooser-session.c 2011-10-02 01:14:58.036444496 +0000
26 @@ -131,7 +131,7 @@
27 ret = FALSE;
29 error = NULL;
30 - g_spawn_command_line_async (LIBEXECDIR "/gnome-settings-daemon", &error);
31 + g_spawn_command_line_async ("/usr/lib/gnome-settings-daemon/gnome-settings-daemon", &error);
32 if (error != NULL) {
33 g_warning ("Error starting settings daemon: %s", error->message);
34 g_error_free (error);