gdm

Merge lp:~ricotz/gdm/ubuntu into lp:~ubuntu-desktop/gdm/ubuntu

Proposed by Rico Tzschichholz
Status: Rejected
Rejected by: Robert Ancell
Proposed branch: lp:~ricotz/gdm/ubuntu
Merge into: lp:~ubuntu-desktop/gdm/ubuntu
Diff against target: 2042 lines (+643/-463)
36 files modified
debian/changelog (+16/-0)
debian/control (+98/-2)
debian/control.in (+98/-1)
debian/gdm-welcome.pam (+10/-0)
debian/gdm.install (+12/-3)
debian/gir1.2-gdmgreeter-1.0.install (+1/-0)
debian/libgdmgreeter-dev.install (+4/-0)
debian/libgdmgreeter1.install (+1/-0)
debian/libgdmsimplegreeter-dev.install (+3/-0)
debian/libgdmsimplegreeter1.install (+2/-0)
debian/patches/00git.diff (+26/-0)
debian/patches/00git_use_new_power_interface.patch (+0/-29)
debian/patches/00git_xsession-errors_symlink.patch (+0/-76)
debian/patches/01_language.patch (+13/-13)
debian/patches/01git.diff (+59/-0)
debian/patches/06_first_vt.patch (+6/-6)
debian/patches/07_libexec-paths.patch (+43/-83)
debian/patches/08_frequent-users_greeter.patch (+5/-5)
debian/patches/15_default_session.patch (+15/-15)
debian/patches/16_xserver_path.patch (+4/-4)
debian/patches/29_grep_path.patch (+0/-13)
debian/patches/29_switch_user.patch (+76/-76)
debian/patches/30_don_t_save_failsafe_session.patch (+31/-31)
debian/patches/42_no_ecryptfs_autologin.patch (+9/-9)
debian/patches/45_time_display_on_greeter.patch (+4/-3)
debian/patches/93_xdg_data_dirs.patch (+6/-6)
debian/patches/series (+6/-7)
debian/patches/ubuntu_dont_catch_sigsegv.patch (+16/-16)
debian/patches/ubuntu_guest_session.patch (+21/-20)
debian/patches/ubuntu_i18n_oneiric.patch (+4/-3)
debian/patches/ubuntu_no_debug.patch (+4/-4)
debian/patches/ubuntu_plymouth.patch (+32/-21)
debian/patches/ubuntu_run_xsession.d.patch (+3/-3)
debian/patches/ubuntu_upstart_event.patch (+6/-6)
debian/patches/ubuntu_xresources_is_a_dir.patch (+4/-2)
debian/rules (+5/-6)
To merge this branch: bzr merge lp:~ricotz/gdm/ubuntu
Reviewer Review Type Date Requested Status
Ubuntu Desktop Pending
Review via email: mp+71662@code.launchpad.net

Description of the change

update gdm to 3.1.2

To post a comment you must log in.
lp:~ricotz/gdm/ubuntu updated
383. By Martin Pitt

