Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-base/gnome-settings-daemon/files: gnome-settings-daemon-3.2.0-color-unbreak-loading-profiles.patch gnome-settings-daemon-3.2.1-optional-colord.patch gnome-settings-daemon-3.2.1-WEXITSTATUS.patch
Date: Sat, 29 Oct 2011 02:11:53
Message-Id: 20111029021142.376C02004B@flycatcher.gentoo.org
1 tetromino 11/10/29 02:11:42
2
3 Added:
4 gnome-settings-daemon-3.2.0-color-unbreak-loading-profiles.patch
5 gnome-settings-daemon-3.2.1-optional-colord.patch
6 gnome-settings-daemon-3.2.1-WEXITSTATUS.patch
7 Log:
8 Bump to 3.2.1 from the gnome overlay. Numerous changes and improvements.
9
10 (Portage version: 2.2.0_alpha71/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.1 gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.2.0-color-unbreak-loading-profiles.patch
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.2.0-color-unbreak-loading-profiles.patch?rev=1.1&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.2.0-color-unbreak-loading-profiles.patch?rev=1.1&content-type=text/plain
17
18 Index: gnome-settings-daemon-3.2.0-color-unbreak-loading-profiles.patch
19 ===================================================================
20 From e46d34f5bd9b0260a204d5f8a9d23c747b61923f Mon Sep 17 00:00:00 2001
21 From: Cosimo Cecchi <cosimoc@×××××.org>
22 Date: Mon, 3 Oct 2011 10:02:34 -0400
23 Subject: [PATCH] color: unbreak loading profiles at startup
24
25 A recent commit broke color profile loading at startup if the profile
26 directory exists already. Fix this.
27
28 https://bugzilla.gnome.org/show_bug.cgi?id=660790
29
30 Signed-off-by: Richard Hughes <richard@×××××××.com>
31
32 [Alexandre Rostovtsev <tetromino@×××××.com>: backported to 3.2]
33 ---
34 plugins/color/gcm-profile-store.c | 5 +++--
35 1 files changed, 3 insertions(+), 2 deletions(-)
36
37 diff --git a/plugins/color/gcm-profile-store.c b/plugins/color/gcm-profile-store.c
38 index 3dde406..f8b0889 100644
39 --- a/plugins/color/gcm-profile-store.c
40 +++ b/plugins/color/gcm-profile-store.c
41 @@ -445,13 +445,14 @@ gcm_profile_store_search (GcmProfileStore *profile_store)
42 /* get Linux per-user profiles */
43 path = g_build_filename (g_get_user_data_dir (), "icc", NULL);
44 ret = gcm_profile_store_mkdir_with_parents (path, &error);
45 - if (!ret) {
46 + if (!ret &&
47 + !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_EXISTS)) {
48 g_warning ("failed to create directory on startup: %s", error->message);
49 - g_error_free (error);
50 } else {
51 gcm_profile_store_search_path (profile_store, path, 0);
52 }
53 g_free (path);
54 + g_clear_error (&error);
55
56 /* get per-user profiles from obsolete location */
57 path = g_build_filename (g_get_home_dir (), ".color", "icc", NULL);
58 --
59 1.7.7
60
61
62
63
64 1.1 gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.2.1-optional-colord.patch
65
66 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.2.1-optional-colord.patch?rev=1.1&view=markup
67 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.2.1-optional-colord.patch?rev=1.1&content-type=text/plain
68
69 Index: gnome-settings-daemon-3.2.1-optional-colord.patch
70 ===================================================================
71 From e1e0584cec966dc58a51efaf534f129b4830399f Mon Sep 17 00:00:00 2001
72 From: Alexandre Rostovtsev <tetromino@g.o>
73 Date: Thu, 27 Oct 2011 23:30:41 -0400
74 Subject: [PATCH] Make colord optional
75
76 ---
77 configure.ac | 20 +++++++++++++++++++-
78 data/Makefile.am | 7 ++++++-
79 plugins/Makefile.am | 7 ++++++-
80 3 files changed, 31 insertions(+), 3 deletions(-)
81
82 diff --git a/configure.ac b/configure.ac
83 index fe74674..f1a8547 100644
84 --- a/configure.ac
85 +++ b/configure.ac
86 @@ -107,7 +107,25 @@ PKG_CHECK_MODULES(GNOME_DESKTOP, gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VE
87 dnl ---------------------------------------------------------------------------
88 dnl - Check for colord
89 dnl ---------------------------------------------------------------------------
90 -PKG_CHECK_MODULES(COLORD, colord >= 0.1.12)
91 +build_color=false
92 +AC_ARG_ENABLE(color,
93 + AC_HELP_STRING([--disable-color],
94 + [turn off color plugin]),
95 + [case "${enableval}" in
96 + yes) WANT_COLOR=yes ;;
97 + no) WANT_COLOR=no ;;
98 + *) AC_MSG_ERROR(bad value ${enableval} for --disable-color) ;;
99 + esac],
100 + [WANT_COLOR=yes]) dnl Default value
101 +
102 +if test x$WANT_COLOR = xyes; then
103 + PKG_CHECK_MODULES(COLORD, colord >= 0.1.12)
104 + build_color=true
105 +fi
106 +AM_CONDITIONAL(BUILD_COLOR, test "x$build_color" = "xtrue")
107 +
108 +AC_SUBST(COLORD_CFLAGS)
109 +AC_SUBST(COLORD_LIBS)
110
111 dnl ---------------------------------------------------------------------------
112 dnl - Check for libcanberra
113 diff --git a/data/Makefile.am b/data/Makefile.am
114 index 43ba27c..1f3bbef 100644
115 --- a/data/Makefile.am
116 +++ b/data/Makefile.am
117 @@ -11,7 +11,6 @@ gsettings_SCHEMAS = \
118 org.gnome.settings-daemon.plugins.gschema.xml \
119 org.gnome.settings-daemon.plugins.keyboard.gschema.xml \
120 org.gnome.settings-daemon.plugins.power.gschema.xml \
121 - org.gnome.settings-daemon.plugins.color.gschema.xml \
122 org.gnome.settings-daemon.plugins.media-keys.gschema.xml \
123 org.gnome.settings-daemon.plugins.xsettings.gschema.xml \
124 org.gnome.settings-daemon.plugins.housekeeping.gschema.xml \
125 @@ -21,6 +20,12 @@ gsettings_SCHEMAS = \
126
127 all_schemas = $(gsettings_SCHEMAS)
128
129 +if BUILD_COLOR
130 +gsettings_SCHEMAS += org.gnome.settings-daemon.plugins.color.gschema.xml
131 +else
132 +all_schemas += org.gnome.settings-daemon.plugins.color.gschema.xml
133 +endif
134 +
135 if HAVE_PACKAGEKIT
136 gsettings_SCHEMAS += org.gnome.settings-daemon.plugins.updates.gschema.xml
137 else
138 diff --git a/plugins/Makefile.am b/plugins/Makefile.am
139 index 5e26811..d2404ab 100644
140 --- a/plugins/Makefile.am
141 +++ b/plugins/Makefile.am
142 @@ -6,7 +6,6 @@ enabled_plugins = \
143 automount \
144 background \
145 clipboard \
146 - color \
147 cursor \
148 datetime \
149 dummy \
150 @@ -24,6 +23,12 @@ enabled_plugins = \
151
152 disabled_plugins = $(NULL)
153
154 +if BUILD_COLOR
155 +enabled_plugins += color
156 +else
157 +disabled_plugins += color
158 +endif
159 +
160 if BUILD_GCONF_BRIDGE
161 enabled_plugins += gconf
162 else
163 --
164 1.7.7.1
165
166
167
168
169 1.1 gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.2.1-WEXITSTATUS.patch
170
171 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.2.1-WEXITSTATUS.patch?rev=1.1&view=markup
172 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.2.1-WEXITSTATUS.patch?rev=1.1&content-type=text/plain
173
174 Index: gnome-settings-daemon-3.2.1-WEXITSTATUS.patch
175 ===================================================================
176 From 9b141728c889a6d2f88767655661318e3d8d82da Mon Sep 17 00:00:00 2001
177 From: Malcolm Lewis <malcolmlewis@××××××××.org>
178 Date: Mon, 17 Oct 2011 16:43:06 +0000
179 Subject: power: Fix "undefined symbol: WEXITSTATUS" error.
180
181 https://bugzilla.gnome.org/show_bug.cgi?id=662020
182 ---
183 diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
184 index 010d14a..3f10c22 100644
185 --- a/plugins/power/gsd-power-manager.c
186 +++ b/plugins/power/gsd-power-manager.c
187 @@ -24,6 +24,7 @@
188 #include <stdlib.h>
189 #include <string.h>
190 #include <stdio.h>
191 +#include <sys/wait.h>
192 #include <glib/gi18n.h>
193 #include <gtk/gtk.h>
194 #include <libupower-glib/upower.h>
195 --
196 cgit v0.9.0.2