Merge lp:~gunnarhj/gnome-settings-daemon/drop-patch-43 into lp:~ubuntu-desktop/gnome-settings-daemon/ubuntu

Proposed by Gunnar Hjalmarsson
Status: Work in progress
Proposed branch: lp:~gunnarhj/gnome-settings-daemon/drop-patch-43
Merge into: lp:~ubuntu-desktop/gnome-settings-daemon/ubuntu
Diff against target: 84 lines (+14/-29)
4 files modified
debian/changelog (+8/-0)
debian/patches/43_disable_locale_settings.patch (+0/-26)
debian/patches/48_register_client_before_idle_callbacks.patch (+6/-2)
debian/patches/series (+0/-1)
To merge this branch: bzr merge lp:~gunnarhj/gnome-settings-daemon/drop-patch-43
Reviewer Review Type Date Requested Status
James Page Approve
Review via email: mp+128371@code.launchpad.net

Commit message

* debian/patches/43_disable_locale_settings.patch:
  - Dropped since it's covered by
    48_register_client_before_idle_callbacks.patch

To post a comment you must log in.
Revision history for this message
James Page (james-page) wrote :

Hi Gunnar

I think that this is a good bit of housekeeping and makes sense to me.

However as we are late in the quantal cycle and this does not fix a bug lets defer this until next release opens.

review: Approve

Unmerged revisions

358. By Gunnar Hjalmarsson

* debian/patches/43_disable_locale_settings.patch:
  - Dropped since it's covered by
    48_register_client_before_idle_callbacks.patch

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-09-29 01:04:42 +0000
3+++ debian/changelog 2012-10-07 00:59:32 +0000
4@@ -1,3 +1,11 @@
5+gnome-settings-daemon (3.4.2-0ubuntu15) UNRELEASED; urgency=low
6+
7+ * debian/patches/43_disable_locale_settings.patch:
8+ - Dropped since it's covered by
9+ 48_register_client_before_idle_callbacks.patch
10+
11+ -- Gunnar Hjalmarsson <gunnarhj@ubuntu.com> Sun, 07 Oct 2012 02:48:00 +0200
12+
13 gnome-settings-daemon (3.4.2-0ubuntu14) quantal; urgency=low
14
15 * debian/patches/git_power_dbus_path.patch:
16
17=== removed file 'debian/patches/43_disable_locale_settings.patch'
18--- debian/patches/43_disable_locale_settings.patch 2012-03-07 01:31:28 +0000
19+++ debian/patches/43_disable_locale_settings.patch 1970-01-01 00:00:00 +0000
20@@ -1,26 +0,0 @@
21-Description: Make sure that no locales are set, even if the gsettings "region" key has
22- been assigned a value in the past, since they are set in Ubuntu via ~/.pam_environment.
23-Forwarded: not-needed
24-Author: Gunnar Hjalmarsson <ubuntu@gunnar.cc>
25-
26-*
27-* The set_locale() function is questionable anyhow, since it's called after ~/.profile
28-* is sourced by e.g. lightdm or gdm, which prevents users from fine tuning the locale
29-* settings by editing ~/.profile.
30-*
31-
32-Index: gnome-settings-daemon-3.3.91/gnome-settings-daemon/main.c
33-===================================================================
34---- gnome-settings-daemon-3.3.91.orig/gnome-settings-daemon/main.c 2012-02-08 17:59:31.000000000 +0100
35-+++ gnome-settings-daemon-3.3.91/gnome-settings-daemon/main.c 2012-03-05 21:04:22.481981528 +0100
36-@@ -234,10 +234,6 @@
37- } else {
38- const char *startup_id;
39-
40-- /* Always call this first, as Setenv can only be called before
41-- any client registers */
42-- set_locale (proxy);
43--
44- /* Register the daemon with gnome-session */
45- g_signal_connect (G_OBJECT (proxy), "g-signal",
46- G_CALLBACK (on_session_over), NULL);
47
48=== modified file 'debian/patches/48_register_client_before_idle_callbacks.patch'
49--- debian/patches/48_register_client_before_idle_callbacks.patch 2012-03-05 20:17:31 +0000
50+++ debian/patches/48_register_client_before_idle_callbacks.patch 2012-10-07 00:59:32 +0000
51@@ -1,8 +1,8 @@
52 Index: gnome-settings-daemon-3.3.91/gnome-settings-daemon/main.c
53 ===================================================================
54 --- gnome-settings-daemon-3.3.91.orig/gnome-settings-daemon/main.c 2012-03-05 21:04:12.757981058 +0100
55-+++ gnome-settings-daemon-3.3.91/gnome-settings-daemon/main.c 2012-03-05 21:04:12.817981061 +0100
56-@@ -219,36 +219,6 @@
57++++ gnome-settings-daemon-3.3.91/gnome-settings-daemon/main.c 2012-10-07 02:31:00.000000000 +0200
58+@@ -219,40 +219,6 @@
59 g_object_unref (locale_settings);
60 }
61
62@@ -21,6 +21,10 @@
63 - } else {
64 - const char *startup_id;
65 -
66+- /* Always call this first, as Setenv can only be called before
67+- any client registers */
68+- set_locale (proxy);
69+-
70 - /* Register the daemon with gnome-session */
71 - g_signal_connect (G_OBJECT (proxy), "g-signal",
72 - G_CALLBACK (on_session_over), NULL);
73
74=== modified file 'debian/patches/series'
75--- debian/patches/series 2012-09-29 01:04:33 +0000
76+++ debian/patches/series 2012-10-07 00:59:32 +0000
77@@ -3,7 +3,6 @@
78 16_use_synchronous_notifications.patch
79 20_migrate_background_uri.patch
80 40_xres_lcddefault.patch
81-43_disable_locale_settings.patch
82 45_suppress-printer-may-not-be-connected-notification.patch
83 47_delay_pa_connect_to_idle.patch
84 48_register_client_before_idle_callbacks.patch

Subscribers

People subscribed via source and target branches