debian/gdm.prerm: Stop asking for <dm>/daemon_name debconf question, it
does not exist for lightdm and is not really necessary. Fixes prerm error
and confusing debconf prompts when removing gdm. (LP: #804821)

384. By Martin Pitt

releasing version 3.0.4-0ubuntu10

385. By Steve Langasek

 for bug #615549 from maverick without explanation.

386. By Steve Langasek

clean up the completely illegible start rule for debian/gdm.upstart,
killing off the unnecessary parentheses

387. By Steve Langasek

whoops, we do need the outermost parentheses or else upstart can't parse the job

388. By Steve Langasek

debian/gdm.upstart: when gdm is shut down by a runlevel call, emit an
upstart event that can be caught by plymouth so it can distinguish
between the DM shutting down for a runlevel change vs. other causes.
LP: #854329.

389. By Steve Langasek

releasing version 3.0.4-0ubuntu11

390. By Rico Tzschichholz

* New upstream release
* debian/control.in:
  - Add Build-dep on libgirepository1.0-dev (>= 0.9.12),
    gobject-introspection (>= 0.9.12), libnss3-dev (>= 3.11.1)
  - Add gir1.2-gdmgreeter-1.0 libgdmgreeter1, libgdmgreeter-dev,
    libgdmsimplegreeter1, libgdmsimplegreeter-dev packages
* debian/patches:
  - Drop 00git_use_new_power_interface.patch,
    00git_xsession-errors_symlink.patch and 29_grep_path.patch
    which are upstream
  - refreshed as needed

Revision history for this message
Robert Ancell (robert-ancell) wrote :

This is obsolete now...

Unmerged revisions

390. By Rico Tzschichholz

* New upstream release
* debian/control.in:
  - Add Build-dep on libgirepository1.0-dev (>= 0.9.12),
    gobject-introspection (>= 0.9.12), libnss3-dev (>= 3.11.1)
  - Add gir1.2-gdmgreeter-1.0 libgdmgreeter1, libgdmgreeter-dev,
    libgdmsimplegreeter1, libgdmsimplegreeter-dev packages
* debian/patches:
  - Drop 00git_use_new_power_interface.patch,
    00git_xsession-errors_symlink.patch and 29_grep_path.patch
    which are upstream
  - refreshed as needed

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2011-09-23 21:29:00 +0000
+++ debian/changelog 2011-10-06 13:19:31 +0000
@@ -1,3 +1,19 @@
1gdm (3.2.0-0ubuntu1) oneiric; urgency=low
2
3 * New upstream release
4 * debian/control.in:
5 - Add Build-dep on libgirepository1.0-dev (>= 0.9.12),
6 gobject-introspection (>= 0.9.12), libnss3-dev (>= 3.11.1)
7 - Add gir1.2-gdmgreeter-1.0 libgdmgreeter1, libgdmgreeter-dev,
8 libgdmsimplegreeter1, libgdmsimplegreeter-dev packages
9 * debian/patches:
10 - Drop 00git_use_new_power_interface.patch,
11 00git_xsession-errors_symlink.patch and 29_grep_path.patch
12 which are upstream
13 - refreshed as needed
14
15 -- Rico Tzschichholz <ricotz@ubuntu.com> Fri, 30 Sep 2011 13:05:49 +0200
16
1gdm (3.0.4-0ubuntu11) oneiric; urgency=low17gdm (3.0.4-0ubuntu11) oneiric; urgency=low
218
3 * don't start on graphics-device-added; reintroducing this reverted the fix19 * don't start on graphics-device-added; reintroducing this reverted the fix
420
=== modified file 'debian/control'
--- debian/control 2011-07-14 05:26:11 +0000
+++ debian/control 2011-10-06 13:19:31 +0000
@@ -16,7 +16,7 @@
16 intltool (>= 0.40.0),16 intltool (>= 0.40.0),
17 gnome-doc-utils,17 gnome-doc-utils,
18 libdbus-glib-1-dev (>= 0.74),18 libdbus-glib-1-dev (>= 0.74),
19 libglib2.0-dev (>= 2.27.4),19 libglib2.0-dev (>= 2.29.3),
20 libgtk-3-dev (>= 2.91.1),20 libgtk-3-dev (>= 2.91.1),
21 libpango1.0-dev (>= 1.3.0),21 libpango1.0-dev (>= 1.3.0),
22 libgconf2-dev (>= 2.31.3),22 libgconf2-dev (>= 2.31.3),
@@ -26,8 +26,11 @@
26 libupower-glib-dev (>= 0.9.0),26 libupower-glib-dev (>= 0.9.0),
27 libaccountsservice-dev (>= 0.6.12),27 libaccountsservice-dev (>= 0.6.12),
28 gnome-settings-daemon-dev (>= 2.91.2),28 gnome-settings-daemon-dev (>= 2.91.2),
29 libnss3-dev (>= 3.11.1),
29 libpolkit-gobject-1-dev (>= 0.92),30 libpolkit-gobject-1-dev (>= 0.92),
30 libpolkit-gtk-1-dev (>= 0.92),31 libpolkit-gtk-1-dev (>= 0.92),
32 libgirepository1.0-dev (>= 0.9.12),
33 gobject-introspection (>= 0.9.12-4~),
31 libx11-dev,34 libx11-dev,
32 libxau-dev,35 libxau-dev,
33 libxrandr-dev,36 libxrandr-dev,
@@ -59,7 +62,6 @@
59 gnome-session-bin,62 gnome-session-bin,
60 kbd | console-tools,63 kbd | console-tools,
61 udev (>= 166-0ubuntu4)64 udev (>= 166-0ubuntu4)
62Pre-Depends: dpkg (>= 1.15.7.2)
63Recommends: xserver-xorg,65Recommends: xserver-xorg,
64 metacity | x-window-manager,66 metacity | x-window-manager,
65 gnome-settings-daemon | xfconf67 gnome-settings-daemon | xfconf
@@ -85,3 +87,97 @@
85 .87 .
86 This package contains the next generation GDM, which was developed 88 This package contains the next generation GDM, which was developed
87 using the technologies on which GNOME 3 is based.89 using the technologies on which GNOME 3 is based.
90
91Package: libgdmsimplegreeter1
92Section: libs
93Architecture: any
94Depends: ${shlibs:Depends},
95 ${misc:Depends}
96Description: GNOME Display Manager
97 GDM provides the equivalent of a "login:" prompt for X displays: it
98 asks for a login and starts X sessions.
99 .
100 It provides all the functionality of XDM, including XDMCP support for
101 managing remote displays, and extends it with the ability to start X
102 servers on demand.
103 .
104 The greeter is written using the GNOME libraries and hence looks like a
105 GNOME application - even to the extent of supporting themes!
106 .
107 This package contains the next generation GDM, which was developed
108 using the technologies on which GNOME 3 is based.
109
110Package: libgdmsimplegreeter-dev
111Section: libdevel
112Architecture: any
113Depends: libgdmsimplegreeter1 (= ${binary:Version}),
114 ${shlibs:Depends},
115 ${misc:Depends}
116Description: GNOME Display Manager
117 GDM provides the equivalent of a "login:" prompt for X displays: it
118 asks for a login and starts X sessions.
119 .
120 It provides all the functionality of XDM, including XDMCP support for
121 managing remote displays, and extends it with the ability to start X
122 servers on demand.
123 .
124 The greeter is written using the GNOME libraries and hence looks like a
125 GNOME application - even to the extent of supporting themes!
126 .
127 This package contains the next generation GDM, which was developed
128 using the technologies on which GNOME 3 is based.
129
130Package: libgdmgreeter1
131Section: libs
132Architecture: any
133Depends: ${shlibs:Depends},
134 ${misc:Depends}
135Description: GNOME Display Manager
136 GDM provides the equivalent of a "login:" prompt for X displays: it
137 asks for a login and starts X sessions.
138 .
139 It provides all the functionality of XDM, including XDMCP support for
140 managing remote displays, and extends it with the ability to start X
141 servers on demand.
142 .
143 The greeter is written using the GNOME libraries and hence looks like a
144 GNOME application - even to the extent of supporting themes!
145 .
146 This package contains the next generation GDM, which was developed
147 using the technologies on which GNOME 3 is based.
148
149Package: libgdmgreeter-dev
150Section: libdevel
151Architecture: any
152Depends: libgdmgreeter1 (= ${binary:Version}),
153 gir1.2-gdmgreeter-1.0 (= ${binary:Version}),
154 ${shlibs:Depends},
155 ${misc:Depends}
156Description: GNOME Display Manager
157 GDM provides the equivalent of a "login:" prompt for X displays: it
158 asks for a login and starts X sessions.
159 .
160 It provides all the functionality of XDM, including XDMCP support for
161 managing remote displays, and extends it with the ability to start X
162 servers on demand.
163 .
164 The greeter is written using the GNOME libraries and hence looks like a
165 GNOME application - even to the extent of supporting themes!
166 .
167 This package contains the next generation GDM, which was developed
168 using the technologies on which GNOME 3 is based.
169
170Package: gir1.2-gdmgreeter-1.0
171Section: libs
172Architecture: any
173Depends: ${gir:Depends},
174 ${shlibs:Depends},
175 ${misc:Depends}
176Description: GObject introspection data for the GdmGreeter 1.0 library
177 This package contains introspection data for the Clutter scene
178 graph library.
179 .
180 It can be used by packages using the GIRepository format to generate
181 dynamic bindings.
182
183
88184
=== modified file 'debian/control.in'
--- debian/control.in 2011-07-14 05:26:11 +0000
+++ debian/control.in 2011-10-06 13:19:31 +0000
@@ -11,7 +11,7 @@
11 intltool (>= 0.40.0),11 intltool (>= 0.40.0),
12 gnome-doc-utils,12 gnome-doc-utils,
13 libdbus-glib-1-dev (>= 0.74),13 libdbus-glib-1-dev (>= 0.74),
14 libglib2.0-dev (>= 2.27.4),14 libglib2.0-dev (>= 2.29.3),
15 libgtk-3-dev (>= 2.91.1),15 libgtk-3-dev (>= 2.91.1),
16 libpango1.0-dev (>= 1.3.0),16 libpango1.0-dev (>= 1.3.0),
17 libgconf2-dev (>= 2.31.3),17 libgconf2-dev (>= 2.31.3),
@@ -21,8 +21,11 @@
21 libupower-glib-dev (>= 0.9.0),21 libupower-glib-dev (>= 0.9.0),
22 libaccountsservice-dev (>= 0.6.12),22 libaccountsservice-dev (>= 0.6.12),
23 gnome-settings-daemon-dev (>= 2.91.2),23 gnome-settings-daemon-dev (>= 2.91.2),
24 libnss3-dev (>= 3.11.1),
24 libpolkit-gobject-1-dev (>= 0.92),25 libpolkit-gobject-1-dev (>= 0.92),
25 libpolkit-gtk-1-dev (>= 0.92),26 libpolkit-gtk-1-dev (>= 0.92),
27 libgirepository1.0-dev (>= 0.9.12),
28 gobject-introspection (>= 0.9.12-4~),
26 libx11-dev,29 libx11-dev,
27 libxau-dev,30 libxau-dev,
28 libxrandr-dev,31 libxrandr-dev,
@@ -79,3 +82,97 @@
79 .82 .
80 This package contains the next generation GDM, which was developed 83 This package contains the next generation GDM, which was developed
81 using the technologies on which GNOME 3 is based.84 using the technologies on which GNOME 3 is based.
85
86Package: libgdmsimplegreeter1
87Section: libs
88Architecture: any
89Depends: ${shlibs:Depends},
90 ${misc:Depends}
91Description: GNOME Display Manager
92 GDM provides the equivalent of a "login:" prompt for X displays: it
93 asks for a login and starts X sessions.
94 .
95 It provides all the functionality of XDM, including XDMCP support for
96 managing remote displays, and extends it with the ability to start X
97 servers on demand.
98 .
99 The greeter is written using the GNOME libraries and hence looks like a
100 GNOME application - even to the extent of supporting themes!
101 .
102 This package contains the next generation GDM, which was developed
103 using the technologies on which GNOME 3 is based.
104
105Package: libgdmsimplegreeter-dev
106Section: libdevel
107Architecture: any
108Depends: libgdmsimplegreeter1 (= ${binary:Version}),
109 ${shlibs:Depends},
110 ${misc:Depends}
111Description: GNOME Display Manager
112 GDM provides the equivalent of a "login:" prompt for X displays: it
113 asks for a login and starts X sessions.
114 .
115 It provides all the functionality of XDM, including XDMCP support for
116 managing remote displays, and extends it with the ability to start X
117 servers on demand.
118 .
119 The greeter is written using the GNOME libraries and hence looks like a
120 GNOME application - even to the extent of supporting themes!
121 .
122 This package contains the next generation GDM, which was developed
123 using the technologies on which GNOME 3 is based.
124
125Package: libgdmgreeter1
126Section: libs
127Architecture: any
128Depends: ${shlibs:Depends},
129 ${misc:Depends}
130Description: GNOME Display Manager
131 GDM provides the equivalent of a "login:" prompt for X displays: it
132 asks for a login and starts X sessions.
133 .
134 It provides all the functionality of XDM, including XDMCP support for
135 managing remote displays, and extends it with the ability to start X
136 servers on demand.
137 .
138 The greeter is written using the GNOME libraries and hence looks like a
139 GNOME application - even to the extent of supporting themes!
140 .
141 This package contains the next generation GDM, which was developed
142 using the technologies on which GNOME 3 is based.
143
144Package: libgdmgreeter-dev
145Section: libdevel
146Architecture: any
147Depends: libgdmgreeter1 (= ${binary:Version}),
148 gir1.2-gdmgreeter-1.0 (= ${binary:Version}),
149 ${shlibs:Depends},
150 ${misc:Depends}
151Description: GNOME Display Manager
152 GDM provides the equivalent of a "login:" prompt for X displays: it
153 asks for a login and starts X sessions.
154 .
155 It provides all the functionality of XDM, including XDMCP support for
156 managing remote displays, and extends it with the ability to start X
157 servers on demand.
158 .
159 The greeter is written using the GNOME libraries and hence looks like a
160 GNOME application - even to the extent of supporting themes!
161 .
162 This package contains the next generation GDM, which was developed
163 using the technologies on which GNOME 3 is based.
164
165Package: gir1.2-gdmgreeter-1.0
166Section: libs
167Architecture: any
168Depends: ${gir:Depends},
169 ${shlibs:Depends},
170 ${misc:Depends}
171Description: GObject introspection data for the GdmGreeter 1.0 library
172 This package contains introspection data for the Clutter scene
173 graph library.
174 .
175 It can be used by packages using the GIRepository format to generate
176 dynamic bindings.
177
178
82179
=== added file 'debian/gdm-welcome.pam'
--- debian/gdm-welcome.pam 1970-01-01 00:00:00 +0000
+++ debian/gdm-welcome.pam 2011-10-06 13:19:31 +0000
@@ -0,0 +1,10 @@
1#%PAM-1.0
2auth required pam_env.so
3auth required pam_permit.so
4@include common-auth
5account required pam_nologin.so
6@include common-account
7@include common-password
8session required pam_loginuid.so
9session optional pam_keyinit.so force revoke
10@include common-session
011
=== modified file 'debian/gdm.install'
--- debian/gdm.install 2011-07-06 08:11:17 +0000
+++ debian/gdm.install 2011-10-06 13:19:31 +0000
@@ -1,3 +1,12 @@
1data/mimeapps.list usr/share/gdm/applications1debian/tmp/etc/
2data/mime-dummy-handler.desktop usr/share/gdm/applications2debian/tmp/usr/bin/
33debian/tmp/usr/lib/gdm/gdm*
4debian/tmp/usr/sbin/
5debian/tmp/usr/share/gdm
6debian/tmp/usr/share/glib-2.0
7debian/tmp/usr/share/gnome
8debian/tmp/usr/share/gnome-session
9debian/tmp/usr/share/icons
10debian/tmp/usr/share/locale
11debian/tmp/usr/share/omf
12debian/tmp/usr/share/pixmaps
413
=== added file 'debian/gir1.2-gdmgreeter-1.0.install'
--- debian/gir1.2-gdmgreeter-1.0.install 1970-01-01 00:00:00 +0000
+++ debian/gir1.2-gdmgreeter-1.0.install 2011-10-06 13:19:31 +0000
@@ -0,0 +1,1 @@
1debian/tmp/usr/lib/girepository-1.0/GdmGreeter-1.0.typelib
02
=== added file 'debian/libgdmgreeter-dev.install'
--- debian/libgdmgreeter-dev.install 1970-01-01 00:00:00 +0000
+++ debian/libgdmgreeter-dev.install 2011-10-06 13:19:31 +0000
@@ -0,0 +1,4 @@
1debian/tmp/usr/include/gdm/greeter/
2debian/tmp/usr/lib/libgdmgreeter.so
3debian/tmp/usr/lib/pkgconfig/gdmgreeter.pc
4debian/tmp/usr/share/gir-1.0/GdmGreeter-1.0.gir
05
=== added file 'debian/libgdmgreeter1.install'
--- debian/libgdmgreeter1.install 1970-01-01 00:00:00 +0000
+++ debian/libgdmgreeter1.install 2011-10-06 13:19:31 +0000
@@ -0,0 +1,1 @@
1debian/tmp/usr/lib/libgdmgreeter.so.*
02
=== added file 'debian/libgdmsimplegreeter-dev.install'
--- debian/libgdmsimplegreeter-dev.install 1970-01-01 00:00:00 +0000
+++ debian/libgdmsimplegreeter-dev.install 2011-10-06 13:19:31 +0000
@@ -0,0 +1,3 @@
1debian/tmp/usr/include/gdm/simple-greeter/
2debian/tmp/usr/lib/libgdmsimplegreeter.so
3debian/tmp/usr/lib/pkgconfig/gdmsimplegreeter.pc
04
=== added file 'debian/libgdmsimplegreeter1.install'
--- debian/libgdmsimplegreeter1.install 1970-01-01 00:00:00 +0000
+++ debian/libgdmsimplegreeter1.install 2011-10-06 13:19:31 +0000
@@ -0,0 +1,2 @@
1debian/tmp/usr/lib/libgdmsimplegreeter.so.*
2debian/tmp/usr/lib/gdm/simple-greeter/extensions/lib*.so
03
=== added file 'debian/patches/00git.diff'
--- debian/patches/00git.diff 1970-01-01 00:00:00 +0000
+++ debian/patches/00git.diff 2011-10-06 13:19:31 +0000
@@ -0,0 +1,26 @@
1From 64e6b10f98fe7226a2f41807268dae3afa80236d Mon Sep 17 00:00:00 2001
2From: György Balló <ballogy@freestart.hu>
3Date: Fri, 30 Sep 2011 21:48:40 +0000
4Subject: data: add back check for gnome-shell before running gdm-shell session
5
6Add back commit 4892c9447324f2248ce944f150abe3143f78eaa3
7
8This commit does a quick check to make sure gnome-shell is
9installed, and supports --gdm-mode. If either of those fail,
10then fall back to the old greeter.
11
12https://bugzilla.gnome.org/show_bug.cgi?id=660409
13---
14diff --git a/data/gdm-shell.session.in b/data/gdm-shell.session.in
15index 3d408c3..496cc10 100644
16--- a/data/gdm-shell.session.in
17+++ b/data/gdm-shell.session.in
18@@ -1,5 +1,5 @@
19 [GNOME Session]
20 Name=Display Manager
21 RequiredComponents=gnome-shell;gnome-settings-daemon;
22-IsRunnableHelper=@libexecdir@/gnome-session-check-accelerated
23+IsRunnableHelper=bash -c 'gnome-shell --help | grep -q gdm-mode && @libexecdir@/gnome-session-check-accelerated'
24 FallbackSession=gdm-fallback
25--
26cgit v0.9.0.2
027
=== removed file 'debian/patches/00git_use_new_power_interface.patch'
--- debian/patches/00git_use_new_power_interface.patch 2011-07-27 09:45:08 +0000
+++ debian/patches/00git_use_new_power_interface.patch 1970-01-01 00:00:00 +0000
@@ -1,29 +0,0 @@
1From d10d3d61ffc990e48348c87b6310c841a5c33cb6 Mon Sep 17 00:00:00 2001
2From: Rodrigo Moya <rodrigo@gnome-db.org>
3Date: Wed, 27 Jul 2011 11:14:29 +0200
4Subject: [PATCH] greeter: Use the new power DBus interface in g-s-d
5
6---
7 gui/simple-greeter/gdm-greeter-panel.c | 6 +++---
8 1 files changed, 3 insertions(+), 3 deletions(-)
9
10diff --git a/gui/simple-greeter/gdm-greeter-panel.c b/gui/simple-greeter/gdm-greeter-panel.c
11index f3f192a..598aadf 100644
12--- a/gui/simple-greeter/gdm-greeter-panel.c
13+++ b/gui/simple-greeter/gdm-greeter-panel.c
14@@ -57,9 +57,9 @@
15 #define CK_MANAGER_PATH "/org/freedesktop/ConsoleKit/Manager"
16 #define CK_MANAGER_INTERFACE "org.freedesktop.ConsoleKit.Manager"
17
18-#define GPM_DBUS_NAME "org.gnome.PowerManager"
19-#define GPM_DBUS_PATH "/org/gnome/PowerManager"
20-#define GPM_DBUS_INTERFACE "org.gnome.PowerManager"
21+#define GPM_DBUS_NAME "org.gnome.SettingsDaemon"
22+#define GPM_DBUS_PATH "/org/gnome/SettingsDaemon/Power"
23+#define GPM_DBUS_INTERFACE "org.gnome.SettingsDaemon.Power"
24
25 #define KEY_DISABLE_RESTART_BUTTONS "/apps/gdm/simple-greeter/disable_restart_buttons"
26 #define KEY_NOTIFICATION_AREA_PADDING "/apps/notification_area_applet/prefs/padding"
27--
281.7.5.4
29
300
=== removed file 'debian/patches/00git_xsession-errors_symlink.patch'
--- debian/patches/00git_xsession-errors_symlink.patch 2011-06-24 07:39:21 +0000
+++ debian/patches/00git_xsession-errors_symlink.patch 1970-01-01 00:00:00 +0000
@@ -1,76 +0,0 @@
1From 178459c33a64170d9ebe83ebbaeabeb05574f169 Mon Sep 17 00:00:00 2001
2From: Martin Pitt <martin.pitt@ubuntu.com>
3Date: Tue, 7 Jun 2011 20:02:46 +0200
4Subject: [PATCH] Allow .xsession-errors to be a symlink or FIFO
5
6Don't rename .xsession-errors to .xsession-errors.old if the file is not a
7regular file. The later code will truncate the file to zero anyway, so even in
8that case the file won't grow indefinitely.
9
10This is handy when the home directory is on NFS and you want to avoid network
11contention when there are buggy programs which spam .xsession-errors.
12
13Also drop the second check that .xsession-errors is a regular file even if the
14opening succeeded. With that, we'd open a temporary .xsession-errors.XXXXXX
15even if ~/.xsession-errors was perfectly writable (such as being a symlink to
16/dev/null).
17
18Bug: https://bugzilla.gnome.org/show_bug.cgi?id=639527
19Bug-Ubuntu: https://launchpad.net/bugs/771661
20---
21 daemon/gdm-session-worker.c | 12 ++++++------
22 1 files changed, 6 insertions(+), 6 deletions(-)
23
24diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c
25index b0a4aa7..d35755c 100644
26--- a/daemon/gdm-session-worker.c
27+++ b/daemon/gdm-session-worker.c
28@@ -1618,15 +1618,15 @@ gdm_session_worker_watch_child (GdmSessionWorker *worker)
29 }
30
31 static gboolean
32-_fd_is_normal_file (int fd)
33+_is_loggable_file (const char* filename)
34 {
35 struct stat file_info;
36
37- if (fstat (fd, &file_info) < 0) {
38+ if (g_lstat (filename, &file_info) < 0) {
39 return FALSE;
40 }
41
42- return S_ISREG (file_info.st_mode);
43+ return S_ISREG (file_info.st_mode) && g_access (filename, R_OK | W_OK) == 0;
44 }
45
46 static int
47@@ -1637,7 +1637,7 @@ _open_session_log (const char *dir)
48
49 filename = g_build_filename (dir, GDM_SESSION_LOG_FILENAME, NULL);
50
51- if (g_access (dir, R_OK | W_OK | X_OK) == 0 && g_access (filename, R_OK | W_OK) == 0) {
52+ if (g_access (dir, R_OK | W_OK | X_OK) == 0 && _is_loggable_file (filename)) {
53 char *filename_old;
54
55 filename_old = g_strdup_printf ("%s.old", filename);
56@@ -1647,7 +1647,7 @@ _open_session_log (const char *dir)
57
58 fd = g_open (filename, O_RDWR | O_APPEND | O_CREAT, 0600);
59
60- if (fd < 0 || !_fd_is_normal_file (fd)) {
61+ if (fd < 0) {
62 char *temp_name;
63
64 close (fd);
65@@ -1661,7 +1661,7 @@ _open_session_log (const char *dir)
66 goto out;
67 }
68
69- g_warning ("session log '%s' is not a normal file, logging session to '%s' instead.\n", filename,
70+ g_warning ("session log '%s' is not appendable, logging session to '%s' instead.\n", filename,
71 temp_name);
72 g_free (filename);
73 filename = temp_name;
74--
751.7.5.3
76
770
=== modified file 'debian/patches/01_language.patch'
--- debian/patches/01_language.patch 2011-06-07 12:29:35 +0000
+++ debian/patches/01_language.patch 2011-10-06 13:19:31 +0000
@@ -1,16 +1,16 @@
1GNOME #6494131GNOME #649413
22
3Index: gdm-3.0.0/daemon/gdm-session-direct.c3Index: gdm-3.1.2/daemon/gdm-session-direct.c
4===================================================================4===================================================================
5--- gdm-3.0.0.orig/daemon/gdm-session-direct.c 2011-04-29 01:19:33.240497348 +02005--- gdm-3.1.2.orig/daemon/gdm-session-direct.c
6+++ gdm-3.0.0/daemon/gdm-session-direct.c 2011-04-29 01:19:39.568528281 +02006+++ gdm-3.1.2/daemon/gdm-session-direct.c
7@@ -1970,9 +1970,6 @@ setup_session_environment (GdmSessionDir7@@ -2224,9 +2224,6 @@
8 get_session_name (session));8
9 9 if (locale != NULL && locale[0] != '\0') {
10 gdm_session_direct_set_environment_variable (session,10 gdm_session_direct_set_environment_variable (session,
11- "LANG",11- "LANG",
12- get_language_name (session));12- locale);
13- gdm_session_direct_set_environment_variable (session,13- gdm_session_direct_set_environment_variable (session,
14 "GDM_LANG",14 "GDM_LANG",
15 get_language_name (session));15 locale);
16 16 }
1717
=== added file 'debian/patches/01git.diff'
--- debian/patches/01git.diff 1970-01-01 00:00:00 +0000
+++ debian/patches/01git.diff 2011-10-06 13:19:31 +0000
@@ -0,0 +1,59 @@
1From 1d7f466e7bf4cbd1426ce4c3536360f0f9badc3b Mon Sep 17 00:00:00 2001
2From: Ray Strode <rstrode@redhat.com>
3Date: Mon, 26 Sep 2011 15:45:15 +0000
4Subject: daemon: fix the legacy auth compatibility layer
5
6In commit f91f017071ffa5f5999e6c2e2c0929e290482932 I
7introduced a translation layer that keeps compatibility
8for distros who build with --disable-split-authentication.
9
10The commit was somewhat faulty, though. I made some last
11minute clean ups to the patch before committing that I didn't
12fully test. Those cleanups resulted in the pam service name
13getting improperly translated and broke the compatibility layer
14the commit introduced.
15
16https://bugzilla.gnome.org/show_bug.cgi?id=658451
17---
18diff --git a/daemon/gdm-greeter-server.c b/daemon/gdm-greeter-server.c
19index 4803bc3..535fdbf 100644
20--- a/daemon/gdm-greeter-server.c
21+++ b/daemon/gdm-greeter-server.c
22@@ -486,7 +486,7 @@ handle_begin_verification (GdmGreeterServer *greeter_server,
23 dbus_connection_send (connection, reply, NULL);
24 dbus_message_unref (reply);
25
26- service_name = translate_outgoing_service_name (greeter_server, service_name);
27+ service_name = translate_incoming_service_name (greeter_server, service_name);
28 g_signal_emit (greeter_server, signals [BEGIN_VERIFICATION], 0, service_name);
29
30 return DBUS_HANDLER_RESULT_HANDLED;
31@@ -544,7 +544,7 @@ handle_begin_verification_for_user (GdmGreeterServer *greeter_server,
32 dbus_connection_send (connection, reply, NULL);
33 dbus_message_unref (reply);
34
35- service_name = translate_outgoing_service_name (greeter_server, service_name);
36+ service_name = translate_incoming_service_name (greeter_server, service_name);
37 g_signal_emit (greeter_server, signals [BEGIN_VERIFICATION_FOR_USER], 0, service_name, text);
38
39 return DBUS_HANDLER_RESULT_HANDLED;
40@@ -575,7 +575,7 @@ handle_answer_query (GdmGreeterServer *greeter_server,
41 dbus_connection_send (connection, reply, NULL);
42 dbus_message_unref (reply);
43
44- service_name = translate_outgoing_service_name (greeter_server, service_name);
45+ service_name = translate_incoming_service_name (greeter_server, service_name);
46 g_signal_emit (greeter_server, signals [QUERY_ANSWER], 0, service_name, text);
47
48 return DBUS_HANDLER_RESULT_HANDLED;
49@@ -763,7 +763,7 @@ handle_start_session_when_ready (GdmGreeterServer *greeter_server,
50 dbus_connection_send (connection, reply, NULL);
51 dbus_message_unref (reply);
52
53- service_name = (char *) translate_outgoing_service_name (greeter_server, service_name);
54+ service_name = (char *) translate_incoming_service_name (greeter_server, service_name);
55 if (should_start_session) {
56 g_signal_emit (greeter_server, signals [START_SESSION_WHEN_READY], 0, service_name);
57 } else {
58--
59cgit v0.9.0.2
060
=== modified file 'debian/patches/06_first_vt.patch'
--- debian/patches/06_first_vt.patch 2011-06-07 12:40:34 +0000
+++ debian/patches/06_first_vt.patch 2011-10-06 13:19:31 +0000
@@ -2,11 +2,11 @@
2Author: Martin Pitt <martin.pitt@ubuntu.com>2Author: Martin Pitt <martin.pitt@ubuntu.com>
3Bug-Ubuntu: https://launchpad.net/bugs/3962263Bug-Ubuntu: https://launchpad.net/bugs/396226
44
5Index: gdm-3.0.0/daemon/gdm-server.c5Index: gdm-3.1.91/daemon/gdm-server.c
6===================================================================6===================================================================
7--- gdm-3.0.0.orig/daemon/gdm-server.c 2011-05-30 17:35:34.155075631 +02007--- gdm-3.1.91.orig/daemon/gdm-server.c
8+++ gdm-3.0.0/daemon/gdm-server.c 2011-05-30 17:35:34.983075631 +02008+++ gdm-3.1.91/daemon/gdm-server.c
9@@ -640,6 +640,13 @@9@@ -643,6 +643,13 @@
10 g_debug ("GdmServer: Starting X server process: %s", freeme);10 g_debug ("GdmServer: Starting X server process: %s", freeme);
11 g_free (freeme);11 g_free (freeme);
12 12
@@ -20,7 +20,7 @@
20 error = NULL;20 error = NULL;
21 ret = g_spawn_async_with_pipes (NULL,21 ret = g_spawn_async_with_pipes (NULL,
22 argv,22 argv,
23@@ -684,9 +691,14 @@23@@ -725,9 +732,14 @@
24 gdm_server_start (GdmServer *server)24 gdm_server_start (GdmServer *server)
25 {25 {
26 gboolean res;26 gboolean res;
@@ -28,7 +28,7 @@
28+28+
29+ /* HACK: force initial server to go on vt7, since 1 to 6 usually get29+ /* HACK: force initial server to go on vt7, since 1 to 6 usually get
30+ * gettys after gdm startup, which interfere with X */30+ * gettys after gdm startup, which interfere with X */
31+ firstserver = access ("/var/run/gdm/firstserver.stamp", F_OK) < 0;31+ firstserver = access ("/var/run/gdm/firstserver.stamp", F_OK) < 0;
32 32
33 /* fork X server process */33 /* fork X server process */
34- res = gdm_server_spawn (server, NULL);34- res = gdm_server_spawn (server, NULL);
3535
=== modified file 'debian/patches/07_libexec-paths.patch'
--- debian/patches/07_libexec-paths.patch 2011-06-07 11:08:16 +0000
+++ debian/patches/07_libexec-paths.patch 2011-10-06 13:19:31 +0000
@@ -1,38 +1,10 @@
1GNOME #6459181GNOME #645918
22
3Index: gdm-3.0.4/daemon/gdm-server.c3Index: gdm-3.2.0/gui/simple-chooser/gdm-chooser-session.c
4===================================================================4===================================================================
5--- gdm-3.0.4.orig/daemon/gdm-server.c 2011-05-31 23:59:46.000000000 +02005--- gdm-3.2.0.orig/gui/simple-chooser/gdm-chooser-session.c
6+++ gdm-3.0.4/daemon/gdm-server.c 2011-06-01 00:00:15.501219261 +02006+++ gdm-3.2.0/gui/simple-chooser/gdm-chooser-session.c
7@@ -134,7 +134,7 @@ _gdm_server_query_ck_for_display_device7@@ -131,7 +131,7 @@
8 g_return_val_if_fail (GDM_IS_SERVER (server), NULL);
9
10 error = NULL;
11- command = g_strdup_printf (LIBEXECDIR "/ck-get-x11-display-device --display %s",
12+ command = g_strdup_printf (CK_LIBEXECDIR "/ck-get-x11-display-device --display %s",
13 server->priv->display_name);
14
15 g_debug ("GdmServer: Running helper %s", command);
16Index: gdm-3.0.4/data/greeter-autostart/gnome-settings-daemon.desktop.in.in
17===================================================================
18--- gdm-3.0.4.orig/data/greeter-autostart/gnome-settings-daemon.desktop.in.in 2011-05-31 17:46:56.000000000 +0200
19+++ gdm-3.0.4/data/greeter-autostart/gnome-settings-daemon.desktop.in.in 2011-06-01 00:00:15.501219261 +0200
20@@ -1,8 +1,8 @@
21 [Desktop Entry]
22 Type=Application
23 _Name=GNOME Settings Daemon
24-TryExec=@LIBEXECDIR@/gnome-settings-daemon
25-Exec=@LIBEXECDIR@/gnome-settings-daemon
26+TryExec=@GSD_LIBEXECDIR@/gnome-settings-daemon
27+Exec=@GSD_LIBEXECDIR@/gnome-settings-daemon
28 OnlyShowIn=GNOME;
29 X-GNOME-Autostart-Phase=Initialization
30 X-GNOME-Autostart-Notify=true
31Index: gdm-3.0.4/gui/simple-chooser/gdm-chooser-session.c
32===================================================================
33--- gdm-3.0.4.orig/gui/simple-chooser/gdm-chooser-session.c 2011-05-31 17:46:56.000000000 +0200
34+++ gdm-3.0.4/gui/simple-chooser/gdm-chooser-session.c 2011-06-01 00:00:15.501219261 +0200
35@@ -131,7 +131,7 @@ start_settings_daemon (GdmChooserSession
36 ret = FALSE;8 ret = FALSE;
37 9
38 error = NULL;10 error = NULL;
@@ -41,31 +13,20 @@
41 if (error != NULL) {13 if (error != NULL) {
42 g_warning ("Error starting settings daemon: %s", error->message);14 g_warning ("Error starting settings daemon: %s", error->message);
43 g_error_free (error);15 g_error_free (error);
44Index: gdm-3.0.4/data/greeter-autostart/polkit-gnome-authentication-agent-1.desktop.in.in16Index: gdm-3.2.0/configure.ac
45===================================================================17===================================================================
46--- gdm-3.0.4.orig/data/greeter-autostart/polkit-gnome-authentication-agent-1.desktop.in.in 2011-03-07 18:40:37.000000000 +010018--- gdm-3.2.0.orig/configure.ac
47+++ gdm-3.0.4/data/greeter-autostart/polkit-gnome-authentication-agent-1.desktop.in.in 2011-06-01 00:00:15.501219261 +020019+++ gdm-3.2.0/configure.ac
48@@ -1,5 +1,5 @@20@@ -69,6 +69,7 @@
49 [Desktop Entry]
50 Type=Application
51 _Name=PolicyKit Authentication Agent
52-Exec=@LIBEXECDIR@/polkit-gnome-authentication-agent-1
53+Exec=@PK_GNOME_LIBEXECDIR@/polkit-gnome-authentication-agent-1
54 OnlyShowIn=GNOME;
55Index: gdm-3.0.4/configure.ac
56===================================================================
57--- gdm-3.0.4.orig/configure.ac 2011-05-31 23:59:43.000000000 +0200
58+++ gdm-3.0.4/configure.ac 2011-06-01 00:00:32.821303957 +0200
59@@ -52,6 +52,7 @@ LIBCANBERRA_GTK_REQUIRED_VERSION=0.4
60 FONTCONFIG_REQUIRED_VERSION=2.5.0
61 UPOWER_REQUIRED_VERSION=0.9.021 UPOWER_REQUIRED_VERSION=0.9.0
62 ACCOUNTS_SERVICE_REQUIRED_VERSION=0.6.1222 ACCOUNTS_SERVICE_REQUIRED_VERSION=0.6.12
23 NSS_REQUIRED_VERSION=3.11.1
63+GSD_REQUIRED_VERSION=2.91.224+GSD_REQUIRED_VERSION=2.91.2
64 25
65 EXTRA_COMPILE_WARNINGS(yes)26 EXTRA_COMPILE_WARNINGS(yes)
66 27
67@@ -170,6 +171,39 @@ AC_PATH_PROG(GCONFTOOL, gconftool-2)28@@ -203,6 +204,39 @@
68 AM_GCONF_SOURCE_229 AC_SUBST(LIBGDMGREETER_GIR_INCLUDES)
69 30
70 dnl ---------------------------------------------------------------------------31 dnl ---------------------------------------------------------------------------
71+dnl - Paths for dependencies32+dnl - Paths for dependencies
@@ -104,11 +65,11 @@
104 dnl - Configuration file stuff65 dnl - Configuration file stuff
105 dnl ---------------------------------------------------------------------------66 dnl ---------------------------------------------------------------------------
106 67
107Index: gdm-3.0.4/daemon/Makefile.am68Index: gdm-3.2.0/daemon/Makefile.am
108===================================================================69===================================================================
109--- gdm-3.0.4.orig/daemon/Makefile.am 2011-05-31 16:28:03.000000000 +020070--- gdm-3.2.0.orig/daemon/Makefile.am
110+++ gdm-3.0.4/daemon/Makefile.am 2011-06-01 00:00:15.501219261 +020071+++ gdm-3.2.0/daemon/Makefile.am
111@@ -12,6 +12,7 @@ AM_CPPFLAGS = \72@@ -12,6 +12,7 @@
112 -DGDMCONFDIR=\"$(gdmconfdir)\" \73 -DGDMCONFDIR=\"$(gdmconfdir)\" \
113 -DLIBDIR=\"$(libdir)\" \74 -DLIBDIR=\"$(libdir)\" \
114 -DLIBEXECDIR=\"$(libexecdir)\" \75 -DLIBEXECDIR=\"$(libexecdir)\" \
@@ -116,30 +77,29 @@
116 -DLOGDIR=\"$(logdir)\" \77 -DLOGDIR=\"$(logdir)\" \
117 -DSBINDIR=\"$(sbindir)\" \78 -DSBINDIR=\"$(sbindir)\" \
118 -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \79 -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
119Index: gdm-3.0.4/data/greeter-autostart/Makefile.am80Index: gdm-3.2.0/daemon/gdm-server.c
120===================================================================81===================================================================
121--- gdm-3.0.4.orig/data/greeter-autostart/Makefile.am 2011-05-31 17:46:56.000000000 +020082--- gdm-3.2.0.orig/daemon/gdm-server.c
122+++ gdm-3.0.4/data/greeter-autostart/Makefile.am 2011-06-01 00:00:15.501219261 +020083+++ gdm-3.2.0/daemon/gdm-server.c
123@@ -5,6 +5,9 @@ edit = sed \84@@ -134,7 +134,7 @@
124 -e 's|@SYSCONFDIR[@]|$(sysconfdir)|g' \85 g_return_val_if_fail (GDM_IS_SERVER (server), NULL);
125 -e 's|@LIBDIR[@]|$(libdir)|g' \86
126 -e 's|@LIBEXECDIR[@]|$(libexecdir)|g' \87 error = NULL;
127+ -e 's|@GSD_LIBEXECDIR[@]|$(GSD_LIBEXECDIR)|g' \88- command = g_strdup_printf (LIBEXECDIR "/ck-get-x11-display-device --display %s",
128+ -e 's|@PK_GNOME_LIBEXECDIR[@]|$(PK_GNOME_LIBEXECDIR)|g' \89+ command = g_strdup_printf (CK_LIBEXECDIR "/ck-get-x11-display-device --display %s",
129+ -e 's|@SESSION_LIBEXECDIR[@]|$(SESSION_LIBEXECDIR)|g' \90 server->priv->display_name);
130 -e 's|@LOCALSTATEDIR[@]|$(localstatedir)|g'91
131 92 g_debug ("GdmServer: Running helper %s", command);
132 %.desktop.in: %.desktop.in.in Makefile93Index: gdm-3.2.0/data/Makefile.am
133Index: gdm-3.0.4/data/greeter-autostart/gnome-session-check-accelerated.desktop.in.in94===================================================================
134===================================================================95--- gdm-3.2.0.orig/data/Makefile.am
135--- gdm-3.0.4.orig/data/greeter-autostart/gnome-session-check-accelerated.desktop.in.in 2011-05-31 17:46:56.000000000 +020096+++ gdm-3.2.0/data/Makefile.am
136+++ gdm-3.0.4/data/greeter-autostart/gnome-session-check-accelerated.desktop.in.in 2011-06-01 00:00:15.501219261 +020097@@ -79,7 +79,7 @@
137@@ -1,6 +1,6 @@98 <$(srcdir)/gdm.schemas.in.in >gdm.schemas.in
138 [Desktop Entry]99
139 Type=Application100 gdm-shell.session: $(srcdir)/gdm-shell.session.in
140 _Name=GNOME Session Acceleration Checker101- sed -e 's,[@]libexecdir[@],$(libexecdir),g' \
141-TryExec=@LIBEXECDIR@/gnome-session-check-accelerated102+ sed -e 's,[@]libexecdir[@],$(SESSION_LIBEXECDIR),g' \
142-Exec=@LIBEXECDIR@/gnome-session-check-accelerated103 < $(srcdir)/gdm-shell.session.in > gdm-shell.session
143+TryExec=@SESSION_LIBEXECDIR@/gnome-session-check-accelerated104
144+Exec=@SESSION_LIBEXECDIR@/gnome-session-check-accelerated105 localealiasdir = $(datadir)/gdm
145 X-GNOME-Autostart-Phase=Application
146106
=== modified file 'debian/patches/08_frequent-users_greeter.patch'
--- debian/patches/08_frequent-users_greeter.patch 2011-06-07 12:45:02 +0000
+++ debian/patches/08_frequent-users_greeter.patch 2011-10-06 13:19:31 +0000
@@ -1,8 +1,8 @@
1Index: gdm-3.0.0/daemon/gdm-session-worker.c1Index: gdm-3.1.2/daemon/gdm-session-worker.c
2===================================================================2===================================================================
3--- gdm-3.0.0.orig/daemon/gdm-session-worker.c 2011-04-04 16:37:16.000000000 +02003--- gdm-3.1.2.orig/daemon/gdm-session-worker.c
4+++ gdm-3.0.0/daemon/gdm-session-worker.c 2011-04-28 19:31:39.810452155 +02004+++ gdm-3.1.2/daemon/gdm-session-worker.c
5@@ -177,10 +177,13 @@ open_ck_session (GdmSessionWorker *work5@@ -176,10 +176,13 @@
6 const char *display_name;6 const char *display_name;
7 const char *display_device;7 const char *display_device;
8 const char *display_hostname;8 const char *display_hostname;
@@ -16,7 +16,7 @@
16 if (worker->priv->x11_display_name != NULL) {16 if (worker->priv->x11_display_name != NULL) {
17 display_name = worker->priv->x11_display_name;17 display_name = worker->priv->x11_display_name;
18 } else {18 } else {
19@@ -223,6 +226,7 @@ open_ck_session (GdmSessionWorker *work19@@ -222,6 +225,7 @@
20 res = ck_connector_open_session_with_parameters (worker->priv->ckc,20 res = ck_connector_open_session_with_parameters (worker->priv->ckc,
21 &error,21 &error,
22 "unix-user", &pwent->pw_uid,22 "unix-user", &pwent->pw_uid,
2323
=== modified file 'debian/patches/15_default_session.patch'
--- debian/patches/15_default_session.patch 2011-08-10 16:30:51 +0000
+++ debian/patches/15_default_session.patch 2011-10-06 13:19:31 +0000
@@ -4,11 +4,11 @@
4Bug: https://bugzilla.gnome.org/show_bug.cgi?id=5947334Bug: https://bugzilla.gnome.org/show_bug.cgi?id=594733
5Bug-Ubuntu: https://launchpad.net/bugs/4032915Bug-Ubuntu: https://launchpad.net/bugs/403291
66
7Index: gdm-3.0.4/configure.ac7Index: gdm-3.1.2/configure.ac
8===================================================================8===================================================================
9--- gdm-3.0.4.orig/configure.ac 2011-08-10 18:29:07.705952647 +02009--- gdm-3.1.2.orig/configure.ac
10+++ gdm-3.0.4/configure.ac 2011-08-10 18:29:07.749952857 +020010+++ gdm-3.1.2/configure.ac
11@@ -121,6 +121,13 @@11@@ -146,6 +146,13 @@
12 AC_SUBST(UPOWER_CFLAGS)12 AC_SUBST(UPOWER_CFLAGS)
13 AC_SUBST(UPOWER_LIBS)13 AC_SUBST(UPOWER_LIBS)
14 14
@@ -22,10 +22,10 @@
22 PKG_CHECK_MODULES(SIMPLE_GREETER,22 PKG_CHECK_MODULES(SIMPLE_GREETER,
23 dbus-glib-1 >= $DBUS_GLIB_REQUIRED_VERSION23 dbus-glib-1 >= $DBUS_GLIB_REQUIRED_VERSION
24 gtk+-3.0 >= $GTK_REQUIRED_VERSION24 gtk+-3.0 >= $GTK_REQUIRED_VERSION
25Index: gdm-3.0.4/daemon/gdm-session-direct.c25Index: gdm-3.1.2/daemon/gdm-session-direct.c
26===================================================================26===================================================================
27--- gdm-3.0.4.orig/daemon/gdm-session-direct.c 2011-08-10 18:29:07.673952489 +020027--- gdm-3.1.2.orig/daemon/gdm-session-direct.c
28+++ gdm-3.0.4/daemon/gdm-session-direct.c 2011-08-10 18:29:19.522011234 +020028+++ gdm-3.1.2/daemon/gdm-session-direct.c
29@@ -63,6 +63,10 @@29@@ -63,6 +63,10 @@
30 #define GDM_SESSION_DBUS_INTERFACE "org.gnome.DisplayManager.Session"30 #define GDM_SESSION_DBUS_INTERFACE "org.gnome.DisplayManager.Session"
31 #define GDM_SESSION_DBUS_ERROR_CANCEL "org.gnome.DisplayManager.Session.Error.Cancel"31 #define GDM_SESSION_DBUS_ERROR_CANCEL "org.gnome.DisplayManager.Session.Error.Cancel"
@@ -37,7 +37,7 @@
37 #ifndef GDM_SESSION_DEFAULT_PATH37 #ifndef GDM_SESSION_DEFAULT_PATH
38 #define GDM_SESSION_DEFAULT_PATH "/usr/local/bin:/usr/bin:/bin"38 #define GDM_SESSION_DEFAULT_PATH "/usr/local/bin:/usr/bin:/bin"
39 #endif39 #endif
40@@ -619,6 +623,26 @@40@@ -681,6 +685,26 @@
41 char *name;41 char *name;
42 GSequence *sessions;42 GSequence *sessions;
43 GSequenceIter *session;43 GSequenceIter *session;
@@ -64,7 +64,7 @@
64 64
65 if (session_direct->priv->fallback_session_name != NULL) {65 if (session_direct->priv->fallback_session_name != NULL) {
66 /* verify that the cached version still exists */66 /* verify that the cached version still exists */
67@@ -627,7 +651,7 @@67@@ -689,7 +713,7 @@
68 }68 }
69 }69 }
70 70
@@ -73,10 +73,10 @@
73 if (get_session_command_for_name (name, NULL)) {73 if (get_session_command_for_name (name, NULL)) {
74 g_free (session_direct->priv->fallback_session_name);74 g_free (session_direct->priv->fallback_session_name);
75 session_direct->priv->fallback_session_name = name;75 session_direct->priv->fallback_session_name = name;
76Index: gdm-3.0.4/utils/Makefile.am76Index: gdm-3.1.2/utils/Makefile.am
77===================================================================77===================================================================
78--- gdm-3.0.4.orig/utils/Makefile.am 2011-02-18 04:27:53.000000000 +010078--- gdm-3.1.2.orig/utils/Makefile.am
79+++ gdm-3.0.4/utils/Makefile.am 2011-08-10 18:29:07.753952884 +020079+++ gdm-3.1.2/utils/Makefile.am
80@@ -6,11 +6,13 @@80@@ -6,11 +6,13 @@
81 -DLOCALSTATEDIR=\""$(localstatedir)"\" \81 -DLOCALSTATEDIR=\""$(localstatedir)"\" \
82 -DGDM_SCREENSHOT_DIR=\""$(GDM_SCREENSHOT_DIR)"\"\82 -DGDM_SCREENSHOT_DIR=\""$(GDM_SCREENSHOT_DIR)"\"\
@@ -118,10 +118,10 @@
118 CLEANFILES = \118 CLEANFILES = \
119 $(NULL)119 $(NULL)
120 120
121Index: gdm-3.0.4/utils/gdm-set-default-session.c121Index: gdm-3.1.2/utils/gdm-set-default-session.c
122===================================================================122===================================================================
123--- /dev/null 1970-01-01 00:00:00.000000000 +0000123--- /dev/null
124+++ gdm-3.0.4/utils/gdm-set-default-session.c 2011-08-10 18:29:07.753952884 +0200124+++ gdm-3.1.2/utils/gdm-set-default-session.c
125@@ -0,0 +1,271 @@125@@ -0,0 +1,271 @@
126+#ifdef HAVE_CONFIG_H126+#ifdef HAVE_CONFIG_H
127+#include "config.h"127+#include "config.h"
128128
=== modified file 'debian/patches/16_xserver_path.patch'
--- debian/patches/16_xserver_path.patch 2011-06-07 12:33:03 +0000
+++ debian/patches/16_xserver_path.patch 2011-10-06 13:19:31 +0000
@@ -1,8 +1,8 @@
1Index: gdm-2.30.2/configure.ac1Index: gdm-3.1.2/configure.ac
2===================================================================2===================================================================
3--- gdm-2.30.2.orig/configure.ac 2010-04-27 21:27:38.177532027 +02003--- gdm-3.1.2.orig/configure.ac
4+++ gdm-2.30.2/configure.ac 2010-04-27 21:29:03.733526716 +02004+++ gdm-3.1.2/configure.ac
5@@ -1129,7 +1129,10 @@ dnl ------------------------------------5@@ -1179,7 +1179,10 @@
6 # and /usr/X11 since they often symlink to each other, and configure6 # and /usr/X11 since they often symlink to each other, and configure
7 # should use the more stable location (the real directory) if possible.7 # should use the more stable location (the real directory) if possible.
8 #8 #
99
=== removed file 'debian/patches/29_grep_path.patch'
--- debian/patches/29_grep_path.patch 2011-06-07 13:31:05 +0000
+++ debian/patches/29_grep_path.patch 1970-01-01 00:00:00 +0000
@@ -1,13 +0,0 @@
1Index: gdm-3.0.0/data/Init.in
2===================================================================
3--- gdm-3.0.0.orig/data/Init.in 2011-05-30 17:35:50.855075638 +0200
4+++ gdm-3.0.0/data/Init.in 2011-05-30 17:35:57.835075641 +0200
5@@ -50,7 +50,7 @@
6 UNAME=`gdmwhich uname`
7 PROCESSOR=`$UNAME -p`
8 if [ "x$PROCESSOR" = "xsparc" ]; then
9- if $XMODMAP | /usr/bin/grep mod4 | /usr/bin/grep Alt > /dev/null 2>/dev/null
10+ if $XMODMAP | grep mod4 | grep Alt > /dev/null 2>/dev/null
11 then
12 $XMODMAP -e "clear Mod1" \
13 -e "clear Mod4" \
140
=== modified file 'debian/patches/29_switch_user.patch'
--- debian/patches/29_switch_user.patch 2011-06-07 13:09:47 +0000
+++ debian/patches/29_switch_user.patch 2011-10-06 13:19:31 +0000
@@ -4,10 +4,10 @@
4Subject: [PATCH] Add SwitchToUser() method which automatically selects that user in the greeter or switches to an already open session4Subject: [PATCH] Add SwitchToUser() method which automatically selects that user in the greeter or switches to an already open session
5Bug: https://bugzilla.gnome.org/show_bug.cgi?id=6069235Bug: https://bugzilla.gnome.org/show_bug.cgi?id=606923
66
7Index: gdm-3.0.4/daemon/gdm-display.c7Index: gdm-3.1.2/daemon/gdm-display.c
8===================================================================8===================================================================
9--- gdm-3.0.4.orig/daemon/gdm-display.c 2011-05-31 16:28:03.000000000 +02009--- gdm-3.1.2.orig/daemon/gdm-display.c
10+++ gdm-3.0.4/daemon/gdm-display.c 2011-06-07 15:08:15.501897278 +020010+++ gdm-3.1.2/daemon/gdm-display.c
11@@ -60,6 +60,7 @@11@@ -60,6 +60,7 @@
12 time_t creation_time;12 time_t creation_time;
13 GTimer *slave_timer;13 GTimer *slave_timer;
@@ -94,11 +94,11 @@
94 PROP_STATUS,94 PROP_STATUS,
95 g_param_spec_int ("status",95 g_param_spec_int ("status",
96 "status",96 "status",
97Index: gdm-3.0.4/daemon/gdm-greeter-server.c97Index: gdm-3.1.2/daemon/gdm-greeter-server.c
98===================================================================98===================================================================
99--- gdm-3.0.4.orig/daemon/gdm-greeter-server.c 2011-05-31 17:46:56.000000000 +020099--- gdm-3.1.2.orig/daemon/gdm-greeter-server.c
100+++ gdm-3.0.4/daemon/gdm-greeter-server.c 2011-06-07 15:08:15.501897278 +0200100+++ gdm-3.1.2/daemon/gdm-greeter-server.c
101@@ -281,6 +281,14 @@101@@ -344,6 +344,14 @@
102 }102 }
103 103
104 void104 void
@@ -113,7 +113,7 @@
113 gdm_greeter_server_request_timed_login (GdmGreeterServer *greeter_server,113 gdm_greeter_server_request_timed_login (GdmGreeterServer *greeter_server,
114 const char *username,114 const char *username,
115 int delay)115 int delay)
116@@ -722,6 +730,9 @@116@@ -848,6 +856,9 @@
117 " <signal name=\"DefaultSessionNameChanged\">\n"117 " <signal name=\"DefaultSessionNameChanged\">\n"
118 " <arg name=\"session_name\" type=\"s\"/>\n"118 " <arg name=\"session_name\" type=\"s\"/>\n"
119 " </signal>\n"119 " </signal>\n"
@@ -123,7 +123,7 @@
123 " <signal name=\"TimedLoginRequested\">\n"123 " <signal name=\"TimedLoginRequested\">\n"
124 " <arg name=\"username\" type=\"s\"/>\n"124 " <arg name=\"username\" type=\"s\"/>\n"
125 " <arg name=\"delay\" type=\"i\"/>\n"125 " <arg name=\"delay\" type=\"i\"/>\n"
126@@ -1077,7 +1088,7 @@126@@ -1208,7 +1219,7 @@
127 "display id",127 "display id",
128 NULL,128 NULL,
129 G_PARAM_READWRITE | G_PARAM_CONSTRUCT));129 G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
@@ -132,11 +132,11 @@
132 PROP_USER_NAME,132 PROP_USER_NAME,
133 g_param_spec_string ("user-name",133 g_param_spec_string ("user-name",
134 "user name",134 "user name",
135Index: gdm-3.0.4/daemon/gdm-greeter-server.h135Index: gdm-3.1.2/daemon/gdm-greeter-server.h
136===================================================================136===================================================================
137--- gdm-3.0.4.orig/daemon/gdm-greeter-server.h 2011-05-31 17:46:56.000000000 +0200137--- gdm-3.1.2.orig/daemon/gdm-greeter-server.h
138+++ gdm-3.0.4/daemon/gdm-greeter-server.h 2011-06-07 15:08:15.501897278 +0200138+++ gdm-3.1.2/daemon/gdm-greeter-server.h
139@@ -92,6 +92,8 @@139@@ -107,6 +107,8 @@
140 void gdm_greeter_server_default_session_name_changed (GdmGreeterServer *greeter_server,140 void gdm_greeter_server_default_session_name_changed (GdmGreeterServer *greeter_server,
141 const char *text);141 const char *text);
142 142
@@ -145,10 +145,10 @@
145 void gdm_greeter_server_request_timed_login (GdmGreeterServer *greeter_server,145 void gdm_greeter_server_request_timed_login (GdmGreeterServer *greeter_server,
146 const char *username,146 const char *username,
147 int delay);147 int delay);
148Index: gdm-3.0.4/daemon/gdm-local-display-factory.c148Index: gdm-3.1.2/daemon/gdm-local-display-factory.c
149===================================================================149===================================================================
150--- gdm-3.0.4.orig/daemon/gdm-local-display-factory.c 2011-05-31 16:52:04.000000000 +0200150--- gdm-3.1.2.orig/daemon/gdm-local-display-factory.c
151+++ gdm-3.0.4/daemon/gdm-local-display-factory.c 2011-06-07 15:08:15.501897278 +0200151+++ gdm-3.1.2/daemon/gdm-local-display-factory.c
152@@ -228,6 +228,121 @@152@@ -228,6 +228,121 @@
153 return ret;153 return ret;
154 }154 }
@@ -271,10 +271,10 @@
271 gboolean271 gboolean
272 gdm_local_display_factory_create_product_display (GdmLocalDisplayFactory *factory,272 gdm_local_display_factory_create_product_display (GdmLocalDisplayFactory *factory,
273 const char *parent_display_id,273 const char *parent_display_id,
274Index: gdm-3.0.4/daemon/gdm-local-display-factory.h274Index: gdm-3.1.2/daemon/gdm-local-display-factory.h
275===================================================================275===================================================================
276--- gdm-3.0.4.orig/daemon/gdm-local-display-factory.h 2011-02-18 04:27:53.000000000 +0100276--- gdm-3.1.2.orig/daemon/gdm-local-display-factory.h
277+++ gdm-3.0.4/daemon/gdm-local-display-factory.h 2011-06-07 15:08:15.501897278 +0200277+++ gdm-3.1.2/daemon/gdm-local-display-factory.h
278@@ -64,6 +64,10 @@278@@ -64,6 +64,10 @@
279 gboolean gdm_local_display_factory_create_transient_display (GdmLocalDisplayFactory *factory,279 gboolean gdm_local_display_factory_create_transient_display (GdmLocalDisplayFactory *factory,
280 char **id,280 char **id,
@@ -286,10 +286,10 @@
286 286
287 gboolean gdm_local_display_factory_create_product_display (GdmLocalDisplayFactory *factory,287 gboolean gdm_local_display_factory_create_product_display (GdmLocalDisplayFactory *factory,
288 const char *parent_display_id,288 const char *parent_display_id,
289Index: gdm-3.0.4/daemon/gdm-local-display-factory.xml289Index: gdm-3.1.2/daemon/gdm-local-display-factory.xml
290===================================================================290===================================================================
291--- gdm-3.0.4.orig/daemon/gdm-local-display-factory.xml 2011-02-18 04:27:53.000000000 +0100291--- gdm-3.1.2.orig/daemon/gdm-local-display-factory.xml
292+++ gdm-3.0.4/daemon/gdm-local-display-factory.xml 2011-06-07 15:08:15.501897278 +0200292+++ gdm-3.1.2/daemon/gdm-local-display-factory.xml
293@@ -9,5 +9,9 @@293@@ -9,5 +9,9 @@
294 <method name="CreateTransientDisplay">294 <method name="CreateTransientDisplay">
295 <arg name="id" direction="out" type="o"/>295 <arg name="id" direction="out" type="o"/>
@@ -300,11 +300,11 @@
300+ </method>300+ </method>
301 </interface>301 </interface>
302 </node>302 </node>
303Index: gdm-3.0.4/daemon/gdm-simple-slave.c303Index: gdm-3.1.2/daemon/gdm-simple-slave.c
304===================================================================304===================================================================
305--- gdm-3.0.4.orig/daemon/gdm-simple-slave.c 2011-06-07 15:08:10.000000000 +0200305--- gdm-3.1.2.orig/daemon/gdm-simple-slave.c
306+++ gdm-3.0.4/daemon/gdm-simple-slave.c 2011-06-07 15:08:15.501897278 +0200306+++ gdm-3.1.2/daemon/gdm-simple-slave.c
307@@ -92,10 +92,13 @@307@@ -94,10 +94,13 @@
308 gboolean use_logindevperm;308 gboolean use_logindevperm;
309 #endif309 #endif
310 guint plymouth_is_running : 1;310 guint plymouth_is_running : 1;
@@ -318,7 +318,7 @@
318 };318 };
319 319
320 static void gdm_simple_slave_class_init (GdmSimpleSlaveClass *klass);320 static void gdm_simple_slave_class_init (GdmSimpleSlaveClass *klass);
321@@ -617,6 +620,16 @@321@@ -623,6 +626,16 @@
322 }322 }
323 323
324 static void324 static void
@@ -333,9 +333,9 @@
333+333+
334+static void334+static void
335 on_session_conversation_started (GdmSession *session,335 on_session_conversation_started (GdmSession *session,
336 const char *service_name,
336 GdmSimpleSlave *slave)337 GdmSimpleSlave *slave)
337 {338@@ -641,6 +654,19 @@
338@@ -633,6 +646,19 @@
339 }339 }
340 }340 }
341 341
@@ -355,7 +355,7 @@
355 enabled = FALSE;355 enabled = FALSE;
356 gdm_slave_get_timed_login_details (GDM_SLAVE (slave), &enabled, &username, &delay);356 gdm_slave_get_timed_login_details (GDM_SLAVE (slave), &enabled, &username, &delay);
357 if (! enabled) {357 if (! enabled) {
358@@ -1566,7 +1592,14 @@358@@ -1647,7 +1673,14 @@
359 const GValue *value,359 const GValue *value,
360 GParamSpec *pspec)360 GParamSpec *pspec)
361 {361 {
@@ -370,7 +370,7 @@
370 default:370 default:
371 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);371 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
372 break;372 break;
373@@ -1579,7 +1612,14 @@373@@ -1660,7 +1693,14 @@
374 GValue *value,374 GValue *value,
375 GParamSpec *pspec)375 GParamSpec *pspec)
376 {376 {
@@ -385,7 +385,7 @@
385 default:385 default:
386 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);386 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
387 break;387 break;
388@@ -1616,6 +1656,14 @@388@@ -1697,6 +1737,14 @@
389 389
390 g_type_class_add_private (klass, sizeof (GdmSimpleSlavePrivate));390 g_type_class_add_private (klass, sizeof (GdmSimpleSlavePrivate));
391 391
@@ -400,7 +400,7 @@
400 dbus_g_object_type_install_info (GDM_TYPE_SIMPLE_SLAVE, &dbus_glib_gdm_simple_slave_object_info);400 dbus_g_object_type_install_info (GDM_TYPE_SIMPLE_SLAVE, &dbus_glib_gdm_simple_slave_object_info);
401 }401 }
402 402
403@@ -1651,12 +1699,13 @@403@@ -1732,12 +1780,13 @@
404 }404 }
405 405
406 GdmSlave *406 GdmSlave *
@@ -415,10 +415,10 @@
415 NULL);415 NULL);
416 416
417 return GDM_SLAVE (object);417 return GDM_SLAVE (object);
418Index: gdm-3.0.4/daemon/gdm-simple-slave.h418Index: gdm-3.1.2/daemon/gdm-simple-slave.h
419===================================================================419===================================================================
420--- gdm-3.0.4.orig/daemon/gdm-simple-slave.h 2011-03-29 06:09:16.000000000 +0200420--- gdm-3.1.2.orig/daemon/gdm-simple-slave.h
421+++ gdm-3.0.4/daemon/gdm-simple-slave.h 2011-06-07 15:08:15.501897278 +0200421+++ gdm-3.1.2/daemon/gdm-simple-slave.h
422@@ -48,7 +48,8 @@422@@ -48,7 +48,8 @@
423 } GdmSimpleSlaveClass;423 } GdmSimpleSlaveClass;
424 424
@@ -429,10 +429,10 @@
429 429
430 G_END_DECLS430 G_END_DECLS
431 431
432Index: gdm-3.0.4/daemon/simple-slave-main.c432Index: gdm-3.1.2/daemon/simple-slave-main.c
433===================================================================433===================================================================
434--- gdm-3.0.4.orig/daemon/simple-slave-main.c 2011-03-29 06:09:16.000000000 +0200434--- gdm-3.1.2.orig/daemon/simple-slave-main.c
435+++ gdm-3.0.4/daemon/simple-slave-main.c 2011-06-07 15:08:15.501897278 +0200435+++ gdm-3.1.2/daemon/simple-slave-main.c
436@@ -45,6 +45,7 @@436@@ -45,6 +45,7 @@
437 #include "gdm-common.h"437 #include "gdm-common.h"
438 #include "gdm-simple-slave.h"438 #include "gdm-simple-slave.h"
@@ -462,10 +462,10 @@
462 if (slave == NULL) {462 if (slave == NULL) {
463 goto out;463 goto out;
464 }464 }
465Index: gdm-3.0.4/data/gdm.conf.in465Index: gdm-3.1.2/data/gdm.conf.in
466===================================================================466===================================================================
467--- gdm-3.0.4.orig/data/gdm.conf.in 2011-03-07 18:40:37.000000000 +0100467--- gdm-3.1.2.orig/data/gdm.conf.in
468+++ gdm-3.0.4/data/gdm.conf.in 2011-06-07 15:08:49.411897294 +0200468+++ gdm-3.1.2/data/gdm.conf.in
469@@ -66,6 +66,9 @@469@@ -66,6 +66,9 @@
470 <allow send_destination="org.gnome.DisplayManager"470 <allow send_destination="org.gnome.DisplayManager"
471 send_interface="org.gnome.DisplayManager.LocalDisplayFactory"471 send_interface="org.gnome.DisplayManager.LocalDisplayFactory"
@@ -476,19 +476,19 @@
476 476
477 <allow send_destination="org.gnome.DisplayManager"477 <allow send_destination="org.gnome.DisplayManager"
478 send_interface="org.gnome.DisplayManager.Manager"478 send_interface="org.gnome.DisplayManager.Manager"
479Index: gdm-3.0.4/gui/simple-greeter/gdm-greeter-client.c479Index: gdm-3.1.2/gui/simple-greeter/gdm-greeter-client.c
480===================================================================480===================================================================
481--- gdm-3.0.4.orig/gui/simple-greeter/gdm-greeter-client.c 2011-05-31 17:46:56.000000000 +0200481--- gdm-3.1.2.orig/gui/simple-greeter/gdm-greeter-client.c
482+++ gdm-3.0.4/gui/simple-greeter/gdm-greeter-client.c 2011-06-07 15:08:15.511897278 +0200482+++ gdm-3.1.2/gui/simple-greeter/gdm-greeter-client.c
483@@ -69,6 +69,7 @@483@@ -70,6 +70,7 @@
484 SELECTED_USER_CHANGED,484 SELECTED_USER_CHANGED,
485 DEFAULT_LANGUAGE_NAME_CHANGED,485 DEFAULT_LANGUAGE_NAME_CHANGED,
486 DEFAULT_SESSION_NAME_CHANGED,486 DEFAULT_SESSION_NAME_CHANGED,
487+ SELECT_USER,487+ SELECT_USER,
488 TIMED_LOGIN_REQUESTED,488 TIMED_LOGIN_REQUESTED,
489 USER_AUTHORIZED,489 SESSION_OPENED,
490 LAST_SIGNAL490 LAST_SIGNAL
491@@ -183,6 +184,14 @@491@@ -215,6 +216,14 @@
492 }492 }
493 493
494 static void494 static void
@@ -503,7 +503,7 @@
503 on_timed_login_requested (GdmGreeterClient *client,503 on_timed_login_requested (GdmGreeterClient *client,
504 DBusMessage *message)504 DBusMessage *message)
505 {505 {
506@@ -649,6 +658,8 @@506@@ -761,6 +770,8 @@
507 on_default_language_name_changed (client, message);507 on_default_language_name_changed (client, message);
508 } else if (dbus_message_is_signal (message, GREETER_SERVER_DBUS_INTERFACE, "DefaultSessionNameChanged")) {508 } else if (dbus_message_is_signal (message, GREETER_SERVER_DBUS_INTERFACE, "DefaultSessionNameChanged")) {
509 on_default_session_name_changed (client, message);509 on_default_session_name_changed (client, message);
@@ -511,8 +511,8 @@
511+ on_select_user (client, message);511+ on_select_user (client, message);
512 } else if (dbus_message_is_signal (message, GREETER_SERVER_DBUS_INTERFACE, "TimedLoginRequested")) {512 } else if (dbus_message_is_signal (message, GREETER_SERVER_DBUS_INTERFACE, "TimedLoginRequested")) {
513 on_timed_login_requested (client, message);513 on_timed_login_requested (client, message);
514 } else if (dbus_message_is_signal (message, GREETER_SERVER_DBUS_INTERFACE, "UserAuthorized")) {514 } else if (dbus_message_is_signal (message, GREETER_SERVER_DBUS_INTERFACE, "SessionOpened")) {
515@@ -927,6 +938,17 @@515@@ -1060,6 +1071,17 @@
516 NULL,516 NULL,
517 NULL,517 NULL,
518 g_cclosure_marshal_VOID__STRING,518 g_cclosure_marshal_VOID__STRING,
@@ -530,11 +530,11 @@
530 G_TYPE_NONE,530 G_TYPE_NONE,
531 1, G_TYPE_STRING);531 1, G_TYPE_STRING);
532 532
533Index: gdm-3.0.4/gui/simple-greeter/gdm-greeter-client.h533Index: gdm-3.1.2/gui/simple-greeter/gdm-greeter-client.h
534===================================================================534===================================================================
535--- gdm-3.0.4.orig/gui/simple-greeter/gdm-greeter-client.h 2011-05-31 17:46:56.000000000 +0200535--- gdm-3.1.2.orig/gui/simple-greeter/gdm-greeter-client.h
536+++ gdm-3.0.4/gui/simple-greeter/gdm-greeter-client.h 2011-06-07 15:08:15.511897278 +0200536+++ gdm-3.1.2/gui/simple-greeter/gdm-greeter-client.h
537@@ -65,6 +65,8 @@537@@ -74,6 +74,8 @@
538 const char *session_name);538 const char *session_name);
539 void (* default_language_name_changed) (GdmGreeterClient *client,539 void (* default_language_name_changed) (GdmGreeterClient *client,
540 const char *language_name);540 const char *language_name);
@@ -543,21 +543,21 @@
543 void (* timed_login_requested) (GdmGreeterClient *client,543 void (* timed_login_requested) (GdmGreeterClient *client,
544 const char *username,544 const char *username,
545 int delay);545 int delay);
546Index: gdm-3.0.4/gui/simple-greeter/gdm-greeter-login-window.c546Index: gdm-3.1.2/gui/simple-greeter/gdm-greeter-login-window.c
547===================================================================547===================================================================
548--- gdm-3.0.4.orig/gui/simple-greeter/gdm-greeter-login-window.c 2011-05-31 17:46:56.000000000 +0200548--- gdm-3.1.2.orig/gui/simple-greeter/gdm-greeter-login-window.c
549+++ gdm-3.0.4/gui/simple-greeter/gdm-greeter-login-window.c 2011-06-07 15:08:15.511897278 +0200549+++ gdm-3.1.2/gui/simple-greeter/gdm-greeter-login-window.c
550@@ -131,6 +131,8 @@550@@ -149,6 +149,8 @@
551
552 guint login_button_handler_id;
553 guint start_session_handler_id;551 guint start_session_handler_id;
552
553 char *service_name_of_session_ready_to_start;
554+554+
555+ char *username;555+ char *username;
556 };556 };
557 557
558 enum {558 enum {
559@@ -803,6 +805,24 @@559@@ -1188,6 +1190,24 @@
560 login_window->priv->timed_login_already_enabled = TRUE;560 return TRUE;
561 }561 }
562 562
563+563+
@@ -581,7 +581,7 @@
581 void581 void
582 gdm_greeter_login_window_request_timed_login (GdmGreeterLoginWindow *login_window,582 gdm_greeter_login_window_request_timed_login (GdmGreeterLoginWindow *login_window,
583 const char *username,583 const char *username,
584@@ -1019,6 +1039,10 @@584@@ -1432,6 +1452,10 @@
585 585
586 if (!login_window->priv->user_list_disabled) {586 if (!login_window->priv->user_list_disabled) {
587 gtk_widget_show (login_window->priv->user_chooser);587 gtk_widget_show (login_window->priv->user_chooser);
@@ -591,25 +591,25 @@
591+ }591+ }
592 }592 }
593 593
594 if (login_window->priv->timed_login_username != NULL594 enable_waiting_extensions (login_window);
595Index: gdm-3.0.4/gui/simple-greeter/gdm-greeter-login-window.h595Index: gdm-3.1.2/gui/simple-greeter/gdm-greeter-login-window.h
596===================================================================596===================================================================
597--- gdm-3.0.4.orig/gui/simple-greeter/gdm-greeter-login-window.h 2011-05-31 17:46:56.000000000 +0200597--- gdm-3.1.2.orig/gui/simple-greeter/gdm-greeter-login-window.h
598+++ gdm-3.0.4/gui/simple-greeter/gdm-greeter-login-window.h 2011-06-07 15:08:15.511897278 +0200598+++ gdm-3.1.2/gui/simple-greeter/gdm-greeter-login-window.h
599@@ -80,6 +80,8 @@599@@ -95,6 +95,8 @@
600 void gdm_greeter_login_window_set_default_session_name (GdmGreeterLoginWindow *login_window,600 gboolean gdm_greeter_login_window_service_unavailable (GdmGreeterLoginWindow *login_window,
601 const char *text);601 const char *service_name);
602 602
603+void gdm_greeter_login_window_select_user (GdmGreeterLoginWindow *login_window,603+void gdm_greeter_login_window_select_user (GdmGreeterLoginWindow *login_window,
604+ const char *username);604+ const char *username);
605 void gdm_greeter_login_window_request_timed_login (GdmGreeterLoginWindow *login_window,605 void gdm_greeter_login_window_request_timed_login (GdmGreeterLoginWindow *login_window,
606 const char *username,606 const char *username,
607 int delay);607 int delay);
608Index: gdm-3.0.4/gui/simple-greeter/gdm-greeter-session.c608Index: gdm-3.1.2/gui/simple-greeter/gdm-greeter-session.c
609===================================================================609===================================================================
610--- gdm-3.0.4.orig/gui/simple-greeter/gdm-greeter-session.c 2011-05-31 17:46:56.000000000 +0200610--- gdm-3.1.2.orig/gui/simple-greeter/gdm-greeter-session.c
611+++ gdm-3.0.4/gui/simple-greeter/gdm-greeter-session.c 2011-06-07 15:08:15.511897278 +0200611+++ gdm-3.1.2/gui/simple-greeter/gdm-greeter-session.c
612@@ -167,6 +167,15 @@612@@ -170,6 +170,15 @@
613 }613 }
614 614
615 static void615 static void
@@ -625,7 +625,7 @@
625 on_timed_login_requested (GdmGreeterClient *client,625 on_timed_login_requested (GdmGreeterClient *client,
626 const char *text,626 const char *text,
627 int delay,627 int delay,
628@@ -580,6 +589,10 @@628@@ -600,6 +609,10 @@
629 G_CALLBACK (on_default_session_name_changed),629 G_CALLBACK (on_default_session_name_changed),
630 session);630 session);
631 g_signal_connect (session->priv->client,631 g_signal_connect (session->priv->client,
632632
=== modified file 'debian/patches/30_don_t_save_failsafe_session.patch'
--- debian/patches/30_don_t_save_failsafe_session.patch 2011-06-07 09:19:59 +0000
+++ debian/patches/30_don_t_save_failsafe_session.patch 2011-10-06 13:19:31 +0000
@@ -2,22 +2,22 @@
2Bug: https://bugzilla.gnome.org/show_bug.cgi?id=6077032Bug: https://bugzilla.gnome.org/show_bug.cgi?id=607703
3Bug-Ubuntu: https://launchpad.net/bugs/5091823Bug-Ubuntu: https://launchpad.net/bugs/509182
44
5Index: gdm-3.0.0/daemon/gdm-session-direct.c5Index: gdm-3.1.2/daemon/gdm-session-direct.c
6===================================================================6===================================================================
7--- gdm-3.0.0.orig/daemon/gdm-session-direct.c 2011-06-07 11:15:40.317629201 +02007--- gdm-3.1.2.orig/daemon/gdm-session-direct.c
8+++ gdm-3.0.0/daemon/gdm-session-direct.c 2011-06-07 11:17:21.647629249 +02008+++ gdm-3.1.2/daemon/gdm-session-direct.c
9@@ -175,6 +175,32 @@9@@ -160,6 +160,32 @@
10 }10 }
11 11
12 static void12 static void
13+send_dbus_bool_signal (GdmSessionDirect *session,13+send_dbus_bool_signal (GdmSessionConversation *conversation,
14+ const char *name,14+ const char *name,
15+ const gboolean value)15+ const gboolean value)
16+{16+{
17+ DBusMessage *message;17+ DBusMessage *message;
18+ DBusMessageIter iter;18+ DBusMessageIter iter;
19+19+
20+ g_return_if_fail (session != NULL);20+ g_return_if_fail (conversation != NULL);
21+21+
22+ message = dbus_message_new_signal (GDM_SESSION_DBUS_PATH,22+ message = dbus_message_new_signal (GDM_SESSION_DBUS_PATH,
23+ GDM_SESSION_DBUS_INTERFACE,23+ GDM_SESSION_DBUS_INTERFACE,
@@ -26,7 +26,7 @@
26+ dbus_message_iter_init_append (message, &iter);26+ dbus_message_iter_init_append (message, &iter);
27+ dbus_message_iter_append_basic (&iter, DBUS_TYPE_BOOLEAN, &value);27+ dbus_message_iter_append_basic (&iter, DBUS_TYPE_BOOLEAN, &value);
28+28+
29+ if (! send_dbus_message (session->priv->worker_connection, message)) {29+ if (! send_dbus_message (conversation, message)) {
30+ g_debug ("GdmSessionDirect: Could not send %s signal",30+ g_debug ("GdmSessionDirect: Could not send %s signal",
31+ name ? name : "(null)");31+ name ? name : "(null)");
32+ }32+ }
@@ -36,10 +36,10 @@
36+36+
37+37+
38+static void38+static void
39 send_dbus_void_signal (GdmSessionDirect *session,39 send_dbus_string_signal (GdmSessionConversation *conversation,
40 const char *name)40 const char *name,
41 {41 const char *text)
42@@ -605,6 +631,61 @@42@@ -667,6 +693,61 @@
43 return res;43 return res;
44 }44 }
45 45
@@ -101,7 +101,7 @@
101 static const char *101 static const char *
102 get_default_language_name (GdmSessionDirect *session)102 get_default_language_name (GdmSessionDirect *session)
103 {103 {
104@@ -1373,6 +1454,9 @@104@@ -1439,6 +1520,9 @@
105 " <signal name=\"SetSessionName\">\n"105 " <signal name=\"SetSessionName\">\n"
106 " <arg name=\"session_name\" type=\"s\"/>\n"106 " <arg name=\"session_name\" type=\"s\"/>\n"
107 " </signal>\n"107 " </signal>\n"
@@ -111,7 +111,7 @@
111 " <signal name=\"StartProgram\">\n"111 " <signal name=\"StartProgram\">\n"
112 " <arg name=\"command\" type=\"s\"/>\n"112 " <arg name=\"command\" type=\"s\"/>\n"
113 " </signal>\n"113 " </signal>\n"
114@@ -1949,6 +2033,32 @@114@@ -2198,6 +2282,32 @@
115 return get_default_session_name (session);115 return get_default_session_name (session);
116 }116 }
117 117
@@ -144,20 +144,20 @@
144 static char *144 static char *
145 get_session_command (GdmSessionDirect *session)145 get_session_command (GdmSessionDirect *session)
146 {146 {
147@@ -2211,6 +2321,9 @@147@@ -2539,6 +2649,9 @@
148 148
149 send_dbus_string_signal (impl, "SetSessionName",149 send_dbus_string_signal (conversation, "SetSessionName",
150 get_session_name (impl));150 get_session_name (impl));
151+151+
152+ send_dbus_bool_signal (impl, "SetIsFailsafe",152+ send_dbus_bool_signal (conversation, "SetIsFailsafe",
153+ get_is_session_failsafe(impl));153+ get_is_session_failsafe(impl));
154 }
154 }155 }
155 156
156 static void157Index: gdm-3.1.2/daemon/gdm-session-settings.c
157Index: gdm-3.0.0/daemon/gdm-session-settings.c
158===================================================================158===================================================================
159--- gdm-3.0.0.orig/daemon/gdm-session-settings.c 2011-04-04 16:37:16.000000000 +0200159--- gdm-3.1.2.orig/daemon/gdm-session-settings.c
160+++ gdm-3.0.0/daemon/gdm-session-settings.c 2011-06-07 11:15:40.487629201 +0200160+++ gdm-3.1.2/daemon/gdm-session-settings.c
161@@ -40,6 +40,7 @@161@@ -40,6 +40,7 @@
162 ActUser *user;162 ActUser *user;
163 char *session_name;163 char *session_name;
@@ -260,10 +260,10 @@
260 260
261 if (!act_user_is_loaded (user)) {261 if (!act_user_is_loaded (user)) {
262 g_object_unref (user);262 g_object_unref (user);
263Index: gdm-3.0.0/daemon/gdm-session-settings.h263Index: gdm-3.1.2/daemon/gdm-session-settings.h
264===================================================================264===================================================================
265--- gdm-3.0.0.orig/daemon/gdm-session-settings.h 2011-04-04 16:37:16.000000000 +0200265--- gdm-3.1.2.orig/daemon/gdm-session-settings.h
266+++ gdm-3.0.0/daemon/gdm-session-settings.h 2011-06-07 11:15:40.497629201 +0200266+++ gdm-3.1.2/daemon/gdm-session-settings.h
267@@ -60,10 +60,13 @@267@@ -60,10 +60,13 @@
268 gboolean gdm_session_settings_is_loaded (GdmSessionSettings *settings);268 gboolean gdm_session_settings_is_loaded (GdmSessionSettings *settings);
269 char *gdm_session_settings_get_language_name (GdmSessionSettings *settings);269 char *gdm_session_settings_get_language_name (GdmSessionSettings *settings);
@@ -278,11 +278,11 @@
278 278
279 G_END_DECLS279 G_END_DECLS
280 #endif /* GDM_SESSION_SETTINGS_H */280 #endif /* GDM_SESSION_SETTINGS_H */
281Index: gdm-3.0.0/daemon/gdm-session-worker.c281Index: gdm-3.1.2/daemon/gdm-session-worker.c
282===================================================================282===================================================================
283--- gdm-3.0.0.orig/daemon/gdm-session-worker.c 2011-04-04 16:37:16.000000000 +0200283--- gdm-3.1.2.orig/daemon/gdm-session-worker.c
284+++ gdm-3.0.0/daemon/gdm-session-worker.c 2011-06-07 11:15:40.497629201 +0200284+++ gdm-3.1.2/daemon/gdm-session-worker.c
285@@ -1899,6 +1899,14 @@285@@ -1912,6 +1912,14 @@
286 }286 }
287 287
288 static void288 static void
@@ -297,7 +297,7 @@
297 on_set_session_name (GdmSessionWorker *worker,297 on_set_session_name (GdmSessionWorker *worker,
298 DBusMessage *message)298 DBusMessage *message)
299 {299 {
300@@ -1921,6 +1929,28 @@300@@ -1934,6 +1942,28 @@
301 }301 }
302 302
303 static void303 static void
@@ -326,7 +326,7 @@
326 gdm_session_worker_set_language_name (GdmSessionWorker *worker,326 gdm_session_worker_set_language_name (GdmSessionWorker *worker,
327 const char *language_name)327 const char *language_name)
328 {328 {
329@@ -2552,6 +2582,8 @@329@@ -2592,6 +2622,8 @@
330 on_set_language_name (worker, message);330 on_set_language_name (worker, message);
331 } else if (dbus_message_is_signal (message, GDM_SESSION_DBUS_INTERFACE, "SetSessionName")) {331 } else if (dbus_message_is_signal (message, GDM_SESSION_DBUS_INTERFACE, "SetSessionName")) {
332 on_set_session_name (worker, message);332 on_set_session_name (worker, message);
333333
=== modified file 'debian/patches/42_no_ecryptfs_autologin.patch'
--- debian/patches/42_no_ecryptfs_autologin.patch 2011-06-07 10:27:02 +0000
+++ debian/patches/42_no_ecryptfs_autologin.patch 2011-10-06 13:19:31 +0000
@@ -2,11 +2,11 @@
2Author: Robert Ancell <robert.ancell@canonical.com>2Author: Robert Ancell <robert.ancell@canonical.com>
3Bug: http://launchpad.net/bugs/2844433Bug: http://launchpad.net/bugs/284443
44
5Index: gdm-3.0.0/daemon/gdm-simple-slave.c5Index: gdm-3.1.91/daemon/gdm-simple-slave.c
6===================================================================6===================================================================
7--- gdm-3.0.0.orig/daemon/gdm-simple-slave.c 2011-06-07 12:25:54.047631144 +02007--- gdm-3.1.91.orig/daemon/gdm-simple-slave.c
8+++ gdm-3.0.0/daemon/gdm-simple-slave.c 2011-06-07 12:26:15.497631154 +02008+++ gdm-3.1.91/daemon/gdm-simple-slave.c
9@@ -629,6 +629,38 @@9@@ -620,6 +620,38 @@
10 slave->priv->username = g_strdup (username);10 slave->priv->username = g_strdup (username);
11 }11 }
12 12
@@ -44,8 +44,8 @@
44+44+
45 static void45 static void
46 on_session_conversation_started (GdmSession *session,46 on_session_conversation_started (GdmSession *session,
47 GdmSimpleSlave *slave)47 const char *service_name,
48@@ -661,7 +693,8 @@48@@ -654,7 +686,8 @@
49 49
50 enabled = FALSE;50 enabled = FALSE;
51 gdm_slave_get_timed_login_details (GDM_SLAVE (slave), &enabled, &username, &delay);51 gdm_slave_get_timed_login_details (GDM_SLAVE (slave), &enabled, &username, &delay);
@@ -55,7 +55,7 @@
55 return;55 return;
56 }56 }
57 57
58@@ -1385,6 +1418,8 @@58@@ -1483,6 +1516,8 @@
59 if (res) {59 if (res) {
60 gboolean enabled;60 gboolean enabled;
61 int delay;61 int delay;
@@ -64,7 +64,7 @@
64 64
65 /* FIXME: handle wait-for-go */65 /* FIXME: handle wait-for-go */
66 66
67@@ -1393,7 +1428,8 @@67@@ -1491,7 +1526,8 @@
68 delay = 0;68 delay = 0;
69 enabled = FALSE;69 enabled = FALSE;
70 gdm_slave_get_timed_login_details (GDM_SLAVE (slave), &enabled, NULL, &delay);70 gdm_slave_get_timed_login_details (GDM_SLAVE (slave), &enabled, NULL, &delay);
@@ -74,7 +74,7 @@
74 start_greeter (slave);74 start_greeter (slave);
75 create_new_session (slave);75 create_new_session (slave);
76 } else {76 } else {
77@@ -1401,6 +1437,7 @@77@@ -1499,6 +1535,7 @@
78 gdm_slave_run_script (GDM_SLAVE (slave), GDMCONFDIR "/Init", GDM_USERNAME);78 gdm_slave_run_script (GDM_SLAVE (slave), GDMCONFDIR "/Init", GDM_USERNAME);
79 reset_session (slave);79 reset_session (slave);
80 }80 }
8181
=== modified file 'debian/patches/45_time_display_on_greeter.patch'
--- debian/patches/45_time_display_on_greeter.patch 2011-06-06 05:27:36 +0000
+++ debian/patches/45_time_display_on_greeter.patch 2011-10-06 13:19:31 +0000
@@ -4,9 +4,10 @@
4Forwarded: yes4Forwarded: yes
5Author: Gunnar Hjalmarsson <ubuntu@gunnar.cc>5Author: Gunnar Hjalmarsson <ubuntu@gunnar.cc>
66
7diff -Nur -x '*.orig' -x '*~' gdm-3.0.0//gui/simple-greeter/gdm-clock-widget.c gdm-3.0.0.new//gui/simple-greeter/gdm-clock-widget.c7Index: gdm-3.1.2/gui/simple-greeter/gdm-clock-widget.c
8--- gdm-3.0.0//gui/simple-greeter/gdm-clock-widget.c 2011-04-04 16:37:16.000000000 +02008===================================================================
9+++ gdm-3.0.0.new//gui/simple-greeter/gdm-clock-widget.c 2011-06-05 23:55:31.140297043 +02009--- gdm-3.1.2.orig/gui/simple-greeter/gdm-clock-widget.c
10+++ gdm-3.1.2/gui/simple-greeter/gdm-clock-widget.c
10@@ -30,6 +30,7 @@11@@ -30,6 +30,7 @@
11 #include <errno.h>12 #include <errno.h>
12 #include <dirent.h>13 #include <dirent.h>
1314
=== modified file 'debian/patches/93_xdg_data_dirs.patch'
--- debian/patches/93_xdg_data_dirs.patch 2011-06-07 11:22:47 +0000
+++ debian/patches/93_xdg_data_dirs.patch 2011-10-06 13:19:31 +0000
@@ -1,12 +1,12 @@
1Index: gdm-3.0.4/daemon/gdm-welcome-session.c1Index: gdm-3.1.90/daemon/gdm-welcome-session.c
2===================================================================2===================================================================
3--- gdm-3.0.4.orig/daemon/gdm-welcome-session.c 2011-05-31 17:46:56.000000000 +02003--- gdm-3.1.90.orig/daemon/gdm-welcome-session.c
4+++ gdm-3.0.4/daemon/gdm-welcome-session.c 2011-06-07 13:21:09.771894316 +02004+++ gdm-3.1.90/daemon/gdm-welcome-session.c
5@@ -440,6 +440,7 @@5@@ -322,6 +322,7 @@
6 g_hash_table_insert (hash, g_strdup ("RUNNING_UNDER_GDM"), g_strdup ("true"));6 g_hash_table_insert (hash, g_strdup ("RUNNING_UNDER_GDM"), g_strdup ("true"));
7 g_hash_table_insert (hash, g_strdup ("GVFS_DISABLE_FUSE"), g_strdup ("1"));7 g_hash_table_insert (hash, g_strdup ("GVFS_DISABLE_FUSE"), g_strdup ("1"));
8 g_hash_table_insert (hash, g_strdup ("DCONF_PROFILE"), g_strdup ("gdm"));8 g_hash_table_insert (hash, g_strdup ("DCONF_PROFILE"), g_strdup ("gdm"));
9+ g_hash_table_insert (hash, g_strdup ("XDG_DATA_DIRS"), g_strdup ("/usr/share/gdm:/usr/local/share:/usr/share"));9+ g_hash_table_insert (hash, g_strdup ("XDG_DATA_DIRS"), g_strdup ("/usr/share/gdm:/usr/local/share:/usr/share"));
10 10
11 g_hash_table_foreach (hash, (GHFunc)listify_hash, env);11 return hash;
12 g_hash_table_destroy (hash);12 }
1313
=== modified file 'debian/patches/series'
--- debian/patches/series 2011-08-12 17:20:24 +0000
+++ debian/patches/series 2011-10-06 13:19:31 +0000
@@ -1,15 +1,14 @@
100git_xsession-errors_symlink.patch100git.diff
200git_use_new_power_interface.patch201git.diff
3ubuntu_plymouth.patch3ubuntu_plymouth.patch
401_language.patch401_language.patch
507_libexec-paths.patch
506_first_vt.patch606_first_vt.patch
607_libexec-paths.patch7#08_frequent-users_greeter.patch
708_frequent-users_greeter.patch
815_default_session.patch815_default_session.patch
916_xserver_path.patch916_xserver_path.patch
1029_grep_path.patch
1129_switch_user.patch1029_switch_user.patch
1230_don_t_save_failsafe_session.patch11#30_don_t_save_failsafe_session.patch
13#33-multi-keyboard-layouts.patch12#33-multi-keyboard-layouts.patch
1442_no_ecryptfs_autologin.patch1342_no_ecryptfs_autologin.patch
1545_time_display_on_greeter.patch1445_time_display_on_greeter.patch
@@ -18,6 +17,6 @@
18ubuntu_dont_catch_sigsegv.patch17ubuntu_dont_catch_sigsegv.patch
19ubuntu_guest_session.patch18ubuntu_guest_session.patch
20ubuntu_upstart_event.patch19ubuntu_upstart_event.patch
21ubuntu_no_debug.patch20#ubuntu_no_debug.patch
22ubuntu_xresources_is_a_dir.patch21ubuntu_xresources_is_a_dir.patch
23ubuntu_i18n_oneiric.patch22ubuntu_i18n_oneiric.patch
2423
=== modified file 'debian/patches/ubuntu_dont_catch_sigsegv.patch'
--- debian/patches/ubuntu_dont_catch_sigsegv.patch 2011-06-07 13:01:31 +0000
+++ debian/patches/ubuntu_dont_catch_sigsegv.patch 2011-10-06 13:19:31 +0000
@@ -1,9 +1,9 @@
1Description: Don't catch crashes so apport can do its job1Description: Don't catch crashes so apport can do its job
22
3Index: gdm-3.0.0/daemon/factory-slave-main.c3Index: gdm-3.1.2/daemon/factory-slave-main.c
4===================================================================4===================================================================
5--- gdm-3.0.0.orig/daemon/factory-slave-main.c 2010-10-01 13:54:28.000000000 +02005--- gdm-3.1.2.orig/daemon/factory-slave-main.c
6+++ gdm-3.0.0/daemon/factory-slave-main.c 2011-05-30 17:35:36.735075632 +02006+++ gdm-3.1.2/daemon/factory-slave-main.c
7@@ -231,7 +231,7 @@7@@ -231,7 +231,7 @@
8 gdm_signal_handler_add (signal_handler, SIGBUS, signal_cb, NULL);8 gdm_signal_handler_add (signal_handler, SIGBUS, signal_cb, NULL);
9 gdm_signal_handler_add (signal_handler, SIGFPE, signal_cb, NULL);9 gdm_signal_handler_add (signal_handler, SIGFPE, signal_cb, NULL);
@@ -13,10 +13,10 @@
13 gdm_signal_handler_add (signal_handler, SIGABRT, signal_cb, NULL);13 gdm_signal_handler_add (signal_handler, SIGABRT, signal_cb, NULL);
14 gdm_signal_handler_add (signal_handler, SIGUSR1, signal_cb, NULL);14 gdm_signal_handler_add (signal_handler, SIGUSR1, signal_cb, NULL);
15 gdm_signal_handler_add (signal_handler, SIGUSR2, signal_cb, NULL);15 gdm_signal_handler_add (signal_handler, SIGUSR2, signal_cb, NULL);
16Index: gdm-3.0.0/daemon/product-slave-main.c16Index: gdm-3.1.2/daemon/product-slave-main.c
17===================================================================17===================================================================
18--- gdm-3.0.0.orig/daemon/product-slave-main.c 2010-10-01 13:54:28.000000000 +020018--- gdm-3.1.2.orig/daemon/product-slave-main.c
19+++ gdm-3.0.0/daemon/product-slave-main.c 2011-05-30 17:35:36.735075632 +020019+++ gdm-3.1.2/daemon/product-slave-main.c
20@@ -235,7 +235,7 @@20@@ -235,7 +235,7 @@
21 gdm_signal_handler_add (signal_handler, SIGBUS, signal_cb, NULL);21 gdm_signal_handler_add (signal_handler, SIGBUS, signal_cb, NULL);
22 gdm_signal_handler_add (signal_handler, SIGFPE, signal_cb, NULL);22 gdm_signal_handler_add (signal_handler, SIGFPE, signal_cb, NULL);
@@ -26,10 +26,10 @@
26 gdm_signal_handler_add (signal_handler, SIGABRT, signal_cb, NULL);26 gdm_signal_handler_add (signal_handler, SIGABRT, signal_cb, NULL);
27 gdm_signal_handler_add (signal_handler, SIGUSR1, signal_cb, NULL);27 gdm_signal_handler_add (signal_handler, SIGUSR1, signal_cb, NULL);
28 gdm_signal_handler_add (signal_handler, SIGUSR2, signal_cb, NULL);28 gdm_signal_handler_add (signal_handler, SIGUSR2, signal_cb, NULL);
29Index: gdm-3.0.0/daemon/session-worker-main.c29Index: gdm-3.1.2/daemon/session-worker-main.c
30===================================================================30===================================================================
31--- gdm-3.0.0.orig/daemon/session-worker-main.c 2010-10-01 13:54:28.000000000 +020031--- gdm-3.1.2.orig/daemon/session-worker-main.c
32+++ gdm-3.0.0/daemon/session-worker-main.c 2011-05-30 17:35:36.735075632 +020032+++ gdm-3.1.2/daemon/session-worker-main.c
33@@ -196,7 +196,7 @@33@@ -196,7 +196,7 @@
34 gdm_signal_handler_add (signal_handler, SIGBUS, signal_cb, NULL);34 gdm_signal_handler_add (signal_handler, SIGBUS, signal_cb, NULL);
35 gdm_signal_handler_add (signal_handler, SIGFPE, signal_cb, NULL);35 gdm_signal_handler_add (signal_handler, SIGFPE, signal_cb, NULL);
@@ -39,11 +39,11 @@
39 gdm_signal_handler_add (signal_handler, SIGABRT, signal_cb, NULL);39 gdm_signal_handler_add (signal_handler, SIGABRT, signal_cb, NULL);
40 gdm_signal_handler_add (signal_handler, SIGUSR1, signal_cb, NULL);40 gdm_signal_handler_add (signal_handler, SIGUSR1, signal_cb, NULL);
41 41
42Index: gdm-3.0.0/daemon/simple-slave-main.c42Index: gdm-3.1.2/daemon/simple-slave-main.c
43===================================================================43===================================================================
44--- gdm-3.0.0.orig/daemon/simple-slave-main.c 2010-10-01 13:54:28.000000000 +020044--- gdm-3.1.2.orig/daemon/simple-slave-main.c
45+++ gdm-3.0.0/daemon/simple-slave-main.c 2011-05-30 17:35:36.735075632 +020045+++ gdm-3.1.2/daemon/simple-slave-main.c
46@@ -243,7 +243,7 @@46@@ -246,7 +246,7 @@
47 gdm_signal_handler_add (signal_handler, SIGBUS, signal_cb, NULL);47 gdm_signal_handler_add (signal_handler, SIGBUS, signal_cb, NULL);
48 gdm_signal_handler_add (signal_handler, SIGFPE, signal_cb, NULL);48 gdm_signal_handler_add (signal_handler, SIGFPE, signal_cb, NULL);
49 gdm_signal_handler_add (signal_handler, SIGHUP, signal_cb, NULL);49 gdm_signal_handler_add (signal_handler, SIGHUP, signal_cb, NULL);
@@ -52,10 +52,10 @@
52 gdm_signal_handler_add (signal_handler, SIGABRT, signal_cb, NULL);52 gdm_signal_handler_add (signal_handler, SIGABRT, signal_cb, NULL);
53 gdm_signal_handler_add (signal_handler, SIGUSR1, signal_cb, NULL);53 gdm_signal_handler_add (signal_handler, SIGUSR1, signal_cb, NULL);
54 gdm_signal_handler_add (signal_handler, SIGUSR2, signal_cb, NULL);54 gdm_signal_handler_add (signal_handler, SIGUSR2, signal_cb, NULL);
55Index: gdm-3.0.0/daemon/xdmcp-chooser-slave-main.c55Index: gdm-3.1.2/daemon/xdmcp-chooser-slave-main.c
56===================================================================56===================================================================
57--- gdm-3.0.0.orig/daemon/xdmcp-chooser-slave-main.c 2010-10-01 13:54:28.000000000 +020057--- gdm-3.1.2.orig/daemon/xdmcp-chooser-slave-main.c
58+++ gdm-3.0.0/daemon/xdmcp-chooser-slave-main.c 2011-05-30 17:35:36.735075632 +020058+++ gdm-3.1.2/daemon/xdmcp-chooser-slave-main.c
59@@ -237,7 +237,7 @@59@@ -237,7 +237,7 @@
60 gdm_signal_handler_add (signal_handler, SIGBUS, signal_cb, NULL);60 gdm_signal_handler_add (signal_handler, SIGBUS, signal_cb, NULL);
61 gdm_signal_handler_add (signal_handler, SIGFPE, signal_cb, NULL);61 gdm_signal_handler_add (signal_handler, SIGFPE, signal_cb, NULL);
6262
=== modified file 'debian/patches/ubuntu_guest_session.patch'
--- debian/patches/ubuntu_guest_session.patch 2011-06-07 13:09:47 +0000
+++ debian/patches/ubuntu_guest_session.patch 2011-10-06 13:19:31 +0000
@@ -7,10 +7,10 @@
7 system) rules around it.7 system) rules around it.
8Bug: https://wiki.ubuntu.com/DesktopTeam/Specs/Intrepid/GuestAccount8Bug: https://wiki.ubuntu.com/DesktopTeam/Specs/Intrepid/GuestAccount
99
10Index: gdm-3.0.4/daemon/gdm-local-display-factory.c10Index: gdm-3.2.0/daemon/gdm-local-display-factory.c
11===================================================================11===================================================================
12--- gdm-3.0.4.orig/daemon/gdm-local-display-factory.c 2011-06-07 15:08:15.000000000 +020012--- gdm-3.2.0.orig/daemon/gdm-local-display-factory.c
13+++ gdm-3.0.4/daemon/gdm-local-display-factory.c 2011-06-07 15:09:05.591897302 +020013+++ gdm-3.2.0/daemon/gdm-local-display-factory.c
14@@ -22,6 +22,8 @@14@@ -22,6 +22,8 @@
15 15
16 #include <stdlib.h>16 #include <stdlib.h>
@@ -20,7 +20,7 @@
20 20
21 #include <glib.h>21 #include <glib.h>
22 #include <glib/gi18n.h>22 #include <glib/gi18n.h>
23@@ -45,6 +47,8 @@23@@ -44,6 +46,8 @@
24 #define GDM_LOCAL_DISPLAY_FACTORY_DBUS_PATH GDM_DBUS_PATH "/LocalDisplayFactory"24 #define GDM_LOCAL_DISPLAY_FACTORY_DBUS_PATH GDM_DBUS_PATH "/LocalDisplayFactory"
25 #define GDM_MANAGER_DBUS_NAME "org.gnome.DisplayManager.LocalDisplayFactory"25 #define GDM_MANAGER_DBUS_NAME "org.gnome.DisplayManager.LocalDisplayFactory"
26 26
@@ -29,7 +29,7 @@
29 #define MAX_DISPLAY_FAILURES 529 #define MAX_DISPLAY_FAILURES 5
30 30
31 struct GdmLocalDisplayFactoryPrivate31 struct GdmLocalDisplayFactoryPrivate
32@@ -343,6 +347,270 @@32@@ -342,6 +346,270 @@
33 return ret;33 return ret;
34 }34 }
35 35
@@ -300,10 +300,10 @@
300 gboolean300 gboolean
301 gdm_local_display_factory_create_product_display (GdmLocalDisplayFactory *factory,301 gdm_local_display_factory_create_product_display (GdmLocalDisplayFactory *factory,
302 const char *parent_display_id,302 const char *parent_display_id,
303Index: gdm-3.0.4/daemon/gdm-local-display-factory.h303Index: gdm-3.2.0/daemon/gdm-local-display-factory.h
304===================================================================304===================================================================
305--- gdm-3.0.4.orig/daemon/gdm-local-display-factory.h 2011-06-07 15:08:15.000000000 +0200305--- gdm-3.2.0.orig/daemon/gdm-local-display-factory.h
306+++ gdm-3.0.4/daemon/gdm-local-display-factory.h 2011-06-07 15:09:05.591897302 +0200306+++ gdm-3.2.0/daemon/gdm-local-display-factory.h
307@@ -69,6 +69,11 @@307@@ -69,6 +69,11 @@
308 char **id,308 char **id,
309 GError **error);309 GError **error);
@@ -316,10 +316,10 @@
316 gboolean gdm_local_display_factory_create_product_display (GdmLocalDisplayFactory *factory,316 gboolean gdm_local_display_factory_create_product_display (GdmLocalDisplayFactory *factory,
317 const char *parent_display_id,317 const char *parent_display_id,
318 const char *relay_address,318 const char *relay_address,
319Index: gdm-3.0.4/daemon/gdm-local-display-factory.xml319Index: gdm-3.2.0/daemon/gdm-local-display-factory.xml
320===================================================================320===================================================================
321--- gdm-3.0.4.orig/daemon/gdm-local-display-factory.xml 2011-06-07 15:08:15.000000000 +0200321--- gdm-3.2.0.orig/daemon/gdm-local-display-factory.xml
322+++ gdm-3.0.4/daemon/gdm-local-display-factory.xml 2011-06-07 15:09:05.591897302 +0200322+++ gdm-3.2.0/daemon/gdm-local-display-factory.xml
323@@ -13,5 +13,9 @@323@@ -13,5 +13,9 @@
324 <arg name="username" direction="in" type="s"/> 324 <arg name="username" direction="in" type="s"/>
325 <arg name="id" direction="out" type="o"/>325 <arg name="id" direction="out" type="o"/>
@@ -330,17 +330,18 @@
330+ </method>330+ </method>
331 </interface>331 </interface>
332 </node>332 </node>
333Index: gdm-3.0.4/data/gdm.conf.in333Index: gdm-3.2.0/data/gdm.conf.in
334===================================================================334===================================================================
335--- gdm-3.0.4.orig/data/gdm.conf.in 2011-06-07 15:08:49.000000000 +0200335--- gdm-3.2.0.orig/data/gdm.conf.in
336+++ gdm-3.0.4/data/gdm.conf.in 2011-06-07 15:09:18.561897308 +0200336+++ gdm-3.2.0/data/gdm.conf.in
337@@ -69,6 +69,9 @@337@@ -71,6 +71,10 @@
338 <allow send_destination="org.gnome.DisplayManager"
339 send_interface="org.gnome.DisplayManager.LocalDisplayFactory"
340 send_member="SwitchToUser"/>338 send_member="SwitchToUser"/>
341+ <allow send_destination="org.gnome.DisplayManager"339
340 <allow send_destination="org.gnome.DisplayManager"
342+ send_interface="org.gnome.DisplayManager.LocalDisplayFactory"341+ send_interface="org.gnome.DisplayManager.LocalDisplayFactory"
343+ send_member="StartGuestSession"/>342+ send_member="StartGuestSession"/>
344 343+
345 <allow send_destination="org.gnome.DisplayManager"344+ <allow send_destination="org.gnome.DisplayManager"
346 send_interface="org.gnome.DisplayManager.Manager"345 send_interface="org.gnome.DisplayManager.Manager"
346 send_member="GetDisplays"/>
347
347348
=== modified file 'debian/patches/ubuntu_i18n_oneiric.patch'
--- debian/patches/ubuntu_i18n_oneiric.patch 2011-08-12 17:20:24 +0000
+++ debian/patches/ubuntu_i18n_oneiric.patch 2011-10-06 13:19:31 +0000
@@ -2,9 +2,10 @@
2Forwarded: not-needed2Forwarded: not-needed
3Author: Gunnar Hjalmarsson <ubuntu@gunnar.cc>3Author: Gunnar Hjalmarsson <ubuntu@gunnar.cc>
44
5diff -Nur -x '*.orig' -x '*~' gdm-3.0.4//data/Xsession.in gdm-3.0.4.new//data/Xsession.in5Index: gdm-3.1.2/data/Xsession.in
6--- gdm-3.0.4//data/Xsession.in 2011-08-09 14:58:58.000000000 +02006===================================================================
7+++ gdm-3.0.4.new//data/Xsession.in 2011-08-09 14:59:12.639636230 +02007--- gdm-3.1.2.orig/data/Xsession.in
8+++ gdm-3.1.2/data/Xsession.in
8@@ -36,6 +36,24 @@9@@ -36,6 +36,24 @@
9 test -f /etc/xprofile && . /etc/xprofile10 test -f /etc/xprofile && . /etc/xprofile
10 test -f "$HOME/.xprofile" && . "$HOME/.xprofile"11 test -f "$HOME/.xprofile" && . "$HOME/.xprofile"
1112
=== modified file 'debian/patches/ubuntu_no_debug.patch'
--- debian/patches/ubuntu_no_debug.patch 2011-06-07 13:13:05 +0000
+++ debian/patches/ubuntu_no_debug.patch 2011-10-06 13:19:31 +0000
@@ -1,9 +1,9 @@
1Description: Turn off debugging by default. Logging to syslog will slow down loading.1Description: Turn off debugging by default. Logging to syslog will slow down loading.
22
3Index: gdm-2.32.0/common/gdm-common.c3Index: gdm-3.1.90/common/gdm-common.c
4===================================================================4===================================================================
5--- gdm-2.32.0.orig/common/gdm-common.c 2010-09-15 20:58:10.000000000 +02005--- gdm-3.1.90.orig/common/gdm-common.c
6+++ gdm-2.32.0/common/gdm-common.c 2010-12-07 15:21:02.907502001 +01006+++ gdm-3.1.90/common/gdm-common.c
7@@ -47,6 +47,7 @@7@@ -47,6 +47,7 @@
8 gboolean8 gboolean
9 gdm_is_version_unstable (void)9 gdm_is_version_unstable (void)
@@ -21,4 +21,4 @@
21+#endif21+#endif
22 }22 }
23 23
24 void24 gboolean
2525
=== modified file 'debian/patches/ubuntu_plymouth.patch'
--- debian/patches/ubuntu_plymouth.patch 2011-07-13 15:34:20 +0000
+++ debian/patches/ubuntu_plymouth.patch 2011-10-06 13:19:31 +0000
@@ -7,9 +7,11 @@
7This combined with starting the X server with -background none7This combined with starting the X server with -background none
8will give us a nice fade transition when g-s-d starts8will give us a nice fade transition when g-s-d starts
9---9---
10--- a/daemon/gdm-simple-slave.c10Index: gdm-3.2.0/daemon/gdm-simple-slave.c
11+++ b/daemon/gdm-simple-slave.c11===================================================================
12@@ -91,6 +91,7 @@12--- gdm-3.2.0.orig/daemon/gdm-simple-slave.c
13+++ gdm-3.2.0/daemon/gdm-simple-slave.c
14@@ -93,6 +93,7 @@
13 #ifdef HAVE_LOGINDEVPERM15 #ifdef HAVE_LOGINDEVPERM
14 gboolean use_logindevperm;16 gboolean use_logindevperm;
15 #endif17 #endif
@@ -17,7 +19,7 @@
17 };19 };
18 20
19 enum {21 enum {
20@@ -1098,6 +1099,91 @@22@@ -1201,6 +1202,91 @@
21 slave->priv->start_session_when_ready = FALSE;23 slave->priv->start_session_when_ready = FALSE;
22 }24 }
23 25
@@ -109,10 +111,10 @@
109 static void111 static void
110 setup_server (GdmSimpleSlave *slave)112 setup_server (GdmSimpleSlave *slave)
111 {113 {
112@@ -1106,6 +1192,19 @@114@@ -1212,6 +1298,20 @@
113 115
114 /* Set the busy cursor */116 /* Set the initial keyboard layout to something reasonable */
115 gdm_slave_set_busy_cursor (GDM_SLAVE (slave));117 gdm_slave_set_initial_keyboard_layout (GDM_SLAVE (slave));
116+118+
117+ /* The root window has a background that may be useful119+ /* The root window has a background that may be useful
118+ * to cross fade or transition from when setting the120+ * to cross fade or transition from when setting the
@@ -126,10 +128,11 @@
126+ if (slave->priv->plymouth_is_running) {128+ if (slave->priv->plymouth_is_running) {
127+ plymouth_quit_with_transition (slave);129+ plymouth_quit_with_transition (slave);
128+ }130+ }
131+
129 }132 }
130 133
131 static void134 static void
132@@ -1305,6 +1404,10 @@135@@ -1415,6 +1515,10 @@
133 g_debug ("GdmSimpleSlave: server exited with code %d\n", exit_code);136 g_debug ("GdmSimpleSlave: server exited with code %d\n", exit_code);
134 137
135 gdm_slave_stopped (GDM_SLAVE (slave));138 gdm_slave_stopped (GDM_SLAVE (slave));
@@ -140,7 +143,7 @@
140 }143 }
141 144
142 static void145 static void
143@@ -1317,6 +1420,10 @@146@@ -1427,6 +1531,10 @@
144 g_strsignal (signal_number));147 g_strsignal (signal_number));
145 148
146 gdm_slave_stopped (GDM_SLAVE (slave));149 gdm_slave_stopped (GDM_SLAVE (slave));
@@ -151,7 +154,7 @@
151 }154 }
152 155
153 static gboolean156 static gboolean
154@@ -1361,7 +1468,21 @@157@@ -1471,7 +1579,21 @@
155 G_CALLBACK (on_server_ready),158 G_CALLBACK (on_server_ready),
156 slave);159 slave);
157 160
@@ -174,7 +177,7 @@
174 if (! res) {177 if (! res) {
175 g_warning (_("Could not start the X "178 g_warning (_("Could not start the X "
176 "server (your graphical environment) "179 "server (your graphical environment) "
177@@ -1371,6 +1492,9 @@180@@ -1481,6 +1603,9 @@
178 "In the meantime this display will be "181 "In the meantime this display will be "
179 "disabled. Please restart GDM when "182 "disabled. Please restart GDM when "
180 "the problem is corrected."));183 "the problem is corrected."));
@@ -184,8 +187,10 @@
184 exit (1);187 exit (1);
185 }188 }
186 189
187--- a/daemon/gdm-slave.c190Index: gdm-3.2.0/daemon/gdm-slave.c
188+++ b/daemon/gdm-slave.c191===================================================================
192--- gdm-3.2.0.orig/daemon/gdm-slave.c
193+++ gdm-3.2.0/daemon/gdm-slave.c
189@@ -43,6 +43,7 @@194@@ -43,6 +43,7 @@
190 #include <dbus/dbus-glib-lowlevel.h>195 #include <dbus/dbus-glib-lowlevel.h>
191 196
@@ -194,7 +199,7 @@
194 #include <X11/cursorfont.h> /* for watch cursor */199 #include <X11/cursorfont.h> /* for watch cursor */
195 #include <X11/extensions/Xrandr.h>200 #include <X11/extensions/Xrandr.h>
196 #include <X11/Xatom.h>201 #include <X11/Xatom.h>
197@@ -434,6 +435,77 @@202@@ -483,6 +484,77 @@
198 }203 }
199 }204 }
200 205
@@ -272,9 +277,11 @@
272 void277 void
273 gdm_slave_set_busy_cursor (GdmSlave *slave)278 gdm_slave_set_busy_cursor (GdmSlave *slave)
274 {279 {
275--- a/daemon/gdm-slave.h280Index: gdm-3.2.0/daemon/gdm-slave.h
276+++ b/daemon/gdm-slave.h281===================================================================
277@@ -77,6 +77,7 @@282--- gdm-3.2.0.orig/daemon/gdm-slave.h
283+++ gdm-3.2.0/daemon/gdm-slave.h
284@@ -78,6 +78,7 @@
278 void gdm_slave_set_initial_cursor_position (GdmSlave *slave);285 void gdm_slave_set_initial_cursor_position (GdmSlave *slave);
279 286
280 void gdm_slave_set_busy_cursor (GdmSlave *slave);287 void gdm_slave_set_busy_cursor (GdmSlave *slave);
@@ -282,8 +289,10 @@
282 gboolean gdm_slave_run_script (GdmSlave *slave,289 gboolean gdm_slave_run_script (GdmSlave *slave,
283 const char *dir,290 const char *dir,
284 const char *username);291 const char *username);
285--- a/daemon/gdm-server.c292Index: gdm-3.2.0/daemon/gdm-server.c
286+++ b/daemon/gdm-server.c293===================================================================
294--- gdm-3.2.0.orig/daemon/gdm-server.c
295+++ gdm-3.2.0/daemon/gdm-server.c
287@@ -34,6 +34,9 @@296@@ -34,6 +34,9 @@
288 #include <signal.h>297 #include <signal.h>
289 #include <sys/resource.h>298 #include <sys/resource.h>
@@ -361,8 +370,10 @@
361 370
362 static void371 static void
363 server_died (GdmServer *server)372 server_died (GdmServer *server)
364--- a/daemon/gdm-server.h373Index: gdm-3.2.0/daemon/gdm-server.h
365+++ b/daemon/gdm-server.h374===================================================================
375--- gdm-3.2.0.orig/daemon/gdm-server.h
376+++ gdm-3.2.0/daemon/gdm-server.h
366@@ -56,6 +56,7 @@377@@ -56,6 +56,7 @@
367 GdmServer * gdm_server_new (const char *display_id,378 GdmServer * gdm_server_new (const char *display_id,
368 const char *auth_file);379 const char *auth_file);
369380
=== modified file 'debian/patches/ubuntu_run_xsession.d.patch'
--- debian/patches/ubuntu_run_xsession.d.patch 2011-06-07 13:00:08 +0000
+++ debian/patches/ubuntu_run_xsession.d.patch 2011-10-06 13:19:31 +0000
@@ -2,10 +2,10 @@
2Author: Martin Pitt <martin.pitt@ubuntu.com>2Author: Martin Pitt <martin.pitt@ubuntu.com>
3Origin: Ubuntu; /etc/X11/Xsession.d is a Debianism/Ubuntuism3Origin: Ubuntu; /etc/X11/Xsession.d is a Debianism/Ubuntuism
44
5Index: gdm-3.0.0/data/Xsession.in5Index: gdm-3.1.2/data/Xsession.in
6===================================================================6===================================================================
7--- gdm-3.0.0.orig/data/Xsession.in 2010-10-01 13:54:28.000000000 +02007--- gdm-3.1.2.orig/data/Xsession.in
8+++ gdm-3.0.0/data/Xsession.in 2011-05-30 17:35:35.811075631 +02008+++ gdm-3.1.2/data/Xsession.in
9@@ -162,6 +162,19 @@9@@ -162,6 +162,19 @@
10 done10 done
11 fi11 fi
1212
=== modified file 'debian/patches/ubuntu_upstart_event.patch'
--- debian/patches/ubuntu_upstart_event.patch 2011-06-07 13:04:47 +0000
+++ debian/patches/ubuntu_upstart_event.patch 2011-10-06 13:19:31 +0000
@@ -1,9 +1,9 @@
1Description: Emit Upstart events when starting the login session and desktop session1Description: Emit Upstart events when starting the login session and desktop session
22
3Index: gdm-3.0.0/data/Init.in3Index: gdm-3.1.2/data/Init.in
4===================================================================4===================================================================
5--- gdm-3.0.0.orig/data/Init.in 2010-10-01 13:54:28.000000000 +02005--- gdm-3.1.2.orig/data/Init.in
6+++ gdm-3.0.0/data/Init.in 2011-05-30 17:35:40.919075634 +02006+++ gdm-3.1.2/data/Init.in
7@@ -6,6 +6,8 @@7@@ -6,6 +6,8 @@
8 PATH="@X_PATH@:$PATH"8 PATH="@X_PATH@:$PATH"
9 OLD_IFS=$IFS9 OLD_IFS=$IFS
@@ -13,10 +13,10 @@
13 gdmwhich () {13 gdmwhich () {
14 COMMAND="$1"14 COMMAND="$1"
15 OUTPUT=15 OUTPUT=
16Index: gdm-3.0.0/data/PreSession.in16Index: gdm-3.1.2/data/PreSession.in
17===================================================================17===================================================================
18--- gdm-3.0.0.orig/data/PreSession.in 2010-10-01 13:54:28.000000000 +020018--- gdm-3.1.2.orig/data/PreSession.in
19+++ gdm-3.0.0/data/PreSession.in 2011-05-30 17:35:40.919075634 +020019+++ gdm-3.1.2/data/PreSession.in
20@@ -7,3 +7,5 @@20@@ -7,3 +7,5 @@
21 # Note that output goes into the .xsession-errors file for easy debugging21 # Note that output goes into the .xsession-errors file for easy debugging
22 #22 #
2323
=== modified file 'debian/patches/ubuntu_xresources_is_a_dir.patch'
--- debian/patches/ubuntu_xresources_is_a_dir.patch 2011-07-13 15:33:24 +0000
+++ debian/patches/ubuntu_xresources_is_a_dir.patch 2011-10-06 13:19:31 +0000
@@ -1,8 +1,10 @@
1Description: Properly loads files from Debian/Ubuntu /etc/X11/Xresources/ dir1Description: Properly loads files from Debian/Ubuntu /etc/X11/Xresources/ dir
2From: Loïc Minier <loic.minier@ubuntu.com>2From: Loïc Minier <loic.minier@ubuntu.com>
3Date: Wed, 13 Jul 2011 17:32:31 +02003Date: Wed, 13 Jul 2011 17:32:31 +0200
4--- a/data/Xsession.in4Index: gdm-3.1.2/data/Xsession.in
5+++ b/data/Xsession.in5===================================================================
6--- gdm-3.1.2.orig/data/Xsession.in
7+++ gdm-3.1.2/data/Xsession.in
6@@ -99,6 +99,13 @@8@@ -99,6 +99,13 @@
7 9
8 if [ -f "$sysresources" ]; then10 if [ -f "$sysresources" ]; then
911
=== modified file 'debian/rules'
--- debian/rules 2011-07-14 05:26:11 +0000
+++ debian/rules 2011-10-06 13:19:31 +0000
@@ -18,7 +18,7 @@
1818
19DEB_CONFIGURE_EXTRA_FLAGS += --disable-scrollkeeper \19DEB_CONFIGURE_EXTRA_FLAGS += --disable-scrollkeeper \
20 --enable-ipv6=yes \20 --enable-ipv6=yes \
21 --with-at-spi-registryd-directory=/usr/lib/at-spi \21 --with-at-spi-registryd-directory=/usr/lib/at-spi2-core \
22 --with-default-path=/usr/local/bin:/usr/bin:/bin:/usr/games \22 --with-default-path=/usr/local/bin:/usr/bin:/bin:/usr/games \
23 --with-lang-file=/etc/default/locale \23 --with-lang-file=/etc/default/locale \
24 --with-incomplete-locales24 --with-incomplete-locales
@@ -33,16 +33,15 @@
3333
34binary-post-install/gdm::34binary-post-install/gdm::
35 install -m644 debian/gdm-autologin.pam debian/gdm/etc/pam.d/gdm-autologin35 install -m644 debian/gdm-autologin.pam debian/gdm/etc/pam.d/gdm-autologin
36 install -m644 debian/gdm-welcome.pam debian/gdm/etc/pam.d/gdm-welcome
36 install -m644 debian/gdm.pam debian/gdm/etc/pam.d/gdm37 install -m644 debian/gdm.pam debian/gdm/etc/pam.d/gdm
37 install -D -m644 debian/xterm.desktop debian/gdm/usr/share/xsessions/xterm.desktop38 install -D -m644 debian/xterm.desktop debian/gdm/usr/share/xsessions/xterm.desktop
38 install -D -m644 debian/xsession.desktop debian/gdm/usr/share/xsessions/xsession.desktop39 install -D -m644 debian/xsession.desktop debian/gdm/usr/share/xsessions/xsession.desktop
39 rm -r debian/gdm/var/gdm debian/gdm/var/run
40 # move custom.conf to the examples40 # move custom.conf to the examples
41 mkdir -p debian/gdm/usr/share/doc/gdm/examples41 mkdir -p debian/gdm/usr/share/doc/gdm/examples
42 mv debian/gdm/etc/gdm/custom.conf debian/gdm/usr/share/doc/gdm/examples42 mv debian/gdm/etc/gdm/custom.conf debian/gdm/usr/share/doc/gdm/examples
43 # we install onboard (debian/onboard.desktop), and do not have gok43 # we install onboard (debian/onboard.desktop), and do not have gok
44 install -m 644 debian/onboard.desktop debian/gdm/usr/share/gdm/autostart/LoginWindow/44 #install -m 644 debian/onboard.desktop debian/gdm/usr/share/gdm/autostart/LoginWindow/
45 rm debian/gdm/usr/share/gdm/autostart/LoginWindow/gok.desktop45 #rm debian/gdm/usr/share/gdm/autostart/LoginWindow/gok.desktop
46 # we do not currently need a PK agent in the gdm session46 # we do not currently need a PK agent in the gdm session
47 rm debian/gdm/usr/share/gdm/autostart/LoginWindow/polkit-gnome-authentication-agent-1.desktop47 #rm debian/gdm/usr/share/gdm/autostart/LoginWindow/polkit-gnome-authentication-agent-1.desktop
48

Subscribers

People subscribed via source and target branches