Merge lp:~diwic/gnome-settings-daemon/what-did-you-plug-in into lp:gnome-settings-daemon
- what-did-you-plug-in
- Merge into master
Status: | Superseded |
---|---|
Proposed branch: | lp:~diwic/gnome-settings-daemon/what-did-you-plug-in |
Merge into: | lp:gnome-settings-daemon |
Diff against target: |
10104 lines (+9831/-0) 54 files modified
.bzr-builddeb/default.conf (+2/-0) debian/changelog (+1930/-0) debian/compat (+1/-0) debian/control (+100/-0) debian/control.in (+96/-0) debian/copyright (+72/-0) debian/gnome-settings-daemon-dev.install (+2/-0) debian/gnome-settings-daemon.1 (+39/-0) debian/gnome-settings-daemon.gsettings-override (+3/-0) debian/gnome-settings-daemon.install (+11/-0) debian/gnome-settings-daemon.links (+1/-0) debian/gnome-settings-daemon.maintscript (+7/-0) debian/gnome-settings-daemon.manpages (+1/-0) debian/gnome-settings-daemon.postinst (+21/-0) debian/gnome-settings-daemon.user-session.desktop (+5/-0) debian/gnome-settings-daemon.user-session.upstart (+8/-0) debian/gnome-update-wallpaper-cache.c (+70/-0) debian/patches/05_disable_corner_tapping.patch (+19/-0) debian/patches/16_use_synchronous_notifications.patch (+427/-0) debian/patches/43_disable_locale_settings.patch (+25/-0) debian/patches/45_suppress-printer-may-not-be-connected-notification.patch (+32/-0) debian/patches/48_register_client_before_idle_callbacks.patch (+116/-0) debian/patches/52_sync_background_to_accountsservice.patch (+112/-0) debian/patches/53_sync_input_sources_to_accountsservice.patch (+111/-0) debian/patches/61_revert_libgnomekbd_drop (+1064/-0) debian/patches/62_unity_disable_gsd_printer.patch (+33/-0) debian/patches/63_gnome_disable_background_plugin.patch (+24/-0) debian/patches/64_restore_terminal_keyboard_shortcut_schema.patch (+73/-0) debian/patches/90_set_gmenus_xsettings.patch (+134/-0) debian/patches/correct_logout_action.patch (+29/-0) debian/patches/disable_three_touch_tap.patch (+17/-0) debian/patches/fix_broken_user_sounds_permissions.patch (+39/-0) debian/patches/fix_input_switching_on_unity.patch (+155/-0) debian/patches/fix_media_keys_on_unity.patch (+518/-0) debian/patches/fix_screenshots_on_unity.patch (+58/-0) debian/patches/git_keybindings_add_screen_reader_toggle.patch (+26/-0) debian/patches/git_revert_gsd-keygrab.patch (+84/-0) debian/patches/git_revert_remove_automount_helper.patch (+1867/-0) debian/patches/git_touchpad_scrolling.patch (+56/-0) debian/patches/git_xsettings_segfaults.patch (+37/-0) debian/patches/migrate_metacity_keys.patch (+15/-0) debian/patches/nexus-orientation.patch (+130/-0) debian/patches/revert_background_dropping.patch (+835/-0) debian/patches/series (+31/-0) debian/patches/touchscreen_rotation.patch (+114/-0) debian/patches/ubuntu-fix-desktop-file.patch (+24/-0) debian/patches/ubuntu-lid-close-suspend.patch (+153/-0) debian/patches/ubuntu-lid-open-reset-ideletime.patch (+21/-0) debian/patches/unity-modifier-media-keys.patch (+393/-0) debian/patches/what-did-you-plug-in.patch (+639/-0) debian/rules (+31/-0) debian/source/format (+1/-0) debian/source_gnome-settings-daemon.py (+16/-0) debian/watch (+3/-0) |
To merge this branch: | bzr merge lp:~diwic/gnome-settings-daemon/what-did-you-plug-in |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sebastien Bacher | Pending | ||
Review via email: mp+204680@code.launchpad.net |
This proposal has been superseded by a proposal from 2014-02-06.
Commit message
Description of the change
Hi,
Here comes the implementation of the "what did you plug in"-dialog for 14.04. While I'd like some more real-world testing before the actual merge happens (I can see to that), in parallel it would be good with some code focused review so I don't spend time polishing things if there's something with the design that you think is bad.
David Henningsson (diwic) wrote : | # |
Sebastien Bacher (seb128) wrote : | # |
@David: can you resubmit it (top right corner of the launchpad page) and change the target vcs to lp:~ubuntu-desktop/gnome-settings-daemon/ubuntu?
Unmerged revisions
- 454. By David Henningsson
-
i18n + cleanup
- 453. By David Henningsson
-
Fix icons
- 452. By David Henningsson
-
and now for some actions...
- 451. By David Henningsson
-
Some more work, still unfinished
- 450. By David Henningsson
-
WIP, this is just to get the thing to compile
- 449. By Sebastien Bacher
-
releasing package gnome-settings-
daemon version 3.8.6.1-0ubuntu2 - 448. By Sebastien Bacher
-
* debian/
patches/ git_xsettings_ segfaults. patch:
- "unwatch dbus before destroying xsettings managers" (lp: #1232419) - 447. By Sebastien Bacher
-
releasing package gnome-settings-
daemon version 3.8.6.1-0ubuntu1 - 446. By Sebastien Bacher
-
* New upstream version
* debian/patches/ git_thumbnail_ cleaning_ use_less_ ios.patch,
git_keyboard-Don-t-set- the-XKB- group-switching -option. patch:
- dropped, the changes are in the new version - 445. By Iain Lane
-
releasing package gnome-settings-
daemon version 3.8.5-0ubuntu12
Preview Diff
1 | === added directory '.bzr-builddeb' |
2 | === added file '.bzr-builddeb/default.conf' |
3 | --- .bzr-builddeb/default.conf 1970-01-01 00:00:00 +0000 |
4 | +++ .bzr-builddeb/default.conf 2014-02-04 13:40:10 +0000 |
5 | @@ -0,0 +1,2 @@ |
6 | +[BUILDDEB] |
7 | +merge = True |
8 | |
9 | === added directory 'debian' |
10 | === added file 'debian/changelog' |
11 | --- debian/changelog 1970-01-01 00:00:00 +0000 |
12 | +++ debian/changelog 2014-02-04 13:40:10 +0000 |
13 | @@ -0,0 +1,1930 @@ |
14 | +gnome-settings-daemon (3.8.6.1-0ubuntu3) UNRELEASED; urgency=medium |
15 | + |
16 | + * What-did-you-plug-in dialog |
17 | + |
18 | + -- David Henningsson <david.henningsson@canonical.com> Wed, 08 Jan 2014 14:10:30 +0100 |
19 | + |
20 | +gnome-settings-daemon (3.8.6.1-0ubuntu2) trusty; urgency=low |
21 | + |
22 | + * debian/patches/git_xsettings_segfaults.patch: |
23 | + - "unwatch dbus before destroying xsettings managers" (lp: #1232419) |
24 | + |
25 | + -- Sebastien Bacher <seb128@ubuntu.com> Tue, 12 Nov 2013 20:32:18 +0100 |
26 | + |
27 | +gnome-settings-daemon (3.8.6.1-0ubuntu1) trusty; urgency=low |
28 | + |
29 | + * New upstream version |
30 | + * debian/patches/git_thumbnail_cleaning_use_less_ios.patch, |
31 | + git_keyboard-Don-t-set-the-XKB-group-switching-option.patch: |
32 | + - dropped, the changes are in the new version |
33 | + |
34 | + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 06 Nov 2013 11:23:01 +0100 |
35 | + |
36 | +gnome-settings-daemon (3.8.5-0ubuntu12) trusty; urgency=low |
37 | + |
38 | + * debian/patches/fix_media_keys_on_unity.patch: Another reworking. Try to |
39 | + start the legacy keygrabber all the time. Only don't if we're running |
40 | + shell. Should fix keygrabber in environments without panel or Unity. |
41 | + |
42 | + -- Iain Lane <iain.lane@canonical.com> Tue, 29 Oct 2013 17:03:35 +0000 |
43 | + |
44 | +gnome-settings-daemon (3.8.5-0ubuntu11.1) saucy; urgency=low |
45 | + |
46 | + * debian/patches/git_keyboard-Don-t-set-the-XKB-group-switching-option.patch: |
47 | + - If the user has the grp xkb option enabled, pressing the specified key |
48 | + might result in a Next Group keysym instead of the normal one. g-s-d |
49 | + doesn't use the option, and prevents it from being used with the patch. |
50 | + * debian/patches/unity-modifier-media-keys.patch: |
51 | + - Caps lock, next group, double modifier workarounds (lp: #1218322) |
52 | + |
53 | + -- William Hua <william.hua@canonical.com> Thu, 24 Oct 2013 10:46:19 -0400 |
54 | + |
55 | +gnome-settings-daemon (3.8.5-0ubuntu11) saucy; urgency=low |
56 | + |
57 | + * debian/patches/ubuntu-lid-open-reset-ideletime.patch: |
58 | + change idle-timeout-reset key sequence from Alt to Shift (lp: #1227920) |
59 | + |
60 | + -- Stephen M. Webb <stephen.webb@canonical.com> Tue, 22 Oct 2013 21:46:42 -0400 |
61 | + |
62 | +gnome-settings-daemon (3.8.5-0ubuntu10) saucy; urgency=low |
63 | + |
64 | + * debian/patches/unity-modifier-media-keys.patch: |
65 | + - Support modifier-only keyboard shortcuts (lp: #1218322) |
66 | + |
67 | + -- William Hua <william.hua@canonical.com> Wed, 16 Oct 2013 16:58:35 -0400 |
68 | + |
69 | +gnome-settings-daemon (3.8.5-0ubuntu9) saucy; urgency=low |
70 | + |
71 | + * debian/patches/git_touchpad_scrolling.patch: let enable edge scrolling, |
72 | + on touchpads that don't support 2 fingers scrolling (lp: #1221367) |
73 | + |
74 | + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 16 Oct 2013 16:57:37 +0200 |
75 | + |
76 | +gnome-settings-daemon (3.8.5-0ubuntu8) saucy; urgency=low |
77 | + |
78 | + * debian/patches/fix_media_keys_on_unity.patch: Don't rely on |
79 | + org.gnome.ScreenSaver as this might not be available (it's only a |
80 | + recommends of ubuntu-desktop). Use the names owned by (critical components |
81 | + of) the DEs themselves instead. (LP: #1237564) |
82 | + |
83 | + -- Iain Lane <iain.lane@canonical.com> Wed, 16 Oct 2013 09:39:12 +0100 |
84 | + |
85 | +gnome-settings-daemon (3.8.5-0ubuntu7) saucy; urgency=low |
86 | + |
87 | + [ Ikuya Awashiro ] |
88 | + * debian/patches/series: |
89 | + - removed git_revert_hardcoded_input_methods.patch. |
90 | + - Hard coded input methods required for some language. (lp: #1230265) |
91 | + |
92 | + [ Tim ] |
93 | + * debian/patches/fix_media_keys_on_unity.patch: Revise patch to load |
94 | + legacy keygrabber for all non-gnome-shell sessions (LP: #1235625) |
95 | + |
96 | + [ Iain Lane ] |
97 | + * Rename on_unity_appeared in the above patch. |
98 | + |
99 | + -- Iain Lane <iain.lane@canonical.com> Mon, 07 Oct 2013 17:06:51 +0100 |
100 | + |
101 | +gnome-settings-daemon (3.8.5-0ubuntu6) saucy; urgency=low |
102 | + |
103 | + * debian/patches/git_thumbnail_cleaning_use_less_ios.patch: |
104 | + - Optimise for "do nothing" when cleaning thumbnails (lp: #505085) |
105 | + |
106 | + -- Sebastien Bacher <seb128@ubuntu.com> Fri, 04 Oct 2013 18:21:45 +0200 |
107 | + |
108 | +gnome-settings-daemon (3.8.5-0ubuntu5) saucy; urgency=low |
109 | + |
110 | + * debian/patches/git_hardcode_deprecated_gtk_settings.patch: |
111 | + - revert previous change, it's buggy (lp: #1228886). GNOME/GTK upstream |
112 | + decided to drop support for some of their settings in 3.10, but: |
113 | + - those settings are still there and working in saucy |
114 | + - they shouldn't have been dropped without discussion |
115 | + - the fix is to workaround issues with a ppa, which can be solved by |
116 | + simply adding those gsettings key to the schemas in the ppa version |
117 | + |
118 | + -- Sebastien Bacher <seb128@ubuntu.com> Fri, 27 Sep 2013 16:46:04 +0200 |
119 | + |
120 | +gnome-settings-daemon (3.8.5-0ubuntu4) saucy; urgency=low |
121 | + |
122 | + * debian/patches/git_hardcode_deprecated_gtk_settings.patch: git patch |
123 | + to make things work with gsettings schemas 3.10 (LP: #1227537) |
124 | + |
125 | + -- Tim Lunn <tim@feathertop.org> Thu, 19 Sep 2013 19:20:34 +1000 |
126 | + |
127 | +gnome-settings-daemon (3.8.5-0ubuntu3) saucy; urgency=low |
128 | + |
129 | + * debian/patches/53_sync_input_sources_to_accountsservice.patch: |
130 | + - Fix type mismatch between g-s-d and accountsservice (LP: #1225785) |
131 | + |
132 | + -- William Hua <william.hua@canonical.com> Sun, 15 Sep 2013 18:02:02 -0400 |
133 | + |
134 | +gnome-settings-daemon (3.8.5-0ubuntu2) saucy; urgency=low |
135 | + |
136 | + * debian/patches/ubuntu-lid-close-suspend.patch: |
137 | + - Updated to make sure we lock the screen when closing lid without |
138 | + suspend action (LP: #1223070) |
139 | + |
140 | + -- Tim Lunn <tim@feathertop.org> Tue, 10 Sep 2013 09:28:14 +1000 |
141 | + |
142 | +gnome-settings-daemon (3.8.5-0ubuntu1) saucy; urgency=low |
143 | + |
144 | + [ Tim Lunn ] |
145 | + * Refreshed patches |
146 | + * debian/patches: |
147 | + - fix_media_keys_on_unity.patch: |
148 | + Use legacy media keys keygrabber when running Unity |
149 | + - git_revert_remove_automount_helper.patch: bring back the automount |
150 | + helper, revert upstream commit and port to dbus session tracking. |
151 | + - fix_screenshots_on_unity.patch: bring back support for screenshots |
152 | + via gnome-screenshot when using unity. |
153 | + - ubuntu-lid-close-suspend.patch: |
154 | + Reimplement support for setting lid close suspend actions |
155 | + - ubuntu-fix-desktop-file.patch: Autostart in Unity too |
156 | + - fix_input_switching_on_unity.patch: Bring back support for input |
157 | + switching under Unity |
158 | + - 63_gnome_disable_background_plugin.patch: Disable loading |
159 | + of background plugin for GNOME session (LP: #1219148) |
160 | + |
161 | + * Dropped obsolete patches: |
162 | + - power-check-null-devices.patch, Dropped: Applied in new version |
163 | + - 51_lock_screen_on_suspend.patch, Superseded by handling this key |
164 | + in gnome-screensaver. With that, g-screensaver mirrors what's |
165 | + done in g-shell, and avoids patching settings-daemon. |
166 | + * gnome-settings-daemon.gsettings-override: |
167 | + - Update switch input source keys for 3.8 |
168 | + |
169 | + [ Jeremy Bicha ] |
170 | + * New upstream release (LP: #1219486) |
171 | + - Two-finger scrolling enabled by default (LP: #1217166) |
172 | + - But use edge scrolling if two-finger scrolling isn't |
173 | + available (LP: #1221367) |
174 | + - Fix Super+Space switch-input-source shortcut in Unity (LP: #1201679) |
175 | + * debian/control.in: |
176 | + - Bump minimum glib, gsettings-desktop-schemas, gnome-desktop3, gtk, |
177 | + libpulse, and libwacom |
178 | + - Build-depend on librsvg2-dev |
179 | + - This update needs changes to gnome-control-center so break older |
180 | + versions |
181 | + * Refreshed patches |
182 | + * revert_background_dropping.patch: |
183 | + - Don't drop the background plugin yet, GNOME Fallback & Unity |
184 | + still need it (when Nautilus isn't handling the desktop) |
185 | + * Dropped obsolete patches: |
186 | + - bugzilla_segfault_dpms.patch: Applied in new version |
187 | + - 47_delay_pa_connect_to_idle.patch: Applied in new version |
188 | + - power-no-fallback-notifications.patch: Applied in new version |
189 | + - 60_unity_hide_status_icon.patch |
190 | + - 61_unity_use_application_indicator.patch |
191 | + - 63_unity_start_mounter.patch |
192 | + - logind_support.patch |
193 | + - and patches backported from 3.8 |
194 | + * Disabled patch that need to be rewritten or dropped: |
195 | + - 48_register_client_before_idle_callbacks.patch |
196 | + * debian/patches/touchscreen_rotation.patch: |
197 | + - Updated with latest version from bugzilla |
198 | + * debian/patches/git_revert_hardcoded_input_methods.patch: |
199 | + - Add patch from git (and also applied in Fedora 19) to not hardcode |
200 | + input methods based on the current locale |
201 | + |
202 | + [ Rico Tzschichholz ] |
203 | + * debian/patches: |
204 | + - 16_use_synchronous_notifications.patch: Refreshed |
205 | + |
206 | + -- Jeremy Bicha <jbicha@ubuntu.com> Mon, 09 Sep 2013 10:21:09 -0400 |
207 | + |
208 | +gnome-settings-daemon (3.6.4-0ubuntu19) saucy; urgency=low |
209 | + |
210 | + * Install the ibus dbus service (LP: #1194138) |
211 | + |
212 | + -- Jeremy Bicha <jbicha@ubuntu.com> Thu, 29 Aug 2013 11:14:56 -0400 |
213 | + |
214 | +gnome-settings-daemon (3.6.4-0ubuntu18) saucy; urgency=low |
215 | + |
216 | + * debian/patches/sync_input_sources_to_accountsservice.patch: |
217 | + - Update user's accountsservice input sources whenever they change. |
218 | + |
219 | + [ Aron Xu ] |
220 | + * debian/control.in: |
221 | + - Move ibus from Depends to Recommends (lp: #1218342). |
222 | + |
223 | + -- William Hua <william.hua@canonical.com> Thu, 29 Aug 2013 16:10:41 +0200 |
224 | + |
225 | +gnome-settings-daemon (3.6.4-0ubuntu17) saucy; urgency=low |
226 | + |
227 | + * debian/patches/git_keybindings_add_screen_reader_toggle.patch: |
228 | + - Add keyboard shortcut to enable/disable the screen reader. |
229 | + |
230 | + -- Luke Yelavich <themuso@ubuntu.com> Fri, 23 Aug 2013 16:08:29 +1000 |
231 | + |
232 | +gnome-settings-daemon (3.6.4-0ubuntu16) saucy; urgency=low |
233 | + |
234 | + [ William Hua ] |
235 | + * debian/control.in: |
236 | + - Depend on IBus 1.5.0. |
237 | + * debian/patches/revert_new_ibus_use.patch: |
238 | + - Drop upstream revert. |
239 | + * debian/patches/ibus-ubuntu-session.patch: |
240 | + - Check for Ubuntu session too |
241 | + * debian/patches/git_keyboard_Adapt_to_gnome_xkb_info_API_change.patch: |
242 | + * debian/patches/git_keyboard_Adapt_to_gnome_xkb_info_API_change_2.patch: |
243 | + - Take upstream's 8174dcd701de399ff28a19efbe9744744b802ce8 and |
244 | + 55fee0c57563b95deddc4396eec87ab6bee35d34 and so we can work with |
245 | + gnome-desktop 3.8. |
246 | + |
247 | + [ Jeremy Bicha ] |
248 | + * debian/gnome-settings-daemon.gsettings-override: |
249 | + - Set switch-input-source keyboard shortcut to Super+Space to match ibus, |
250 | + GNOME 3.8 and Windows 8 default |
251 | + |
252 | + -- Jeremy Bicha <jbicha@ubuntu.com> Wed, 21 Aug 2013 11:22:42 -0400 |
253 | + |
254 | +gnome-settings-daemon (3.6.4-0ubuntu15) saucy; urgency=low |
255 | + |
256 | + * debian/patches/0001-Fix-media-keys-handling-with-GTK-3.7.8.patch: Fix |
257 | + media-keys handling with GTK 3.8 and XI 2.3. |
258 | + |
259 | + -- Iain Lane <iain.lane@canonical.com> Thu, 27 Jun 2013 10:34:06 +0100 |
260 | + |
261 | +gnome-settings-daemon (3.6.4-0ubuntu14) saucy; urgency=low |
262 | + |
263 | + * Actually, gnome-session will still be used with Unity 7; remove the |
264 | + unnecessary 'starting unity' condition from the user session job. |
265 | + |
266 | + -- Iain Lane <iain.lane@canonical.com> Sat, 22 Jun 2013 00:50:35 +0100 |
267 | + |
268 | +gnome-settings-daemon (3.6.4-0ubuntu13) saucy; urgency=low |
269 | + |
270 | + [ Iain Lane ] |
271 | + * Start gsd via user session if starting 'unity' too. This is in preparation |
272 | + for starting unity directly. |
273 | + |
274 | + [ Martin Pitt ] |
275 | + * Add logind_support.patch: Inhibit logind's lid handling while g-s-d is |
276 | + running, as in g-s-d 3.6 the power plugin is handling the lid by itself |
277 | + still. This can be dropped when moving to 3.8. (LP: #1180513) |
278 | + |
279 | + -- Martin Pitt <martin.pitt@ubuntu.com> Tue, 18 Jun 2013 16:42:10 +0200 |
280 | + |
281 | +gnome-settings-daemon (3.6.4-0ubuntu12) saucy; urgency=low |
282 | + |
283 | + * Rebuild for gnome-desktop 3.8 transition (LP: 1184812) |
284 | + - debian/patches/git_xrandr_dont_include_labeller_widget.patch |
285 | + |
286 | + -- Tim Lunn <tim@feathertop.org> Tue, 28 May 2013 10:04:36 +1000 |
287 | + |
288 | +gnome-settings-daemon (3.6.4-0ubuntu11) saucy; urgency=low |
289 | + |
290 | + * debian/patches/git_sound_not_polling.patch: Create directory with correct |
291 | + permissions |
292 | + * debian/patches/fix_broken_user_sounds_permissions.patch: Fix broken |
293 | + permissions from previous upload if necessary. |
294 | + |
295 | + -- Iain Lane <iain.lane@canonical.com> Fri, 17 May 2013 12:26:49 +0100 |
296 | + |
297 | +gnome-settings-daemon (3.6.4-0ubuntu10) saucy; urgency=low |
298 | + |
299 | + [ Martin Pitt ] |
300 | + * Drop 51_lock_screen_on_suspend.patch: Superseded by handling this key in |
301 | + gnome-screensaver. With that, g-screensaver mirrors what's being done in |
302 | + g-shell, and avoids patching settings-daemon. |
303 | + |
304 | + [ Sebastien Bacher ] |
305 | + * debian/patches/git_housekeeping_ignore_list.patch: |
306 | + - correctly handle ignore list for disk space notifications (lp: #881376) |
307 | + * debian/patches/git_glib_get_xdg_dirs.patch: |
308 | + - use glib to get xdg dirs (rather than reading the environment) |
309 | + * debian/patches/git_sound_not_polling.patch: |
310 | + - don't poll on non existant directories |
311 | + |
312 | + -- Sebastien Bacher <seb128@ubuntu.com> Mon, 13 May 2013 15:28:42 +0200 |
313 | + |
314 | +gnome-settings-daemon (3.6.4-0ubuntu9) saucy; urgency=low |
315 | + |
316 | + [ Sebastien Bacher ] |
317 | + * debian/patches/revert_new_ibus_use.patch: |
318 | + - list gsd-keyboard-xkb.c for translation |
319 | + |
320 | + [ Martin Pitt ] |
321 | + * Switch to logind for session tracking. |
322 | + |
323 | + -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 29 Apr 2013 10:13:43 -0700 |
324 | + |
325 | +gnome-settings-daemon (3.6.4-0ubuntu8) raring; urgency=low |
326 | + |
327 | + * debian/control.in: |
328 | + - Breaks on g-c-c and indicator-datetime versions using the old interface |
329 | + - recommends systemd-service (lp: #1153567) |
330 | + * debian/gnome-settings-daemon.install: |
331 | + - updated for the patch being dropped |
332 | + * debian/gnome-settings-daemon.main: |
333 | + - clean org.gnome.SettingsDaemon.DateTimeMechanism.conf conffile |
334 | + * debian/patches/revert_git_datetime_dropping.patch: |
335 | + - drop the upstream's revert |
336 | + |
337 | + -- Sebastien Bacher <seb128@ubuntu.com> Tue, 26 Mar 2013 21:20:26 +0100 |
338 | + |
339 | +gnome-settings-daemon (3.6.4-0ubuntu7) raring; urgency=low |
340 | + |
341 | + * Add upstart user session job for gnome-settings-daemon. |
342 | + |
343 | + -- Stéphane Graber <stgraber@ubuntu.com> Tue, 12 Mar 2013 15:06:05 -0400 |
344 | + |
345 | +gnome-settings-daemon (3.6.4-0ubuntu6) raring; urgency=low |
346 | + |
347 | + * debian/patches/nexus_orientation.patch: Fix memory leak when building |
348 | + pathnames, thanks Jean-Baptiste Lallement! (LP: #1123930) |
349 | + |
350 | + -- Jani Monoses <jani.monoses@canonical.com> Wed, 13 Feb 2013 13:25:19 +0200 |
351 | + |
352 | +gnome-settings-daemon (3.6.4-0ubuntu5) raring; urgency=low |
353 | + |
354 | + * debian/patches/nexus_orientation.patch: Wait until a DBus connection to |
355 | + the xrandr module is in place before trying to change orientation. |
356 | + |
357 | + -- Jani Monoses <jani.monoses@canonical.com> Tue, 12 Feb 2013 00:07:12 +0200 |
358 | + |
359 | +gnome-settings-daemon (3.6.4-0ubuntu4) raring; urgency=low |
360 | + |
361 | + * debian/patches/nexus_orientation.patch: Correctly set up portrait |
362 | + orientation on first run. Disable the timer that polls the accelerometer |
363 | + on the Nexus 7 if the orientation-lock gsetting is set. |
364 | + |
365 | + -- Jani Monoses <jani.monoses@canonical.com> Mon, 11 Feb 2013 13:14:46 +0200 |
366 | + |
367 | +gnome-settings-daemon (3.6.4-0ubuntu3) raring; urgency=low |
368 | + |
369 | + * debian/patches/nexus_orientation.patch: Set up a timer to poll |
370 | + sysfs attributes when an MPU6050 sensor is detected and calculate |
371 | + screen orientation based on these raw accelerometer readings. |
372 | + The kernel driver for this sensor used on the Nexus 7 does not currently |
373 | + provide the interface expected by the current code in g-s-d, hence |
374 | + this approach until the final one is decided upon. |
375 | + |
376 | + -- Jani Monoses <jani.monoses@canonical.com> Wed, 30 Jan 2013 14:13:45 +0200 |
377 | + |
378 | +gnome-settings-daemon (3.6.4-0ubuntu2) raring; urgency=low |
379 | + |
380 | + * debian/patches/touchscreen_rotation.patch: On touchscreens |
381 | + rotate input coordinates by changing the Coordinate Transform Matrix |
382 | + property instead of evdev axis properties. |
383 | + |
384 | + -- Jani Monoses <jani.monoses@canonical.com> Tue, 29 Jan 2013 16:28:12 +0200 |
385 | + |
386 | +gnome-settings-daemon (3.6.4-0ubuntu1) raring; urgency=low |
387 | + |
388 | + * New upstream version |
389 | + * debian/patches/53_update_schemas_warning.patch: |
390 | + - dropped, the issue is fixed in the new version |
391 | + * debian/patches/bugzilla_segfault_dpms.patch: |
392 | + - dropped the part of the patch which is included in the new tarball |
393 | + * debian/patches/revert_new_ibus_use.patch: refreshed |
394 | + |
395 | + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 23 Jan 2013 15:12:37 +0100 |
396 | + |
397 | +gnome-settings-daemon (3.6.3-0ubuntu4) raring; urgency=low |
398 | + |
399 | + * debian/patches/migrate_metacity_keys.patch: |
400 | + - Migrate screenshot/terminal keys from metacity gconf as well |
401 | + (LP: #1058004) |
402 | + |
403 | + -- Timo Jyrinki <timo-jyrinki@ubuntu.com> Thu, 13 Dec 2012 08:49:24 +0200 |
404 | + |
405 | +gnome-settings-daemon (3.6.3-0ubuntu3) raring; urgency=low |
406 | + |
407 | + * debian/control.in: |
408 | + - Pre-Depends: ${misc:Pre-Depends} |
409 | + * debian/compat, debian/control.in: |
410 | + - updated debhelper version |
411 | + * debian/gnome-settings-daemon.maintscript: |
412 | + * debian/gnome-settings-daemon.postinst: |
413 | + - clean old "/etc/gnome/config" xrdb conffiles |
414 | + |
415 | + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 06 Dec 2012 19:31:20 +0100 |
416 | + |
417 | +gnome-settings-daemon (3.6.3-0ubuntu2) raring; urgency=low |
418 | + |
419 | + * debian/patches/16_use_synchronous_notifications.patch: |
420 | + - don't segfault when using the screen hotkey (lp: #1082856) |
421 | + * debian/patches/53_update_schemas_warning.patch: |
422 | + - don't list the updates schemas it's not used in ubuntu (lp: #1082986) |
423 | + |
424 | + -- Sebastien Bacher <seb128@ubuntu.com> Mon, 26 Nov 2012 16:28:45 +0100 |
425 | + |
426 | +gnome-settings-daemon (3.6.3-0ubuntu1) raring; urgency=low |
427 | + |
428 | + [ Sebastien Bacher ] |
429 | + * New upstream version (lp: #1008840) |
430 | + * debian/patches/git*, |
431 | + debian/patches/power-ignore-bad-dbus-requests.patch, |
432 | + debian/patches/power-ignore-bad-dbus-requests.patch, |
433 | + debian/patches/10_smaller_syndaemon_timeout.patch: |
434 | + - dropped, those fixes are in the new version |
435 | + * debian/control.in: |
436 | + - restore build-depends on libgnomekbd-dev, libxklavier-dev, |
437 | + drop the build-depends on libxkbfile-dev |
438 | + * debian/patches/20_migrate_background_uri.patch: |
439 | + - dropped, it was only needed until the LTS |
440 | + * debian/patches/40_xres_lcddefault.patch: |
441 | + - dropped, that was a workaround for libreoffice that shouldn't be |
442 | + needed and we should better fix libreoffice |
443 | + * debian/patches/61_unity_use_application_indicator.patch: |
444 | + - drop the keyboard indicator code, that will need to be turned |
445 | + into a proper indicator refactored to handle the new ibus config |
446 | + * debian/patches/90_set_gmenus_xsettings.patch: |
447 | + - refreshed for the new version |
448 | + * debian/patches/revert_new_ibus_use.patch: |
449 | + - revert keyboard code to our 3.4 version |
450 | + * debian/patches/sync_keyboard_layout_to_accountsservice.patch: |
451 | + - dropped, the changes are included in the previous patch |
452 | + |
453 | + [ Robert Ancell ] |
454 | + * New upstream release |
455 | + * debian/control: |
456 | + - Bump build-depends on libgnome-desktop-3-dev, libwacom-dev |
457 | + - Drop build-depends on libgnomekbd-dev, libxklavier-dev |
458 | + - Add build-depends on libxkbfile-dev |
459 | + |
460 | + [ Rico Tzschichholz ] |
461 | + * debian/control.in: |
462 | + - Build-depend on gtk-doc-tools |
463 | + |
464 | + [ Iain Lane ] |
465 | + * New upstream release |
466 | + * Refresh patches and remove those applied upstream. |
467 | + * Remove gstreamer BDs which are now obsolete. |
468 | + |
469 | + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 21 Nov 2012 17:16:23 +0100 |
470 | + |
471 | +gnome-settings-daemon (3.4.2-0ubuntu14) quantal; urgency=low |
472 | + |
473 | + * debian/patches/git_power_dbus_path.patch: |
474 | + - Fix screen not locking when lid is closed while running |
475 | + GNOME Shell on GDM (LP: #1048420) |
476 | + |
477 | + -- Jeremy Bicha <jbicha@ubuntu.com> Fri, 28 Sep 2012 21:04:37 -0400 |
478 | + |
479 | +gnome-settings-daemon (3.4.2-0ubuntu13) quantal; urgency=low |
480 | + |
481 | + * debian/gnome-settings-daemon.gsettings-override: |
482 | + - Dropped, override moved to ubuntu-default-settings and |
483 | + ubuntu-gnome-default-settings |
484 | + |
485 | + -- Jeremy Bicha <jbicha@ubuntu.com> Tue, 11 Sep 2012 21:14:56 -0400 |
486 | + |
487 | +gnome-settings-daemon (3.4.2-0ubuntu12) quantal-proposed; urgency=low |
488 | + |
489 | + * debian/patches/bugzilla_segfault_dpms.patch: |
490 | + - Update to cover another way to get the same segfault. (LP: #971353) |
491 | + |
492 | + -- Michael Terry <mterry@ubuntu.com> Wed, 05 Sep 2012 15:42:01 -0400 |
493 | + |
494 | +gnome-settings-daemon (3.4.2-0ubuntu11) quantal-proposed; urgency=low |
495 | + |
496 | + * debian/patches/90_set_gmenus_xsettings.patch: |
497 | + - restore ShellShowsAppMenu xsettings to true under unity, that's the |
498 | + correct thing to do since it supports appmenus and we don't need to |
499 | + workaroud issues with the new nautils since we reverted to the old one |
500 | + |
501 | + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 05 Sep 2012 21:16:26 +0200 |
502 | + |
503 | +gnome-settings-daemon (3.4.2-0ubuntu10) quantal; urgency=low |
504 | + |
505 | + * 64_restore_terminal_keyboard_shortcut_schema.patch: |
506 | + - The "Launch Terminal" schema was dropped in the gconf>gsettings |
507 | + switch. Bring it back. (LP: #1010558, LP: #1040081) |
508 | + |
509 | + -- Jeremy Bicha <jbicha@ubuntu.com> Sun, 26 Aug 2012 12:44:27 -0400 |
510 | + |
511 | +gnome-settings-daemon (3.4.2-0ubuntu9) quantal-proposed; urgency=low |
512 | + |
513 | + [ Sebastien Bacher ] |
514 | + * debian/control.in: |
515 | + - don't build-depends on gconf |
516 | + - updated gnome-control-center breaks version for gsettings |
517 | + * debian/patches/revert_git_a11y_gsettings.patch, |
518 | + debian/patches/revert_git_stop_using_gconf.patch, |
519 | + debian/patches/revert_git_use_gsetting_keybindings.patch: |
520 | + - drop the gconf to gsettings migration reverts (LP: #1035261) |
521 | + |
522 | + [ Keng-Yu Lin ] |
523 | + * debian/patches/git-mask-out-virtual-modifiers.patch |
524 | + - patch from upstream git, fix the grabbing issue of the |
525 | + keyboard shortcut with virtual (Super, Hyper, Meta) modifier. |
526 | + (lp: #950160) |
527 | + |
528 | + [ Edward Donovan ] |
529 | + * debian/source_gnome-settings-daemon.py: Fix for Python 3. (LP: #1013171) |
530 | + |
531 | + [ Hsin-Yi, Chen (hychen) ] |
532 | + * debian/patches/git_xrandr_explicitly_set_clone_state.patch: |
533 | + - "xrandr; explicitly set clone state variable when generating monitor |
534 | + configs" (LP: #1014533) |
535 | + |
536 | + [ Michael Terry ] |
537 | + * debian/patches/git-smartcard-crash.patch: |
538 | + - Don't crash on login with a smartcard (LP: #1031034) |
539 | + |
540 | + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 23 Aug 2012 17:04:16 +0200 |
541 | + |
542 | +gnome-settings-daemon (3.4.2-0ubuntu8) quantal; urgency=low |
543 | + |
544 | + * debian/gnome-settings-daemon.gsettings-override: |
545 | + - don't enable the deprecated gconf bridge |
546 | + * debian/patches/revert_git_dropping_gconf_wrapper.patch: |
547 | + - drop the hackish gsettings to gconf copy mechanism, it shouldn't be |
548 | + required after the lts, the code is also make gsd sensible to .convert |
549 | + issues as showed recently by a file-roller update (lp: #1037646) |
550 | + * debian/rules: |
551 | + - don't use deprecated --enable-gconf-bridge |
552 | + |
553 | + -- Sebastien Bacher <seb128@ubuntu.com> Mon, 20 Aug 2012 17:53:45 +0200 |
554 | + |
555 | +gnome-settings-daemon (3.4.2-0ubuntu7) quantal; urgency=low |
556 | + |
557 | + * debian/patches/git_better_xi_handling.patch: |
558 | + - should fix multimedia keys (lp: #1034090) |
559 | + * debian/patches/git_new_cups_build.patch: |
560 | + - build with cups 1.6 |
561 | + |
562 | + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 08 Aug 2012 15:38:57 +0200 |
563 | + |
564 | +gnome-settings-daemon (3.4.2-0ubuntu6) quantal; urgency=low |
565 | + |
566 | + * debian/patches/90_set_gmenus_xsettings.patch: |
567 | + - set ShellShowsAppMenu xsettings to false under unity so applications go |
568 | + back to use normal menus, should give nautilus its preferences menu |
569 | + entry back for example |
570 | + |
571 | + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 11 Jul 2012 18:21:49 +0200 |
572 | + |
573 | +gnome-settings-daemon (3.4.2-0ubuntu5) quantal; urgency=low |
574 | + |
575 | + * debian/patches/10_smaller_syndaemon_timeout.patch: Update to increase |
576 | + the size of the stack allocated array for the extra argument passed to |
577 | + syndaemon. This fixes a crash in the PLT due to a corrupt %ebx register |
578 | + (which holds the GOT base address on i386), which was caused in an earlier |
579 | + function by writing zero in to the location on the stack where the value of |
580 | + %ebx is saved. Thanks to Sebastien Bacher for spotting the buggy patch! |
581 | + (fixes LP: #1007588) |
582 | + |
583 | + -- Chris Coulson <chris.coulson@canonical.com> Mon, 18 Jun 2012 10:27:29 +0100 |
584 | + |
585 | +gnome-settings-daemon (3.4.2-0ubuntu4) quantal; urgency=low |
586 | + |
587 | + * debian/patches/62_unity_disable_gsd_printer.patch: gracefully exit the |
588 | + print-notifications plugin when running unity |
589 | + |
590 | + -- Lars Uebernickel <lars.uebernickel@ubuntu.com> Mon, 11 Jun 2012 16:17:55 -0400 |
591 | + |
592 | +gnome-settings-daemon (3.4.2-0ubuntu3) quantal; urgency=low |
593 | + |
594 | + * Rebuild for the libgnome-desktop SOVER bump. |
595 | + |
596 | + -- Adam Conrad <adconrad@ubuntu.com> Thu, 07 Jun 2012 15:59:11 -0600 |
597 | + |
598 | +gnome-settings-daemon (3.4.2-0ubuntu2) quantal; urgency=low |
599 | + |
600 | + * debian/patches/xsettings_signal_handling.patch: |
601 | + - upstream bugzilla patch, fix segfaults in the xsettings code which |
602 | + seem to happen at logout |
603 | + (lp: #946295, #948347, #963704) |
604 | + |
605 | + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 23 May 2012 21:50:41 +0200 |
606 | + |
607 | +gnome-settings-daemon (3.4.2-0ubuntu1) quantal; urgency=low |
608 | + |
609 | + * New upstream version: |
610 | + Media-keys: |
611 | + - Fix applications launching through keyboard shortcuts not using |
612 | + the session's ssh agent, or keyrings |
613 | + Mouse: |
614 | + - Fix arguments passed to the custom command |
615 | + And a number of memory leak fixes and translation updates. |
616 | + * debian/patches/git_keyring_environment.patch: |
617 | + - dropped, the fix is in the new version |
618 | + |
619 | + -- Sebastien Bacher <seb128@ubuntu.com> Tue, 22 May 2012 21:09:19 +0200 |
620 | + |
621 | +gnome-settings-daemon (3.4.1-0ubuntu2) quantal; urgency=low |
622 | + |
623 | + * debian/patches/power-check-null-devices.patch: |
624 | + - NULL-guard the return value of up_client_get_devices. |
625 | + LP: #868928 |
626 | + * debian/patches/power-ignore-bad-dbus-requests.patch: |
627 | + - If we get a DBus request while the manager isn't active, ignore it. |
628 | + LP: #969535 |
629 | + |
630 | + -- Michael Terry <mterry@ubuntu.com> Tue, 01 May 2012 09:30:20 -0700 |
631 | + |
632 | +gnome-settings-daemon (3.4.1-0ubuntu1) precise-proposed; urgency=low |
633 | + |
634 | + * New upstream release: |
635 | + - Fix applying settings to touchpads |
636 | + - Fix possible crashes when exiting |
637 | + - Don't put touchscreens in relative mode, just touch tablets |
638 | + (such as the Bamboo Touch) |
639 | + - Use PrinterAddOption method to set media size |
640 | + - Updated translations |
641 | + * Drop patches which are upstream now: |
642 | + - disconnect_from_up_client.patch |
643 | + - git_device_setting.patch |
644 | + - wacom-keep-touchscreen-absolute.patch |
645 | + |
646 | + -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 16 Apr 2012 15:55:26 +0200 |
647 | + |
648 | +gnome-settings-daemon (3.4.0-0ubuntu7) precise; urgency=low |
649 | + |
650 | + * Fix LP: #917598 - Battery critical notification using fallback alert |
651 | + - add debian/patches/power-no-fallback-notifications.patch |
652 | + |
653 | + -- Chris Coulson <chris.coulson@canonical.com> Thu, 12 Apr 2012 11:43:36 +0100 |
654 | + |
655 | +gnome-settings-daemon (3.4.0-0ubuntu6) precise; urgency=low |
656 | + |
657 | + * debian/patches/wacom-keep-touchscreen-absolute.patch: |
658 | + - Don't set touchscreens to relative mode (LP: #949097) |
659 | + |
660 | + -- Timo Aaltonen <tjaalton@ubuntu.com> Wed, 11 Apr 2012 17:05:04 +0300 |
661 | + |
662 | +gnome-settings-daemon (3.4.0-0ubuntu5) precise; urgency=low |
663 | + |
664 | + * debian/patches/git_device_setting.patch: |
665 | + - "fix applying settings to newly added touchpads" (lp: #973784) |
666 | + |
667 | + -- Sebastien Bacher <seb128@ubuntu.com> Tue, 10 Apr 2012 22:47:06 +0200 |
668 | + |
669 | +gnome-settings-daemon (3.4.0-0ubuntu4) precise; urgency=low |
670 | + |
671 | + * debian/patches/disconnect_from_up_client.patch: |
672 | + - Disconnect any signals from a UpClient object before we unref it. |
673 | + UpClients are ref-counted singletons and may stay around after |
674 | + unref, so we have to be explicit. LP: #965487 |
675 | + |
676 | + -- Michael Terry <mterry@ubuntu.com> Mon, 09 Apr 2012 12:45:13 -0400 |
677 | + |
678 | +gnome-settings-daemon (3.4.0-0ubuntu3) precise; urgency=low |
679 | + |
680 | + * debian/patches/correct_logout_action.patch: |
681 | + - display the logout action on ctrl-alt-del (lp: #961501) |
682 | + * debian/patches/60_unity_hide_status_icon.patch: |
683 | + - don't show the power status icon under classic either (lp: #965279) |
684 | + * debian/patches/git_keyring_environment.patch: |
685 | + - "Get the environment from gnome-keyring When launching |
686 | + custom applications." (lp: #839444) |
687 | + |
688 | + -- Sebastien Bacher <seb128@ubuntu.com> Tue, 03 Apr 2012 17:28:40 +0200 |
689 | + |
690 | +gnome-settings-daemon (3.4.0-0ubuntu2) precise; urgency=low |
691 | + |
692 | + * debian/patches/10_smaller_syndaemon_timeout.patch: |
693 | + - don't change delay, use -t option to block the clicks (lp: #962958) |
694 | + * debian/patches/61_unity_use_application_indicator.patch: |
695 | + - small tweaks to be consistant with other indicators, |
696 | + change the order and label from the two bottom items (lp: #964178) |
697 | + * debian/patches/bugzilla_segfault_dpms.patch: |
698 | + - upstream fix for a segfault (lp: #956824) |
699 | + |
700 | + [ Iain Lane ] |
701 | + * debian/patches/16_use_synchronous_notifications.patch: Fix invalid cast |
702 | + causing segfault when using keyboard backlight keys. (LP: #959874) |
703 | + |
704 | + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 29 Mar 2012 21:43:49 +0200 |
705 | + |
706 | +gnome-settings-daemon (3.4.0-0ubuntu1) precise-proposed; urgency=low |
707 | + |
708 | + * New upstream release: |
709 | + - Wacom: |
710 | + Check if the "last-stylus" property has been set |
711 | + - updated translations |
712 | + |
713 | + -- Didier Roche <didrocks@ubuntu.com> Tue, 27 Mar 2012 10:50:10 +0200 |
714 | + |
715 | +gnome-settings-daemon (3.3.92-0ubuntu2) precise; urgency=low |
716 | + |
717 | + * 51_lock_screen_on_suspend.patch: when closing the lid, only lock the |
718 | + screen at this step if we're not going to suspend or hibernate. |
719 | + |
720 | + -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 20 Mar 2012 08:39:38 -0400 |
721 | + |
722 | +gnome-settings-daemon (3.3.92-0ubuntu1) precise; urgency=low |
723 | + |
724 | + [ Sebastien Bacher ] |
725 | + * New upstream version, should fix |
726 | + - "Option to "Lock screen afer screen turns off" is ignored" |
727 | + (lp: #959184) |
728 | + - "color-plugin-WARNING **: failed to get edid: unable to get |
729 | + EDID for output" (lp: #863359) |
730 | + * Dropped patches included in the new version |
731 | + * Refreshed the other patches |
732 | + |
733 | + [ Marc Deslauriers ] |
734 | + - 51_lock_screen_on_suspend.patch: refreshed for 3.3.92. |
735 | + |
736 | + -- Sebastien Bacher <seb128@ubuntu.com> Mon, 19 Mar 2012 18:57:50 +0100 |
737 | + |
738 | +gnome-settings-daemon (3.3.91-0ubuntu6) precise; urgency=low |
739 | + |
740 | + * debian/patches/61_unity_use_application_indicator.patch: |
741 | + - update to fix issues where the keyboard indicator would not update |
742 | + or reflect the correct layout when changing layout with the keyboard, |
743 | + thanks Charles Kerr (lp: #885730) |
744 | + |
745 | + -- Sebastien Bacher <seb128@ubuntu.com> Fri, 16 Mar 2012 11:10:43 +0100 |
746 | + |
747 | +gnome-settings-daemon (3.3.91-0ubuntu5) precise; urgency=low |
748 | + |
749 | + * debian/patches/52_sync_background_to_accountsservice.patch: |
750 | + - don't trigger a warning when using a solid color (lp: #954590) |
751 | + * debian/patches/90_set_gmenus_xsettings.patch: |
752 | + - update from Ryan Lortie to handle correctly new shell sessions |
753 | + |
754 | + [ Gunnar Hjalmarsson ] |
755 | + * debian/patches/43_disable_locale_settings.patch: |
756 | + Description updated. |
757 | + |
758 | + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 15 Mar 2012 19:15:43 +0100 |
759 | + |
760 | +gnome-settings-daemon (3.3.91-0ubuntu4) precise; urgency=low |
761 | + |
762 | + * Add 01_fix_multiple_syndaemons.patch: Ensure that a spawned syndaemon gets |
763 | + killed when settings-daemon exists due to a crash, a keyboard interrupt, |
764 | + etc. This avoids having multiple syndaemons run at the same time, which |
765 | + can lead to the trackpad malfunctioning. (LP: #868400) |
766 | + |
767 | + -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 14 Mar 2012 11:22:21 +0100 |
768 | + |
769 | +gnome-settings-daemon (3.3.91-0ubuntu3) precise; urgency=low |
770 | + |
771 | + * debian/control.in: |
772 | + - updated gsettings-desktop-schemas requirement for the lock key |
773 | + * debian/patches/61_unity_use_application_indicator.patch: |
774 | + - updated indicators ids, combined with the libappindicator new version |
775 | + that should give the correct wm_class to the fallback gtkstatusicon |
776 | + which should fix some gnome-shell issues (lp: #878951) |
777 | + - use set_icon_full() with "Keyboard" as a11y description (lp: #740726) |
778 | + |
779 | + [ Marc Deslauriers ] |
780 | + * Add a new preference to lock the screen when the system suspends. |
781 | + (LP: #938076) |
782 | + - 51_lock_screen_on_suspend.patch: use lock-on-suspend gsettings to |
783 | + determine if screen should be locked. |
784 | + - 51_always_lock_screen_on_suspend.patch: removed. |
785 | + - 54_lazily_connect_to_screensaver.patch: refreshed. |
786 | + - 60_unity_hide_status_icon.patch: refreshed. |
787 | + |
788 | + -- Sebastien Bacher <seb128@ubuntu.com> Fri, 09 Mar 2012 18:25:40 +0100 |
789 | + |
790 | +gnome-settings-daemon (3.3.91-0ubuntu2) precise; urgency=low |
791 | + |
792 | + * debian/patches/git_power_logic.patch: fix logic error, should restore |
793 | + the screen controls (lp: #947748) |
794 | + |
795 | + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 07 Mar 2012 11:46:50 +0100 |
796 | + |
797 | +gnome-settings-daemon (3.3.91-0ubuntu1) precise; urgency=low |
798 | + |
799 | + * New upstream version: |
800 | + - fix segfault with some wacom devices (lp: #945477) |
801 | + * debian/patches/git_wacom_fix.patch: |
802 | + - dropped, the fix is in the new version |
803 | + * debian/rules: disable pkgkit support explicitly |
804 | + |
805 | + -- Sebastien Bacher <seb128@ubuntu.com> Mon, 05 Mar 2012 21:17:42 +0100 |
806 | + |
807 | +gnome-settings-daemon (3.3.90-0ubuntu4) precise; urgency=low |
808 | + |
809 | + * Renamed unity patches to start with <num>_unity and be in the same range, |
810 | + it makes easier to see what patches we have |
811 | + * debian/control.in: |
812 | + - updated libappindicator version requirement for set_title() |
813 | + * debian/patches/60_unity_hide_status_icon.patch: |
814 | + - updated to fix a case not handled before (lp: #934582) |
815 | + * debian/patches/61_unity_use_application_indicator.patch: |
816 | + - set an indicator title for the unity hud benefit (lp: #943319) |
817 | + |
818 | + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 29 Feb 2012 18:28:11 +0100 |
819 | + |
820 | +gnome-settings-daemon (3.3.90-0ubuntu3) precise; urgency=low |
821 | + |
822 | + * debian/patches/git_wacom_fix.patch: |
823 | + - deal better with some wacom devices to avoiding segfaults (lp: #934445) |
824 | + * debian/source_gnome-settings-daemon.py: |
825 | + - correctly separate tags with spaces so they don't get concatenated |
826 | + |
827 | + -- Sebastien Bacher <seb128@ubuntu.com> Fri, 24 Feb 2012 12:39:29 +0100 |
828 | + |
829 | +gnome-settings-daemon (3.3.90-0ubuntu2) precise; urgency=low |
830 | + |
831 | + * debian/gnome-settings-daemon.install: |
832 | + - install the hook |
833 | + |
834 | + -- Sebastien Bacher <seb128@ubuntu.com> Tue, 21 Feb 2012 22:28:16 +0100 |
835 | + |
836 | +gnome-settings-daemon (3.3.90-0ubuntu1) precise; urgency=low |
837 | + |
838 | + * New upstream version |
839 | + * debian/control.in: |
840 | + - build-depends on libxtst-dev and xserver-xorg-input-wacom |
841 | + - updated glib requirement |
842 | + * debian/patches/buggy_error_handling_segfault.patch: |
843 | + - dropped, the patch is in the new version |
844 | + * debian/patches/git_numlock_status.patch: |
845 | + - dropped, the patch is in the new version |
846 | + * debian/rules: |
847 | + - drop -Bsymbolic-functions workaround, upstream fixed the issue |
848 | + * debian/source_gnome-settings-daemon.py: |
849 | + - set title and tag with the component which had issues for segfaults |
850 | + |
851 | + -- Sebastien Bacher <seb128@ubuntu.com> Tue, 21 Feb 2012 12:37:47 +0100 |
852 | + |
853 | +gnome-settings-daemon (3.3.5-0ubuntu3) precise; urgency=low |
854 | + |
855 | + * debian/patches/buggy_error_handling_segfault.patch: |
856 | + - don't try to print an unset error variable (lp: #932953) |
857 | + |
858 | + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 16 Feb 2012 17:03:26 +0100 |
859 | + |
860 | +gnome-settings-daemon (3.3.5-0ubuntu2) precise; urgency=low |
861 | + |
862 | + * debian/patches/git_numlock_status.patch: |
863 | + - correctly update the numlock status (lp: #933405) |
864 | + |
865 | + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 16 Feb 2012 15:47:19 +0100 |
866 | + |
867 | +gnome-settings-daemon (3.3.5-0ubuntu1) precise; urgency=low |
868 | + |
869 | + * New upstream version (lp: #931656), refreshed patches, |
870 | + thanks Jeremy Bicha for starting the work on the new version: |
871 | + - change the sound level by device (lp: #340720) |
872 | + - correctly unassign keybindings (lp: #515670) |
873 | + - define keybinding to take a screenshot of a selection (lp: #625518) |
874 | + - resolve some segfaults (lp: #865286) |
875 | + * debian/control.in: |
876 | + - build-depends on libgudev-1.0-dev |
877 | + - breaks unity-greeter (<< 0.2.1-0ubuntu1) due to the wacom schema rename |
878 | + - build-depends on libwacom |
879 | + - updated gtk, gnome-desktop3, g-d-s, upower requirements |
880 | + * debian/gnome-settings-daemon.gsettings-override: |
881 | + - don't set deprecated "sleep-inactive-battery" key |
882 | + * debian/patches/90_set_gmenus_xsettings.patch: |
883 | + - refreshed, we don't handle gnome-shell xsettings yet because we still |
884 | + ship 3.2, that patch will need an update if we go for the new version |
885 | + * debian/patches/git_gsettings_write_only_when_required.patch; |
886 | + debian/patches/50_add_dell_backlight.patch: |
887 | + - dropped the fix is in the new version |
888 | + * debian/patches/47_delay_pa_connect_to_idle.patch: |
889 | + - commented, will need to be updated if still needed |
890 | + * debian/patches/revert_git_datetime_dropping.patch: |
891 | + - revert the datetime service dropping, ubuntu-system-service doesn't |
892 | + implement the timedated interfaces |
893 | + * debian/patches/revert_git_dropping_gconf_wrapper.patch: |
894 | + - revert the gconf code dropping, we might still need the settings |
895 | + gateway for the lts (though it's a bit hackish) |
896 | + * debian/patches/revert_git_use_gsetting_keybindings.patch: |
897 | + - revert the keybindings switch to gsettings, compiz is not ready, |
898 | + it's likely possible to update the patch to do either according to |
899 | + the session in use at runtime if somebody wants to work on that |
900 | + * debian/patches/revert_git_a11y_gsettings.patch: |
901 | + - similar to the previous one |
902 | + * debian/patches/revert_git_stop_using_gconf.patch: |
903 | + - don't stop using gconf, the other patches listed before need it |
904 | + * debian/rules: |
905 | + - don't use -Bsymbolic-functions to workaround upstream issues |
906 | + - drop deprecated --enable-pulse option |
907 | + - use --disable-systemd |
908 | + * debian/watch: |
909 | + - watch for .xz |
910 | + |
911 | + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 15 Feb 2012 11:41:52 +0100 |
912 | + |
913 | +gnome-settings-daemon (3.2.2-0ubuntu17) precise; urgency=low |
914 | + |
915 | + * debian/patches/disable_three_touch_tap.patch |
916 | + - Disable three-touch tap so three-touch gestures work |
917 | + |
918 | + -- Chase Douglas <chase.douglas@ubuntu.com> Mon, 13 Feb 2012 21:45:07 -0800 |
919 | + |
920 | +gnome-settings-daemon (3.2.2-0ubuntu16) precise; urgency=low |
921 | + |
922 | + * debian/patches/06_use_application_indicator.patch: |
923 | + - Check for gtk3 version of libappindicator, not gtk2 |
924 | + * debian/patches/sync_keyboard_layout_to_accountsservice.patch: |
925 | + - Sync user's list of layouts to accountsservice so it can in turn |
926 | + inform LightDM. LP: #915468 |
927 | + |
928 | + -- Michael Terry <mterry@ubuntu.com> Mon, 13 Feb 2012 10:40:21 -0500 |
929 | + |
930 | +gnome-settings-daemon (3.2.2-0ubuntu15) precise; urgency=low |
931 | + |
932 | + * debian/patches/46_share_rr_screen.patch: |
933 | + - dropped that optimization, upstream fixed it in gnome-desktop instead |
934 | + |
935 | + -- Sebastien Bacher <seb128@ubuntu.com> Mon, 06 Feb 2012 11:09:47 +0100 |
936 | + |
937 | +gnome-settings-daemon (3.2.2-0ubuntu14) precise; urgency=low |
938 | + |
939 | + * debian/patches/51_always_lock_screen_on_suspend.patch: added missing |
940 | + brackets that was preventing screen locking from working at all. |
941 | + (LP: #924336) |
942 | + |
943 | + -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 31 Jan 2012 10:10:41 -0500 |
944 | + |
945 | +gnome-settings-daemon (3.2.2-0ubuntu13) precise; urgency=low |
946 | + |
947 | + * debian/patches/51_always_lock_screen_on_suspend.patch: updated to |
948 | + lock the screen on suspend and hibernate, but only if the user hasn't |
949 | + configured autologin. |
950 | + |
951 | + -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Sat, 28 Jan 2012 16:15:17 -0500 |
952 | + |
953 | +gnome-settings-daemon (3.2.2-0ubuntu12) precise; urgency=low |
954 | + |
955 | + * Updated some patches with bug references |
956 | + * debian/patches/02_missing_libs.patch: |
957 | + - dropped, that patch is a leftover and not required nowadays |
958 | + * debian/patches/16_use_synchronous_notifications.patch: |
959 | + - use the correct widget so the media key sounds work (lp: #909407) |
960 | + |
961 | + [ Martin Pitt ] |
962 | + * debian/gnome-settings-daemon.gsettings-override: Set default idle dim time |
963 | + to 30 seconds. 10 seconds is a bit unnerving when you want to read |
964 | + something or show photos. (LP: #918928) |
965 | + |
966 | + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 26 Jan 2012 22:36:41 +0100 |
967 | + |
968 | +gnome-settings-daemon (3.2.2-0ubuntu11) precise; urgency=low |
969 | + |
970 | + * debian/patches/git_gsettings_write_only_when_required.patch: |
971 | + - git patch, don't write to gsettings when not required (i.e on login) |
972 | + |
973 | + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 19 Jan 2012 19:46:01 +0100 |
974 | + |
975 | +gnome-settings-daemon (3.2.2-0ubuntu10) precise; urgency=low |
976 | + |
977 | + * Rebuild with the newest pkgbinarymangler (lp: #913085) |
978 | + * debian/control.in: build-depends on libnss3-dev for smartcard support |
979 | + |
980 | + -- Sebastien Bacher <seb128@ubuntu.com> Fri, 13 Jan 2012 17:32:40 +0100 |
981 | + |
982 | +gnome-settings-daemon (3.2.2-0ubuntu9) precise; urgency=low |
983 | + |
984 | + * Rebuild with fixed pkgbinarymangler (lp: #913085), |
985 | + that should fix broke permissions errors (lp: #915600) |
986 | + |
987 | + -- Sebastien Bacher <seb128@ubuntu.com> Fri, 13 Jan 2012 11:44:32 +0100 |
988 | + |
989 | +gnome-settings-daemon (3.2.2-0ubuntu8) precise; urgency=low |
990 | + |
991 | + * debian/patches/90_set_gmenus_xsettings.patch: |
992 | + - set the ShellShowsMenubar and ShellShowsAppMenu xsettings under unity |
993 | + |
994 | + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 12 Jan 2012 11:34:38 +0100 |
995 | + |
996 | +gnome-settings-daemon (3.2.2-0ubuntu7) precise; urgency=low |
997 | + |
998 | + * Add 54_lazily_connect_to_screensaver.patch: Do not D-BUS activate |
999 | + gnome-screensaver right at startup, this unnecessarily slows down boot |
1000 | + speed. Instead, D-BUS activate it the first time we actually need it. |
1001 | + (LP: #912186) |
1002 | + |
1003 | + -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 05 Jan 2012 12:42:24 +0100 |
1004 | + |
1005 | +gnome-settings-daemon (3.2.2-0ubuntu6) precise; urgency=low |
1006 | + |
1007 | + * Add 53_disable_gsd_printer_on_unity.patch: Disable gsd-printer plugin |
1008 | + under Unity. We are still using system-config-printer for this, so no need |
1009 | + to start another service for this. |
1010 | + |
1011 | + -- Martin Pitt <martin.pitt@ubuntu.com> Wed, 04 Jan 2012 16:15:47 +0100 |
1012 | + |
1013 | +gnome-settings-daemon (3.2.2-0ubuntu5) precise; urgency=low |
1014 | + |
1015 | + * debian/patches/52_sync_background_to_accountsservice.patch: |
1016 | + - Watch background gsettings value and synchronize it to the |
1017 | + accountsservice daemon for the benefit of unity-greeter |
1018 | + |
1019 | + -- Michael Terry <mterry@ubuntu.com> Fri, 09 Dec 2011 15:35:40 -0500 |
1020 | + |
1021 | +gnome-settings-daemon (3.2.2-0ubuntu4) precise; urgency=low |
1022 | + |
1023 | + * 42_onlyshowin_unity.patch: the gnome-shell session is called "gnome", use |
1024 | + the correct name so nautilus doesn't open in shell sessions (lp: #892989) |
1025 | + |
1026 | + -- Sebastien Bacher <seb128@ubuntu.com> Fri, 02 Dec 2011 12:12:29 +0100 |
1027 | + |
1028 | +gnome-settings-daemon (3.2.2-0ubuntu3) precise; urgency=low |
1029 | + |
1030 | + * Upload for Precise |
1031 | + |
1032 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Wed, 16 Nov 2011 12:59:33 +0100 |
1033 | + |
1034 | +gnome-settings-daemon (3.2.2-0ubuntu2) oneiric-proposed; urgency=low |
1035 | + |
1036 | + * debian/patches/07_hide_status_icon_on_unity.patch: |
1037 | + - Never show the power status icon when running Unity (LP: #833397) |
1038 | + |
1039 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Tue, 15 Nov 2011 11:12:54 +0100 |
1040 | + |
1041 | +gnome-settings-daemon (3.2.2-0ubuntu1) oneiric-proposed; urgency=low |
1042 | + |
1043 | + * New upstream release (LP: #888526) |
1044 | + * debian/patches/00git_remove_assertions.patch: |
1045 | + * debian/patches/git_correct_suspend_bus.patch: |
1046 | + - Remove upstreamed patches |
1047 | + * debian/patches/16_use_synchronous_notifications.patch: |
1048 | + * debian/patches/45_suppress-printer-may-not-be-connected-notification.patch: |
1049 | + - Rebased |
1050 | + |
1051 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Thu, 10 Nov 2011 12:15:05 +0100 |
1052 | + |
1053 | +gnome-settings-daemon (3.2.1-0ubuntu3) oneiric-proposed; urgency=low |
1054 | + |
1055 | + * debian/patches/00git_remove_assertions.patch: |
1056 | + - git patch to remove assertions that shouldn't be there (LP: #878486) |
1057 | + |
1058 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Tue, 25 Oct 2011 12:52:39 +0200 |
1059 | + |
1060 | +gnome-settings-daemon (3.2.1-0ubuntu2) oneiric-proposed; urgency=low |
1061 | + |
1062 | + [ Didier Roche ] |
1063 | + * debian/patches/16_use_synchronous_notifications.patch: |
1064 | + - make our patch using the new icon name (LP: #877058) |
1065 | + |
1066 | + [ Sebastien Bacher ] |
1067 | + * debian/patches/git_correct_suspend_bus.patch: |
1068 | + - git patch to fix a suspend regression in the new version (lp: #878076) |
1069 | + |
1070 | + -- Didier Roche <didrocks@ubuntu.com> Wed, 19 Oct 2011 17:25:16 +0200 |
1071 | + |
1072 | +gnome-settings-daemon (3.2.1-0ubuntu1) oneiric-proposed; urgency=low |
1073 | + |
1074 | + * New upstream release (LP: #877326) |
1075 | + * debian/patches/00git_dont_restore_brightness.patch: |
1076 | + * debian/patches/00git_fix_reference_leaks.patch: |
1077 | + * debian/patches/00git_fix_async_dbus_crash.patch: |
1078 | + * debian/patches/00git_dont_sleep_on_idle_by_default.patch: |
1079 | + * debian/patches/00git_dont_revert_pre_idle_brigthness.patch: |
1080 | + * debian/patches/00git_avoid_undesired_sleeps.patch: |
1081 | + * debian/patches/49_fix_suspend_media_key.patch: |
1082 | + - Remove upstreamed patches |
1083 | + * debian/patches/16_use_synchronous_notifications.patch: |
1084 | + - Rebased |
1085 | + |
1086 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Tue, 18 Oct 2011 11:29:23 +0200 |
1087 | + |
1088 | +gnome-settings-daemon (3.2.0-0ubuntu5) oneiric; urgency=low |
1089 | + |
1090 | + [ Rodrigo Moya ] |
1091 | + * debian/patches/00git_avoid_undesired_sleeps.patch: |
1092 | + - Avoid sleeping the computer when disabled (LP: #864479) and ditto for |
1093 | + the display (LP: #863038) |
1094 | + |
1095 | + [ Marc Deslauriers ] |
1096 | + * debian/patches/51_always_lock_screen_on_suspend.patch: |
1097 | + - always lock the screen when suspending or hibernating, even if |
1098 | + automatic screen lock is disabled. (LP: #847814) |
1099 | + |
1100 | + -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Mon, 03 Oct 2011 17:23:23 -0400 |
1101 | + |
1102 | +gnome-settings-daemon (3.2.0-0ubuntu4) oneiric; urgency=low |
1103 | + |
1104 | + * debian/patches/00git_dont_sleep_on_idle_by_default.patch: |
1105 | + - Don't sleep on idle by default (LP: #860485) |
1106 | + * debian/patches/00git_dont_revert_pre_idle_brigthness.patch: |
1107 | + - Do not revert to the pre-idle brightness if idle dimming is disabled |
1108 | + * debian/patches/50_add_dell_backlight.patch: |
1109 | + - Add 'dell_backlight' module to gsd-backlight-helper (LP: #862474) |
1110 | + |
1111 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Thu, 29 Sep 2011 16:47:57 +0200 |
1112 | + |
1113 | +gnome-settings-daemon (3.2.0-0ubuntu3) oneiric; urgency=low |
1114 | + |
1115 | + * debian/patches/00git_fix_async_dbus_crash.patch: |
1116 | + - Fix async DBus calls crashes (LP: #832603) |
1117 | + * debian/patches/49_fix_suspend_media_key.patch: |
1118 | + - Rebased |
1119 | + |
1120 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Wed, 28 Sep 2011 17:14:53 +0200 |
1121 | + |
1122 | +gnome-settings-daemon (3.2.0-0ubuntu2) oneiric; urgency=low |
1123 | + |
1124 | + * debian/patches/49_fix_suspend_media_key.patch: Fix screen locking when |
1125 | + suspending via a media key. (LP: #859498) |
1126 | + |
1127 | + -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 27 Sep 2011 11:34:03 -0400 |
1128 | + |
1129 | +gnome-settings-daemon (3.2.0-0ubuntu1) oneiric; urgency=low |
1130 | + |
1131 | + * New upstream release |
1132 | + * debian/patches/00git_dont_restore_brightness.patch: |
1133 | + - Don't restore brightness if it's never been set |
1134 | + * debian/patches/00git_fix_reference_leaks.patch: |
1135 | + - Fix 2 small reference leaks |
1136 | + |
1137 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Mon, 26 Sep 2011 17:57:20 +0200 |
1138 | + |
1139 | +gnome-settings-daemon (3.1.92-0ubuntu3) oneiric; urgency=low |
1140 | + |
1141 | + * Fix LP: #854101 - various startup time improvements: |
1142 | + * debian/patches/46_share_rr_screen.patch: |
1143 | + - Share a single GnomeRRScreen across plugins, rather than having the |
1144 | + xrandr, color and power plugins each create their own, which results |
1145 | + in 3 reprobes before running the main loop. Thanks to Rodrigo Moya for |
1146 | + tidying this up a bit. |
1147 | + * debian/patches/47_delay_pa_connect_to_idle.patch: |
1148 | + - Don't connect to pulseaudio until we are running the main loop. Starting |
1149 | + pulseaudio seems to block for around a second here on my machine |
1150 | + * debian/patches/48_register_client_before_idle_callbacks.patch: |
1151 | + - Create the GDBusProxy for gnome-session synchronously, and then schedule |
1152 | + the RegisterClient call with a higher priority. This ensures that we |
1153 | + register with the session manager as soon as we start the main loop, and |
1154 | + before running any other idle callbacks |
1155 | + |
1156 | + * debian/patches/16_use_synchronous_notifications.patch: |
1157 | + - Make the volume notifications work correctly again |
1158 | + |
1159 | + -- Chris Coulson <chris.coulson@canonical.com> Thu, 22 Sep 2011 15:44:40 +0100 |
1160 | + |
1161 | +gnome-settings-daemon (3.1.92-0ubuntu2) oneiric; urgency=low |
1162 | + |
1163 | + * debian/patches/45_suppress-printer-may-not-be-connected-notification.patch: |
1164 | + Do not show notifications if the printer state reason "connecting-to-device" |
1165 | + is reported by CUPS. The text of this state reason notificatioon is the |
1166 | + misleading "Printer XXX may not be connected" and the reason is set in |
1167 | + every print job (usually only for a short time but enough to trigger the |
1168 | + notifier). As we are after UI freeze we simply suppress this notification |
1169 | + with this patch (do not forward upstream). The real fix would be improving |
1170 | + the text, like really saying "Connecting to printer XXX ..." (LP: #842768). |
1171 | + |
1172 | + -- Till Kamppeter <till.kamppeter@gmail.com> Thu, 15 Sep 2011 18:34:24 +0200 |
1173 | + |
1174 | +gnome-settings-daemon (3.1.92-0ubuntu1) oneiric; urgency=low |
1175 | + |
1176 | + * New upstream release |
1177 | + * debian/control: |
1178 | + - Bump libcolord-dev build dependency |
1179 | + * debian/patches/00git_guard_against_division_by_0.patch: |
1180 | + * debian/patches/00git_dont_crash_if_session_not_ready.patch: |
1181 | + * debian/patches/00git_numlock_status.patch: |
1182 | + * debian/patches/00git_disconnect_callbacks.patch: |
1183 | + - Remove upstream patches |
1184 | + * debian/patches/06_use_application_indicator.patch: |
1185 | + * debian/patches/16_use_synchronous_notifications.patch: |
1186 | + - Rebased |
1187 | + |
1188 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Mon, 19 Sep 2011 17:05:48 +0200 |
1189 | + |
1190 | +gnome-settings-daemon (3.1.91-0ubuntu5) oneiric; urgency=low |
1191 | + |
1192 | + * debian/patches/00git_disconnect_callbacks.patch: |
1193 | + - Disconnect callbacks when cleaning up (LP: #837373) |
1194 | + |
1195 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Tue, 13 Sep 2011 11:00:41 +0200 |
1196 | + |
1197 | +gnome-settings-daemon (3.1.91-0ubuntu4) oneiric; urgency=low |
1198 | + |
1199 | + * debian/patches/00git_numlock_status.patch: |
1200 | + - git backport, store the numlock status and apply it (lp: #841748) |
1201 | + |
1202 | + -- Sebastien Bacher <seb128@ubuntu.com> Fri, 09 Sep 2011 15:16:09 +0200 |
1203 | + |
1204 | +gnome-settings-daemon (3.1.91-0ubuntu3) oneiric; urgency=low |
1205 | + |
1206 | + * debian/control: |
1207 | + - Build depend on libgnome-desktop3-dev >= 3.1.5, which is what upstream |
1208 | + asks for |
1209 | + * debian/patches/00git_guard_against_division_by_0.patch: |
1210 | + - Guard against dividing by 0 in ABS_TO_PERCENTAGE macro (LP: #833595) |
1211 | + * debian/patches/00git_dont_crash_if_session_not_ready.patch: |
1212 | + - Don't crash if we try to calculate the idle state before connected to |
1213 | + the session (LP: #836014) |
1214 | + |
1215 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Wed, 07 Sep 2011 12:07:45 +0200 |
1216 | + |
1217 | +gnome-settings-daemon (3.1.91-0ubuntu2) oneiric; urgency=low |
1218 | + |
1219 | + * Fix the volume OSD patch so that the volume level is displayed correctly |
1220 | + again |
1221 | + - update debian/patches/16_use_synchronous_notifications.patch |
1222 | + |
1223 | + -- Chris Coulson <chris.coulson@canonical.com> Mon, 05 Sep 2011 17:40:06 +0100 |
1224 | + |
1225 | +gnome-settings-daemon (3.1.91-0ubuntu1) oneiric; urgency=low |
1226 | + |
1227 | + * New upstream release |
1228 | + * debian/patches/01_git_do_power_init_in_start.patch: |
1229 | + * debian/patches/01_git_double_check_hash_table.patch: |
1230 | + * debian/patches/01_git_fix_brightness_step_amount.patch: |
1231 | + - Remove upstreamed patches |
1232 | + |
1233 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Mon, 05 Sep 2011 16:48:28 +0200 |
1234 | + |
1235 | +gnome-settings-daemon (3.1.90-0ubuntu3) oneiric; urgency=low |
1236 | + |
1237 | + * debian/patches/01_git_double_check_hash_table.patch: |
1238 | + - Double check stuff we add to the hash table to avoid crashes when cleaning up |
1239 | + (LP: #839322) |
1240 | + |
1241 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Fri, 02 Sep 2011 16:17:24 +0200 |
1242 | + |
1243 | +gnome-settings-daemon (3.1.90-0ubuntu2) oneiric; urgency=low |
1244 | + |
1245 | + * debian/patches/01_git_fix_brightness_step_amount.patch: |
1246 | + - Fix BRIGHTESS_STEP_AMOUNT calculation macro (LP: #827517) |
1247 | + * debian/patches/01_git_do_power_init_in_start.patch: |
1248 | + - Do power plugin initialization in _start, not _init, to avoid multiple |
1249 | + crashes (LP: #836014) |
1250 | + |
1251 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Thu, 01 Sep 2011 10:33:58 +0200 |
1252 | + |
1253 | +gnome-settings-daemon (3.1.90-0ubuntu1) oneiric; urgency=low |
1254 | + |
1255 | + * New upstream release |
1256 | + * debian/patches/16_use_synchronous_notifications.patch: |
1257 | + * debian/patches/42_onlyshowin_unity.patch: |
1258 | + - Rebased patches |
1259 | + * debian/patches/44_lock_before_suspend.patch: |
1260 | + - Remove upstream patch |
1261 | + |
1262 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Mon, 29 Aug 2011 16:04:57 +0200 |
1263 | + |
1264 | +gnome-settings-daemon (3.1.5-0ubuntu6) oneiric; urgency=low |
1265 | + |
1266 | + * debian/patches/44_lock_before_suspend.patch: ensure the screen is |
1267 | + locked before suspending. (LP: #824188) |
1268 | + |
1269 | + -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Thu, 25 Aug 2011 23:44:36 -0400 |
1270 | + |
1271 | +gnome-settings-daemon (3.1.5-0ubuntu5) oneiric; urgency=low |
1272 | + |
1273 | + * Make the keyboard backlight notification use notify-osd too |
1274 | + - update debian/patches/16_use_synchronous_notifications.patch |
1275 | + |
1276 | + -- Chris Coulson <chris.coulson@canonical.com> Tue, 23 Aug 2011 15:26:34 +0100 |
1277 | + |
1278 | +gnome-settings-daemon (3.1.5-0ubuntu4) oneiric; urgency=low |
1279 | + |
1280 | + * Make the brightness osd use synchronous notify-osd notifications |
1281 | + - update debian/patches/16_use_synchronous_notifications.patch |
1282 | + * Add missing liblcms2-dev build-dep |
1283 | + - update debian/control{.in} |
1284 | + |
1285 | + -- Chris Coulson <chris.coulson@canonical.com> Mon, 22 Aug 2011 22:00:23 +0100 |
1286 | + |
1287 | +gnome-settings-daemon (3.1.5-0ubuntu3) oneiric; urgency=low |
1288 | + |
1289 | + * debian/gnome-settings-daemon.gsettings-override: |
1290 | + - Enable GConf bridge plugin by default |
1291 | + * debian/patches/10_smaller_syndaemon_timeout.patch: |
1292 | + - Use a smaller timeout for syndaemon (LP: #801763) |
1293 | + |
1294 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Mon, 22 Aug 2011 10:46:19 +0200 |
1295 | + |
1296 | +gnome-settings-daemon (3.1.5-0ubuntu1) oneiric; urgency=low |
1297 | + |
1298 | + * New upstream release |
1299 | + * debian/patches/06_use_application_indicator.patch: |
1300 | + - Rebased |
1301 | + |
1302 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Tue, 16 Aug 2011 10:31:48 +0200 |
1303 | + |
1304 | +gnome-settings-daemon (3.1.4-0ubuntu5) oneiric; urgency=low |
1305 | + |
1306 | + * debian/patches/43_disable_locale_settings.patch: |
1307 | + - Don't set locales since they are set in Oneiric by sourcing |
1308 | + ~/.profile. |
1309 | + |
1310 | + -- Gunnar Hjalmarsson <ubuntu@gunnar.cc> Mon, 15 Aug 2011 10:14:05 +0200 |
1311 | + |
1312 | +gnome-settings-daemon (3.1.4-0ubuntu4) oneiric; urgency=low |
1313 | + |
1314 | + * debian/control: |
1315 | + * debian/patches/series: |
1316 | + * debian/patches/03_disable_colord.patch: |
1317 | + - Enable building with colord (LP: #788108) |
1318 | + |
1319 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Thu, 11 Aug 2011 13:57:00 +0200 |
1320 | + |
1321 | +gnome-settings-daemon (3.1.4-0ubuntu3) oneiric; urgency=low |
1322 | + |
1323 | + * debian/patches/42_onlyshowin_unity.patch: |
1324 | + - tweak the new automount .desktop as well to run under unity (lp: #816774) |
1325 | + |
1326 | + -- Sebastien Bacher <seb128@ubuntu.com> Mon, 01 Aug 2011 18:09:29 +0200 |
1327 | + |
1328 | +gnome-settings-daemon (3.1.4-0ubuntu2) oneiric; urgency=low |
1329 | + |
1330 | + * debian/control: |
1331 | + - Add missing build dependency on libupower-glib-dev |
1332 | + |
1333 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Tue, 26 Jul 2011 15:34:10 +0200 |
1334 | + |
1335 | +gnome-settings-daemon (3.1.4-0ubuntu1) oneiric; urgency=low |
1336 | + |
1337 | + * New upstream release |
1338 | + * debian/control: |
1339 | + - bumo libgnome-desktop dependency |
1340 | + * debian/patches/01_git_a11y_keyboard_cleanup.patch: |
1341 | + * debian/patches/41_fix_key_grab.patch: |
1342 | + - Remove upstreamed patches |
1343 | + * debian/patches/06_use_application_indicator.patch: |
1344 | + * debian/patches/16_use_synchronous_notifications.patch: |
1345 | + - Rebased |
1346 | + |
1347 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Mon, 25 Jul 2011 12:00:12 +0200 |
1348 | + |
1349 | +gnome-settings-daemon (3.1.3-0ubuntu7) oneiric; urgency=low |
1350 | + |
1351 | + * debian/patches/42_onlyshowin_unity.patch: |
1352 | + - Add Unity to OnlyShowIn value (LP: #803519) |
1353 | + * debian/control.in: |
1354 | + - Remove Debian's Vcs fields |
1355 | + |
1356 | + -- Michael Terry <mterry@ubuntu.com> Tue, 19 Jul 2011 15:02:18 -0400 |
1357 | + |
1358 | +gnome-settings-daemon (3.1.3-0ubuntu6) oneiric; urgency=low |
1359 | + |
1360 | + * debian/gnome-settings-daemon.gsettings-override: |
1361 | + - Turn on autosleep on battery for Energy Star 5.0 compliance (LP: #604635) |
1362 | + - Suspend by default when system sleep button is pressed |
1363 | + - Suspend by default for low battery as hibernate can be slow & unreliable |
1364 | + |
1365 | + -- Jeremy Bicha <jbicha@ubuntu.com> Mon, 18 Jul 2011 08:03:30 +0200 |
1366 | + |
1367 | +gnome-settings-daemon (3.1.3-0ubuntu5) oneiric; urgency=low |
1368 | + |
1369 | + * debian/patches/01_git_shorter_syndaemon_delay.patch: |
1370 | + - Remove this patch, it fixes the annoyance for some users and breaks it |
1371 | + for others |
1372 | + * debian/patches/17_react_when_streams_removed.patch: |
1373 | + - Remove patch not being applied and already upstream |
1374 | + * debian/patches/01_git_a11y_keyboard_cleanup.patch: |
1375 | + - Do proper cleanup when the plugin is stopped (LP: #804946) |
1376 | + * debian/patches/06_use_application_indicator.patch: |
1377 | + - Rebased |
1378 | + |
1379 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Tue, 12 Jul 2011 13:04:51 +0200 |
1380 | + |
1381 | +gnome-settings-daemon (3.1.3-0ubuntu4) oneiric; urgency=low |
1382 | + |
1383 | + [ Marco Trevisan (Treviño) <mail@3v1n0.net> ] |
1384 | + * debian/patches/06_use_application_indicator.patch |
1385 | + - Updated to support libappindicator scroll event to change |
1386 | + the keyboard layout via mouse-wheel |
1387 | + |
1388 | + [ Chris Coulson <chris.coulson@canonical.com> ] |
1389 | + * Fix the volume OSD notifications to work properly again (when the |
1390 | + media keys work properly) |
1391 | + - update debian/patches/16_use_synchronous_notifications.patch |
1392 | + * Fix the logic in grab_key_unsafe to not reject keys which are useful |
1393 | + to grab without a modifier. Fixes the media-keys plugin |
1394 | + - add debian/patches/41_fix_key_grab.patch |
1395 | + |
1396 | + -- Chris Coulson <chris.coulson@canonical.com> Wed, 13 Jul 2011 00:13:36 +0100 |
1397 | + |
1398 | +gnome-settings-daemon (3.1.3-0ubuntu3) oneiric; urgency=low |
1399 | + |
1400 | + * debian/gnome-settings-daemon.gsettings-override: Set default action for |
1401 | + power button back to 'interactive'. (LP: #806855) |
1402 | + |
1403 | + -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 11 Jul 2011 12:19:38 +0200 |
1404 | + |
1405 | +gnome-settings-daemon (3.1.3-0ubuntu2) oneiric; urgency=low |
1406 | + |
1407 | + * debian/patches/06_use_application_indicator.patch: |
1408 | + - Fix typo in keyboard indicator icon name (LP: #805743) |
1409 | + |
1410 | + -- Robert Ancell <robert.ancell@canonical.com> Tue, 05 Jul 2011 11:35:37 +1000 |
1411 | + |
1412 | +gnome-settings-daemon (3.1.3-0ubuntu1) oneiric; urgency=low |
1413 | + |
1414 | + * New upstream release |
1415 | + * debian/patches/01_git_check_touchpad.patch: |
1416 | + - Remove upstreamed patch |
1417 | + * debian/patches/06_use_application_indicator.patch: |
1418 | + - Rebased |
1419 | + |
1420 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Mon, 04 Jul 2011 22:21:28 +0200 |
1421 | + |
1422 | +gnome-settings-daemon (3.1.2-0ubuntu2) oneiric; urgency=low |
1423 | + |
1424 | + * debian/patches/01_git_shorter_syndaemon_delay.patch: |
1425 | + - Make syndaemon delay shorter (LP: #801763) |
1426 | + |
1427 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Wed, 29 Jun 2011 11:31:41 +0200 |
1428 | + |
1429 | +gnome-settings-daemon (3.1.2-0ubuntu1) oneiric; urgency=low |
1430 | + |
1431 | + * New upstream release |
1432 | + * debian/control: |
1433 | + - Bump dependency on libgnome-desktop-3-dev |
1434 | + - Conflict with gnome-color-manager < 3.0 |
1435 | + - Build-Depend on hwdata |
1436 | + * debian/watch: |
1437 | + - Watch .bz2 tarball and unstable series |
1438 | + * debian/patches/06_use_application_indicator.patch: |
1439 | + * debian/patches/16_use_synchronous_notifications.patch: |
1440 | + - Rebased |
1441 | + * debian/patches/03_disable_colord.patch: |
1442 | + - Disable color plugin if colord is not found |
1443 | + * debian/patches/01git_add_missing_schema_for_gconf.patch: |
1444 | + - Remove upstreamed patch |
1445 | + * debian/patches/01_git_check_touchpad.patch: |
1446 | + - Add GIT patch to only disable touchpad, not all input devices |
1447 | + |
1448 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Fri, 24 Jun 2011 12:33:25 +0200 |
1449 | + |
1450 | +gnome-settings-daemon (3.0.2-1ubuntu4) oneiric; urgency=low |
1451 | + |
1452 | + * debian/control.in: stop depending on libgnome2-common |
1453 | + |
1454 | + -- Sebastien Bacher <seb128@ubuntu.com> Fri, 10 Jun 2011 18:48:41 +0200 |
1455 | + |
1456 | +gnome-settings-daemon (3.0.2-1ubuntu3) oneiric; urgency=low |
1457 | + |
1458 | + * debian/patches/01git_add_missing_schema_for_gconf.patch: |
1459 | + - Add upstream patch to add missing GSettings schema for GConf conversion |
1460 | + plugin |
1461 | + |
1462 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Fri, 10 Jun 2011 16:29:26 +0200 |
1463 | + |
1464 | +gnome-settings-daemon (3.0.2-1ubuntu2) oneiric; urgency=low |
1465 | + |
1466 | + * debian/patches/20_migrate_background_uri.patch: |
1467 | + - Convert old filenames to an URI, to have migration of GConf background |
1468 | + to GSettings work correctly |
1469 | + |
1470 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Tue, 07 Jun 2011 16:33:00 +0200 |
1471 | + |
1472 | +gnome-settings-daemon (3.0.2-1ubuntu1) oneiric; urgency=low |
1473 | + |
1474 | + * New upstream release |
1475 | + * debian/patches/16_use_synchronous_notifications.patch: |
1476 | + - Rebased |
1477 | + * debian/patches/41_dont_convert_nonexistant_key.patch: |
1478 | + - Removed upstreamed patch |
1479 | + |
1480 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Tue, 24 May 2011 11:27:08 +0200 |
1481 | + |
1482 | +gnome-settings-daemon (3.0.1-1ubuntu4) oneiric; urgency=low |
1483 | + |
1484 | + * debian/gnome-settings-daemon.gconf-defaults: |
1485 | + * debian/gnome-settings-daemon.gsettings-override: |
1486 | + - Move default GConf settings to GSettings |
1487 | + |
1488 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Mon, 23 May 2011 16:06:19 +0200 |
1489 | + |
1490 | +gnome-settings-daemon (3.0.1-1ubuntu3) oneiric; urgency=low |
1491 | + |
1492 | + * Don't try to convert show-keyboard-leds-indicator in |
1493 | + gnome-settings-daemon.convert. It has no schema, and makes |
1494 | + gsettings-data-convert crash |
1495 | + - add debian/patches/41_dont_convert_nonexistant_key.patch |
1496 | + - update debian/patches/series |
1497 | + |
1498 | + -- Chris Coulson <chris.coulson@canonical.com> Fri, 20 May 2011 11:45:37 +0100 |
1499 | + |
1500 | +gnome-settings-daemon (3.0.1-1ubuntu2) oneiric; urgency=low |
1501 | + |
1502 | + * debian/patches/06_use_application_indicator.patch: |
1503 | + - GkbKeyboardConfig's layouts_variants is now an array of strings, not |
1504 | + a list. Fixes crash |
1505 | + |
1506 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Wed, 18 May 2011 10:40:17 +0200 |
1507 | + |
1508 | +gnome-settings-daemon (3.0.1-1ubuntu1) oneiric; urgency=low |
1509 | + |
1510 | + * New upstream release |
1511 | + |
1512 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Tue, 17 May 2011 16:37:27 +0200 |
1513 | + |
1514 | +gnome-settings-daemon (3.0.0.1-1ubuntu4) oneiric; urgency=low |
1515 | + |
1516 | + * debian/control: |
1517 | + - Rename build dependency from libnotify4-dev to libnotify-dev |
1518 | + |
1519 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Tue, 17 May 2011 12:17:12 +0200 |
1520 | + |
1521 | +gnome-settings-daemon (3.0.0.1-1ubuntu3) oneiric; urgency=low |
1522 | + |
1523 | + * debian/patches/06_use_application_indicator.patch: |
1524 | + - Fix call to xkl_engine_get_instance to pass a Display, not a GdkDisplay |
1525 | + |
1526 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Wed, 11 May 2011 09:25:54 +0200 |
1527 | + |
1528 | +gnome-settings-daemon (3.0.0.1-1ubuntu2) oneiric; urgency=low |
1529 | + |
1530 | + * debian/patches/06_use_application_indicator.patch: |
1531 | + - Fix call to non existing API |
1532 | + |
1533 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Mon, 09 May 2011 11:24:49 +0200 |
1534 | + |
1535 | +gnome-settings-daemon (3.0.0.1-1ubuntu1) oneiric; urgency=low |
1536 | + |
1537 | + [ Guido Günther ] |
1538 | + * Bump build-dependency on libgnome-desktop-3-dev (Closes: #622689) |
1539 | + |
1540 | + [ Rodrigo Moya ] |
1541 | + * Rebase from Debian, remaining Ubuntu changes: |
1542 | + * debian/control: |
1543 | + - Build-depend on libnotify4-dev, not libnotify-dev |
1544 | + - Add Buil-depend on libappindicator3-dev |
1545 | + - Add Vcs-Bzr URL |
1546 | + * debian/gnome-settings-daemon.install: |
1547 | + * debian/gnome-settings-daemon.postinst: |
1548 | + - Keep autostart files in standard directories |
1549 | + * debian/gnome-update-wallpaper-cache.c: |
1550 | + * debian/rules: |
1551 | + - Add wallpaper cache updater program |
1552 | + * debian/patches/02_missing_libs.patch: |
1553 | + - Add missing X11 libraries to build dependencies |
1554 | + * debian/patches/05_disable_corner_tapping.patch: |
1555 | + - Disable corner tapping when disabling tap to click |
1556 | + * debian/patches/06_use_application_indicator.patch: |
1557 | + - Use application indicators |
1558 | + * debian/patches/16_use_synchronous_notifications.patch: |
1559 | + - Use synchronous notifications when they are supported |
1560 | + * debian/patches/17_react_when_streams_removed.patch: |
1561 | + - React to stream-removed signal from GvcMixerControl |
1562 | + * debian/patches/40_xres_lcddefault.patch: |
1563 | + - OpenOffice.org subpixel font rendering broken with new cairo |
1564 | + * debian/gnome-settings-daemon.gconf-defaults: |
1565 | + - Needs to be moved to GSettings |
1566 | + |
1567 | + -- Rodrigo Moya <rodrigo.moya@canonical.com> Wed, 04 May 2011 13:07:16 +0200 |
1568 | + |
1569 | +gnome-settings-daemon (3.0.0.1-1) experimental; urgency=low |
1570 | + |
1571 | + * New upstream release. |
1572 | + |
1573 | + -- Frederic Peters <fpeters@debian.org> Mon, 28 Mar 2011 11:37:24 +0530 |
1574 | + |
1575 | +gnome-settings-daemon (2.91.93-1) experimental; urgency=low |
1576 | + |
1577 | + * New upstream release. |
1578 | + |
1579 | + -- Frederic Peters <fpeters@debian.org> Sun, 27 Mar 2011 19:15:59 +0530 |
1580 | + |
1581 | +gnome-settings-daemon (2.91.92-1) experimental; urgency=low |
1582 | + |
1583 | + * New upstream release. |
1584 | + |
1585 | + -- Frederic Peters <fpeters@debian.org> Wed, 23 Mar 2011 19:24:48 +0100 |
1586 | + |
1587 | +gnome-settings-daemon (2.91.91-1) experimental; urgency=low |
1588 | + |
1589 | + [Frederic Peters] |
1590 | + * New upstream release. |
1591 | + |
1592 | + [Emilio Pozuelo Monfort] |
1593 | + * debian/control.in: |
1594 | + + Re-add build dependency on libxklavier-dev, since configure.ac |
1595 | + actually requires it. |
1596 | + |
1597 | + -- Frederic Peters <fpeters@debian.org> Tue, 08 Mar 2011 19:17:09 +0100 |
1598 | + |
1599 | +gnome-settings-daemon (2.91.90-2) experimental; urgency=low |
1600 | + |
1601 | + * debian/control.in: |
1602 | + * Add build-dep on recent libgnomekbd-dev |
1603 | + * Remove direct build-depend on libxklavier-dev, libgnomekbd-dev will pull |
1604 | + in the right version |
1605 | + |
1606 | + -- Sjoerd Simons <sjoerd@debian.org> Sat, 26 Feb 2011 21:26:07 +0000 |
1607 | + |
1608 | +gnome-settings-daemon (2.91.90-1) experimental; urgency=low |
1609 | + |
1610 | + * New upstream release. |
1611 | + - gnome-settings-daemon.install: keybindings for accessibility tools |
1612 | + have been moved to the gnome-control-center module. |
1613 | + |
1614 | + -- Frederic Peters <fpeters@debian.org> Tue, 22 Feb 2011 22:49:26 +0100 |
1615 | + |
1616 | +gnome-settings-daemon (2.91.9-1) experimental; urgency=low |
1617 | + |
1618 | + [ Sebastien Bacher ] |
1619 | + * debian/gnome-settings-daemon.install: |
1620 | + - install the polkit files there |
1621 | + * debian/control.in: |
1622 | + - build-depends on libpolkit-gobject-1-dev |
1623 | + - drop the build-depends on libxrandr-dev and libxrender-dev, the |
1624 | + configure doesn't use those in the new version |
1625 | + - recommends pulseaudio since it's used for the multimedia keys |
1626 | + (Close: #611198) |
1627 | + |
1628 | + [ Emilio Pozuelo Monfort ] |
1629 | + * debian/patches/02_missing_libs.patch: |
1630 | + + Removed. This was fixed upstream in a different way a long time |
1631 | + ago. The patch was also disabled on 2.91.5.1-1 without any bad |
1632 | + consequences. |
1633 | + * New upstream release. |
1634 | + + d/patches/0001-Ensure-the-volume-doesn-t-underflow-and-wrap-around.patch, |
1635 | + d/patches/13_monitor_kfreebsd.patch: |
1636 | + - Removed, fixed upstream. |
1637 | + + debian/control.in: |
1638 | + - Updated build dependencies. |
1639 | + - Update the gtk+ 3 build dependency for the new package name. |
1640 | + |
1641 | + -- Emilio Pozuelo Monfort <pochu@debian.org> Sat, 19 Feb 2011 14:28:40 +0000 |
1642 | + |
1643 | +gnome-settings-daemon (2.91.8-1) experimental; urgency=low |
1644 | + |
1645 | + [ Sjoerd Simons ] |
1646 | + * Enable pulseaudio support |
1647 | + * Enable the settings d-conf <-> gconf bridge |
1648 | + * d/p/0001-Ensure-the-volume-doesn-t-underflow-and-wrap-around.patch |
1649 | + + Added. Fix a bug where it was possible to lower the volume below zero, |
1650 | + causing it to wrap-around to MAXUINT. |
1651 | + |
1652 | + [ Emilio Pozuelo Monfort ] |
1653 | + * New upstream release. |
1654 | + + debian/control.in: |
1655 | + - Update build dependencies. |
1656 | + * debian/rules: |
1657 | + - Remove duplicated list-missing target and utils.mk include. |
1658 | + - Include autoreconf.mk before debhelper.mk to not leave cruft when |
1659 | + running clean. |
1660 | + * debian/control.in: |
1661 | + - Standards-Version is 3.9.1, no changes needed. |
1662 | + - Drop old Replaces. |
1663 | + |
1664 | + -- Emilio Pozuelo Monfort <pochu@debian.org> Wed, 12 Jan 2011 22:48:04 +0000 |
1665 | + |
1666 | +gnome-settings-daemon (2.91.5.1-2) experimental; urgency=low |
1667 | + |
1668 | + * Make the nautilus-data depend versioned |
1669 | + |
1670 | + -- Sjoerd Simons <sjoerd@debian.org> Sun, 12 Dec 2010 14:32:07 +0000 |
1671 | + |
1672 | +gnome-settings-daemon (2.91.5.1-1) experimental; urgency=low |
1673 | + |
1674 | + * New upstream release |
1675 | + * debian/control.in: Update build-depends to gnome 3.0 versions |
1676 | + * debian/patches/01_xrdb.patch |
1677 | + - Removed. g-s-d no longer manages xrdb |
1678 | + * debian/patches/03_maintainer_mode.patch |
1679 | + - Removed. Fixed upstream |
1680 | + * debian/patches/10_clipboard_crash.patch |
1681 | + - Removed. Fixed upstream. |
1682 | + * debian/patches/12_monitor_network_fs.patch |
1683 | + - Removed. Fixed upstream |
1684 | + * debian/patches/13_monitor_kfreebsd.patch |
1685 | + - Updated |
1686 | + * debian/patches/20_gstreamer.patch |
1687 | + - Removed. Time to move to pulseaudio by default... |
1688 | + * debian/patches/30_pkgconfig-path.patch: |
1689 | + - Removed. Fixed upstream |
1690 | + * debian/patches/70_relibtoolize.patch |
1691 | + - Removed, moving to dh_autoreconf |
1692 | + * debian/patches/99_ltmain_as-needed.patch |
1693 | + - Removed, moving to dh_autoreconf |
1694 | + * debian/gnome-settings-daemon.install |
1695 | + - Updated |
1696 | + * Switch to dh_autoreconf and trigger list-missing |
1697 | + * Make gnome-settings-daemon depends on gsettings-desktop-schemas and |
1698 | + nautilus-data to pull in the necessary schema files. |
1699 | + |
1700 | + -- Sjoerd Simons <sjoerd@debian.org> Sat, 11 Dec 2010 16:20:56 +0000 |
1701 | + |
1702 | +gnome-settings-daemon (2.30.2-2) unstable; urgency=low |
1703 | + |
1704 | + * 13_monitor_kfreebsd.patch: new patch. Don’t monitor fdescfs. |
1705 | + Closes: #594891. |
1706 | + * 10_clipboard_crash.patch: stolen from upstream git. Fixes a crash in |
1707 | + the clipboard manager. Closes: #588308. |
1708 | + |
1709 | + -- Josselin Mouette <joss@debian.org> Wed, 20 Oct 2010 01:29:10 +0200 |
1710 | + |
1711 | +gnome-settings-daemon (2.30.2-1) unstable; urgency=low |
1712 | + |
1713 | + * New upstream stable release. |
1714 | + * Switch to source format 3.0 (quilt). |
1715 | + - Add debian/source/format. |
1716 | + - Drop Build-Depends on quilt. |
1717 | + - Remove /usr/share/cdbs/1/rules/patchsys-quilt.mk from debian/rules. |
1718 | + * Refresh patches for new upstream release. |
1719 | + * debian/control.in |
1720 | + - Drop Build-Depends on dpkg-dev (>= 1.13.19) as even oldstable has a more |
1721 | + recent version. |
1722 | + - Add Vcs-Browser and Vcs-Svn fields. |
1723 | + - Bump Standards-Version to 3.9.0. |
1724 | + - Use Breaks as recommended by the new policy. |
1725 | + |
1726 | + -- Michael Biebl <biebl@debian.org> Fri, 23 Jul 2010 01:34:51 +0200 |
1727 | + |
1728 | +gnome-settings-daemon (2.30.1-1) unstable; urgency=low |
1729 | + |
1730 | + * New upstream release. |
1731 | + * Bump build-dependencies. |
1732 | + * 11_sleepkey.patch, 40_xklavier_5.0.patch: dropped, obsolete. |
1733 | + * 20_gstreamer.patch, 30_pkgconfig-path.patch, 70_relibtoolize.patch: |
1734 | + updated for the new version. |
1735 | + |
1736 | + -- Josselin Mouette <joss@debian.org> Tue, 27 Apr 2010 20:00:27 +0200 |
1737 | + |
1738 | +gnome-settings-daemon (2.28.1-3) unstable; urgency=low |
1739 | + |
1740 | + * Depend on libgnome2-common for the GConf schemas. |
1741 | + * 40_xklavier_5.0.patch: new patch. Get 2.28 version to work with |
1742 | + libxklavier 5.0. |
1743 | + * Require said version to build. |
1744 | + |
1745 | + -- Josselin Mouette <joss@debian.org> Fri, 09 Apr 2010 00:17:00 +0200 |
1746 | + |
1747 | +gnome-settings-daemon (2.28.1-2) unstable; urgency=low |
1748 | + |
1749 | + * Drop libxxf86misc-dev build-dependency. This extension is only used |
1750 | + as a fallback to XKB. Closes: #559690. |
1751 | + * 12_monitor_network_fs.patch: new patch. Don’t monitor remote |
1752 | + filesystems for their free size. Closes: #563592. |
1753 | + |
1754 | + -- Josselin Mouette <joss@debian.org> Sat, 09 Jan 2010 10:59:14 +0100 |
1755 | + |
1756 | +gnome-settings-daemon (2.28.1-1) unstable; urgency=low |
1757 | + |
1758 | + * New upstream release. |
1759 | + - debian/patches/70_relibtoolize.patch: |
1760 | + + Updated. |
1761 | + * debian/rules: remove check-dist.mk to upload to unstable. |
1762 | + |
1763 | + -- Emilio Pozuelo Monfort <pochu@debian.org> Thu, 22 Oct 2009 06:08:36 +0200 |
1764 | + |
1765 | +gnome-settings-daemon (2.28.0-1) experimental; urgency=low |
1766 | + |
1767 | + * Add a watch file. |
1768 | + * Add a manpage for gnome-settings-daemon, thanks Joshua Cummings! |
1769 | + Closes: #494370. |
1770 | + * debian/control.in: remove trailing whitespaces. |
1771 | + * Standards-Version is 3.8.2, no changes needed. |
1772 | + * New upstream release. |
1773 | + - debian/control.in: |
1774 | + + Bump libgtk2.0-dev and libgnome-desktop-dev build dependencies. |
1775 | + + Remove libglade2-dev build dependency, no longer needed. |
1776 | + + Build depend on libxklavier-dev >= 4.0 instead of libxklavier12-dev. |
1777 | + + Break gnome-screensaver << 2.28 since g-s-d doesn't start it anymore, |
1778 | + relaying on the autostart file in g-s 2.28. |
1779 | + - debian/patches/20_gstreamer.patch, |
1780 | + debian/patches/70_relibtoolize.patch: |
1781 | + + Updated to apply again. |
1782 | + - debian/gnome-settings-daemon.install: |
1783 | + + Install *.ui rather than *.glade. |
1784 | + + Don't install *.png, the icon is not shipped anymore. |
1785 | + * Standards-Version is 3.8.3, no changes needed. |
1786 | + * debian/rules: |
1787 | + - Don't touch every file anymore, it was done because of a broken tarball. |
1788 | + - Include check-dist.mk to avoid uploads to unstable. |
1789 | + |
1790 | + -- Emilio Pozuelo Monfort <pochu@debian.org> Fri, 09 Oct 2009 17:26:43 +0200 |
1791 | + |
1792 | +gnome-settings-daemon (2.26.1-2) unstable; urgency=low |
1793 | + |
1794 | + * 03_maintainer_mode.patch: new patch, add AM_MAINTAINER_MODE. Fixes |
1795 | + FTBFS. |
1796 | + * Regenerate 70_relibtoolize.patch. |
1797 | + |
1798 | + -- Josselin Mouette <joss@debian.org> Fri, 29 May 2009 16:19:52 +0200 |
1799 | + |
1800 | +gnome-settings-daemon (2.26.1-1) unstable; urgency=low |
1801 | + |
1802 | + * New upstream release. |
1803 | + + 20_gstreamer.patch: install the plugin although pulse is disabled. |
1804 | + + Refresh 70_relibtoolize.patch. |
1805 | + * Move the autostart file to /usr/share/gnome/autostart. |
1806 | + * gnome-settings-daemon.postinst: |
1807 | + + Remove the old autostart file if needed. |
1808 | + + Only remove the xrdb stuff upon upgrades from pre-2.24.1. |
1809 | + |
1810 | + -- Josselin Mouette <joss@debian.org> Fri, 29 May 2009 11:25:35 +0200 |
1811 | + |
1812 | +gnome-settings-daemon (2.26.0-2) experimental; urgency=low |
1813 | + |
1814 | + * 20_gstreamer.patch: Initialize Gerror * variables to NULL before |
1815 | + usage. Fixes a crasher when using media keys (Closes: #524165) |
1816 | + |
1817 | + -- Sjoerd Simons <sjoerd@debian.org> Sat, 18 Apr 2009 11:00:25 +0100 |
1818 | + |
1819 | +gnome-settings-daemon (2.26.0-1) experimental; urgency=low |
1820 | + |
1821 | + * New upstream release. |
1822 | + * Update build-dependencies. |
1823 | + * Install the autostart file and the keybindings XML file. |
1824 | + + Break gnome-session < 2.24 which would attempt to start it twice |
1825 | + with the autostart file. |
1826 | + * 11_sleepkey.patch: updated for the new version. |
1827 | + * 20_gstreamer.patch: new patch from Romain Périer, adds back support |
1828 | + for GStreamer with a selection at compile time. |
1829 | + * 70_relibtoolize.patch: regenerated. |
1830 | + * Refresh other patches. |
1831 | + * Pass --disable-pulse to configure, to use the GStreamer code |
1832 | + instead. |
1833 | + |
1834 | + -- Josselin Mouette <joss@debian.org> Sat, 11 Apr 2009 11:31:52 +0200 |
1835 | + |
1836 | +gnome-settings-daemon (2.24.1-2) unstable; urgency=low |
1837 | + |
1838 | + [ Josselin Mouette ] |
1839 | + * Improve package descriptions. Mention XSETTINGS. Closes: #511905. |
1840 | + * Upload to unstable. |
1841 | + |
1842 | + [ Loic Minier ] |
1843 | + * Suggest x11-xserver-utils as gnome-settings-daemon attempts to run xrdb by |
1844 | + default and logs a warning when that fails. |
1845 | + * Suggest gnome-screensaver as gnome-settings-daemon attempts to start it by |
1846 | + default and logs a warning when that fails. |
1847 | + * Suggest metacity | x-window-manager as gnome-settings-daemon attemts to |
1848 | + start a window manager and logs a warning when that fails. |
1849 | + |
1850 | + -- Josselin Mouette <joss@debian.org> Tue, 07 Apr 2009 08:48:36 +0200 |
1851 | + |
1852 | +gnome-settings-daemon (2.24.1-1) experimental; urgency=low |
1853 | + |
1854 | + * New upstream release. |
1855 | + + Cleans up thumbnail cache automatically. Closes: #235067. |
1856 | + * Update build-dependencies and -dev dependencies. |
1857 | + * Standards version is 3.8.0. |
1858 | + * Switch to quilt for patch management; build-depend on quilt. |
1859 | + * 02_missing_libs.patch: explicitly add X11 libraries to |
1860 | + SETTINGS_PLUGINS since plugins are actually relying on them being |
1861 | + available. |
1862 | + * 70_relibtoolize.patch: new patch, relibtoolize the source. |
1863 | + * 99_ltmain_as-needed.patch: new patch, make --as-needed work. |
1864 | + * Pass -O1 -z defs --as-needed to the linker. |
1865 | + + Only warn on undefined symbols as plugins need a symbol from the |
1866 | + daemon. |
1867 | + * Add some comments in the patches. |
1868 | + * Pass --no-act to dh_makeshlibs. |
1869 | + * gnome-settings-daemon.postinst: remove /etc/gnome/config/xrdb. |
1870 | + * Install .ad files in /etc/gnome/config to replace the ones from |
1871 | + capplets-data which are still used. |
1872 | + * Do not install the autostart file since we still use gnome-session |
1873 | + 2.22 which will start g-s-d by hand. |
1874 | + |
1875 | + -- Josselin Mouette <joss@debian.org> Sat, 27 Dec 2008 11:29:41 +0100 |
1876 | + |
1877 | +gnome-settings-daemon (2.22.2.1-2) unstable; urgency=low |
1878 | + |
1879 | + * 08_extra_touchpad_options.patch: removed broken patch from Ubuntu. |
1880 | + Closes: #481191. |
1881 | + * 11_sleepkey.patch: use gnome-power-cmd to suspend the computer |
1882 | + instead of the nonexistent gdm-signal. |
1883 | + |
1884 | + -- Josselin Mouette <joss@debian.org> Tue, 11 Nov 2008 16:08:08 +0100 |
1885 | + |
1886 | +gnome-settings-daemon (2.22.2.1-1) unstable; urgency=low |
1887 | + |
1888 | + [ Josselin Mouette ] |
1889 | + * Fix priority. |
1890 | + |
1891 | + [ Sebastian Dröge ] |
1892 | + * New upstream bugfix release: |
1893 | + + debian/rules: |
1894 | + - Run touch on every file to fix up timestamps. |
1895 | + |
1896 | + -- Sebastian Dröge <slomo@debian.org> Thu, 29 May 2008 10:31:39 +0200 |
1897 | + |
1898 | +gnome-settings-daemon (2.22.1-2) unstable; urgency=high |
1899 | + |
1900 | + * Conflict against gnome-control-center < 2.21.5. Closes: #476802. |
1901 | + |
1902 | + -- Josselin Mouette <joss@debian.org> Sat, 19 Apr 2008 22:17:49 +0200 |
1903 | + |
1904 | +gnome-settings-daemon (2.22.1-1) unstable; urgency=low |
1905 | + |
1906 | + * New upstream bugfix release: |
1907 | + + debian/patches/09_locate_pointer.patch: |
1908 | + - Dropped, fixed upstream. |
1909 | + |
1910 | + -- Sebastian Dröge <slomo@debian.org> Mon, 07 Apr 2008 14:44:12 +0200 |
1911 | + |
1912 | +gnome-settings-daemon (2.22.0-4) unstable; urgency=low |
1913 | + |
1914 | + * debian/control.in: |
1915 | + + Also conflict with totem (<< 2.22.0) for the same reason. |
1916 | + * debian/gnome-settings-daemon.install: |
1917 | + + Install xrdb files into /etc/gnome/config again. |
1918 | + |
1919 | + -- Sebastian Dröge <slomo@debian.org> Sat, 22 Mar 2008 14:56:12 +0100 |
1920 | + |
1921 | +gnome-settings-daemon (2.22.0-3) unstable; urgency=low |
1922 | + |
1923 | + * Upload to unstable. |
1924 | + * debian/control.in: |
1925 | + + Add conflicts with rhythmbox (<< 0.11.5) and banshee (<< 0.13.2+dfsg-7) |
1926 | + as the multimedia keys DBus interface changed. |
1927 | + |
1928 | + -- Sebastian Dröge <slomo@debian.org> Wed, 19 Mar 2008 01:47:15 +0100 |
1929 | + |
1930 | +gnome-settings-daemon (2.22.0-2) experimental; urgency=low |
1931 | + |
1932 | + * debian/rules: |
1933 | + + Don't install the dbus service file. This is not meant to be autostarted |
1934 | + but should be started by gnome-session. |
1935 | + |
1936 | + -- Sebastian Dröge <slomo@debian.org> Sun, 16 Mar 2008 17:39:52 +0100 |
1937 | + |
1938 | +gnome-settings-daemon (2.22.0-1) experimental; urgency=low |
1939 | + |
1940 | + * New package, based on the Ubuntu packaging. |
1941 | + |
1942 | + -- Sebastian Dröge <slomo@debian.org> Wed, 12 Mar 2008 15:17:19 +0100 |
1943 | + |
1944 | |
1945 | === added file 'debian/compat' |
1946 | --- debian/compat 1970-01-01 00:00:00 +0000 |
1947 | +++ debian/compat 2014-02-04 13:40:10 +0000 |
1948 | @@ -0,0 +1,1 @@ |
1949 | +9 |
1950 | |
1951 | === added file 'debian/control' |
1952 | --- debian/control 1970-01-01 00:00:00 +0000 |
1953 | +++ debian/control 2014-02-04 13:40:10 +0000 |
1954 | @@ -0,0 +1,100 @@ |
1955 | +# This file is autogenerated. DO NOT EDIT! |
1956 | +# |
1957 | +# Modifications should be made to debian/control.in instead. |
1958 | +# This file is regenerated automatically in the clean target. |
1959 | +Source: gnome-settings-daemon |
1960 | +Section: gnome |
1961 | +Priority: optional |
1962 | +Maintainer: Ubuntu Desktop Team <ubuntu-desktop@lists.ubuntu.com> |
1963 | +XSBC-Original-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org> |
1964 | +Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org> |
1965 | +Build-Depends: cdbs, |
1966 | + debhelper (>= 9), |
1967 | + gnome-pkg-tools, |
1968 | + gtk-doc-tools, |
1969 | + dh-autoreconf, |
1970 | + autotools-dev, |
1971 | + intltool (>= 0.37.1), |
1972 | + libdbus-glib-1-dev (>= 0.74), |
1973 | + libglib2.0-dev (>= 2.35.3), |
1974 | + libgtk-3-dev (>= 3.7.8), |
1975 | + libnotify-dev (>= 0.7.0), |
1976 | + libxt-dev, |
1977 | + libxi-dev, |
1978 | + libfontconfig1-dev, |
1979 | + libxext-dev, |
1980 | + libx11-dev, |
1981 | + libxtst-dev, |
1982 | + gsettings-desktop-schemas-dev (>= 3.7.2.1), |
1983 | + libgnome-desktop-3-dev (>= 3.7.90), |
1984 | + libpulse-dev (>= 1:2.0), |
1985 | + libasound2-dev, |
1986 | + librsvg2-dev (>= 2.36.2), |
1987 | + libcanberra-gtk3-dev, |
1988 | + libcups2-dev, |
1989 | + libpolkit-gobject-1-dev, |
1990 | + libaccountsservice-dev (>= 0.6.34), |
1991 | + libappindicator3-dev (>= 0.4.90), |
1992 | + hwdata, |
1993 | + libupower-glib-dev (>= 0.9.11), |
1994 | + libcolord-dev (>= 0.1.12), |
1995 | + liblcms2-dev, |
1996 | + libnss3-dev, |
1997 | + libgudev-1.0-dev, |
1998 | + libwacom-dev (>= 0.7), |
1999 | + xserver-xorg-input-wacom, |
2000 | + libgnomekbd-dev (>= 3.5.1), |
2001 | + libxklavier-dev, |
2002 | + libsystemd-login-dev (>= 183), |
2003 | + libibus-1.0-dev (>= 1.5.0) |
2004 | +Standards-Version: 3.9.3 |
2005 | +Vcs-Bzr: https://code.launchpad.net/~ubuntu-desktop/gnome-settings-daemon/ubuntu |
2006 | + |
2007 | +Package: gnome-settings-daemon |
2008 | +Architecture: any |
2009 | +Depends: ${shlibs:Depends}, |
2010 | + ${misc:Depends}, |
2011 | + accountsservice (>= 0.6.34), |
2012 | + gsettings-desktop-schemas (>= 3.7.2.1), |
2013 | + nautilus-data (>= 2.91.3-1) |
2014 | +Recommends: ibus (>= 1.5.0), |
2015 | + pulseaudio, |
2016 | + systemd-services |
2017 | +Pre-Depends: ${misc:Pre-Depends} |
2018 | +Breaks: rhythmbox (<< 0.11.5), |
2019 | + banshee (<< 0.13.2+dfsg-7), |
2020 | + totem (<< 2.22.0), |
2021 | + gnome-control-center (<< 1:3.6.3-0ubuntu35), |
2022 | + gnome-session (<< 2.24), |
2023 | + gnome-screensaver (<< 2.28.0), |
2024 | + gnome-color-manager (<< 3.0), |
2025 | + unity-greeter (<< 0.2.1-0ubuntu1), |
2026 | + indicator-datetime (<< 12.10.3daily13.03.26) |
2027 | +Suggests: x11-xserver-utils, |
2028 | + gnome-screensaver, |
2029 | + metacity | x-window-manager |
2030 | +Description: daemon handling the GNOME session settings |
2031 | + This package contains the daemon which is responsible for setting the |
2032 | + various parameters of a GNOME session and the applications that run |
2033 | + under it. It handles the following kinds of settings: |
2034 | + . |
2035 | + * Keyboard: layout, accessibility options, shortcuts, media keys |
2036 | + * Clipboard management |
2037 | + * Theming: background, icons, GTK+ applications |
2038 | + * Cleanup of unused files |
2039 | + * Mouse: cursors, speed, accessibility options |
2040 | + * Startup of other daemons: screensaver, sound daemon |
2041 | + * Typing break |
2042 | + . |
2043 | + It also sets various application settings through X resources and |
2044 | + freedesktop.org XSETTINGS. |
2045 | + |
2046 | +Package: gnome-settings-daemon-dev |
2047 | +Architecture: any |
2048 | +Depends: ${shlibs:Depends}, |
2049 | + ${misc:Depends}, |
2050 | + libdbus-glib-1-dev (>= 0.74), |
2051 | + libglib2.0-dev (>= 2.35.3) |
2052 | +Description: Headers for building applications communicating with gnome-settings-daemon |
2053 | + This package contains header files required to build applications that |
2054 | + communicate with the GNOME settings daemon over D-Bus. |
2055 | |
2056 | === added file 'debian/control.in' |
2057 | --- debian/control.in 1970-01-01 00:00:00 +0000 |
2058 | +++ debian/control.in 2014-02-04 13:40:10 +0000 |
2059 | @@ -0,0 +1,96 @@ |
2060 | +Source: gnome-settings-daemon |
2061 | +Section: gnome |
2062 | +Priority: optional |
2063 | +Maintainer: Ubuntu Desktop Team <ubuntu-desktop@lists.ubuntu.com> |
2064 | +XSBC-Original-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org> |
2065 | +Uploaders: @GNOME_TEAM@ |
2066 | +Build-Depends: cdbs, |
2067 | + debhelper (>= 9), |
2068 | + gnome-pkg-tools, |
2069 | + gtk-doc-tools, |
2070 | + dh-autoreconf, |
2071 | + autotools-dev, |
2072 | + intltool (>= 0.37.1), |
2073 | + libdbus-glib-1-dev (>= 0.74), |
2074 | + libglib2.0-dev (>= 2.35.3), |
2075 | + libgtk-3-dev (>= 3.7.8), |
2076 | + libnotify-dev (>= 0.7.0), |
2077 | + libxt-dev, |
2078 | + libxi-dev, |
2079 | + libfontconfig1-dev, |
2080 | + libxext-dev, |
2081 | + libx11-dev, |
2082 | + libxtst-dev, |
2083 | + gsettings-desktop-schemas-dev (>= 3.7.2.1), |
2084 | + libgnome-desktop-3-dev (>= 3.7.90), |
2085 | + libpulse-dev (>= 1:2.0), |
2086 | + libasound2-dev, |
2087 | + librsvg2-dev (>= 2.36.2), |
2088 | + libcanberra-gtk3-dev, |
2089 | + libcups2-dev, |
2090 | + libpolkit-gobject-1-dev, |
2091 | + libaccountsservice-dev (>= 0.6.34), |
2092 | + libappindicator3-dev (>= 0.4.90), |
2093 | + hwdata, |
2094 | + libupower-glib-dev (>= 0.9.11), |
2095 | + libcolord-dev (>= 0.1.12), |
2096 | + liblcms2-dev, |
2097 | + libnss3-dev, |
2098 | + libgudev-1.0-dev, |
2099 | + libwacom-dev (>= 0.7), |
2100 | + xserver-xorg-input-wacom, |
2101 | + libgnomekbd-dev (>= 3.5.1), |
2102 | + libxklavier-dev, |
2103 | + libsystemd-login-dev (>= 183), |
2104 | + libibus-1.0-dev (>= 1.5.0) |
2105 | +Standards-Version: 3.9.3 |
2106 | +Vcs-Bzr: https://code.launchpad.net/~ubuntu-desktop/gnome-settings-daemon/ubuntu |
2107 | + |
2108 | +Package: gnome-settings-daemon |
2109 | +Architecture: any |
2110 | +Depends: ${shlibs:Depends}, |
2111 | + ${misc:Depends}, |
2112 | + accountsservice (>= 0.6.34), |
2113 | + gsettings-desktop-schemas (>= 3.7.2.1), |
2114 | + nautilus-data (>= 2.91.3-1) |
2115 | +Recommends: ibus (>= 1.5.0), |
2116 | + pulseaudio, |
2117 | + systemd-services |
2118 | +Pre-Depends: ${misc:Pre-Depends} |
2119 | +Breaks: rhythmbox (<< 0.11.5), |
2120 | + banshee (<< 0.13.2+dfsg-7), |
2121 | + totem (<< 2.22.0), |
2122 | + gnome-control-center (<< 1:3.6.3-0ubuntu35), |
2123 | + gnome-session (<< 2.24), |
2124 | + gnome-screensaver (<< 2.28.0), |
2125 | + gnome-color-manager (<< 3.0), |
2126 | + unity-greeter (<< 0.2.1-0ubuntu1), |
2127 | + indicator-datetime (<< 12.10.3daily13.03.26) |
2128 | +Suggests: x11-xserver-utils, |
2129 | + gnome-screensaver, |
2130 | + metacity | x-window-manager |
2131 | +Description: daemon handling the GNOME session settings |
2132 | + This package contains the daemon which is responsible for setting the |
2133 | + various parameters of a GNOME session and the applications that run |
2134 | + under it. It handles the following kinds of settings: |
2135 | + . |
2136 | + * Keyboard: layout, accessibility options, shortcuts, media keys |
2137 | + * Clipboard management |
2138 | + * Theming: background, icons, GTK+ applications |
2139 | + * Cleanup of unused files |
2140 | + * Mouse: cursors, speed, accessibility options |
2141 | + * Startup of other daemons: screensaver, sound daemon |
2142 | + * Typing break |
2143 | + . |
2144 | + It also sets various application settings through X resources and |
2145 | + freedesktop.org XSETTINGS. |
2146 | + |
2147 | +Package: gnome-settings-daemon-dev |
2148 | +Architecture: any |
2149 | +Depends: ${shlibs:Depends}, |
2150 | + ${misc:Depends}, |
2151 | + libdbus-glib-1-dev (>= 0.74), |
2152 | + libglib2.0-dev (>= 2.35.3) |
2153 | +Description: Headers for building applications communicating with gnome-settings-daemon |
2154 | + This package contains header files required to build applications that |
2155 | + communicate with the GNOME settings daemon over D-Bus. |
2156 | |
2157 | === added file 'debian/copyright' |
2158 | --- debian/copyright 1970-01-01 00:00:00 +0000 |
2159 | +++ debian/copyright 2014-02-04 13:40:10 +0000 |
2160 | @@ -0,0 +1,72 @@ |
2161 | +This package was debianized by Sebastien Bacher <seb128@canonical.com> on |
2162 | +Wed, 16 Jan 2008 11:12:19 +0100. |
2163 | + |
2164 | +It was downloaded from http://ftp.acc.umu.se/pub/GNOME/sources/gnome-settings-daemon |
2165 | + |
2166 | +Upstream Authors: |
2167 | + |
2168 | + Jonathan Blandford <jrb@redhat.com> |
2169 | + William Jon McCann <mccann@jhu.edu> |
2170 | + |
2171 | +Copyright: |
2172 | + |
2173 | + Copyright © 2001 Ximian, Inc. |
2174 | + Copyright (C) 2007 William Jon McCann <mccann@jhu.edu> |
2175 | + Copyright (C) 2000 Helix Code, Inc |
2176 | + Copyright © 2007 Matthias Clasen |
2177 | + Copyright (C) 2007 Rodrigo Moya |
2178 | + Copyright (C) 2007 Anders Carlsson |
2179 | + Copyright © 2004 Red Hat, Inc. |
2180 | + Copyright 2002 Sun Microsystems, Inc. |
2181 | + Copyright © 2005,2006 Novell, Inc. |
2182 | + Copyright © 2007 The GNOME Foundation |
2183 | + Copyright (C) 2002-2005 - Paolo Maggi |
2184 | + Copyright (C) 2002 Red Hat, Inc. |
2185 | + Copyright 1998, 2001 Tim Janik |
2186 | + Copyright � 2001 Udaltsoft |
2187 | + Copyright (C) 2001, 2002, 2003 Bastien Nocera |
2188 | + Copyright (C) 2003 Ross Burton <ross@burtonini.com> |
2189 | + Copyright © 2001 Jonathan Blandford <jrb@gnome.org> |
2190 | + |
2191 | +License: |
2192 | + |
2193 | + This package is free software; you can redistribute it and/or modify |
2194 | + it under the terms of the GNU General Public License as published by |
2195 | + the Free Software Foundation; either version 2 of the License, or |
2196 | + (at your option) any later version. |
2197 | + |
2198 | + This package is distributed in the hope that it will be useful, |
2199 | + but WITHOUT ANY WARRANTY; without even the implied warranty of |
2200 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
2201 | + GNU General Public License for more details. |
2202 | + |
2203 | + You should have received a copy of the GNU General Public License |
2204 | + along with this package; if not, write to the Free Software |
2205 | + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
2206 | + |
2207 | +On Debian systems, the complete text of the GNU General |
2208 | +Public License can be found in `/usr/share/common-licenses/GPL'. |
2209 | + |
2210 | +eggaccelerators.h, eggaccelerators.c |
2211 | + |
2212 | +License: |
2213 | + |
2214 | + This package is free software; you can redistribute it and/or |
2215 | + modify it under the terms of the GNU Lesser General Public |
2216 | + License as published by the Free Software Foundation; either |
2217 | + version 2 of the License, or (at your option) any later version. |
2218 | + |
2219 | + This package is distributed in the hope that it will be useful, |
2220 | + but WITHOUT ANY WARRANTY; without even the implied warranty of |
2221 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
2222 | + Lesser General Public License for more details. |
2223 | + |
2224 | + You should have received a copy of the GNU Lesser General Public |
2225 | + License along with this package; if not, write to the Free Software |
2226 | + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
2227 | + |
2228 | +On Debian systems, the complete text of the GNU Lesser General |
2229 | +Public License can be found in `/usr/share/common-licenses/LGPL'. |
2230 | + |
2231 | +The Debian packaging is (C) 2008, Sebastien Bacher <seb128@canonical.com> and |
2232 | +is licensed under the GPL, see above. |
2233 | |
2234 | === added file 'debian/gnome-settings-daemon-dev.install' |
2235 | --- debian/gnome-settings-daemon-dev.install 1970-01-01 00:00:00 +0000 |
2236 | +++ debian/gnome-settings-daemon-dev.install 2014-02-04 13:40:10 +0000 |
2237 | @@ -0,0 +1,2 @@ |
2238 | +usr/include |
2239 | +usr/lib/pkgconfig |
2240 | |
2241 | === added file 'debian/gnome-settings-daemon.1' |
2242 | --- debian/gnome-settings-daemon.1 1970-01-01 00:00:00 +0000 |
2243 | +++ debian/gnome-settings-daemon.1 2014-02-04 13:40:10 +0000 |
2244 | @@ -0,0 +1,39 @@ |
2245 | +.\" |
2246 | +.\" gnomeâ‚‹settings-daemon manual page |
2247 | +.\" Copyright (c) 2009 Joshua Cummings <jrac@internode.on.net> |
2248 | +.\" |
2249 | +.TH GNOME-SETTINGS-DAEMON 1 "June 25 2009" "" |
2250 | +.SH NAME |
2251 | +gnome-settings-daemon \- Handles the GNOME session settings |
2252 | +.SH SYNOPSIS |
2253 | +\fBgnome-settings-daemon\fR [\fB\-\-debug\fR] [\fB\-\-no-daemon\fR] |
2254 | +[\fB\-\-gconf-prefix\fR] [\fB\-\-display\fR=\fIDISPLAY\fR] |
2255 | +.SH DESCRIPTION |
2256 | +\fIgnome-settings-daemon\fR is responsible for setting the various preference |
2257 | +parameters of a GNOME session and the applications that run under it. |
2258 | +.SH OPTIONS |
2259 | +.PP |
2260 | +Help options |
2261 | +.TP |
2262 | +\-?, \fB\-\-help\fR |
2263 | +Show this help message |
2264 | +.PP |
2265 | +Application options |
2266 | +.TP |
2267 | +\fB\-\^\-debug\fR |
2268 | +Enable debugging code |
2269 | +.TP |
2270 | +\fB\-\^\-no-daemon\fR |
2271 | +Do not detach the daemon process from its controlling terminal |
2272 | +.TP |
2273 | +\fB\-\^\-gconf-prefix\fR |
2274 | +Specify a custom GConf settings prefix for settings manager plugins |
2275 | +.TP |
2276 | +\fB\-\^\-display\fR=\fIDISPLAY\fR |
2277 | +X display to use |
2278 | +.PP |
2279 | +.SH AUTHOR |
2280 | +\fBgnome-settings-daemon\fR was written by Jonathan Blandford <jrb@redhat.com> |
2281 | +and William Jon McCann <mccann@jhu.edu>. |
2282 | +.PP |
2283 | +This manual page was originally written by Joshua Cummings <jrac@internode.on.net>. |
2284 | |
2285 | === added file 'debian/gnome-settings-daemon.gsettings-override' |
2286 | --- debian/gnome-settings-daemon.gsettings-override 1970-01-01 00:00:00 +0000 |
2287 | +++ debian/gnome-settings-daemon.gsettings-override 2014-02-04 13:40:10 +0000 |
2288 | @@ -0,0 +1,3 @@ |
2289 | +[org.gnome.desktop.wm.keybindings] |
2290 | +switch-input-source=['<Super>space'] |
2291 | +switch-input-source-backward=['<Shift><Super>space'] |
2292 | |
2293 | === added file 'debian/gnome-settings-daemon.install' |
2294 | --- debian/gnome-settings-daemon.install 1970-01-01 00:00:00 +0000 |
2295 | +++ debian/gnome-settings-daemon.install 2014-02-04 13:40:10 +0000 |
2296 | @@ -0,0 +1,11 @@ |
2297 | +etc |
2298 | +usr/lib/gnome-settings-daemon* |
2299 | +usr/share/dbus-1 |
2300 | +usr/share/icons |
2301 | +usr/share/locale |
2302 | +usr/share/gnome-settings-daemon |
2303 | +usr/share/GConf |
2304 | +usr/share/glib-2.0 |
2305 | +usr/share/polkit-1 |
2306 | +debian/source_gnome-settings-daemon.py /usr/share/apport/package-hooks |
2307 | + |
2308 | |
2309 | === added file 'debian/gnome-settings-daemon.links' |
2310 | --- debian/gnome-settings-daemon.links 1970-01-01 00:00:00 +0000 |
2311 | +++ debian/gnome-settings-daemon.links 2014-02-04 13:40:10 +0000 |
2312 | @@ -0,0 +1,1 @@ |
2313 | +usr/lib/gnome-settings-daemon/gnome-settings-daemon usr/bin/gnome-settings-daemon |
2314 | |
2315 | === added file 'debian/gnome-settings-daemon.maintscript' |
2316 | --- debian/gnome-settings-daemon.maintscript 1970-01-01 00:00:00 +0000 |
2317 | +++ debian/gnome-settings-daemon.maintscript 2014-02-04 13:40:10 +0000 |
2318 | @@ -0,0 +1,7 @@ |
2319 | +rm_conffile /etc/gnome/config/Editres.ad 3.6.3-0ubuntu3~ |
2320 | +rm_conffile /etc/gnome/config/Emacs.ad 3.6.3-0ubuntu3~ |
2321 | +rm_conffile /etc/gnome/config/General.ad 3.6.3-0ubuntu3~ |
2322 | +rm_conffile /etc/gnome/config/Motif.ad 3.6.3-0ubuntu3~ |
2323 | +rm_conffile /etc/gnome/config/Tk.ad 3.6.3-0ubuntu3~ |
2324 | +rm_conffile /etc/gnome/config/Xaw.ad 3.6.3-0ubuntu3~ |
2325 | +rm_conffile /etc/dbus-1/system.d/org.gnome.SettingsDaemon.DateTimeMechanism.conf 3.6.4-0ubuntu7~ |
2326 | |
2327 | === added file 'debian/gnome-settings-daemon.manpages' |
2328 | --- debian/gnome-settings-daemon.manpages 1970-01-01 00:00:00 +0000 |
2329 | +++ debian/gnome-settings-daemon.manpages 2014-02-04 13:40:10 +0000 |
2330 | @@ -0,0 +1,1 @@ |
2331 | +debian/gnome-settings-daemon.1 |
2332 | |
2333 | === added file 'debian/gnome-settings-daemon.postinst' |
2334 | --- debian/gnome-settings-daemon.postinst 1970-01-01 00:00:00 +0000 |
2335 | +++ debian/gnome-settings-daemon.postinst 2014-02-04 13:40:10 +0000 |
2336 | @@ -0,0 +1,21 @@ |
2337 | +#! /bin/sh |
2338 | +set -e |
2339 | + |
2340 | +#DEBHELPER# |
2341 | + |
2342 | +# Remove obsolete conffiles |
2343 | + |
2344 | +case "$1" in |
2345 | +configure) |
2346 | + if dpkg --compare-versions "$2" lt-nl "2.24.1"; then |
2347 | + rm -rf /etc/gnome/config/xrdb |
2348 | + fi |
2349 | + if dpkg --compare-versions "$2" lt-nl "2.26.1"; then |
2350 | + rm -f /etc/xdg/autostart/gnome-settings-daemon.desktop |
2351 | + fi |
2352 | + if dpkg --compare-versions "$2" lt-nl "3.6.3-0ubuntu3"; then |
2353 | + if [ -d /etc/gnome/config ]; then |
2354 | + rmdir --ignore-fail-on-non-empty /etc/gnome/config |
2355 | + fi |
2356 | + fi |
2357 | +esac |
2358 | |
2359 | === added file 'debian/gnome-settings-daemon.user-session.desktop' |
2360 | --- debian/gnome-settings-daemon.user-session.desktop 1970-01-01 00:00:00 +0000 |
2361 | +++ debian/gnome-settings-daemon.user-session.desktop 2014-02-04 13:40:10 +0000 |
2362 | @@ -0,0 +1,5 @@ |
2363 | +[Desktop Entry] |
2364 | +Type=Application |
2365 | +Name=GNOME Settings Daemon |
2366 | +Exec=/usr/lib/gnome-settings-daemon/gnome-settings-daemon |
2367 | +Hidden=true |
2368 | |
2369 | === added file 'debian/gnome-settings-daemon.user-session.upstart' |
2370 | --- debian/gnome-settings-daemon.user-session.upstart 1970-01-01 00:00:00 +0000 |
2371 | +++ debian/gnome-settings-daemon.user-session.upstart 2014-02-04 13:40:10 +0000 |
2372 | @@ -0,0 +1,8 @@ |
2373 | +description "The Gnome Settings Daemon" |
2374 | +author "Stéphane Graber <stgraber@ubuntu.com>" |
2375 | + |
2376 | +start on started dbus and starting gnome-session |
2377 | +stop on stopping gnome-session |
2378 | + |
2379 | +respawn |
2380 | +exec /usr/lib/gnome-settings-daemon/gnome-settings-daemon |
2381 | |
2382 | === added file 'debian/gnome-update-wallpaper-cache.c' |
2383 | --- debian/gnome-update-wallpaper-cache.c 1970-01-01 00:00:00 +0000 |
2384 | +++ debian/gnome-update-wallpaper-cache.c 2014-02-04 13:40:10 +0000 |
2385 | @@ -0,0 +1,70 @@ |
2386 | +/* |
2387 | + * Copyright (C) 2010 Canonical, Ltd. |
2388 | + * |
2389 | + * This program is free software; you can redistribute it and/or modify |
2390 | + * it under the terms of the GNU General Public License as published by |
2391 | + * the Free Software Foundation; either version 3 of the License, or |
2392 | + * (at your option) any later version. |
2393 | + * |
2394 | + * This program is distributed in the hope that it will be useful, |
2395 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
2396 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
2397 | + * GNU General Public License version 3.0 for more details. |
2398 | + * |
2399 | + * You should have received a copy of the GNU General Public License |
2400 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. |
2401 | + * |
2402 | + * Authored by Didier Roche <didrocks@ubuntu.com> |
2403 | + * |
2404 | + * Bug: https://bugs.launchpad.net/bugs/530024 |
2405 | + */ |
2406 | + |
2407 | +#include <glib.h> |
2408 | +#include <gdk/gdk.h> |
2409 | +#define GNOME_DESKTOP_USE_UNSTABLE_API |
2410 | +#include <libgnome-desktop/gnome-bg.h> |
2411 | + |
2412 | +static GOptionEntry entries[] = |
2413 | +{ |
2414 | + { NULL } |
2415 | +}; |
2416 | + |
2417 | +main (int argc, char *argv[]) |
2418 | +{ |
2419 | + GOptionContext *context = NULL; |
2420 | + GError *error = NULL; |
2421 | + |
2422 | + GdkScreen *screen; |
2423 | + GdkRectangle rect; |
2424 | + GnomeBG *bg; |
2425 | + GSettings *settings; |
2426 | + GdkPixbuf *pixbuf; |
2427 | + |
2428 | + gdk_init (&argc, &argv); |
2429 | + |
2430 | + context = g_option_context_new ("- refresh wallpaper cache"); |
2431 | + g_option_context_add_main_entries (context, entries, NULL); |
2432 | + if (!g_option_context_parse (context, &argc, &argv, &error)) { |
2433 | + g_printerr ("option parsing failed: %s\n", error->message); |
2434 | + g_option_context_free(context); |
2435 | + g_error_free (error); |
2436 | + return (1); |
2437 | + } |
2438 | + if (context) |
2439 | + g_option_context_free (context); |
2440 | + |
2441 | + /* cache only the first monitor */ |
2442 | + screen = gdk_screen_get_default (); |
2443 | + gdk_screen_get_monitor_geometry (screen, 0, &rect); |
2444 | + |
2445 | + bg = gnome_bg_new (); |
2446 | + settings = g_settings_new ("org.gnome.desktop.background"); |
2447 | + gnome_bg_load_from_preferences (bg, settings); |
2448 | + |
2449 | + pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, rect.width, rect.height); |
2450 | + gnome_bg_draw (bg, pixbuf, screen, FALSE); |
2451 | + |
2452 | + g_object_unref (settings); |
2453 | + |
2454 | + return (0); |
2455 | +} |
2456 | |
2457 | === added directory 'debian/patches' |
2458 | === added file 'debian/patches/05_disable_corner_tapping.patch' |
2459 | --- debian/patches/05_disable_corner_tapping.patch 1970-01-01 00:00:00 +0000 |
2460 | +++ debian/patches/05_disable_corner_tapping.patch 2014-02-04 13:40:10 +0000 |
2461 | @@ -0,0 +1,19 @@ |
2462 | +Description: Disable corner tapping when disabling tap to click |
2463 | +Bug: https://bugzilla.gnome.org/show_bug.cgi?id=607474 |
2464 | +Bug-Ubuntu: https://bugs.launchpad.net/bugs/509724 |
2465 | + |
2466 | +Index: gnome-settings-daemon-3.6.1/plugins/mouse/gsd-mouse-manager.c |
2467 | +=================================================================== |
2468 | +--- gnome-settings-daemon-3.6.1.orig/plugins/mouse/gsd-mouse-manager.c 2012-10-05 13:56:44.000000000 +0200 |
2469 | ++++ gnome-settings-daemon-3.6.1/plugins/mouse/gsd-mouse-manager.c 2012-10-26 10:20:07.735005058 +0200 |
2470 | +@@ -650,6 +650,10 @@ |
2471 | + &bytes_after, &data); |
2472 | + |
2473 | + if (rc == Success && type == XA_INTEGER && format == 8 && nitems >= 7) { |
2474 | ++ /* Set MR mapping for corner tapping on the right side*/ |
2475 | ++ data[0] = (state) ? 2 : 0; |
2476 | ++ data[1] = (state) ? 3 : 0; |
2477 | ++ |
2478 | + /* Set RLM mapping for 1/2/3 fingers*/ |
2479 | + data[4] = (state) ? ((left_handed) ? 3 : 1) : 0; |
2480 | + data[5] = (state) ? ((left_handed) ? 1 : 3) : 0; |
2481 | |
2482 | === added file 'debian/patches/16_use_synchronous_notifications.patch' |
2483 | --- debian/patches/16_use_synchronous_notifications.patch 1970-01-01 00:00:00 +0000 |
2484 | +++ debian/patches/16_use_synchronous_notifications.patch 2014-02-04 13:40:10 +0000 |
2485 | @@ -0,0 +1,427 @@ |
2486 | +Description: Use synchronous notifications when they are supported |
2487 | +Author: ? |
2488 | +Upstream: that's Ubuntu specific (notify-osd) |
2489 | +--- a/plugins/media-keys/gsd-media-keys-manager.c |
2490 | ++++ b/plugins/media-keys/gsd-media-keys-manager.c |
2491 | +@@ -62,6 +62,8 @@ |
2492 | + #include "gvc-mixer-control.h" |
2493 | + #include "gvc-mixer-sink.h" |
2494 | + |
2495 | ++#include <libnotify/notify.h> |
2496 | ++ |
2497 | + #define GSD_MEDIA_KEYS_DBUS_PATH GSD_DBUS_PATH "/MediaKeys" |
2498 | + #define GSD_MEDIA_KEYS_DBUS_NAME GSD_DBUS_NAME ".MediaKeys" |
2499 | + |
2500 | +@@ -185,6 +187,11 @@ |
2501 | + GCancellable *cancellable; |
2502 | + |
2503 | + guint start_idle_id; |
2504 | ++ |
2505 | ++ /* Ubuntu notifications */ |
2506 | ++ NotifyNotification *volume_notification; |
2507 | ++ NotifyNotification *brightness_notification; |
2508 | ++ NotifyNotification *kb_backlight_notification; |
2509 | + }; |
2510 | + |
2511 | + static void gsd_media_keys_manager_class_init (GsdMediaKeysManagerClass *klass); |
2512 | +@@ -203,6 +210,132 @@ |
2513 | + |
2514 | + static gpointer manager_object = NULL; |
2515 | + |
2516 | ++#define NOTIFY_CAP_PRIVATE_SYNCHRONOUS "x-canonical-private-synchronous" |
2517 | ++#define NOTIFY_CAP_PRIVATE_ICON_ONLY "x-canonical-private-icon-only" |
2518 | ++#define NOTIFY_HINT_TRUE "true" |
2519 | ++ |
2520 | ++typedef struct { |
2521 | ++ GsdMediaKeysManager *manager; |
2522 | ++ MediaKeyType type; |
2523 | ++ guint old_percentage; |
2524 | ++ |
2525 | ++} GsdBrightnessActionData; |
2526 | ++ |
2527 | ++static const char *volume_icons[] = { |
2528 | ++ "notification-audio-volume-muted", |
2529 | ++ "notification-audio-volume-low", |
2530 | ++ "notification-audio-volume-medium", |
2531 | ++ "notification-audio-volume-high", |
2532 | ++ NULL |
2533 | ++}; |
2534 | ++ |
2535 | ++static const char *brightness_icons[] = { |
2536 | ++ "notification-display-brightness-off", |
2537 | ++ "notification-display-brightness-low", |
2538 | ++ "notification-display-brightness-medium", |
2539 | ++ "notification-display-brightness-high", |
2540 | ++ "notification-display-brightness-full", |
2541 | ++ NULL |
2542 | ++}; |
2543 | ++ |
2544 | ++static const char *kb_backlight_icons[] = { |
2545 | ++ "notification-keyboard-brightness-off", |
2546 | ++ "notification-keyboard-brightness-low", |
2547 | ++ "notification-keyboard-brightness-medium", |
2548 | ++ "notification-keyboard-brightness-high", |
2549 | ++ "notification-keyboard-brightness-full", |
2550 | ++ NULL |
2551 | ++}; |
2552 | ++ |
2553 | ++static const char * |
2554 | ++calculate_icon_name (gint value, const char **icon_names) |
2555 | ++{ |
2556 | ++ value = CLAMP (value, 0, 100); |
2557 | ++ gint length = g_strv_length (icon_names); |
2558 | ++ gint s = (length - 1) * value / 100 + 1; |
2559 | ++ s = CLAMP (s, 1, length - 1); |
2560 | ++ |
2561 | ++ return icon_names[s]; |
2562 | ++} |
2563 | ++ |
2564 | ++static gboolean |
2565 | ++ubuntu_osd_notification_is_supported (void) |
2566 | ++{ |
2567 | ++ GList *caps; |
2568 | ++ gboolean has_cap; |
2569 | ++ |
2570 | ++ caps = notify_get_server_caps (); |
2571 | ++ has_cap = (g_list_find_custom (caps, NOTIFY_CAP_PRIVATE_SYNCHRONOUS, (GCompareFunc) g_strcmp0) != NULL); |
2572 | ++ g_list_foreach (caps, (GFunc) g_free, NULL); |
2573 | ++ g_list_free (caps); |
2574 | ++ |
2575 | ++ return has_cap; |
2576 | ++} |
2577 | ++ |
2578 | ++static gboolean |
2579 | ++ubuntu_osd_notification_show_icon (const char *icon, |
2580 | ++ const char *hint) |
2581 | ++{ |
2582 | ++ if (!ubuntu_osd_notification_is_supported ()) |
2583 | ++ return FALSE; |
2584 | ++ |
2585 | ++ NotifyNotification *notification = notify_notification_new (" ", "", icon); |
2586 | ++ notify_notification_set_hint_string (notification, NOTIFY_CAP_PRIVATE_SYNCHRONOUS, hint); |
2587 | ++ notify_notification_set_hint_string (notification, NOTIFY_CAP_PRIVATE_ICON_ONLY, NOTIFY_HINT_TRUE); |
2588 | ++ |
2589 | ++ gboolean res = notify_notification_show (notification, NULL); |
2590 | ++ g_object_unref (notification); |
2591 | ++ |
2592 | ++ return res; |
2593 | ++} |
2594 | ++ |
2595 | ++static gboolean |
2596 | ++ubuntu_osd_do_notification (NotifyNotification **notification, |
2597 | ++ const char *hint, |
2598 | ++ gint value, |
2599 | ++ gboolean muted, |
2600 | ++ const char **icon_names) |
2601 | ++{ |
2602 | ++ if (!ubuntu_osd_notification_is_supported ()) |
2603 | ++ return FALSE; |
2604 | ++ |
2605 | ++ if (!*notification) { |
2606 | ++ *notification = notify_notification_new (" ", "", NULL); |
2607 | ++ notify_notification_set_hint_string (*notification, NOTIFY_CAP_PRIVATE_SYNCHRONOUS, hint); |
2608 | ++ } |
2609 | ++ |
2610 | ++ value = CLAMP (value, -1, 101); |
2611 | ++ const char *icon = muted ? icon_names[0] : calculate_icon_name (value, icon_names); |
2612 | ++ notify_notification_set_hint_int32 (*notification, "value", value); |
2613 | ++ notify_notification_update (*notification, " ", "", icon); |
2614 | ++ |
2615 | ++ return notify_notification_show (*notification, NULL); |
2616 | ++} |
2617 | ++ |
2618 | ++static gboolean |
2619 | ++ubuntu_osd_notification_show_volume (GsdMediaKeysManager *manager, |
2620 | ++ gint value, |
2621 | ++ gboolean muted) |
2622 | ++{ |
2623 | ++ return ubuntu_osd_do_notification (&manager->priv->volume_notification, |
2624 | ++ "volume", value, muted, volume_icons); |
2625 | ++} |
2626 | ++ |
2627 | ++static gboolean |
2628 | ++ubuntu_osd_notification_show_brightness (GsdMediaKeysManager *manager, |
2629 | ++ gint value) |
2630 | ++{ |
2631 | ++ return ubuntu_osd_do_notification (&manager->priv->brightness_notification, |
2632 | ++ "brightness", value, value <= 0, brightness_icons); |
2633 | ++} |
2634 | ++ |
2635 | ++static gboolean |
2636 | ++ubuntu_osd_notification_show_kb_backlight (GsdMediaKeysManager *manager, |
2637 | ++ gint value) |
2638 | ++{ |
2639 | ++ return ubuntu_osd_do_notification (&manager->priv->kb_backlight_notification, |
2640 | ++ "keyboard", value, value <= 0, kb_backlight_icons); |
2641 | ++} |
2642 | + |
2643 | + static void |
2644 | + media_key_free (MediaKey *key) |
2645 | +@@ -908,7 +1041,9 @@ |
2646 | + } |
2647 | + |
2648 | + /* Show OSD */ |
2649 | +- show_osd (manager, "media-eject-symbolic", NULL, -1); |
2650 | ++ if (!ubuntu_osd_notification_show_icon ("notification-device-eject", "Eject")) { |
2651 | ++ show_osd (manager, "media-eject-symbolic", NULL, -1); |
2652 | ++ } |
2653 | + |
2654 | + /* Clean up the drive selection and exit if no suitable |
2655 | + * drives are found */ |
2656 | +@@ -971,8 +1106,10 @@ |
2657 | + static void |
2658 | + do_touchpad_osd_action (GsdMediaKeysManager *manager, gboolean state) |
2659 | + { |
2660 | +- show_osd (manager, state ? "input-touchpad-symbolic" |
2661 | +- : "touchpad-disabled-symbolic", NULL, -1); |
2662 | ++ if (!ubuntu_osd_notification_show_icon ((!state) ? "touchpad-disabled-symbolic" : "input-touchpad-symbolic", "Touchpad")) { |
2663 | ++ show_osd (manager, state ? "input-touchpad-symbolic" |
2664 | ++ : "touchpad-disabled-symbolic", NULL, -1); |
2665 | ++ } |
2666 | + } |
2667 | + |
2668 | + static void |
2669 | +@@ -1026,12 +1163,10 @@ |
2670 | + const GvcMixerStreamPort *port; |
2671 | + const char *icon; |
2672 | + |
2673 | +- if (!muted) { |
2674 | +- vol = (int) (100 * (double) vol / PA_VOLUME_NORM); |
2675 | +- vol = CLAMP (vol, 0, 100); |
2676 | +- } else { |
2677 | +- vol = 0.0; |
2678 | +- } |
2679 | ++ if (ubuntu_osd_notification_show_volume (manager, vol, muted)) |
2680 | ++ goto done; |
2681 | ++ |
2682 | ++ vol = CLAMP (vol, 0, 100); |
2683 | + |
2684 | + icon = get_icon_name_for_volume (!GVC_IS_MIXER_SINK (stream), muted, vol); |
2685 | + port = gvc_mixer_stream_get_port (stream); |
2686 | +@@ -1044,6 +1179,7 @@ |
2687 | + show_osd (manager, icon, NULL, vol); |
2688 | + } |
2689 | + |
2690 | ++done: |
2691 | + if (quiet == FALSE && sound_changed != FALSE && muted == FALSE) { |
2692 | + ca_context_change_device (manager->priv->ca, |
2693 | + gvc_mixer_stream_get_name (stream)); |
2694 | +@@ -1173,7 +1309,7 @@ |
2695 | + { |
2696 | + GvcMixerStream *stream; |
2697 | + gboolean old_muted, new_muted; |
2698 | +- guint old_vol, new_vol, norm_vol_step; |
2699 | ++ guint old_vol, new_vol, norm_vol_step, osd_vol; |
2700 | + gboolean sound_changed; |
2701 | + |
2702 | + /* Find the stream that corresponds to the device, if any */ |
2703 | +@@ -1231,7 +1367,16 @@ |
2704 | + } |
2705 | + } |
2706 | + |
2707 | +- update_dialog (manager, stream, new_vol, new_muted, sound_changed, quiet); |
2708 | ++ if (type == VOLUME_DOWN_KEY && old_vol == 0 && old_muted) |
2709 | ++ osd_vol = -1; |
2710 | ++ else if (type == VOLUME_UP_KEY && old_vol == PA_VOLUME_NORM && !old_muted) |
2711 | ++ osd_vol = 101; |
2712 | ++ else if (!new_muted) |
2713 | ++ osd_vol = (int) (100 * (double) new_vol / PA_VOLUME_NORM); |
2714 | ++ else |
2715 | ++ osd_vol = 0; |
2716 | ++ |
2717 | ++ update_dialog (manager, stream, osd_vol, new_muted, sound_changed, quiet); |
2718 | + } |
2719 | + |
2720 | + static void |
2721 | +@@ -1559,8 +1704,11 @@ |
2722 | + |
2723 | + static gboolean |
2724 | + do_multimedia_player_action (GsdMediaKeysManager *manager, |
2725 | ++ const char *icon, |
2726 | + const char *key) |
2727 | + { |
2728 | ++ if (icon != NULL) |
2729 | ++ ubuntu_osd_notification_show_icon (icon, key); |
2730 | + return gsd_media_player_key_pressed (manager, key); |
2731 | + } |
2732 | + |
2733 | +@@ -1809,7 +1957,8 @@ |
2734 | + GError *error = NULL; |
2735 | + guint percentage; |
2736 | + GVariant *new_percentage; |
2737 | +- GsdMediaKeysManager *manager = GSD_MEDIA_KEYS_MANAGER (user_data); |
2738 | ++ GsdBrightnessActionData *data = (GsdBrightnessActionData *) user_data; |
2739 | ++ GsdMediaKeysManager *manager = data->manager; |
2740 | + |
2741 | + new_percentage = g_dbus_proxy_call_finish (G_DBUS_PROXY (source_object), |
2742 | + res, &error); |
2743 | +@@ -1817,16 +1966,62 @@ |
2744 | + g_warning ("Failed to set new screen percentage: %s", |
2745 | + error->message); |
2746 | + g_error_free (error); |
2747 | ++ g_free (data); |
2748 | + return; |
2749 | + } |
2750 | + |
2751 | + /* update the dialog with the new value */ |
2752 | + g_variant_get (new_percentage, "(u)", &percentage); |
2753 | +- show_osd (manager, "display-brightness-symbolic", NULL, percentage); |
2754 | ++ guint osd_percentage; |
2755 | ++ |
2756 | ++ if (data->old_percentage == 100 && data->type == SCREEN_BRIGHTNESS_UP_KEY) |
2757 | ++ osd_percentage = 101; |
2758 | ++ else if (data->old_percentage == 0 && data->type == SCREEN_BRIGHTNESS_DOWN_KEY) |
2759 | ++ osd_percentage = -1; |
2760 | ++ else |
2761 | ++ osd_percentage = CLAMP (percentage, 0, 100); |
2762 | ++ |
2763 | ++ if (!ubuntu_osd_notification_show_brightness (manager, osd_percentage)) { |
2764 | ++ show_osd (manager, "display-brightness-symbolic", NULL, percentage); |
2765 | ++ } |
2766 | ++ g_free (data); |
2767 | + g_variant_unref (new_percentage); |
2768 | + } |
2769 | + |
2770 | + static void |
2771 | ++do_screen_brightness_action_real (GObject *source_object, |
2772 | ++ GAsyncResult *res, |
2773 | ++ gpointer user_data) |
2774 | ++{ |
2775 | ++ GsdBrightnessActionData *data = (GsdBrightnessActionData *) user_data; |
2776 | ++ GsdMediaKeysManager *manager = data->manager; |
2777 | ++ GError *error = NULL; |
2778 | ++ |
2779 | ++ GVariant *old_percentage = g_dbus_proxy_call_finish (G_DBUS_PROXY (source_object), |
2780 | ++ res, &error); |
2781 | ++ if (old_percentage == NULL) { |
2782 | ++ g_warning ("Failed to get old screen percentage: %s", error->message); |
2783 | ++ g_error_free (error); |
2784 | ++ g_free (data); |
2785 | ++ return; |
2786 | ++ } |
2787 | ++ |
2788 | ++ g_variant_get (old_percentage, "(u)", &data->old_percentage); |
2789 | ++ |
2790 | ++ /* call into the power plugin */ |
2791 | ++ g_dbus_proxy_call (manager->priv->power_screen_proxy, |
2792 | ++ data->type == SCREEN_BRIGHTNESS_UP_KEY ? "StepUp" : "StepDown", |
2793 | ++ NULL, |
2794 | ++ G_DBUS_CALL_FLAGS_NONE, |
2795 | ++ -1, |
2796 | ++ NULL, |
2797 | ++ update_screen_cb, |
2798 | ++ data); |
2799 | ++ |
2800 | ++ g_variant_unref (old_percentage); |
2801 | ++} |
2802 | ++ |
2803 | ++static void |
2804 | + do_screen_brightness_action (GsdMediaKeysManager *manager, |
2805 | + MediaKeyType type) |
2806 | + { |
2807 | +@@ -1836,15 +2031,18 @@ |
2808 | + return; |
2809 | + } |
2810 | + |
2811 | +- /* call into the power plugin */ |
2812 | ++ GsdBrightnessActionData *data = g_new0 (GsdBrightnessActionData, 1); |
2813 | ++ data->manager = manager; |
2814 | ++ data->type = type; |
2815 | ++ |
2816 | + g_dbus_proxy_call (manager->priv->power_screen_proxy, |
2817 | +- type == SCREEN_BRIGHTNESS_UP_KEY ? "StepUp" : "StepDown", |
2818 | ++ "GetPercentage", |
2819 | + NULL, |
2820 | + G_DBUS_CALL_FLAGS_NONE, |
2821 | + -1, |
2822 | + NULL, |
2823 | +- update_screen_cb, |
2824 | +- manager); |
2825 | ++ do_screen_brightness_action_real, |
2826 | ++ data); |
2827 | + } |
2828 | + |
2829 | + static void |
2830 | +@@ -1868,7 +2066,12 @@ |
2831 | + |
2832 | + /* update the dialog with the new value */ |
2833 | + g_variant_get (new_percentage, "(u)", &percentage); |
2834 | +- show_osd (manager, "keyboard-brightness-symbolic", NULL, percentage); |
2835 | ++ |
2836 | ++ /* FIXME: No overshoot effect for keyboard, as the power plugin has no interface |
2837 | ++ * to get the old brightness */ |
2838 | ++ if (!ubuntu_osd_notification_show_kb_backlight (manager, CLAMP (percentage, 0, 100))) { |
2839 | ++ show_osd (manager, "keyboard-brightness-symbolic", NULL, percentage); |
2840 | ++ } |
2841 | + g_variant_unref (new_percentage); |
2842 | + } |
2843 | + |
2844 | +@@ -2017,23 +2220,23 @@ |
2845 | + do_execute_desktop_or_desktop (manager, "gcalctool.desktop", "gnome-calculator.desktop", timestamp); |
2846 | + break; |
2847 | + case PLAY_KEY: |
2848 | +- return do_multimedia_player_action (manager, "Play"); |
2849 | ++ return do_multimedia_player_action (manager, NULL, "Play"); |
2850 | + case PAUSE_KEY: |
2851 | +- return do_multimedia_player_action (manager, "Pause"); |
2852 | ++ return do_multimedia_player_action (manager, NULL, "Pause"); |
2853 | + case STOP_KEY: |
2854 | +- return do_multimedia_player_action (manager, "Stop"); |
2855 | ++ return do_multimedia_player_action (manager, NULL, "Stop"); |
2856 | + case PREVIOUS_KEY: |
2857 | +- return do_multimedia_player_action (manager, "Previous"); |
2858 | ++ return do_multimedia_player_action (manager, NULL, "Previous"); |
2859 | + case NEXT_KEY: |
2860 | +- return do_multimedia_player_action (manager, "Next"); |
2861 | ++ return do_multimedia_player_action (manager, NULL, "Next"); |
2862 | + case REWIND_KEY: |
2863 | +- return do_multimedia_player_action (manager, "Rewind"); |
2864 | ++ return do_multimedia_player_action (manager, NULL, "Rewind"); |
2865 | + case FORWARD_KEY: |
2866 | +- return do_multimedia_player_action (manager, "FastForward"); |
2867 | ++ return do_multimedia_player_action (manager, NULL, "FastForward"); |
2868 | + case REPEAT_KEY: |
2869 | +- return do_multimedia_player_action (manager, "Repeat"); |
2870 | ++ return do_multimedia_player_action (manager, NULL, "Repeat"); |
2871 | + case RANDOM_KEY: |
2872 | +- return do_multimedia_player_action (manager, "Shuffle"); |
2873 | ++ return do_multimedia_player_action (manager, NULL, "Shuffle"); |
2874 | + case VIDEO_OUT_KEY: |
2875 | + do_video_out_action (manager, timestamp); |
2876 | + break; |
2877 | +@@ -2376,6 +2579,24 @@ |
2878 | + g_clear_pointer (&priv->introspection_data, g_dbus_node_info_unref); |
2879 | + g_clear_object (&priv->connection); |
2880 | + |
2881 | ++ if (priv->volume_notification != NULL) { |
2882 | ++ notify_notification_close (priv->volume_notification, NULL); |
2883 | ++ g_object_unref (priv->volume_notification); |
2884 | ++ priv->volume_notification = NULL; |
2885 | ++ } |
2886 | ++ |
2887 | ++ if (priv->brightness_notification != NULL) { |
2888 | ++ notify_notification_close (priv->brightness_notification, NULL); |
2889 | ++ g_object_unref (priv->brightness_notification); |
2890 | ++ priv->brightness_notification = NULL; |
2891 | ++ } |
2892 | ++ |
2893 | ++ if (priv->kb_backlight_notification != NULL) { |
2894 | ++ notify_notification_close (priv->kb_backlight_notification, NULL); |
2895 | ++ g_object_unref (priv->kb_backlight_notification); |
2896 | ++ priv->kb_backlight_notification = NULL; |
2897 | ++ } |
2898 | ++ |
2899 | + if (priv->keys != NULL) { |
2900 | + for (i = 0; i < priv->keys->len; ++i) { |
2901 | + MediaKey *key; |
2902 | +--- a/configure.ac |
2903 | ++++ b/configure.ac |
2904 | +@@ -201,7 +201,7 @@ |
2905 | + dnl - media-keys plugin stuff |
2906 | + dnl --------------------------------------------------------------------------- |
2907 | + |
2908 | +-PKG_CHECK_MODULES(MEDIA_KEYS, [gio-unix-2.0 libpulse >= $PA_REQUIRED_VERSION $GUDEV_PKG libpulse-mainloop-glib >= $PA_REQUIRED_VERSION libcanberra-gtk3]) |
2909 | ++PKG_CHECK_MODULES(MEDIA_KEYS, [gio-unix-2.0 libpulse >= $PA_REQUIRED_VERSION $GUDEV_PKG libpulse-mainloop-glib >= $PA_REQUIRED_VERSION libcanberra-gtk3 libnotify]) |
2910 | + PKG_CHECK_MODULES(GVC, [gobject-2.0 libpulse >= $PA_REQUIRED_VERSION libpulse-mainloop-glib >= $PA_REQUIRED_VERSION]) |
2911 | + AM_CONDITIONAL(HAVE_INTROSPECTION, false) |
2912 | + |
2913 | |
2914 | === added file 'debian/patches/43_disable_locale_settings.patch' |
2915 | --- debian/patches/43_disable_locale_settings.patch 1970-01-01 00:00:00 +0000 |
2916 | +++ debian/patches/43_disable_locale_settings.patch 2014-02-04 13:40:10 +0000 |
2917 | @@ -0,0 +1,25 @@ |
2918 | +Description: Make sure that no locales are set, even if the gsettings "region" key has |
2919 | + been assigned a value in the past, since they are set in Ubuntu via ~/.pam_environment. |
2920 | +Forwarded: not-needed |
2921 | +Author: Gunnar Hjalmarsson <ubuntu@gunnar.cc> |
2922 | + |
2923 | +* |
2924 | +* The set_locale() function is questionable anyhow, since it's called after ~/.profile |
2925 | +* is sourced by e.g. lightdm or gdm, which prevents users from fine tuning the locale |
2926 | +* settings by editing ~/.profile. |
2927 | +* |
2928 | + |
2929 | +Index: gnome-settings-daemon-3.7.3/gnome-settings-daemon/main.c |
2930 | +=================================================================== |
2931 | +--- gnome-settings-daemon-3.7.3.orig/gnome-settings-daemon/main.c 2012-12-20 09:33:43.000000000 -0500 |
2932 | ++++ gnome-settings-daemon-3.7.3/gnome-settings-daemon/main.c 2012-12-20 23:57:37.873288435 -0500 |
2933 | +@@ -348,9 +348,6 @@ |
2934 | + GDBusProxy *proxy; |
2935 | + |
2936 | + proxy = gnome_settings_session_get_session_proxy (); |
2937 | +- /* Always call this first, as Setenv can only be called before |
2938 | +- any client registers */ |
2939 | +- set_locale (proxy); |
2940 | + #ifdef HAVE_IBUS |
2941 | + set_legacy_ibus_env_vars (proxy); |
2942 | + #endif |
2943 | |
2944 | === added file 'debian/patches/45_suppress-printer-may-not-be-connected-notification.patch' |
2945 | --- debian/patches/45_suppress-printer-may-not-be-connected-notification.patch 1970-01-01 00:00:00 +0000 |
2946 | +++ debian/patches/45_suppress-printer-may-not-be-connected-notification.patch 2014-02-04 13:40:10 +0000 |
2947 | @@ -0,0 +1,32 @@ |
2948 | +# Ubuntu: https://launchpad.net/bugs/842768 |
2949 | +Index: gnome-settings-daemon-3.6.1/plugins/print-notifications/gsd-print-notifications-manager.c |
2950 | +=================================================================== |
2951 | +--- gnome-settings-daemon-3.6.1.orig/plugins/print-notifications/gsd-print-notifications-manager.c 2012-10-05 13:56:44.000000000 +0200 |
2952 | ++++ gnome-settings-daemon-3.6.1/plugins/print-notifications/gsd-print-notifications-manager.c 2012-10-26 10:19:49.487004175 +0200 |
2953 | +@@ -293,7 +293,7 @@ |
2954 | + static const char * const reasons[] = { |
2955 | + "toner-low", |
2956 | + "toner-empty", |
2957 | +- "connecting-to-device", |
2958 | ++ /*"connecting-to-device",*/ |
2959 | + "cover-open", |
2960 | + "cups-missing-filter", |
2961 | + "door-open", |
2962 | +@@ -310,7 +310,7 @@ |
2963 | + /* Translators: The printer has no toner left (same as in system-config-printer) */ |
2964 | + N_("Toner empty"), |
2965 | + /* Translators: The printer is in the process of connecting to a shared network output device (same as in system-config-printer) */ |
2966 | +- N_("Not connected?"), |
2967 | ++ /*N_("Not connected?"),*/ |
2968 | + /* Translators: One or more covers on the printer are open (same as in system-config-printer) */ |
2969 | + N_("Cover open"), |
2970 | + /* Translators: A filter or backend is not installed (same as in system-config-printer) */ |
2971 | +@@ -336,7 +336,7 @@ |
2972 | + /* Translators: The printer has no toner left (same as in system-config-printer) */ |
2973 | + N_("Printer '%s' has no toner left."), |
2974 | + /* Translators: The printer is in the process of connecting to a shared network output device (same as in system-config-printer) */ |
2975 | +- N_("Printer '%s' may not be connected."), |
2976 | ++ /*N_("Printer '%s' may not be connected."),*/ |
2977 | + /* Translators: One or more covers on the printer are open (same as in system-config-printer) */ |
2978 | + N_("The cover is open on printer '%s'."), |
2979 | + /* Translators: A filter or backend is not installed (same as in system-config-printer) */ |
2980 | |
2981 | === added file 'debian/patches/48_register_client_before_idle_callbacks.patch' |
2982 | --- debian/patches/48_register_client_before_idle_callbacks.patch 1970-01-01 00:00:00 +0000 |
2983 | +++ debian/patches/48_register_client_before_idle_callbacks.patch 2014-02-04 13:40:10 +0000 |
2984 | @@ -0,0 +1,116 @@ |
2985 | +Index: gnome-settings-daemon-3.6.1/gnome-settings-daemon/main.c |
2986 | +=================================================================== |
2987 | +--- gnome-settings-daemon-3.6.1.orig/gnome-settings-daemon/main.c 2012-10-26 10:19:49.467004174 +0200 |
2988 | ++++ gnome-settings-daemon-3.6.1/gnome-settings-daemon/main.c 2012-10-26 10:19:49.527004177 +0200 |
2989 | +@@ -303,28 +303,6 @@ |
2990 | + } |
2991 | + #endif |
2992 | + |
2993 | +-static void |
2994 | +-got_session_proxy (GObject *source_object, |
2995 | +- GAsyncResult *res, |
2996 | +- gpointer user_data) |
2997 | +-{ |
2998 | +- GDBusProxy *proxy; |
2999 | +- GError *error = NULL; |
3000 | +- |
3001 | +- proxy = g_dbus_proxy_new_finish (res, &error); |
3002 | +- if (proxy == NULL) { |
3003 | +- g_debug ("Could not connect to the Session manager: %s", error->message); |
3004 | +- g_error_free (error); |
3005 | +- } else { |
3006 | +-#ifdef HAVE_IBUS |
3007 | +- /* This will register with gnome-session after calling Setenv. */ |
3008 | +- set_legacy_ibus_env_vars (proxy); |
3009 | +-#else |
3010 | +- register_with_gnome_session (proxy); |
3011 | +-#endif |
3012 | +- } |
3013 | +-} |
3014 | +- |
3015 | + static gboolean |
3016 | + on_term_signal_pipe_closed (GIOChannel *source, |
3017 | + GIOCondition condition, |
3018 | +@@ -374,16 +352,6 @@ |
3019 | + { |
3020 | + g_assert (bus != NULL); |
3021 | + |
3022 | +- g_dbus_proxy_new (bus, |
3023 | +- G_DBUS_PROXY_FLAGS_NONE, |
3024 | +- NULL, |
3025 | +- GNOME_SESSION_DBUS_NAME, |
3026 | +- GNOME_SESSION_DBUS_OBJECT, |
3027 | +- GNOME_SESSION_DBUS_INTERFACE, |
3028 | +- NULL, |
3029 | +- (GAsyncReadyCallback) got_session_proxy, |
3030 | +- NULL); |
3031 | +- |
3032 | + watch_for_term_signal (manager); |
3033 | + } |
3034 | + |
3035 | +@@ -406,6 +374,56 @@ |
3036 | + gtk_main_quit (); |
3037 | + } |
3038 | + |
3039 | ++static gboolean |
3040 | ++do_register_client (gpointer user_data) |
3041 | ++{ |
3042 | ++ GDBusProxy *proxy = (GDBusProxy *) user_data; |
3043 | ++ g_assert (proxy != NULL); |
3044 | ++ |
3045 | ++ const char *startup_id = g_getenv ("DESKTOP_AUTOSTART_ID"); |
3046 | ++ g_dbus_proxy_call (proxy, |
3047 | ++ "RegisterClient", |
3048 | ++ g_variant_new ("(ss)", "gnome-settings-daemon", startup_id ? startup_id : ""), |
3049 | ++ G_DBUS_CALL_FLAGS_NONE, |
3050 | ++ -1, |
3051 | ++ NULL, |
3052 | ++ (GAsyncReadyCallback) on_client_registered, |
3053 | ++ manager); |
3054 | ++ |
3055 | ++ return FALSE; |
3056 | ++} |
3057 | ++ |
3058 | ++static void |
3059 | ++queue_register_client (void) |
3060 | ++{ |
3061 | ++ GDBusConnection *bus = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, NULL); |
3062 | ++ if (!bus) |
3063 | ++ return; |
3064 | ++ |
3065 | ++ GError *error = NULL; |
3066 | ++ GDBusProxy *proxy = g_dbus_proxy_new_sync (bus, |
3067 | ++ G_DBUS_PROXY_FLAGS_NONE, |
3068 | ++ NULL, |
3069 | ++ GNOME_SESSION_DBUS_NAME, |
3070 | ++ GNOME_SESSION_DBUS_OBJECT, |
3071 | ++ GNOME_SESSION_DBUS_INTERFACE, |
3072 | ++ NULL, |
3073 | ++ &error); |
3074 | ++ g_object_unref (bus); |
3075 | ++ |
3076 | ++ if (proxy == NULL) { |
3077 | ++ g_debug ("Could not connect to the Session manager: %s", error->message); |
3078 | ++ g_error_free (error); |
3079 | ++ return; |
3080 | ++ } |
3081 | ++ |
3082 | ++ /* Register the daemon with gnome-session */ |
3083 | ++ g_signal_connect (G_OBJECT (proxy), "g-signal", |
3084 | ++ G_CALLBACK (on_session_over), NULL); |
3085 | ++ |
3086 | ++ g_idle_add_full (G_PRIORITY_DEFAULT, do_register_client, proxy, NULL); |
3087 | ++} |
3088 | ++ |
3089 | + static void |
3090 | + bus_register (void) |
3091 | + { |
3092 | +@@ -499,6 +517,8 @@ |
3093 | + |
3094 | + notify_init ("gnome-settings-daemon"); |
3095 | + |
3096 | ++ queue_register_client (); |
3097 | ++ |
3098 | + bus_register (); |
3099 | + |
3100 | + gnome_settings_profile_start ("gnome_settings_manager_new"); |
3101 | |
3102 | === added file 'debian/patches/52_sync_background_to_accountsservice.patch' |
3103 | --- debian/patches/52_sync_background_to_accountsservice.patch 1970-01-01 00:00:00 +0000 |
3104 | +++ debian/patches/52_sync_background_to_accountsservice.patch 2014-02-04 13:40:10 +0000 |
3105 | @@ -0,0 +1,112 @@ |
3106 | +Index: gnome-settings-daemon-3.6.1/plugins/background/gsd-background-manager.c |
3107 | +=================================================================== |
3108 | +--- gnome-settings-daemon-3.6.1.orig/plugins/background/gsd-background-manager.c 2012-05-24 11:50:44.000000000 +0200 |
3109 | ++++ gnome-settings-daemon-3.6.1/plugins/background/gsd-background-manager.c 2012-10-26 10:19:49.567004179 +0200 |
3110 | +@@ -412,6 +412,98 @@ |
3111 | + setup_bg_and_draw_background (manager); |
3112 | + } |
3113 | + |
3114 | ++static void |
3115 | ++set_accountsservice_background (const gchar *background) |
3116 | ++{ |
3117 | ++ GDBusProxy *proxy = NULL; |
3118 | ++ GDBusProxy *user = NULL; |
3119 | ++ GVariant *variant = NULL; |
3120 | ++ GError *error = NULL; |
3121 | ++ gchar *object_path = NULL; |
3122 | ++ |
3123 | ++ proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM, |
3124 | ++ G_DBUS_PROXY_FLAGS_NONE, |
3125 | ++ NULL, |
3126 | ++ "org.freedesktop.Accounts", |
3127 | ++ "/org/freedesktop/Accounts", |
3128 | ++ "org.freedesktop.Accounts", |
3129 | ++ NULL, |
3130 | ++ &error); |
3131 | ++ |
3132 | ++ if (proxy == NULL) { |
3133 | ++ g_warning ("Failed to contact accounts service: %s", error->message); |
3134 | ++ g_error_free (error); |
3135 | ++ return; |
3136 | ++ } |
3137 | ++ |
3138 | ++ variant = g_dbus_proxy_call_sync (proxy, |
3139 | ++ "FindUserByName", |
3140 | ++ g_variant_new ("(s)", g_get_user_name ()), |
3141 | ++ G_DBUS_CALL_FLAGS_NONE, |
3142 | ++ -1, |
3143 | ++ NULL, |
3144 | ++ &error); |
3145 | ++ |
3146 | ++ if (variant == NULL) { |
3147 | ++ g_warning ("Could not contact accounts service to look up '%s': %s", |
3148 | ++ g_get_user_name (), error->message); |
3149 | ++ g_error_free (error); |
3150 | ++ goto bail; |
3151 | ++ } |
3152 | ++ |
3153 | ++ g_variant_get (variant, "(o)", &object_path); |
3154 | ++ user = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM, |
3155 | ++ G_DBUS_PROXY_FLAGS_NONE, |
3156 | ++ NULL, |
3157 | ++ "org.freedesktop.Accounts", |
3158 | ++ object_path, |
3159 | ++ "org.freedesktop.Accounts.User", |
3160 | ++ NULL, |
3161 | ++ &error); |
3162 | ++ g_free (object_path); |
3163 | ++ |
3164 | ++ if (user == NULL) { |
3165 | ++ g_warning ("Could not create proxy for user '%s': %s", |
3166 | ++ g_variant_get_string (variant, NULL), error->message); |
3167 | ++ g_error_free (error); |
3168 | ++ goto bail; |
3169 | ++ } |
3170 | ++ g_variant_unref (variant); |
3171 | ++ |
3172 | ++ variant = g_dbus_proxy_call_sync (user, |
3173 | ++ "SetBackgroundFile", |
3174 | ++ g_variant_new ("(s)", background ? background : ""), |
3175 | ++ G_DBUS_CALL_FLAGS_NONE, |
3176 | ++ -1, |
3177 | ++ NULL, |
3178 | ++ &error); |
3179 | ++ |
3180 | ++ if (variant == NULL) { |
3181 | ++ g_warning ("Failed to set the background '%s': %s", background, error->message); |
3182 | ++ g_error_free (error); |
3183 | ++ goto bail; |
3184 | ++ } |
3185 | ++ |
3186 | ++bail: |
3187 | ++ if (proxy != NULL) |
3188 | ++ g_object_unref (proxy); |
3189 | ++ if (variant != NULL) |
3190 | ++ g_variant_unref (variant); |
3191 | ++} |
3192 | ++ |
3193 | ++static void |
3194 | ++picture_uri_changed (GSettings *settings, |
3195 | ++ const char *key, |
3196 | ++ GsdBackgroundManager *manager) |
3197 | ++{ |
3198 | ++ const char *picture_uri = g_settings_get_string (settings, key); |
3199 | ++ GFile *picture_file = g_file_new_for_uri (picture_uri); |
3200 | ++ char *picture_path = g_file_get_path (picture_file); |
3201 | ++ set_accountsservice_background (picture_path); |
3202 | ++ g_free (picture_path); |
3203 | ++ g_object_unref (picture_file); |
3204 | ++} |
3205 | ++ |
3206 | + gboolean |
3207 | + gsd_background_manager_start (GsdBackgroundManager *manager, |
3208 | + GError **error) |
3209 | +@@ -424,6 +516,8 @@ |
3210 | + manager->priv->settings = g_settings_new ("org.gnome.desktop.background"); |
3211 | + g_signal_connect (manager->priv->settings, "changed::draw-background", |
3212 | + G_CALLBACK (draw_background_changed), manager); |
3213 | ++ g_signal_connect (manager->priv->settings, "changed::picture-uri", |
3214 | ++ G_CALLBACK (picture_uri_changed), manager); |
3215 | + |
3216 | + /* If this is set, nautilus will draw the background and is |
3217 | + * almost definitely in our session. however, it may not be |
3218 | |
3219 | === added file 'debian/patches/53_sync_input_sources_to_accountsservice.patch' |
3220 | --- debian/patches/53_sync_input_sources_to_accountsservice.patch 1970-01-01 00:00:00 +0000 |
3221 | +++ debian/patches/53_sync_input_sources_to_accountsservice.patch 2014-02-04 13:40:10 +0000 |
3222 | @@ -0,0 +1,111 @@ |
3223 | +--- a/plugins/keyboard/gsd-keyboard-manager.c |
3224 | ++++ b/plugins/keyboard/gsd-keyboard-manager.c |
3225 | +@@ -50,6 +50,8 @@ |
3226 | + #include <ibus.h> |
3227 | + #endif |
3228 | + |
3229 | ++#include <act/act.h> |
3230 | ++ |
3231 | + #include "gnome-settings-session.h" |
3232 | + #include "gnome-settings-profile.h" |
3233 | + #include "gsd-keyboard-manager.h" |
3234 | +@@ -969,6 +971,67 @@ |
3235 | + g_free (rules_file_path); |
3236 | + } |
3237 | + |
3238 | ++static void |
3239 | ++user_notify_is_loaded_cb (GObject *object, |
3240 | ++ GParamSpec *pspec, |
3241 | ++ gpointer user_data) |
3242 | ++{ |
3243 | ++ ActUser *user = ACT_USER (object); |
3244 | ++ GSettings *settings = user_data; |
3245 | ++ |
3246 | ++ if (act_user_is_loaded (user)) { |
3247 | ++ GVariant *sources; |
3248 | ++ GVariantIter iter; |
3249 | ++ const gchar *type; |
3250 | ++ const gchar *name; |
3251 | ++ GVariantBuilder builder; |
3252 | ++ |
3253 | ++ g_signal_handlers_disconnect_by_data (user, user_data); |
3254 | ++ |
3255 | ++ sources = g_settings_get_value (settings, KEY_INPUT_SOURCES); |
3256 | ++ |
3257 | ++ g_variant_builder_init (&builder, G_VARIANT_TYPE ("aa{ss}")); |
3258 | ++ |
3259 | ++ g_variant_iter_init (&iter, sources); |
3260 | ++ while (g_variant_iter_next (&iter, "(&s&s)", &type, &name)) { |
3261 | ++ g_variant_builder_open (&builder, G_VARIANT_TYPE ("a{ss}")); |
3262 | ++ g_variant_builder_add (&builder, "{ss}", type, name); |
3263 | ++ g_variant_builder_close (&builder); |
3264 | ++ } |
3265 | ++ |
3266 | ++ g_variant_unref (sources); |
3267 | ++ |
3268 | ++ sources = g_variant_ref_sink (g_variant_builder_end (&builder)); |
3269 | ++ act_user_set_input_sources (user, sources); |
3270 | ++ g_variant_unref (sources); |
3271 | ++ } |
3272 | ++} |
3273 | ++ |
3274 | ++static void |
3275 | ++manager_notify_is_loaded_cb (GObject *object, |
3276 | ++ GParamSpec *pspec, |
3277 | ++ gpointer user_data) |
3278 | ++{ |
3279 | ++ ActUserManager *manager = ACT_USER_MANAGER (object); |
3280 | ++ |
3281 | ++ gboolean loaded; |
3282 | ++ g_object_get (manager, "is-loaded", &loaded, NULL); |
3283 | ++ |
3284 | ++ if (loaded) { |
3285 | ++ ActUser *user; |
3286 | ++ |
3287 | ++ g_signal_handlers_disconnect_by_data (manager, user_data); |
3288 | ++ |
3289 | ++ user = act_user_manager_get_user (manager, g_get_user_name ()); |
3290 | ++ |
3291 | ++ if (act_user_is_loaded (user)) |
3292 | ++ user_notify_is_loaded_cb (G_OBJECT (user), NULL, user_data); |
3293 | ++ else |
3294 | ++ g_signal_connect (user, "notify::is-loaded", |
3295 | ++ user_notify_is_loaded_cb, user_data); |
3296 | ++ } |
3297 | ++} |
3298 | ++ |
3299 | + static gboolean |
3300 | + apply_input_sources_settings (GSettings *settings, |
3301 | + gpointer keys, |
3302 | +@@ -984,11 +1047,20 @@ |
3303 | + gchar *layout = NULL; |
3304 | + gchar *variant = NULL; |
3305 | + gchar **options = NULL; |
3306 | ++ ActUserManager *user_manager; |
3307 | ++ gboolean user_manager_loaded; |
3308 | + |
3309 | + sources = g_settings_get_value (priv->input_sources_settings, KEY_INPUT_SOURCES); |
3310 | + current = g_settings_get_uint (priv->input_sources_settings, KEY_CURRENT_INPUT_SOURCE); |
3311 | + n_sources = g_variant_n_children (sources); |
3312 | + |
3313 | ++ user_manager = act_user_manager_get_default (); |
3314 | ++ g_object_get (user_manager, "is-loaded", &user_manager_loaded, NULL); |
3315 | ++ if (user_manager_loaded) |
3316 | ++ manager_notify_is_loaded_cb (G_OBJECT (user_manager), NULL, settings); |
3317 | ++ else |
3318 | ++ g_signal_connect (user_manager, "notify::is-loaded", G_CALLBACK (manager_notify_is_loaded_cb), settings); |
3319 | ++ |
3320 | + if (n_sources < 1) |
3321 | + goto exit; |
3322 | + |
3323 | +--- a/configure.ac |
3324 | ++++ b/configure.ac |
3325 | +@@ -195,7 +195,7 @@ |
3326 | + fi |
3327 | + AM_CONDITIONAL(HAVE_IBUS, test "x$enable_ibus" == "xyes") |
3328 | + |
3329 | +-PKG_CHECK_MODULES(KEYBOARD, xkbfile $IBUS_MODULE gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION) |
3330 | ++PKG_CHECK_MODULES(KEYBOARD, accountsservice xkbfile $IBUS_MODULE gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION) |
3331 | + |
3332 | + dnl --------------------------------------------------------------------------- |
3333 | + dnl - Housekeeping plugin stuff |
3334 | |
3335 | === added file 'debian/patches/61_revert_libgnomekbd_drop' |
3336 | --- debian/patches/61_revert_libgnomekbd_drop 1970-01-01 00:00:00 +0000 |
3337 | +++ debian/patches/61_revert_libgnomekbd_drop 2014-02-04 13:40:10 +0000 |
3338 | @@ -0,0 +1,1064 @@ |
3339 | +Index: b/configure.ac |
3340 | +=================================================================== |
3341 | +--- a/configure.ac |
3342 | ++++ b/configure.ac |
3343 | +@@ -47,7 +47,7 @@ |
3344 | + GTK_REQUIRED_VERSION=3.3.18 |
3345 | + GCONF_REQUIRED_VERSION=2.6.1 |
3346 | + GIO_REQUIRED_VERSION=2.26.0 |
3347 | +-GNOME_DESKTOP_REQUIRED_VERSION=3.5.3 |
3348 | ++GNOME_DESKTOP_REQUIRED_VERSION=3.3.92 |
3349 | + LIBNOTIFY_REQUIRED_VERSION=0.7.3 |
3350 | + UPOWER_GLIB_REQUIRED_VERSION=0.9.1 |
3351 | + PA_REQUIRED_VERSION=0.9.16 |
3352 | +@@ -175,7 +175,8 @@ |
3353 | + dnl - Keyboard plugin stuff |
3354 | + dnl --------------------------------------------------------------------------- |
3355 | + |
3356 | +-PKG_CHECK_MODULES(KEYBOARD, xkbfile gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION) |
3357 | ++LIBGNOMEKBD_REQUIRED=3.5.1 |
3358 | ++PKG_CHECK_MODULES(KEYBOARD, [libgnomekbdui >= $LIBGNOMEKBD_REQUIRED libgnomekbd >= $LIBGNOMEKBD_REQUIRED libxklavier >= 5.0 kbproto]) |
3359 | + |
3360 | + dnl --------------------------------------------------------------------------- |
3361 | + dnl - Housekeeping plugin stuff |
3362 | +Index: b/plugins/keyboard/delayed-dialog.c |
3363 | +=================================================================== |
3364 | +--- /dev/null |
3365 | ++++ b/plugins/keyboard/delayed-dialog.c |
3366 | +@@ -0,0 +1,128 @@ |
3367 | ++/* |
3368 | ++ * Copyright © 2006 Novell, Inc. |
3369 | ++ * |
3370 | ++ * This program is free software; you can redistribute it and/or |
3371 | ++ * modify it under the terms of the GNU General Public License as |
3372 | ++ * published by the Free Software Foundation; either version 2, or (at |
3373 | ++ * your option) any later version. |
3374 | ++ * |
3375 | ++ * This program is distributed in the hope that it will be useful, but |
3376 | ++ * WITHOUT ANY WARRANTY; without even the implied warranty of |
3377 | ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
3378 | ++ * General Public License for more details. |
3379 | ++ * |
3380 | ++ * You should have received a copy of the GNU General Public License |
3381 | ++ * along with this program; if not, write to the Free Software |
3382 | ++ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
3383 | ++ * 02111-1307, USA. |
3384 | ++ */ |
3385 | ++ |
3386 | ++#include <stdlib.h> |
3387 | ++#include <string.h> |
3388 | ++ |
3389 | ++#include <gtk/gtk.h> |
3390 | ++#include <gdk/gdkx.h> |
3391 | ++ |
3392 | ++#include "delayed-dialog.h" |
3393 | ++ |
3394 | ++static gboolean delayed_show_timeout (gpointer data); |
3395 | ++static GdkFilterReturn message_filter (GdkXEvent *xevent, |
3396 | ++ GdkEvent *event, |
3397 | ++ gpointer data); |
3398 | ++ |
3399 | ++static GSList *dialogs = NULL; |
3400 | ++ |
3401 | ++/** |
3402 | ++ * gsd_delayed_show_dialog: |
3403 | ++ * @dialog: the dialog |
3404 | ++ * |
3405 | ++ * Shows the dialog as with gtk_widget_show(), unless a window manager |
3406 | ++ * hasn't been started yet, in which case it will wait up to 5 seconds |
3407 | ++ * for that to happen before showing the dialog. |
3408 | ++ **/ |
3409 | ++void |
3410 | ++gsd_delayed_show_dialog (GtkWidget *dialog) |
3411 | ++{ |
3412 | ++ GdkDisplay *display = gtk_widget_get_display (dialog); |
3413 | ++ Display *xdisplay = GDK_DISPLAY_XDISPLAY (display); |
3414 | ++ GdkScreen *screen = gtk_widget_get_screen (dialog); |
3415 | ++ char selection_name[10]; |
3416 | ++ Atom selection_atom; |
3417 | ++ |
3418 | ++ /* We can't use gdk_selection_owner_get() for this, because |
3419 | ++ * it's an unknown out-of-process window. |
3420 | ++ */ |
3421 | ++ snprintf (selection_name, sizeof (selection_name), "WM_S%d", |
3422 | ++ gdk_screen_get_number (screen)); |
3423 | ++ selection_atom = XInternAtom (xdisplay, selection_name, True); |
3424 | ++ if (selection_atom && |
3425 | ++ XGetSelectionOwner (xdisplay, selection_atom) != None) { |
3426 | ++ gtk_widget_show (dialog); |
3427 | ++ return; |
3428 | ++ } |
3429 | ++ |
3430 | ++ dialogs = g_slist_prepend (dialogs, dialog); |
3431 | ++ |
3432 | ++ gdk_window_add_filter (NULL, message_filter, NULL); |
3433 | ++ |
3434 | ++ g_timeout_add (5000, delayed_show_timeout, NULL); |
3435 | ++} |
3436 | ++ |
3437 | ++static gboolean |
3438 | ++delayed_show_timeout (gpointer data) |
3439 | ++{ |
3440 | ++ GSList *l; |
3441 | ++ |
3442 | ++ for (l = dialogs; l; l = l->next) |
3443 | ++ gtk_widget_show (l->data); |
3444 | ++ g_slist_free (dialogs); |
3445 | ++ dialogs = NULL; |
3446 | ++ |
3447 | ++ /* FIXME: There's no gdk_display_remove_client_message_filter */ |
3448 | ++ |
3449 | ++ return FALSE; |
3450 | ++} |
3451 | ++ |
3452 | ++static GdkFilterReturn |
3453 | ++message_filter (GdkXEvent *xevent, GdkEvent *event, gpointer data) |
3454 | ++{ |
3455 | ++ XClientMessageEvent *evt; |
3456 | ++ char *selection_name; |
3457 | ++ int screen; |
3458 | ++ GSList *l, *next; |
3459 | ++ |
3460 | ++ if (((XEvent *)xevent)->type != ClientMessage) |
3461 | ++ return GDK_FILTER_CONTINUE; |
3462 | ++ |
3463 | ++ evt = (XClientMessageEvent *)xevent; |
3464 | ++ |
3465 | ++ if (evt->message_type != XInternAtom (evt->display, "MANAGER", FALSE)) |
3466 | ++ return GDK_FILTER_CONTINUE; |
3467 | ++ |
3468 | ++ selection_name = XGetAtomName (evt->display, evt->data.l[1]); |
3469 | ++ |
3470 | ++ if (strncmp (selection_name, "WM_S", 4) != 0) { |
3471 | ++ XFree (selection_name); |
3472 | ++ return GDK_FILTER_CONTINUE; |
3473 | ++ } |
3474 | ++ |
3475 | ++ screen = atoi (selection_name + 4); |
3476 | ++ |
3477 | ++ for (l = dialogs; l; l = next) { |
3478 | ++ GtkWidget *dialog = l->data; |
3479 | ++ next = l->next; |
3480 | ++ |
3481 | ++ if (gdk_screen_get_number (gtk_widget_get_screen (dialog)) == screen) { |
3482 | ++ gtk_widget_show (dialog); |
3483 | ++ dialogs = g_slist_remove (dialogs, dialog); |
3484 | ++ } |
3485 | ++ } |
3486 | ++ |
3487 | ++ if (!dialogs) { |
3488 | ++ gdk_window_remove_filter (NULL, message_filter, NULL); |
3489 | ++ } |
3490 | ++ |
3491 | ++ XFree (selection_name); |
3492 | ++ |
3493 | ++ return GDK_FILTER_CONTINUE; |
3494 | ++} |
3495 | +Index: b/plugins/keyboard/delayed-dialog.h |
3496 | +=================================================================== |
3497 | +--- /dev/null |
3498 | ++++ b/plugins/keyboard/delayed-dialog.h |
3499 | +@@ -0,0 +1,32 @@ |
3500 | ++/* |
3501 | ++ * Copyright © 2006 Novell, Inc. |
3502 | ++ * |
3503 | ++ * This program is free software; you can redistribute it and/or |
3504 | ++ * modify it under the terms of the GNU General Public License as |
3505 | ++ * published by the Free Software Foundation; either version 2, or (at |
3506 | ++ * your option) any later version. |
3507 | ++ * |
3508 | ++ * This program is distributed in the hope that it will be useful, but |
3509 | ++ * WITHOUT ANY WARRANTY; without even the implied warranty of |
3510 | ++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
3511 | ++ * General Public License for more details. |
3512 | ++ * |
3513 | ++ * You should have received a copy of the GNU General Public License |
3514 | ++ * along with this program; if not, write to the Free Software |
3515 | ++ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
3516 | ++ * 02111-1307, USA. |
3517 | ++ */ |
3518 | ++ |
3519 | ++ |
3520 | ++#ifndef __DELAYED_DIALOG_H |
3521 | ++#define __DELAYED_DIALOG_H |
3522 | ++ |
3523 | ++#include <gtk/gtk.h> |
3524 | ++ |
3525 | ++G_BEGIN_DECLS |
3526 | ++ |
3527 | ++void gsd_delayed_show_dialog (GtkWidget *dialog); |
3528 | ++ |
3529 | ++G_END_DECLS |
3530 | ++ |
3531 | ++#endif |
3532 | +Index: b/plugins/keyboard/gsd-keyboard-manager.c |
3533 | +=================================================================== |
3534 | +--- a/plugins/keyboard/gsd-keyboard-manager.c |
3535 | ++++ b/plugins/keyboard/gsd-keyboard-manager.c |
3536 | +@@ -40,15 +40,19 @@ |
3537 | + |
3538 | + #include <X11/XKBlib.h> |
3539 | + #include <X11/keysym.h> |
3540 | +-#include <X11/extensions/XKBrules.h> |
3541 | + |
3542 | +-#define GNOME_DESKTOP_USE_UNSTABLE_API |
3543 | +-#include <libgnome-desktop/gnome-xkb-info.h> |
3544 | ++#include <libxklavier/xklavier.h> |
3545 | ++#include <libgnomekbd/gkbd-status.h> |
3546 | ++#include <libgnomekbd/gkbd-keyboard-drawing.h> |
3547 | ++#include <libgnomekbd/gkbd-desktop-config.h> |
3548 | ++#include <libgnomekbd/gkbd-keyboard-config.h> |
3549 | ++#include <libgnomekbd/gkbd-util.h> |
3550 | + |
3551 | + #include "gnome-settings-profile.h" |
3552 | + #include "gsd-keyboard-manager.h" |
3553 | + #include "gsd-input-helper.h" |
3554 | + #include "gsd-enums.h" |
3555 | ++#include "delayed-dialog.h" |
3556 | + |
3557 | + #define GSD_KEYBOARD_MANAGER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GSD_TYPE_KEYBOARD_MANAGER, GsdKeyboardManagerPrivate)) |
3558 | + |
3559 | +@@ -66,26 +70,31 @@ |
3560 | + #define KEY_BELL_DURATION "bell-duration" |
3561 | + #define KEY_BELL_MODE "bell-mode" |
3562 | + |
3563 | +-#define GNOME_DESKTOP_INPUT_SOURCES_DIR "org.gnome.desktop.input-sources" |
3564 | +- |
3565 | +-#define KEY_CURRENT_INPUT_SOURCE "current" |
3566 | +-#define KEY_INPUT_SOURCES "sources" |
3567 | +- |
3568 | +-#define INPUT_SOURCE_TYPE_XKB "xkb" |
3569 | +- |
3570 | + #define DEFAULT_LANGUAGE "en_US" |
3571 | + |
3572 | + struct GsdKeyboardManagerPrivate |
3573 | + { |
3574 | + guint start_idle_id; |
3575 | + GSettings *settings; |
3576 | +- GSettings *input_sources_settings; |
3577 | +- GnomeXkbInfo *xkb_info; |
3578 | + gint xkb_event_base; |
3579 | + GsdNumLockState old_state; |
3580 | + GdkDeviceManager *device_manager; |
3581 | + guint device_added_id; |
3582 | + guint device_removed_id; |
3583 | ++ |
3584 | ++ /* XKB */ |
3585 | ++ XklEngine *xkl_engine; |
3586 | ++ XklConfigRegistry *xkl_registry; |
3587 | ++ |
3588 | ++ GkbdDesktopConfig current_config; |
3589 | ++ GkbdKeyboardConfig current_kbd_config; |
3590 | ++ |
3591 | ++ GkbdKeyboardConfig initial_sys_kbd_config; |
3592 | ++ GSettings *settings_desktop; |
3593 | ++ GSettings *settings_keyboard; |
3594 | ++ |
3595 | ++ GtkStatusIcon *icon; |
3596 | ++ GtkMenu *popup_menu; |
3597 | + }; |
3598 | + |
3599 | + static void gsd_keyboard_manager_class_init (GsdKeyboardManagerClass *klass); |
3600 | +@@ -96,6 +105,367 @@ |
3601 | + |
3602 | + static gpointer manager_object = NULL; |
3603 | + |
3604 | ++static gboolean try_activating_xkb_config_if_new (GsdKeyboardManager *manager, |
3605 | ++ GkbdKeyboardConfig *current_sys_kbd_config); |
3606 | ++static gboolean filter_xkb_config (GsdKeyboardManager *manager); |
3607 | ++static void show_hide_icon (GsdKeyboardManager *manager); |
3608 | ++ |
3609 | ++static void |
3610 | ++activation_error (void) |
3611 | ++{ |
3612 | ++ char const *vendor; |
3613 | ++ GtkWidget *dialog; |
3614 | ++ |
3615 | ++ vendor = |
3616 | ++ ServerVendor (GDK_DISPLAY_XDISPLAY |
3617 | ++ (gdk_display_get_default ())); |
3618 | ++ |
3619 | ++ /* VNC viewers will not work, do not barrage them with warnings */ |
3620 | ++ if (NULL != vendor && NULL != strstr (vendor, "VNC")) |
3621 | ++ return; |
3622 | ++ |
3623 | ++ dialog = gtk_message_dialog_new_with_markup (NULL, |
3624 | ++ 0, |
3625 | ++ GTK_MESSAGE_ERROR, |
3626 | ++ GTK_BUTTONS_CLOSE, |
3627 | ++ _ |
3628 | ++ ("Error activating XKB configuration.\n" |
3629 | ++ "There can be various reasons for that.\n\n" |
3630 | ++ "If you report this situation as a bug, include the results of\n" |
3631 | ++ " • <b>%s</b>\n" |
3632 | ++ " • <b>%s</b>\n" |
3633 | ++ " • <b>%s</b>\n" |
3634 | ++ " • <b>%s</b>"), |
3635 | ++ "xprop -root | grep XKB", |
3636 | ++ "gsettings get org.gnome.libgnomekbd.keyboard model", |
3637 | ++ "gsettings get org.gnome.libgnomekbd.keyboard layouts", |
3638 | ++ "gsettings get org.gnome.libgnomekbd.keyboard options"); |
3639 | ++ g_signal_connect (dialog, "response", |
3640 | ++ G_CALLBACK (gtk_widget_destroy), NULL); |
3641 | ++ gsd_delayed_show_dialog (dialog); |
3642 | ++} |
3643 | ++ |
3644 | ++static gboolean |
3645 | ++ensure_manager_xkl_registry (GsdKeyboardManager *manager) |
3646 | ++{ |
3647 | ++ if (!manager->priv->xkl_registry) { |
3648 | ++ manager->priv->xkl_registry = |
3649 | ++ xkl_config_registry_get_instance (manager->priv->xkl_engine); |
3650 | ++ /* load all materials, unconditionally! */ |
3651 | ++ if (!xkl_config_registry_load (manager->priv->xkl_registry, TRUE)) { |
3652 | ++ g_object_unref (manager->priv->xkl_registry); |
3653 | ++ manager->priv->xkl_registry = NULL; |
3654 | ++ return FALSE; |
3655 | ++ } |
3656 | ++ } |
3657 | ++ |
3658 | ++ return TRUE; |
3659 | ++} |
3660 | ++ |
3661 | ++static void |
3662 | ++apply_desktop_settings (GsdKeyboardManager *manager) |
3663 | ++{ |
3664 | ++ if (manager->priv->xkl_engine == NULL) |
3665 | ++ return; |
3666 | ++ |
3667 | ++ gsd_keyboard_manager_apply_settings (manager); |
3668 | ++ gkbd_desktop_config_load (&manager->priv->current_config); |
3669 | ++ /* again, probably it would be nice to compare things |
3670 | ++ before activating them */ |
3671 | ++ gkbd_desktop_config_activate (&manager->priv->current_config); |
3672 | ++} |
3673 | ++ |
3674 | ++static void |
3675 | ++apply_xkb_settings (GsdKeyboardManager *manager) |
3676 | ++{ |
3677 | ++ GkbdKeyboardConfig current_sys_kbd_config; |
3678 | ++ |
3679 | ++ if (manager->priv->xkl_engine == NULL) |
3680 | ++ return; |
3681 | ++ |
3682 | ++ gkbd_keyboard_config_init (¤t_sys_kbd_config, manager->priv->xkl_engine); |
3683 | ++ |
3684 | ++ gkbd_keyboard_config_load (&manager->priv->current_kbd_config, |
3685 | ++ &manager->priv->initial_sys_kbd_config); |
3686 | ++ |
3687 | ++ gkbd_keyboard_config_load_from_x_current (¤t_sys_kbd_config, |
3688 | ++ NULL); |
3689 | ++ |
3690 | ++ if (!try_activating_xkb_config_if_new (manager, ¤t_sys_kbd_config)) { |
3691 | ++ if (filter_xkb_config (manager)) { |
3692 | ++ if (!try_activating_xkb_config_if_new |
3693 | ++ (manager, ¤t_sys_kbd_config)) { |
3694 | ++ g_warning |
3695 | ++ ("Could not activate the filtered XKB configuration"); |
3696 | ++ activation_error (); |
3697 | ++ } |
3698 | ++ } else { |
3699 | ++ g_warning |
3700 | ++ ("Could not activate the XKB configuration"); |
3701 | ++ activation_error (); |
3702 | ++ } |
3703 | ++ } else |
3704 | ++ g_debug ( |
3705 | ++ "Actual KBD configuration was not changed: redundant notification\n"); |
3706 | ++ |
3707 | ++ gkbd_keyboard_config_term (¤t_sys_kbd_config); |
3708 | ++ show_hide_icon (manager); |
3709 | ++} |
3710 | ++ |
3711 | ++static void |
3712 | ++desktop_settings_changed (GSettings *settings, |
3713 | ++ gchar *key, |
3714 | ++ GsdKeyboardManager *manager) |
3715 | ++{ |
3716 | ++ apply_desktop_settings (manager); |
3717 | ++} |
3718 | ++ |
3719 | ++static void |
3720 | ++xkb_settings_changed (GSettings *settings, |
3721 | ++ gchar *key, |
3722 | ++ GsdKeyboardManager *manager) |
3723 | ++{ |
3724 | ++ apply_xkb_settings (manager); |
3725 | ++} |
3726 | ++ |
3727 | ++static void |
3728 | ++popup_menu_launch_capplet (void) |
3729 | ++{ |
3730 | ++ GAppInfo *info; |
3731 | ++ GdkAppLaunchContext *ctx; |
3732 | ++ GError *error = NULL; |
3733 | ++ |
3734 | ++ info = g_app_info_create_from_commandline ("gnome-control-center region", NULL, 0, NULL); |
3735 | ++ if (info == NULL) |
3736 | ++ return; |
3737 | ++ |
3738 | ++ ctx = gdk_display_get_app_launch_context (gdk_display_get_default ()); |
3739 | ++ |
3740 | ++ if (g_app_info_launch (info, NULL, |
3741 | ++ G_APP_LAUNCH_CONTEXT (ctx), &error) == FALSE) { |
3742 | ++ g_warning ("Could not execute keyboard properties capplet: [%s]\n", |
3743 | ++ error->message); |
3744 | ++ g_error_free (error); |
3745 | ++ } |
3746 | ++ |
3747 | ++ g_object_unref (info); |
3748 | ++ g_object_unref (ctx); |
3749 | ++} |
3750 | ++ |
3751 | ++static void |
3752 | ++popup_menu_show_layout (GtkMenuItem *menuitem, |
3753 | ++ GsdKeyboardManager *manager) |
3754 | ++{ |
3755 | ++ XklState *xkl_state; |
3756 | ++ char *command; |
3757 | ++ |
3758 | ++ xkl_state = xkl_engine_get_current_state (manager->priv->xkl_engine); |
3759 | ++ if (xkl_state->group < 0) |
3760 | ++ return; |
3761 | ++ |
3762 | ++ command = g_strdup_printf ("gkbd-keyboard-display -g %d", xkl_state->group + 1); |
3763 | ++ g_spawn_command_line_async (command, NULL); |
3764 | ++ g_free (command); |
3765 | ++} |
3766 | ++ |
3767 | ++static void |
3768 | ++popup_menu_set_group (GtkMenuItem * item, gpointer param) |
3769 | ++{ |
3770 | ++ gint group_number = GPOINTER_TO_INT (param); |
3771 | ++ XklEngine *engine = gkbd_status_get_xkl_engine (); |
3772 | ++ XklState st; |
3773 | ++ Window cur; |
3774 | ++ |
3775 | ++ st.group = group_number; |
3776 | ++ xkl_engine_allow_one_switch_to_secondary_group (engine); |
3777 | ++ cur = xkl_engine_get_current_window (engine); |
3778 | ++ if (cur != (Window) NULL) { |
3779 | ++ g_debug ("Enforcing the state %d for window %lx\n", |
3780 | ++ st.group, cur); |
3781 | ++ xkl_engine_save_state (engine, |
3782 | ++ xkl_engine_get_current_window |
3783 | ++ (engine), &st); |
3784 | ++/* XSetInputFocus( GDK_DISPLAY(), cur, RevertToNone, CurrentTime );*/ |
3785 | ++ } else { |
3786 | ++ g_debug ( |
3787 | ++ "??? Enforcing the state %d for unknown window\n", |
3788 | ++ st.group); |
3789 | ++ /* strange situation - bad things can happen */ |
3790 | ++ } |
3791 | ++ xkl_engine_lock_group (engine, st.group); |
3792 | ++} |
3793 | ++ |
3794 | ++static void |
3795 | ++ensure_popup_menu (GsdKeyboardManager *manager) |
3796 | ++{ |
3797 | ++ GtkMenu *popup_menu = GTK_MENU (gtk_menu_new ()); |
3798 | ++ GtkMenu *groups_menu = GTK_MENU (gtk_menu_new ()); |
3799 | ++ int i = 0; |
3800 | ++ gchar **current_name = gkbd_status_get_group_names (); |
3801 | ++ |
3802 | ++ GtkWidget *item = gtk_menu_item_new_with_mnemonic (_("_Layouts")); |
3803 | ++ gtk_widget_show (item); |
3804 | ++ gtk_menu_shell_append (GTK_MENU_SHELL (popup_menu), item); |
3805 | ++ gtk_menu_item_set_submenu (GTK_MENU_ITEM (item), |
3806 | ++ GTK_WIDGET (groups_menu)); |
3807 | ++ |
3808 | ++ item = gtk_menu_item_new_with_mnemonic (_("Show _Keyboard Layout...")); |
3809 | ++ gtk_widget_show (item); |
3810 | ++ g_signal_connect (item, "activate", G_CALLBACK (popup_menu_show_layout), manager); |
3811 | ++ gtk_menu_shell_append (GTK_MENU_SHELL (popup_menu), item); |
3812 | ++ |
3813 | ++ /* translators note: |
3814 | ++ * This is the name of the gnome-control-center "region" panel */ |
3815 | ++ item = gtk_menu_item_new_with_mnemonic (_("Region and Language Settings")); |
3816 | ++ gtk_widget_show (item); |
3817 | ++ g_signal_connect (item, "activate", popup_menu_launch_capplet, NULL); |
3818 | ++ gtk_menu_shell_append (GTK_MENU_SHELL (popup_menu), item); |
3819 | ++ |
3820 | ++ for (i = 0; *current_name; i++, current_name++) { |
3821 | ++ item = gtk_menu_item_new_with_label (*current_name); |
3822 | ++ gtk_widget_show (item); |
3823 | ++ gtk_menu_shell_append (GTK_MENU_SHELL (groups_menu), item); |
3824 | ++ g_signal_connect (item, "activate", |
3825 | ++ G_CALLBACK (popup_menu_set_group), |
3826 | ++ GINT_TO_POINTER (i)); |
3827 | ++ } |
3828 | ++ |
3829 | ++ if (manager->priv->popup_menu != NULL) |
3830 | ++ gtk_widget_destroy (GTK_WIDGET (manager->priv->popup_menu)); |
3831 | ++ manager->priv->popup_menu = popup_menu; |
3832 | ++} |
3833 | ++ |
3834 | ++static void |
3835 | ++status_icon_popup_menu_cb (GtkStatusIcon *icon, |
3836 | ++ guint button, |
3837 | ++ guint time, |
3838 | ++ GsdKeyboardManager *manager) |
3839 | ++{ |
3840 | ++ ensure_popup_menu (manager); |
3841 | ++ gtk_menu_popup (manager->priv->popup_menu, NULL, NULL, |
3842 | ++ gtk_status_icon_position_menu, |
3843 | ++ (gpointer) icon, button, time); |
3844 | ++} |
3845 | ++ |
3846 | ++static void |
3847 | ++show_hide_icon (GsdKeyboardManager *manager) |
3848 | ++{ |
3849 | ++ if (g_strv_length (manager->priv->current_kbd_config.layouts_variants) > 1) { |
3850 | ++ if (manager->priv->icon == NULL) { |
3851 | ++ g_debug ("Creating keyboard status icon\n"); |
3852 | ++ manager->priv->icon = gkbd_status_new (); |
3853 | ++ g_signal_connect (manager->priv->icon, "popup-menu", |
3854 | ++ G_CALLBACK |
3855 | ++ (status_icon_popup_menu_cb), |
3856 | ++ manager); |
3857 | ++ |
3858 | ++ } |
3859 | ++ } else { |
3860 | ++ if (manager->priv->icon != NULL) { |
3861 | ++ g_debug ("Destroying icon\n"); |
3862 | ++ g_object_unref (manager->priv->icon); |
3863 | ++ manager->priv->icon = NULL; |
3864 | ++ } |
3865 | ++ } |
3866 | ++} |
3867 | ++ |
3868 | ++static gboolean |
3869 | ++try_activating_xkb_config_if_new (GsdKeyboardManager *manager, |
3870 | ++ GkbdKeyboardConfig *current_sys_kbd_config) |
3871 | ++{ |
3872 | ++ /* Activate - only if different! */ |
3873 | ++ if (!gkbd_keyboard_config_equals |
3874 | ++ (&manager->priv->current_kbd_config, current_sys_kbd_config)) { |
3875 | ++ if (gkbd_keyboard_config_activate (&manager->priv->current_kbd_config)) { |
3876 | ++ return FALSE; |
3877 | ++ } |
3878 | ++ } |
3879 | ++ return TRUE; |
3880 | ++} |
3881 | ++ |
3882 | ++static gboolean |
3883 | ++filter_xkb_config (GsdKeyboardManager *manager) |
3884 | ++{ |
3885 | ++ XklConfigItem *item; |
3886 | ++ gchar *lname; |
3887 | ++ gchar *vname; |
3888 | ++ gchar **lv; |
3889 | ++ gboolean any_change = FALSE; |
3890 | ++ |
3891 | ++ g_debug ("Filtering configuration against the registry\n"); |
3892 | ++ if (!ensure_manager_xkl_registry (manager)) |
3893 | ++ return FALSE; |
3894 | ++ |
3895 | ++ lv = manager->priv->current_kbd_config.layouts_variants; |
3896 | ++ item = xkl_config_item_new (); |
3897 | ++ while (*lv) { |
3898 | ++ g_debug ("Checking [%s]\n", *lv); |
3899 | ++ if (gkbd_keyboard_config_split_items (*lv, &lname, &vname)) { |
3900 | ++ gboolean should_be_dropped = FALSE; |
3901 | ++ g_snprintf (item->name, sizeof (item->name), "%s", |
3902 | ++ lname); |
3903 | ++ if (!xkl_config_registry_find_layout |
3904 | ++ (manager->priv->xkl_registry, item)) { |
3905 | ++ g_debug ("Bad layout [%s]\n", |
3906 | ++ lname); |
3907 | ++ should_be_dropped = TRUE; |
3908 | ++ } else if (vname) { |
3909 | ++ g_snprintf (item->name, |
3910 | ++ sizeof (item->name), "%s", |
3911 | ++ vname); |
3912 | ++ if (!xkl_config_registry_find_variant |
3913 | ++ (manager->priv->xkl_registry, lname, item)) { |
3914 | ++ g_debug ( |
3915 | ++ "Bad variant [%s(%s)]\n", |
3916 | ++ lname, vname); |
3917 | ++ should_be_dropped = TRUE; |
3918 | ++ } |
3919 | ++ } |
3920 | ++ if (should_be_dropped) { |
3921 | ++ gkbd_strv_behead (lv); |
3922 | ++ any_change = TRUE; |
3923 | ++ continue; |
3924 | ++ } |
3925 | ++ } |
3926 | ++ lv++; |
3927 | ++ } |
3928 | ++ g_object_unref (item); |
3929 | ++ return any_change; |
3930 | ++} |
3931 | ++ |
3932 | ++static void |
3933 | ++gsd_keyboard_xkb_init (GsdKeyboardManager *manager) |
3934 | ++{ |
3935 | ++ Display *dpy = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()); |
3936 | ++ |
3937 | ++ manager->priv->xkl_engine = xkl_engine_get_instance (dpy); |
3938 | ++ if (!manager->priv->xkl_engine) |
3939 | ++ return; |
3940 | ++ |
3941 | ++ gkbd_desktop_config_init (&manager->priv->current_config, manager->priv->xkl_engine); |
3942 | ++ gkbd_keyboard_config_init (&manager->priv->current_kbd_config, |
3943 | ++ manager->priv->xkl_engine); |
3944 | ++ xkl_engine_backup_names_prop (manager->priv->xkl_engine); |
3945 | ++ gkbd_keyboard_config_init (&manager->priv->initial_sys_kbd_config, manager->priv->xkl_engine); |
3946 | ++ gkbd_keyboard_config_load_from_x_initial (&manager->priv->initial_sys_kbd_config, |
3947 | ++ NULL); |
3948 | ++ |
3949 | ++ gnome_settings_profile_start ("xkl_engine_start_listen"); |
3950 | ++ xkl_engine_start_listen (manager->priv->xkl_engine, |
3951 | ++ XKLL_MANAGE_LAYOUTS | |
3952 | ++ XKLL_MANAGE_WINDOW_STATES); |
3953 | ++ gnome_settings_profile_end ("xkl_engine_start_listen"); |
3954 | ++ |
3955 | ++ gnome_settings_profile_start ("apply_desktop_settings"); |
3956 | ++ apply_desktop_settings (manager); |
3957 | ++ gnome_settings_profile_end ("apply_desktop_settings"); |
3958 | ++ gnome_settings_profile_start ("apply_xkb_settings"); |
3959 | ++ apply_xkb_settings (manager); |
3960 | ++ gnome_settings_profile_end ("apply_xkb_settings"); |
3961 | ++ |
3962 | ++ gnome_settings_profile_end (NULL); |
3963 | ++} |
3964 | ++ |
3965 | + static gboolean |
3966 | + xkb_set_keyboard_autorepeat_rate (guint delay, guint interval) |
3967 | + { |
3968 | +@@ -118,11 +488,12 @@ |
3969 | + &error_base, |
3970 | + &major, |
3971 | + &minor); |
3972 | ++ |
3973 | + return have_xkb; |
3974 | + } |
3975 | + |
3976 | + static void |
3977 | +-xkb_init (GsdKeyboardManager *manager) |
3978 | ++numlock_xkb_init (GsdKeyboardManager *manager) |
3979 | + { |
3980 | + Display *dpy; |
3981 | + |
3982 | +@@ -161,8 +532,15 @@ |
3983 | + XkbEvent *xkbev = (XkbEvent *) xev; |
3984 | + GsdKeyboardManager *manager = (GsdKeyboardManager *) user_data; |
3985 | + |
3986 | +- if (xev->type != manager->priv->xkb_event_base || |
3987 | +- xkbev->any.xkb_type != XkbStateNotify) |
3988 | ++ /* libxklavier's events first */ |
3989 | ++ if (manager->priv->xkl_engine != NULL) |
3990 | ++ xkl_engine_filter_events (manager->priv->xkl_engine, xev); |
3991 | ++ |
3992 | ++ /* Then XKB specific events */ |
3993 | ++ if (xev->type != manager->priv->xkb_event_base) |
3994 | ++ return GDK_FILTER_CONTINUE; |
3995 | ++ |
3996 | ++ if (xkbev->any.xkb_type != XkbStateNotify) |
3997 | + return GDK_FILTER_CONTINUE; |
3998 | + |
3999 | + if (xkbev->state.changed & XkbModifierLockMask) { |
4000 | +@@ -200,262 +578,6 @@ |
4001 | + } |
4002 | + |
4003 | + static void |
4004 | +-free_xkb_component_names (XkbComponentNamesRec *p) |
4005 | +-{ |
4006 | +- g_return_if_fail (p != NULL); |
4007 | +- |
4008 | +- free (p->keymap); |
4009 | +- free (p->keycodes); |
4010 | +- free (p->types); |
4011 | +- free (p->compat); |
4012 | +- free (p->symbols); |
4013 | +- free (p->geometry); |
4014 | +- |
4015 | +- g_free (p); |
4016 | +-} |
4017 | +- |
4018 | +-static void |
4019 | +-upload_xkb_description (const gchar *rules_file_path, |
4020 | +- XkbRF_VarDefsRec *var_defs, |
4021 | +- XkbComponentNamesRec *comp_names) |
4022 | +-{ |
4023 | +- Display *display = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()); |
4024 | +- XkbDescRec *xkb_desc; |
4025 | +- gchar *rules_file; |
4026 | +- |
4027 | +- /* Upload it to the X server using the same method as setxkbmap */ |
4028 | +- xkb_desc = XkbGetKeyboardByName (display, |
4029 | +- XkbUseCoreKbd, |
4030 | +- comp_names, |
4031 | +- XkbGBN_AllComponentsMask, |
4032 | +- XkbGBN_AllComponentsMask & |
4033 | +- (~XkbGBN_GeometryMask), True); |
4034 | +- if (!xkb_desc) { |
4035 | +- g_warning ("Couldn't upload new XKB keyboard description"); |
4036 | +- return; |
4037 | +- } |
4038 | +- |
4039 | +- XkbFreeKeyboard (xkb_desc, 0, True); |
4040 | +- |
4041 | +- rules_file = g_path_get_basename (rules_file_path); |
4042 | +- |
4043 | +- if (!XkbRF_SetNamesProp (display, rules_file, var_defs)) |
4044 | +- g_warning ("Couldn't update the XKB root window property"); |
4045 | +- |
4046 | +- g_free (rules_file); |
4047 | +-} |
4048 | +- |
4049 | +-static gchar * |
4050 | +-language_code_from_locale (const gchar *locale) |
4051 | +-{ |
4052 | +- if (!locale || !locale[0] || !locale[1]) |
4053 | +- return NULL; |
4054 | +- |
4055 | +- if (!locale[2] || locale[2] == '_' || locale[2] == '.') |
4056 | +- return g_strndup (locale, 2); |
4057 | +- |
4058 | +- if (!locale[3] || locale[3] == '_' || locale[3] == '.') |
4059 | +- return g_strndup (locale, 3); |
4060 | +- |
4061 | +- return NULL; |
4062 | +-} |
4063 | +- |
4064 | +-static gchar * |
4065 | +-build_xkb_group_string (const gchar *user, |
4066 | +- const gchar *locale, |
4067 | +- const gchar *latin) |
4068 | +-{ |
4069 | +- gchar *string; |
4070 | +- gsize length = 0; |
4071 | +- guint commas = 2; |
4072 | +- |
4073 | +- if (latin) |
4074 | +- length += strlen (latin); |
4075 | +- else |
4076 | +- commas -= 1; |
4077 | +- |
4078 | +- if (locale) |
4079 | +- length += strlen (locale); |
4080 | +- else |
4081 | +- commas -= 1; |
4082 | +- |
4083 | +- length += strlen (user) + commas + 1; |
4084 | +- |
4085 | +- string = malloc (length); |
4086 | +- |
4087 | +- if (locale && latin) |
4088 | +- sprintf (string, "%s,%s,%s", user, locale, latin); |
4089 | +- else if (locale) |
4090 | +- sprintf (string, "%s,%s", user, locale); |
4091 | +- else if (latin) |
4092 | +- sprintf (string, "%s,%s", user, latin); |
4093 | +- else |
4094 | +- sprintf (string, "%s", user); |
4095 | +- |
4096 | +- return string; |
4097 | +-} |
4098 | +- |
4099 | +-static gboolean |
4100 | +-layout_equal (const gchar *layout_a, |
4101 | +- const gchar *variant_a, |
4102 | +- const gchar *layout_b, |
4103 | +- const gchar *variant_b) |
4104 | +-{ |
4105 | +- return !g_strcmp0 (layout_a, layout_b) && !g_strcmp0 (variant_a, variant_b); |
4106 | +-} |
4107 | +- |
4108 | +-static void |
4109 | +-replace_layout_and_variant (GsdKeyboardManager *manager, |
4110 | +- XkbRF_VarDefsRec *xkb_var_defs, |
4111 | +- const gchar *layout, |
4112 | +- const gchar *variant) |
4113 | +-{ |
4114 | +- /* Toolkits need to know about both a latin layout to handle |
4115 | +- * accelerators which are usually defined like Ctrl+C and a |
4116 | +- * layout with the symbols for the language used in UI strings |
4117 | +- * to handle mnemonics like Alt+Ф, so we try to find and add |
4118 | +- * them in XKB group slots after the layout which the user |
4119 | +- * actually intends to type with. */ |
4120 | +- const gchar *latin_layout = "us"; |
4121 | +- const gchar *latin_variant = ""; |
4122 | +- const gchar *locale_layout = NULL; |
4123 | +- const gchar *locale_variant = NULL; |
4124 | +- const gchar *locale; |
4125 | +- gchar *language; |
4126 | +- |
4127 | +- locale = setlocale (LC_MESSAGES, NULL); |
4128 | +- /* If LANG is empty, default to en_US */ |
4129 | +- if (!locale) |
4130 | +- language = g_strdup (DEFAULT_LANGUAGE); |
4131 | +- else |
4132 | +- language = language_code_from_locale (locale); |
4133 | +- |
4134 | +- if (!language) |
4135 | +- language = language_code_from_locale (DEFAULT_LANGUAGE); |
4136 | +- |
4137 | +- gnome_xkb_info_get_layout_info_for_language (manager->priv->xkb_info, |
4138 | +- language, |
4139 | +- NULL, |
4140 | +- NULL, |
4141 | +- NULL, |
4142 | +- &locale_layout, |
4143 | +- &locale_variant); |
4144 | +- g_free (language); |
4145 | +- |
4146 | +- /* We want to minimize the number of XKB groups if we have |
4147 | +- * duplicated layout+variant pairs. |
4148 | +- * |
4149 | +- * Also, if a layout doesn't have a variant we still have to |
4150 | +- * include it in the variants string because the number of |
4151 | +- * variants must agree with the number of layouts. For |
4152 | +- * instance: |
4153 | +- * |
4154 | +- * layouts: "us,ru,us" |
4155 | +- * variants: "dvorak,," |
4156 | +- */ |
4157 | +- if (layout_equal (latin_layout, latin_variant, locale_layout, locale_variant) || |
4158 | +- layout_equal (latin_layout, latin_variant, layout, variant)) { |
4159 | +- latin_layout = NULL; |
4160 | +- latin_variant = NULL; |
4161 | +- } |
4162 | +- |
4163 | +- if (layout_equal (locale_layout, locale_variant, layout, variant)) { |
4164 | +- locale_layout = NULL; |
4165 | +- locale_variant = NULL; |
4166 | +- } |
4167 | +- |
4168 | +- free (xkb_var_defs->layout); |
4169 | +- xkb_var_defs->layout = build_xkb_group_string (layout, locale_layout, latin_layout); |
4170 | +- |
4171 | +- free (xkb_var_defs->variant); |
4172 | +- xkb_var_defs->variant = build_xkb_group_string (variant, locale_variant, latin_variant); |
4173 | +-} |
4174 | +- |
4175 | +-static void |
4176 | +-apply_xkb_layout (GsdKeyboardManager *manager, |
4177 | +- const gchar *layout, |
4178 | +- const gchar *variant) |
4179 | +-{ |
4180 | +- XkbRF_RulesRec *xkb_rules; |
4181 | +- XkbRF_VarDefsRec *xkb_var_defs; |
4182 | +- gchar *rules_file_path; |
4183 | +- |
4184 | +- gnome_xkb_info_get_var_defs (&rules_file_path, &xkb_var_defs); |
4185 | +- |
4186 | +- replace_layout_and_variant (manager, xkb_var_defs, layout, variant); |
4187 | +- |
4188 | +- gdk_error_trap_push (); |
4189 | +- |
4190 | +- xkb_rules = XkbRF_Load (rules_file_path, NULL, True, True); |
4191 | +- if (xkb_rules) { |
4192 | +- XkbComponentNamesRec *xkb_comp_names; |
4193 | +- xkb_comp_names = g_new0 (XkbComponentNamesRec, 1); |
4194 | +- |
4195 | +- XkbRF_GetComponents (xkb_rules, xkb_var_defs, xkb_comp_names); |
4196 | +- upload_xkb_description (rules_file_path, xkb_var_defs, xkb_comp_names); |
4197 | +- |
4198 | +- free_xkb_component_names (xkb_comp_names); |
4199 | +- XkbRF_Free (xkb_rules, True); |
4200 | +- } else { |
4201 | +- g_warning ("Couldn't load XKB rules"); |
4202 | +- } |
4203 | +- |
4204 | +- if (gdk_error_trap_pop ()) |
4205 | +- g_warning ("Error loading XKB rules"); |
4206 | +- |
4207 | +- gnome_xkb_info_free_var_defs (xkb_var_defs); |
4208 | +- g_free (rules_file_path); |
4209 | +-} |
4210 | +- |
4211 | +-static void |
4212 | +-apply_input_sources_settings (GSettings *settings, |
4213 | +- gchar *key, |
4214 | +- GsdKeyboardManager *manager) |
4215 | +-{ |
4216 | +- GsdKeyboardManagerPrivate *priv = manager->priv; |
4217 | +- GVariant *sources; |
4218 | +- guint current; |
4219 | +- const gchar *type = NULL; |
4220 | +- const gchar *id = NULL; |
4221 | +- const gchar *layout = NULL; |
4222 | +- const gchar *variant = NULL; |
4223 | +- |
4224 | +- sources = g_settings_get_value (priv->input_sources_settings, KEY_INPUT_SOURCES); |
4225 | +- current = g_settings_get_uint (priv->input_sources_settings, KEY_CURRENT_INPUT_SOURCE); |
4226 | +- |
4227 | +- if (g_variant_n_children (sources) < 1) { |
4228 | +- g_warning ("No input source configured, resetting"); |
4229 | +- g_settings_reset (priv->input_sources_settings, KEY_INPUT_SOURCES); |
4230 | +- goto exit; |
4231 | +- } |
4232 | +- if (current >= g_variant_n_children (sources)) { |
4233 | +- g_settings_set_uint (priv->input_sources_settings, |
4234 | +- KEY_CURRENT_INPUT_SOURCE, |
4235 | +- g_variant_n_children (sources) - 1); |
4236 | +- goto exit; |
4237 | +- } |
4238 | +- |
4239 | +- g_variant_get_child (sources, current, "(&s&s)", &type, &id); |
4240 | +- |
4241 | +- if (!g_str_equal (type, INPUT_SOURCE_TYPE_XKB)) { |
4242 | +- g_warning ("Unknown input source type '%s'", type); |
4243 | +- goto exit; |
4244 | +- } |
4245 | +- |
4246 | +- gnome_xkb_info_get_layout_info (priv->xkb_info, id, NULL, NULL, &layout, &variant); |
4247 | +- |
4248 | +- if (!layout || !layout[0]) { |
4249 | +- g_warning ("Couldn't find XKB input source '%s'", id); |
4250 | +- goto exit; |
4251 | +- } |
4252 | +- |
4253 | +- apply_xkb_layout (manager, layout, variant); |
4254 | +- |
4255 | +- exit: |
4256 | +- g_variant_unref (sources); |
4257 | +-} |
4258 | +- |
4259 | +-static void |
4260 | + apply_settings (GSettings *settings, |
4261 | + const char *key, |
4262 | + GsdKeyboardManager *manager) |
4263 | +@@ -523,6 +645,12 @@ |
4264 | + gdk_error_trap_pop_ignored (); |
4265 | + } |
4266 | + |
4267 | ++void |
4268 | ++gsd_keyboard_manager_apply_settings (GsdKeyboardManager *manager) |
4269 | ++{ |
4270 | ++ apply_settings (manager->priv->settings, NULL, manager); |
4271 | ++} |
4272 | ++ |
4273 | + static void |
4274 | + device_added_cb (GdkDeviceManager *device_manager, |
4275 | + GdkDevice *device, |
4276 | +@@ -532,8 +660,8 @@ |
4277 | + |
4278 | + source = gdk_device_get_source (device); |
4279 | + if (source == GDK_SOURCE_KEYBOARD) { |
4280 | +- apply_settings (manager->priv->settings, NULL, manager); |
4281 | +- apply_input_sources_settings (manager->priv->input_sources_settings, NULL, manager); |
4282 | ++ apply_desktop_settings (manager); |
4283 | ++ apply_xkb_settings (manager); |
4284 | + run_custom_command (device, COMMAND_DEVICE_ADDED); |
4285 | + } |
4286 | + } |
4287 | +@@ -573,23 +701,23 @@ |
4288 | + g_debug ("Starting keyboard manager"); |
4289 | + |
4290 | + manager->priv->settings = g_settings_new (GSD_KEYBOARD_DIR); |
4291 | ++ manager->priv->settings_desktop = g_settings_new (GKBD_DESKTOP_SCHEMA); |
4292 | ++ manager->priv->settings_keyboard = g_settings_new (GKBD_KEYBOARD_SCHEMA); |
4293 | + |
4294 | +- xkb_init (manager); |
4295 | ++ gsd_keyboard_xkb_init (manager); |
4296 | ++ numlock_xkb_init (manager); |
4297 | + |
4298 | + set_devicepresence_handler (manager); |
4299 | + |
4300 | +- manager->priv->input_sources_settings = g_settings_new (GNOME_DESKTOP_INPUT_SOURCES_DIR); |
4301 | +- |
4302 | +- manager->priv->xkb_info = gnome_xkb_info_new (); |
4303 | +- |
4304 | + /* apply current settings before we install the callback */ |
4305 | +- apply_settings (manager->priv->settings, NULL, manager); |
4306 | +- apply_input_sources_settings (manager->priv->input_sources_settings, NULL, manager); |
4307 | ++ gsd_keyboard_manager_apply_settings (manager); |
4308 | + |
4309 | + g_signal_connect (G_OBJECT (manager->priv->settings), "changed", |
4310 | + G_CALLBACK (apply_settings), manager); |
4311 | +- g_signal_connect (G_OBJECT (manager->priv->input_sources_settings), "changed", |
4312 | +- G_CALLBACK (apply_input_sources_settings), manager); |
4313 | ++ g_signal_connect (manager->priv->settings_desktop, "changed", |
4314 | ++ (GCallback) desktop_settings_changed, manager); |
4315 | ++ g_signal_connect (manager->priv->settings_keyboard, "changed", |
4316 | ++ (GCallback) xkb_settings_changed, manager); |
4317 | + |
4318 | + install_xkb_filter (manager); |
4319 | + |
4320 | +@@ -625,9 +753,18 @@ |
4321 | + |
4322 | + g_debug ("Stopping keyboard manager"); |
4323 | + |
4324 | +- g_clear_object (&p->settings); |
4325 | +- g_clear_object (&p->input_sources_settings); |
4326 | +- g_clear_object (&p->xkb_info); |
4327 | ++ if (p->settings != NULL) { |
4328 | ++ g_object_unref (p->settings); |
4329 | ++ p->settings = NULL; |
4330 | ++ } |
4331 | ++ if (p->settings_desktop != NULL) { |
4332 | ++ g_object_unref (p->settings_desktop); |
4333 | ++ p->settings_desktop = NULL; |
4334 | ++ } |
4335 | ++ if (p->settings_keyboard != NULL) { |
4336 | ++ g_object_unref (p->settings_keyboard); |
4337 | ++ p->settings_keyboard = NULL; |
4338 | ++ } |
4339 | + |
4340 | + if (p->device_manager != NULL) { |
4341 | + g_signal_handler_disconnect (p->device_manager, p->device_added_id); |
4342 | +@@ -635,7 +772,24 @@ |
4343 | + p->device_manager = NULL; |
4344 | + } |
4345 | + |
4346 | ++ if (p->popup_menu != NULL) { |
4347 | ++ gtk_widget_destroy (GTK_WIDGET (p->popup_menu)); |
4348 | ++ p->popup_menu = NULL; |
4349 | ++ } |
4350 | ++ |
4351 | + remove_xkb_filter (manager); |
4352 | ++ |
4353 | ++ if (p->xkl_registry != NULL) { |
4354 | ++ g_object_unref (p->xkl_registry); |
4355 | ++ p->xkl_registry = NULL; |
4356 | ++ } |
4357 | ++ |
4358 | ++ if (p->xkl_engine != NULL) { |
4359 | ++ xkl_engine_stop_listen (p->xkl_engine, |
4360 | ++ XKLL_MANAGE_LAYOUTS | XKLL_MANAGE_WINDOW_STATES); |
4361 | ++ g_object_unref (p->xkl_engine); |
4362 | ++ p->xkl_engine = NULL; |
4363 | ++ } |
4364 | + } |
4365 | + |
4366 | + static void |
4367 | +Index: b/plugins/keyboard/gsd-keyboard-manager.h |
4368 | +=================================================================== |
4369 | +--- a/plugins/keyboard/gsd-keyboard-manager.h |
4370 | ++++ b/plugins/keyboard/gsd-keyboard-manager.h |
4371 | +@@ -51,6 +51,7 @@ |
4372 | + gboolean gsd_keyboard_manager_start (GsdKeyboardManager *manager, |
4373 | + GError **error); |
4374 | + void gsd_keyboard_manager_stop (GsdKeyboardManager *manager); |
4375 | ++void gsd_keyboard_manager_apply_settings (GsdKeyboardManager *manager); |
4376 | + |
4377 | + G_END_DECLS |
4378 | + |
4379 | +Index: b/plugins/keyboard/Makefile.am |
4380 | +=================================================================== |
4381 | +--- a/plugins/keyboard/Makefile.am |
4382 | ++++ b/plugins/keyboard/Makefile.am |
4383 | +@@ -20,6 +20,8 @@ |
4384 | + gsd-keyboard-plugin.c \ |
4385 | + gsd-keyboard-manager.h \ |
4386 | + gsd-keyboard-manager.c \ |
4387 | ++ delayed-dialog.h \ |
4388 | ++ delayed-dialog.c \ |
4389 | + $(NULL) |
4390 | + |
4391 | + libkeyboard_la_CPPFLAGS = \ |
4392 | +@@ -52,8 +54,8 @@ |
4393 | + test-keyboard.c \ |
4394 | + gsd-keyboard-manager.h \ |
4395 | + gsd-keyboard-manager.c \ |
4396 | +- $(NULL) |
4397 | +- |
4398 | ++ delayed-dialog.h \ |
4399 | ++ delayed-dialog.c |
4400 | + test_keyboard_CFLAGS = $(libkeyboard_la_CFLAGS) |
4401 | + test_keyboard_CPPFLAGS = $(libkeyboard_la_CPPFLAGS) |
4402 | + test_keyboard_LDADD = $(libkeyboard_la_LIBADD) $(top_builddir)/gnome-settings-daemon/libgsd.la |
4403 | |
4404 | === added file 'debian/patches/62_unity_disable_gsd_printer.patch' |
4405 | --- debian/patches/62_unity_disable_gsd_printer.patch 1970-01-01 00:00:00 +0000 |
4406 | +++ debian/patches/62_unity_disable_gsd_printer.patch 2014-02-04 13:40:10 +0000 |
4407 | @@ -0,0 +1,33 @@ |
4408 | +Description: Disable gsd-printer plugin under Unity. We are still using system-config-printer for this, so no need to start another service for this. |
4409 | +Forwarded: No, Ubuntu specific |
4410 | +Author: Tim Lunn <tim@feathertop.org> |
4411 | +Date: Mon, 3 Jun 2013 09:46:56 +1000 |
4412 | +Subject: [PATCH] Disable print notification plugin on unity. |
4413 | + |
4414 | +--- |
4415 | + gnome-settings-daemon/gnome-settings-plugin-info.c | 14 ++++++++++++++ |
4416 | + 1 file changed, 14 insertions(+) |
4417 | + |
4418 | +--- a/gnome-settings-daemon/gnome-settings-plugin-info.c |
4419 | ++++ b/gnome-settings-daemon/gnome-settings-plugin-info.c |
4420 | +@@ -381,6 +381,20 @@ |
4421 | + goto out; |
4422 | + } |
4423 | + |
4424 | ++ if (g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "Unity") == 0 |
4425 | ++ && g_strcmp0 (info->priv->name, "Print-notifications") == 0) { |
4426 | ++ |
4427 | ++ g_warning ("Disable print plugin under Unity"); |
4428 | ++ |
4429 | ++ g_object_unref (G_OBJECT (info->priv->module)); |
4430 | ++ info->priv->module = NULL; |
4431 | ++ |
4432 | ++ /* Mark plugin as unavailable */ |
4433 | ++ info->priv->available = FALSE; |
4434 | ++ |
4435 | ++ goto out; |
4436 | ++ } |
4437 | ++ |
4438 | + info->priv->plugin = GNOME_SETTINGS_PLUGIN (gnome_settings_module_new_object (GNOME_SETTINGS_MODULE (info->priv->module))); |
4439 | + |
4440 | + g_type_module_unuse (info->priv->module); |
4441 | |
4442 | === added file 'debian/patches/63_gnome_disable_background_plugin.patch' |
4443 | --- debian/patches/63_gnome_disable_background_plugin.patch 1970-01-01 00:00:00 +0000 |
4444 | +++ debian/patches/63_gnome_disable_background_plugin.patch 2014-02-04 13:40:10 +0000 |
4445 | @@ -0,0 +1,24 @@ |
4446 | +--- a/gnome-settings-daemon/gnome-settings-plugin-info.c |
4447 | ++++ b/gnome-settings-daemon/gnome-settings-plugin-info.c |
4448 | +@@ -395,6 +395,21 @@ |
4449 | + goto out; |
4450 | + } |
4451 | + |
4452 | ++ if (g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "GNOME") == 0 |
4453 | ++ && g_strcmp0 (info->priv->name, "Background") == 0) { |
4454 | ++ |
4455 | ++ g_warning ("Disable background plugin when under gnome-shell"); |
4456 | ++ |
4457 | ++ g_object_unref (G_OBJECT (info->priv->module)); |
4458 | ++ info->priv->module = NULL; |
4459 | ++ |
4460 | ++ /* Mark plugin as unavailable */ |
4461 | ++ info->priv->available = FALSE; |
4462 | ++ |
4463 | ++ goto out; |
4464 | ++ } |
4465 | ++ |
4466 | ++ |
4467 | + info->priv->plugin = GNOME_SETTINGS_PLUGIN (gnome_settings_module_new_object (GNOME_SETTINGS_MODULE (info->priv->module))); |
4468 | + |
4469 | + g_type_module_unuse (info->priv->module); |
4470 | |
4471 | === added file 'debian/patches/64_restore_terminal_keyboard_shortcut_schema.patch' |
4472 | --- debian/patches/64_restore_terminal_keyboard_shortcut_schema.patch 1970-01-01 00:00:00 +0000 |
4473 | +++ debian/patches/64_restore_terminal_keyboard_shortcut_schema.patch 2014-02-04 13:40:10 +0000 |
4474 | @@ -0,0 +1,73 @@ |
4475 | +Index: gnome-settings-daemon-3.7.91/data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in.in |
4476 | +=================================================================== |
4477 | +--- gnome-settings-daemon-3.7.91.orig/data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in.in 2013-03-08 18:25:20.441961407 -0500 |
4478 | ++++ gnome-settings-daemon-3.7.91/data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in.in 2013-03-08 18:25:20.437961407 -0500 |
4479 | +@@ -130,6 +130,11 @@ |
4480 | + <_summary>Copy a screenshot of an area to clipboard</_summary> |
4481 | + <_description>Binding to copy a screenshot of an area to clipboard.</_description> |
4482 | + </key> |
4483 | ++ <key name="terminal" type="s"> |
4484 | ++ <default>'<Primary><Alt>t'</default> |
4485 | ++ <_summary>Launch terminal</_summary> |
4486 | ++ <_description>Binding to launch the terminal.</_description> |
4487 | ++ </key> |
4488 | + <key name="www" type="s"> |
4489 | + <default>'XF86WWW'</default> |
4490 | + <_summary>Launch web browser</_summary> |
4491 | +Index: gnome-settings-daemon-3.7.91/plugins/media-keys/gsd-media-keys-manager.c |
4492 | +=================================================================== |
4493 | +--- gnome-settings-daemon-3.7.91.orig/plugins/media-keys/gsd-media-keys-manager.c 2013-03-08 18:25:20.441961407 -0500 |
4494 | ++++ gnome-settings-daemon-3.7.91/plugins/media-keys/gsd-media-keys-manager.c 2013-03-08 18:25:20.441961407 -0500 |
4495 | +@@ -960,6 +960,22 @@ |
4496 | + } |
4497 | + |
4498 | + static void |
4499 | ++do_terminal_action (GsdMediaKeysManager *manager) |
4500 | ++{ |
4501 | ++ GSettings *settings; |
4502 | ++ char *term; |
4503 | ++ |
4504 | ++ settings = g_settings_new ("org.gnome.desktop.default-applications.terminal"); |
4505 | ++ term = g_settings_get_string (settings, "exec"); |
4506 | ++ |
4507 | ++ if (term) |
4508 | ++ execute (manager, term, FALSE); |
4509 | ++ |
4510 | ++ g_free (term); |
4511 | ++ g_object_unref (settings); |
4512 | ++} |
4513 | ++ |
4514 | ++static void |
4515 | + gnome_session_shutdown (GsdMediaKeysManager *manager) |
4516 | + { |
4517 | + GError *error = NULL; |
4518 | +@@ -2250,6 +2266,9 @@ |
4519 | + case AREA_SCREENSHOT_CLIP_KEY: |
4520 | + gsd_screenshot_take (type); |
4521 | + break; |
4522 | ++ case TERMINAL_KEY: |
4523 | ++ do_terminal_action (manager); |
4524 | ++ break; |
4525 | + case WWW_KEY: |
4526 | + do_url_action (manager, "http", timestamp); |
4527 | + break; |
4528 | +Index: gnome-settings-daemon-3.7.91/plugins/media-keys/shortcuts-list.h |
4529 | +=================================================================== |
4530 | +--- gnome-settings-daemon-3.7.91.orig/plugins/media-keys/shortcuts-list.h 2013-03-08 18:25:20.441961407 -0500 |
4531 | ++++ gnome-settings-daemon-3.7.91/plugins/media-keys/shortcuts-list.h 2013-03-08 18:25:34.201960831 -0500 |
4532 | +@@ -51,6 +51,7 @@ |
4533 | + SCREENSHOT_CLIP_KEY, |
4534 | + WINDOW_SCREENSHOT_CLIP_KEY, |
4535 | + AREA_SCREENSHOT_CLIP_KEY, |
4536 | ++ TERMINAL_KEY, |
4537 | + WWW_KEY, |
4538 | + PLAY_KEY, |
4539 | + PAUSE_KEY, |
4540 | +@@ -122,6 +123,7 @@ |
4541 | + { SCREENSHOT_CLIP_KEY, "screenshot-clip", NULL, NULL, SHELL_KEYBINDING_MODE_ALL }, |
4542 | + { WINDOW_SCREENSHOT_CLIP_KEY, "window-screenshot-clip", NULL, NULL, SHELL_KEYBINDING_MODE_NORMAL }, |
4543 | + { AREA_SCREENSHOT_CLIP_KEY, "area-screenshot-clip", NULL, NULL, SHELL_KEYBINDING_MODE_ALL }, |
4544 | ++ { TERMINAL_KEY, "terminal", NULL, NULL, GSD_KEYBINDING_MODE_LAUNCHER }, |
4545 | + { WWW_KEY, "www", NULL, NULL, GSD_KEYBINDING_MODE_LAUNCHER }, |
4546 | + { PLAY_KEY, "play", NULL, NULL, SHELL_KEYBINDING_MODE_ALL }, |
4547 | + { PAUSE_KEY, "pause", NULL, NULL, SHELL_KEYBINDING_MODE_ALL }, |
4548 | |
4549 | === added file 'debian/patches/90_set_gmenus_xsettings.patch' |
4550 | --- debian/patches/90_set_gmenus_xsettings.patch 1970-01-01 00:00:00 +0000 |
4551 | +++ debian/patches/90_set_gmenus_xsettings.patch 2014-02-04 13:40:10 +0000 |
4552 | @@ -0,0 +1,134 @@ |
4553 | +Index: gnome-settings-daemon-3.6.3/plugins/xsettings/gsd-xsettings-manager.c |
4554 | +=================================================================== |
4555 | +--- gnome-settings-daemon-3.6.3.orig/plugins/xsettings/gsd-xsettings-manager.c 2012-11-07 10:08:12.000000000 +0100 |
4556 | ++++ gnome-settings-daemon-3.6.3/plugins/xsettings/gsd-xsettings-manager.c 2012-11-20 13:26:46.306775857 +0100 |
4557 | +@@ -242,7 +242,9 @@ |
4558 | + GsdXSettingsGtk *gtk; |
4559 | + |
4560 | + guint shell_name_watch_id; |
4561 | ++ guint unity_name_watch_id; |
4562 | + gboolean have_shell; |
4563 | ++ gboolean have_unity; |
4564 | + |
4565 | + guint notify_idle_id; |
4566 | + }; |
4567 | +@@ -703,17 +705,18 @@ |
4568 | + } |
4569 | + |
4570 | + static void |
4571 | +-notify_have_shell (GnomeXSettingsManager *manager, |
4572 | +- gboolean have_shell) |
4573 | ++notify_have_shell (GnomeXSettingsManager *manager) |
4574 | + { |
4575 | + int i; |
4576 | + |
4577 | + gnome_settings_profile_start (NULL); |
4578 | +- if (manager->priv->have_shell == have_shell) |
4579 | +- return; |
4580 | +- manager->priv->have_shell = have_shell; |
4581 | + for (i = 0; manager->priv->managers [i]; i++) { |
4582 | +- xsettings_manager_set_int (manager->priv->managers [i], "Gtk/ShellShowsAppMenu", have_shell); |
4583 | ++ /* Shell is showing appmenu if either GNOME Shell or Unity is running. */ |
4584 | ++ xsettings_manager_set_int (manager->priv->managers [i], "Gtk/ShellShowsAppMenu", |
4585 | ++ manager->priv->have_shell || manager->priv->have_unity); |
4586 | ++ /* Shell is showing menubar *only* if Unity runs */ |
4587 | ++ xsettings_manager_set_int (manager->priv->managers [i], "Gtk/ShellShowsMenubar", |
4588 | ++ manager->priv->have_unity); |
4589 | + } |
4590 | + queue_notify (manager); |
4591 | + gnome_settings_profile_end (NULL); |
4592 | +@@ -725,7 +728,10 @@ |
4593 | + const gchar *name_owner, |
4594 | + gpointer user_data) |
4595 | + { |
4596 | +- notify_have_shell (user_data, TRUE); |
4597 | ++ GnomeXSettingsManager *manager = user_data; |
4598 | ++ |
4599 | ++ manager->priv->have_shell = TRUE; |
4600 | ++ notify_have_shell (manager); |
4601 | + } |
4602 | + |
4603 | + static void |
4604 | +@@ -733,7 +739,33 @@ |
4605 | + const gchar *name, |
4606 | + gpointer user_data) |
4607 | + { |
4608 | +- notify_have_shell (user_data, FALSE); |
4609 | ++ GnomeXSettingsManager *manager = user_data; |
4610 | ++ |
4611 | ++ manager->priv->have_shell = FALSE; |
4612 | ++ notify_have_shell (manager); |
4613 | ++} |
4614 | ++ |
4615 | ++static void |
4616 | ++on_unity_appeared (GDBusConnection *connection, |
4617 | ++ const gchar *name, |
4618 | ++ const gchar *name_owner, |
4619 | ++ gpointer user_data) |
4620 | ++{ |
4621 | ++ GnomeXSettingsManager *manager = user_data; |
4622 | ++ |
4623 | ++ manager->priv->have_unity = TRUE; |
4624 | ++ notify_have_shell (manager); |
4625 | ++} |
4626 | ++ |
4627 | ++static void |
4628 | ++on_unity_disappeared (GDBusConnection *connection, |
4629 | ++ const gchar *name, |
4630 | ++ gpointer user_data) |
4631 | ++{ |
4632 | ++ GnomeXSettingsManager *manager = user_data; |
4633 | ++ |
4634 | ++ manager->priv->have_unity = FALSE; |
4635 | ++ notify_have_shell (manager); |
4636 | + } |
4637 | + |
4638 | + static void |
4639 | +@@ -856,7 +888,7 @@ |
4640 | + static void |
4641 | + start_shell_monitor (GnomeXSettingsManager *manager) |
4642 | + { |
4643 | +- notify_have_shell (manager, TRUE); |
4644 | ++ notify_have_shell (manager); |
4645 | + manager->priv->have_shell = TRUE; |
4646 | + manager->priv->shell_name_watch_id = g_bus_watch_name (G_BUS_TYPE_SESSION, |
4647 | + "org.gnome.Shell", |
4648 | +@@ -867,6 +899,20 @@ |
4649 | + NULL); |
4650 | + } |
4651 | + |
4652 | ++static void |
4653 | ++start_unity_monitor (GnomeXSettingsManager *manager) |
4654 | ++{ |
4655 | ++ notify_have_shell (manager); |
4656 | ++ manager->priv->have_unity = TRUE; |
4657 | ++ manager->priv->shell_name_watch_id = g_bus_watch_name (G_BUS_TYPE_SESSION, |
4658 | ++ "com.canonical.AppMenu.Registrar", |
4659 | ++ 0, |
4660 | ++ on_unity_appeared, |
4661 | ++ on_unity_disappeared, |
4662 | ++ manager, |
4663 | ++ NULL); |
4664 | ++} |
4665 | ++ |
4666 | + gboolean |
4667 | + gnome_xsettings_manager_start (GnomeXSettingsManager *manager, |
4668 | + GError **error) |
4669 | +@@ -933,6 +979,7 @@ |
4670 | + start_fontconfig_monitor (manager); |
4671 | + |
4672 | + start_shell_monitor (manager); |
4673 | ++ start_unity_monitor (manager); |
4674 | + |
4675 | + for (i = 0; manager->priv->managers [i]; i++) |
4676 | + xsettings_manager_set_string (manager->priv->managers [i], |
4677 | +@@ -978,6 +1025,9 @@ |
4678 | + if (manager->priv->shell_name_watch_id > 0) |
4679 | + g_bus_unwatch_name (manager->priv->shell_name_watch_id); |
4680 | + |
4681 | ++ if (manager->priv->unity_name_watch_id > 0) |
4682 | ++ g_bus_unwatch_name (manager->priv->unity_name_watch_id); |
4683 | ++ |
4684 | + if (p->settings != NULL) { |
4685 | + g_hash_table_destroy (p->settings); |
4686 | + p->settings = NULL; |
4687 | |
4688 | === added file 'debian/patches/correct_logout_action.patch' |
4689 | --- debian/patches/correct_logout_action.patch 1970-01-01 00:00:00 +0000 |
4690 | +++ debian/patches/correct_logout_action.patch 2014-02-04 13:40:10 +0000 |
4691 | @@ -0,0 +1,29 @@ |
4692 | +# Description: let the logout key do what it's supposed to do |
4693 | +# Ubuntu: https://launchpad.net/bugs/961501 |
4694 | +# Upstream: https://bugzilla.gnome.org/show_bug.cgi?id=671979 |
4695 | +Index: gnome-settings-daemon-3.7.4/plugins/media-keys/gsd-media-keys-manager.c |
4696 | +=================================================================== |
4697 | +--- gnome-settings-daemon-3.7.4.orig/plugins/media-keys/gsd-media-keys-manager.c 2013-01-15 09:33:28.214989030 -0500 |
4698 | ++++ gnome-settings-daemon-3.7.4/plugins/media-keys/gsd-media-keys-manager.c 2013-01-15 09:33:28.206985030 -0500 |
4699 | +@@ -801,6 +801,12 @@ |
4700 | + } |
4701 | + |
4702 | + static void |
4703 | ++do_logout_action (GsdMediaKeysManager *manager) |
4704 | ++{ |
4705 | ++ execute (manager, "gnome-session-quit --logout", FALSE); |
4706 | ++} |
4707 | ++ |
4708 | ++static void |
4709 | + do_eject_action_cb (GDrive *drive, |
4710 | + GAsyncResult *res, |
4711 | + GsdMediaKeysManager *manager) |
4712 | +@@ -1945,7 +1951,7 @@ |
4713 | + do_sound_action (manager, deviceid, VOLUME_UP_KEY, TRUE, TRUE); |
4714 | + break; |
4715 | + case LOGOUT_KEY: |
4716 | +- gnome_session_shutdown (manager); |
4717 | ++ do_logout_action (manager); |
4718 | + break; |
4719 | + case EJECT_KEY: |
4720 | + do_eject_action (manager); |
4721 | |
4722 | === added file 'debian/patches/disable_three_touch_tap.patch' |
4723 | --- debian/patches/disable_three_touch_tap.patch 1970-01-01 00:00:00 +0000 |
4724 | +++ debian/patches/disable_three_touch_tap.patch 2014-02-04 13:40:10 +0000 |
4725 | @@ -0,0 +1,17 @@ |
4726 | +# Description: disable three-touch tap to click by default, it conflicts |
4727 | +with the unity resize handles, see that email for details: |
4728 | +https://lists.ubuntu.com/archives/ubuntu-desktop/2012-February/003694.html |
4729 | +# Forwarded: no, Ubuntu specific since it's for unity |
4730 | +Index: gnome-settings-daemon-3.6.1/plugins/mouse/gsd-mouse-manager.c |
4731 | +=================================================================== |
4732 | +--- gnome-settings-daemon-3.6.1.orig/plugins/mouse/gsd-mouse-manager.c 2012-10-26 10:19:49.427004172 +0200 |
4733 | ++++ gnome-settings-daemon-3.6.1/plugins/mouse/gsd-mouse-manager.c 2012-10-26 10:19:49.691004186 +0200 |
4734 | +@@ -657,7 +657,7 @@ |
4735 | + /* Set RLM mapping for 1/2/3 fingers*/ |
4736 | + data[4] = (state) ? ((left_handed) ? 3 : 1) : 0; |
4737 | + data[5] = (state) ? ((left_handed) ? 1 : 3) : 0; |
4738 | +- data[6] = (state) ? 2 : 0; |
4739 | ++ data[6] = 0; /* Disable three touch tap so gestures work */ |
4740 | + XChangeDeviceProperty (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), xdevice, prop, XA_INTEGER, 8, |
4741 | + PropModeReplace, data, nitems); |
4742 | + } |
4743 | |
4744 | === added file 'debian/patches/fix_broken_user_sounds_permissions.patch' |
4745 | --- debian/patches/fix_broken_user_sounds_permissions.patch 1970-01-01 00:00:00 +0000 |
4746 | +++ debian/patches/fix_broken_user_sounds_permissions.patch 2014-02-04 13:40:10 +0000 |
4747 | @@ -0,0 +1,39 @@ |
4748 | +Description: Fix up temporarily broken permissions that users may have if they upgraded to 3.6.4-0ubuntu10 |
4749 | +Author: Iain Lane <iain.lane@canonical.com> |
4750 | +Forwarded: not-needed (temporary) |
4751 | + |
4752 | +Index: b/plugins/sound/gsd-sound-manager.c |
4753 | +=================================================================== |
4754 | +--- a/plugins/sound/gsd-sound-manager.c |
4755 | ++++ b/plugins/sound/gsd-sound-manager.c |
4756 | +@@ -20,6 +20,7 @@ |
4757 | + |
4758 | + #include "config.h" |
4759 | + |
4760 | ++#include <sys/stat.h> |
4761 | + #include <sys/types.h> |
4762 | + #include <sys/wait.h> |
4763 | + #include <stdlib.h> |
4764 | +@@ -33,6 +34,7 @@ |
4765 | + |
4766 | + #include <glib.h> |
4767 | + #include <glib/gi18n.h> |
4768 | ++#include <glib/gstdio.h> |
4769 | + #include <gtk/gtk.h> |
4770 | + #include <pulse/pulseaudio.h> |
4771 | + |
4772 | +@@ -268,6 +270,14 @@ |
4773 | + /* ... and we listen to changes of the theme base directories |
4774 | + * in $HOME ...*/ |
4775 | + p = g_build_filename (g_get_user_data_dir (), "sounds", NULL); |
4776 | ++ /* See bug #694134 - the initial commit had the permissions below wrong |
4777 | ++ * so users may have the directory without the right permissions. Fix |
4778 | ++ * them up if so. */ |
4779 | ++ if (!g_access (p, F_OK) && g_access (p, R_OK | W_OK | X_OK) != 0) |
4780 | ++ { |
4781 | ++ g_debug ("Permissions on %s wrong; resetting", p); |
4782 | ++ g_chmod (p, S_IRUSR | S_IWUSR | S_IXUSR); |
4783 | ++ } |
4784 | + if (g_mkdir_with_parents(p, 0700) == 0) |
4785 | + register_directory_callback (manager, p, NULL); |
4786 | + g_free (p); |
4787 | |
4788 | === added file 'debian/patches/fix_input_switching_on_unity.patch' |
4789 | --- debian/patches/fix_input_switching_on_unity.patch 1970-01-01 00:00:00 +0000 |
4790 | +++ debian/patches/fix_input_switching_on_unity.patch 2014-02-04 13:40:10 +0000 |
4791 | @@ -0,0 +1,155 @@ |
4792 | +From a49d454a019334f05dc7f6ba9a96299a178ddd19 Mon Sep 17 00:00:00 2001 |
4793 | +From: Tim Lunn <tim@feathertop.org> |
4794 | +Date: Sun, 1 Sep 2013 09:34:17 +1000 |
4795 | +Subject: [PATCH] Revert "Revert "media-keys: Add key bindings to switch input |
4796 | + sources"" |
4797 | + |
4798 | +This reverts commit cc45fec342713745f391533a202976e97670f9e5. |
4799 | +Patched to use the new g_settings keys for input source switching |
4800 | +--- |
4801 | + plugins/media-keys/gsd-media-keys-manager.c | 59 ++++++++++++++++++++++++++++- |
4802 | + plugins/media-keys/shortcuts-list.h | 6 +++ |
4803 | + 2 files changed, 64 insertions(+), 1 deletion(-) |
4804 | + |
4805 | +Index: b/plugins/media-keys/gsd-media-keys-manager.c |
4806 | +=================================================================== |
4807 | +--- a/plugins/media-keys/gsd-media-keys-manager.c |
4808 | ++++ b/plugins/media-keys/gsd-media-keys-manager.c |
4809 | +@@ -114,6 +114,10 @@ |
4810 | + #define VOLUME_STEP 6 /* percents for one volume button press */ |
4811 | + #define MAX_VOLUME 65536.0 |
4812 | + |
4813 | ++#define GNOME_DESKTOP_INPUT_SOURCES_DIR "org.gnome.desktop.input-sources" |
4814 | ++#define KEY_CURRENT_INPUT_SOURCE "current" |
4815 | ++#define KEY_INPUT_SOURCES "sources" |
4816 | ++ |
4817 | + #define SYSTEMD_DBUS_NAME "org.freedesktop.login1" |
4818 | + #define SYSTEMD_DBUS_PATH "/org/freedesktop/login1" |
4819 | + #define SYSTEMD_DBUS_INTERFACE "org.freedesktop.login1.Manager" |
4820 | +@@ -157,6 +161,7 @@ |
4821 | + #endif /* HAVE_GUDEV */ |
4822 | + |
4823 | + GSettings *settings; |
4824 | ++ GSettings *input_settings; |
4825 | + GHashTable *custom_settings; |
4826 | + |
4827 | + GPtrArray *keys; |
4828 | +@@ -530,7 +535,9 @@ |
4829 | + get_key_string (GsdMediaKeysManager *manager, |
4830 | + MediaKey *key) |
4831 | + { |
4832 | +- if (key->settings_key != NULL) |
4833 | ++ if (key->settings_key == "switch-input-source" || key->settings_key == "switch-input-source-backward") |
4834 | ++ return g_settings_get_strv (manager->priv->input_settings, key->settings_key)[0]; |
4835 | ++ else if (key->settings_key != NULL) |
4836 | + return g_settings_get_string (manager->priv->settings, key->settings_key); |
4837 | + else if (key->hard_coded != NULL) |
4838 | + return g_strdup (key->hard_coded); |
4839 | +@@ -2111,6 +2118,44 @@ |
4840 | + * are not used in this context */ |
4841 | + break; |
4842 | + } |
4843 | ++ |
4844 | ++} |
4845 | ++ |
4846 | ++static void |
4847 | ++do_switch_input_source_action (GsdMediaKeysManager *manager, |
4848 | ++ MediaKeyType type) |
4849 | ++{ |
4850 | ++ GSettings *settings; |
4851 | ++ GVariant *sources; |
4852 | ++ gint i, n; |
4853 | ++ |
4854 | ++ if (!manager->priv->have_legacy_keygrabber) |
4855 | ++ return; |
4856 | ++ |
4857 | ++ settings = g_settings_new (GNOME_DESKTOP_INPUT_SOURCES_DIR); |
4858 | ++ sources = g_settings_get_value (settings, KEY_INPUT_SOURCES); |
4859 | ++ |
4860 | ++ n = g_variant_n_children (sources); |
4861 | ++ if (n < 2) |
4862 | ++ goto out; |
4863 | ++ |
4864 | ++ i = g_settings_get_uint (settings, KEY_CURRENT_INPUT_SOURCE); |
4865 | ++ |
4866 | ++ if (type == SWITCH_INPUT_SOURCE_KEY) |
4867 | ++ i += 1; |
4868 | ++ else |
4869 | ++ i -= 1; |
4870 | ++ |
4871 | ++ if (i < 0) |
4872 | ++ i = n - 1; |
4873 | ++ else if (i >= n) |
4874 | ++ i = 0; |
4875 | ++ |
4876 | ++ g_settings_set_uint (settings, KEY_CURRENT_INPUT_SOURCE, i); |
4877 | ++ |
4878 | ++ out: |
4879 | ++ g_variant_unref (sources); |
4880 | ++ g_object_unref (settings); |
4881 | + } |
4882 | + |
4883 | + static void |
4884 | +@@ -2451,6 +2496,10 @@ |
4885 | + case BATTERY_KEY: |
4886 | + do_battery_action (manager); |
4887 | + break; |
4888 | ++ case SWITCH_INPUT_SOURCE_KEY: |
4889 | ++ case SWITCH_INPUT_SOURCE_BACKWARD_KEY: |
4890 | ++ do_switch_input_source_action (manager, type); |
4891 | ++ break; |
4892 | + /* Note, no default so compiler catches missing keys */ |
4893 | + case CUSTOM_KEY: |
4894 | + g_assert_not_reached (); |
4895 | +@@ -2773,6 +2822,12 @@ |
4896 | + g_signal_connect (G_OBJECT (manager->priv->settings), "changed::custom-keybindings", |
4897 | + G_CALLBACK (gsettings_custom_changed_cb), manager); |
4898 | + |
4899 | ++ manager->priv->input_settings = g_settings_new (INPUT_SETTINGS_BINDING_DIR); |
4900 | ++ g_signal_connect (G_OBJECT (manager->priv->input_settings), "changed", |
4901 | ++ G_CALLBACK (gsettings_changed_cb), manager); |
4902 | ++ g_signal_connect (G_OBJECT (manager->priv->input_settings), "changed::custom-keybindings", |
4903 | ++ G_CALLBACK (gsettings_custom_changed_cb), manager); |
4904 | ++ |
4905 | + manager->priv->custom_settings = |
4906 | + g_hash_table_new_full (g_str_hash, g_str_equal, |
4907 | + g_free, g_object_unref); |
4908 | +@@ -2903,6 +2958,7 @@ |
4909 | + |
4910 | + g_clear_object (&priv->logind_proxy); |
4911 | + g_clear_object (&priv->settings); |
4912 | ++ g_clear_object (&priv->input_settings); |
4913 | + g_clear_object (&priv->power_settings); |
4914 | + g_clear_object (&priv->power_proxy); |
4915 | + g_clear_object (&priv->power_screen_proxy); |
4916 | +Index: b/plugins/media-keys/shortcuts-list.h |
4917 | +=================================================================== |
4918 | +--- a/plugins/media-keys/shortcuts-list.h |
4919 | ++++ b/plugins/media-keys/shortcuts-list.h |
4920 | +@@ -25,6 +25,7 @@ |
4921 | + #include "gsd-keygrab.h" |
4922 | + |
4923 | + #define SETTINGS_BINDING_DIR "org.gnome.settings-daemon.plugins.media-keys" |
4924 | ++#define INPUT_SETTINGS_BINDING_DIR "org.gnome.desktop.wm.keybindings" |
4925 | + |
4926 | + typedef enum { |
4927 | + TOUCHPAD_KEY, |
4928 | +@@ -83,6 +84,8 @@ |
4929 | + KEYBOARD_BRIGHTNESS_DOWN_KEY, |
4930 | + KEYBOARD_BRIGHTNESS_TOGGLE_KEY, |
4931 | + BATTERY_KEY, |
4932 | ++ SWITCH_INPUT_SOURCE_KEY, |
4933 | ++ SWITCH_INPUT_SOURCE_BACKWARD_KEY, |
4934 | + CUSTOM_KEY |
4935 | + } MediaKeyType; |
4936 | + |
4937 | +@@ -160,6 +163,9 @@ |
4938 | + { KEYBOARD_BRIGHTNESS_DOWN_KEY, NULL, N_("Keyboard Brightness Down"), "XF86KbdBrightnessDown", SHELL_KEYBINDING_MODE_ALL }, |
4939 | + { KEYBOARD_BRIGHTNESS_TOGGLE_KEY, NULL, N_("Keyboard Brightness Toggle"), "XF86KbdLightOnOff", SHELL_KEYBINDING_MODE_ALL }, |
4940 | + { BATTERY_KEY, NULL, N_("Battery Status"), "XF86Battery", GSD_KEYBINDING_MODE_LAUNCHER }, |
4941 | ++ { SWITCH_INPUT_SOURCE_KEY, "switch-input-source", NULL, NULL, SHELL_KEYBINDING_MODE_ALL }, |
4942 | ++ { SWITCH_INPUT_SOURCE_BACKWARD_KEY, "switch-input-source-backward", NULL, NULL, SHELL_KEYBINDING_MODE_ALL } |
4943 | ++ |
4944 | + }; |
4945 | + |
4946 | + #undef SCREENSAVER_MODE |
4947 | |
4948 | === added file 'debian/patches/fix_media_keys_on_unity.patch' |
4949 | --- debian/patches/fix_media_keys_on_unity.patch 1970-01-01 00:00:00 +0000 |
4950 | +++ debian/patches/fix_media_keys_on_unity.patch 2014-02-04 13:40:10 +0000 |
4951 | @@ -0,0 +1,518 @@ |
4952 | +Description: revert legacy keygrabber support for unity only |
4953 | + |
4954 | +Selective revert of upstream commits, reworked to only use legacy |
4955 | +keygrabber when running unity. |
4956 | + b0cee1df30b4945f524611f354ff164d4a383262 |
4957 | + 893743318c5f6a209283cd54e77076f116569fbd |
4958 | + 9e032789283dd5aa7c13411c538af3e4032f3145 |
4959 | +Author: Tim Lunn <tim@feathertop.org> |
4960 | +Last-Update: <2013-04-25> |
4961 | +--- a/plugins/media-keys/gsd-media-keys-manager.c |
4962 | ++++ b/plugins/media-keys/gsd-media-keys-manager.c |
4963 | +@@ -78,6 +78,10 @@ |
4964 | + #define SHELL_DBUS_NAME "org.gnome.Shell" |
4965 | + #define SHELL_DBUS_PATH "/org/gnome/Shell" |
4966 | + |
4967 | ++#define PANEL_DBUS_NAME "org.gnome.Panel" |
4968 | ++ |
4969 | ++#define UNITY_DBUS_NAME "com.canonical.Unity" |
4970 | ++ |
4971 | + #define CUSTOM_BINDING_SCHEMA SETTINGS_BINDING_DIR ".custom-keybinding" |
4972 | + |
4973 | + #define SHELL_GRABBER_RETRY_INTERVAL 1 |
4974 | +@@ -130,6 +134,7 @@ |
4975 | + const char *hard_coded; |
4976 | + char *custom_path; |
4977 | + char *custom_command; |
4978 | ++ Key *key; |
4979 | + guint accel_id; |
4980 | + } MediaKey; |
4981 | + |
4982 | +@@ -178,6 +183,13 @@ |
4983 | + GDBusProxy *logind_proxy; |
4984 | + gint inhibit_keys_fd; |
4985 | + |
4986 | ++ /* Multihead stuff */ |
4987 | ++ GdkScreen *current_screen; |
4988 | ++ GSList *screens; |
4989 | ++ |
4990 | ++ GdkScreen *screen; |
4991 | ++ int opcode; |
4992 | ++ |
4993 | + GList *media_players; |
4994 | + |
4995 | + GDBusNodeInfo *introspection_data; |
4996 | +@@ -192,6 +204,10 @@ |
4997 | + NotifyNotification *volume_notification; |
4998 | + NotifyNotification *brightness_notification; |
4999 | + NotifyNotification *kb_backlight_notification; |
5000 | ++ |
Hrm, looking at the diff below I probably did something wrong, like submitting against the wrong branch or something. Anyway, it's the file debian/ patches/ what-did- you-plug- in.patch in the lp:~diwic/gnome-settings-daemon/what-did-you-plug-in branch that should be looked at.