1 |
commit: 9dee3926cbc4bdfd13d3a5ca1d8568df478f9cb8 |
2 |
Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Sep 30 23:49:26 2011 +0000 |
4 |
Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com> |
5 |
CommitDate: Fri Sep 30 23:49:26 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=9dee3926 |
7 |
|
8 |
gnome-base/gnome-control-center: add patches and nm-applet dep (#385049) |
9 |
|
10 |
Add missing nm-applet-0.9.1.90 dependency; gnome-control-center needs |
11 |
the libnm-gkt library it installs for the network panel. Fixes bug #385049, |
12 |
thanks to poncho <poncho <AT> spahan.ch> for the report. |
13 |
|
14 |
Also, add several useful patches from upstream fixing visible issues in |
15 |
shell, power, and printer panels. |
16 |
|
17 |
--- |
18 |
...tk_widget_show-instead-of-_show_all-in-gn.patch | 28 +++ |
19 |
...the-label-for-the-category-sections-which.patch | 26 +++ |
20 |
...0003-info-Use-new-GtkAppChooserButton-API.patch | 51 +++++ |
21 |
...he-correct-item-in-the-combo-boxes-when-s.patch | 39 ++++ |
22 |
...e-sure-we-gtk_widget_show-the-search-view.patch | 25 +++ |
23 |
...-Printers-check-state-of-CUPS-after-start.patch | 203 ++++++++++++++++++++ |
24 |
...ebuild => gnome-control-center-3.2.0-r1.ebuild} | 12 +- |
25 |
.../gnome-control-center-9999.ebuild | 4 +- |
26 |
8 files changed, 385 insertions(+), 3 deletions(-) |
27 |
|
28 |
diff --git a/gnome-base/gnome-control-center/files/3.2.0/0001-shell-Use-gtk_widget_show-instead-of-_show_all-in-gn.patch b/gnome-base/gnome-control-center/files/3.2.0/0001-shell-Use-gtk_widget_show-instead-of-_show_all-in-gn.patch |
29 |
new file mode 100644 |
30 |
index 0000000..0ef551c |
31 |
--- /dev/null |
32 |
+++ b/gnome-base/gnome-control-center/files/3.2.0/0001-shell-Use-gtk_widget_show-instead-of-_show_all-in-gn.patch |
33 |
@@ -0,0 +1,28 @@ |
34 |
+From 70a0d19c712c8ebe26f74e56bce3741d481a4b16 Mon Sep 17 00:00:00 2001 |
35 |
+From: Rodrigo Moya <rodrigo@××××××××.org> |
36 |
+Date: Tue, 20 Sep 2011 13:29:56 +0200 |
37 |
+Subject: [PATCH 01/14] shell: Use gtk_widget_show instead of _show_all in |
38 |
+ gnome_control_center_show |
39 |
+ |
40 |
+Using gtk_widget_show_all will make all invisible widgets show up when a |
41 |
+second instance of the shell is run from the command line. |
42 |
+ |
43 |
+https://bugs.launchpad.net/gnome-control-center/+bug/854544 |
44 |
+--- |
45 |
+ shell/gnome-control-center.c | 2 +- |
46 |
+ 1 files changed, 1 insertions(+), 1 deletions(-) |
47 |
+ |
48 |
+diff --git a/shell/gnome-control-center.c b/shell/gnome-control-center.c |
49 |
+index c47d5bf..af8387c 100644 |
50 |
+--- a/shell/gnome-control-center.c |
51 |
++++ b/shell/gnome-control-center.c |
52 |
+@@ -1125,5 +1125,5 @@ gnome_control_center_show (GnomeControlCenter *center, |
53 |
+ GtkApplication *app) |
54 |
+ { |
55 |
+ gtk_window_set_application (GTK_WINDOW (center->priv->window), app); |
56 |
+- gtk_widget_show_all (gtk_bin_get_child (GTK_BIN (center->priv->window))); |
57 |
++ gtk_widget_show (gtk_bin_get_child (GTK_BIN (center->priv->window))); |
58 |
+ } |
59 |
+-- |
60 |
+1.7.6.1 |
61 |
+ |
62 |
|
63 |
diff --git a/gnome-base/gnome-control-center/files/3.2.0/0002-shell-Show-the-label-for-the-category-sections-which.patch b/gnome-base/gnome-control-center/files/3.2.0/0002-shell-Show-the-label-for-the-category-sections-which.patch |
64 |
new file mode 100644 |
65 |
index 0000000..d4467af |
66 |
--- /dev/null |
67 |
+++ b/gnome-base/gnome-control-center/files/3.2.0/0002-shell-Show-the-label-for-the-category-sections-which.patch |
68 |
@@ -0,0 +1,26 @@ |
69 |
+From a3f157c97ba64d1e96dab705656ca5eadb251538 Mon Sep 17 00:00:00 2001 |
70 |
+From: Rodrigo Moya <rodrigo@××××××××.org> |
71 |
+Date: Tue, 20 Sep 2011 15:44:20 +0200 |
72 |
+Subject: [PATCH 02/14] shell: Show the label for the category sections, which |
73 |
+ was being shown because of the gtk_widget_show_all |
74 |
+ replaced in previous commit |
75 |
+ |
76 |
+--- |
77 |
+ shell/cc-shell-category-view.c | 1 + |
78 |
+ 1 files changed, 1 insertions(+), 0 deletions(-) |
79 |
+ |
80 |
+diff --git a/shell/cc-shell-category-view.c b/shell/cc-shell-category-view.c |
81 |
+index b2a5ee4..e52f558 100644 |
82 |
+--- a/shell/cc-shell-category-view.c |
83 |
++++ b/shell/cc-shell-category-view.c |
84 |
+@@ -164,6 +164,7 @@ cc_shell_category_view_constructed (GObject *object) |
85 |
+ gtk_label_set_attributes (GTK_LABEL (label), attrs); |
86 |
+ pango_attr_list_unref (attrs); |
87 |
+ gtk_frame_set_label_widget (GTK_FRAME (object), label); |
88 |
++ gtk_widget_show (label); |
89 |
+ |
90 |
+ g_signal_connect (label, "style-set", G_CALLBACK (label_style_set_cb), |
91 |
+ NULL); |
92 |
+-- |
93 |
+1.7.6.1 |
94 |
+ |
95 |
|
96 |
diff --git a/gnome-base/gnome-control-center/files/3.2.0/0003-info-Use-new-GtkAppChooserButton-API.patch b/gnome-base/gnome-control-center/files/3.2.0/0003-info-Use-new-GtkAppChooserButton-API.patch |
97 |
new file mode 100644 |
98 |
index 0000000..9f6e3bd |
99 |
--- /dev/null |
100 |
+++ b/gnome-base/gnome-control-center/files/3.2.0/0003-info-Use-new-GtkAppChooserButton-API.patch |
101 |
@@ -0,0 +1,51 @@ |
102 |
+From d3b765a658e186fca1c4e73db2e12b4dfbdaefa5 Mon Sep 17 00:00:00 2001 |
103 |
+From: Bastien Nocera <hadess@××××××.net> |
104 |
+Date: Mon, 12 Sep 2011 23:01:57 +0100 |
105 |
+Subject: [PATCH 03/14] info: Use new GtkAppChooserButton API |
106 |
+ |
107 |
+gtk_app_chooser_button_set_show_default_item() was |
108 |
+added so that we could show the default application |
109 |
+for the content-type at the top, and selected, without |
110 |
+hacks. |
111 |
+ |
112 |
+https://bugzilla.gnome.org/show_bug.cgi?id=658693 |
113 |
+--- |
114 |
+ panels/info/cc-info-panel.c | 17 +---------------- |
115 |
+ 1 files changed, 1 insertions(+), 16 deletions(-) |
116 |
+ |
117 |
+diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c |
118 |
+index 035a5d8..473b50f 100644 |
119 |
+--- a/panels/info/cc-info-panel.c |
120 |
++++ b/panels/info/cc-info-panel.c |
121 |
+@@ -907,27 +907,12 @@ info_panel_setup_default_app (CcInfoPanel *self, |
122 |
+ { |
123 |
+ GtkWidget *button; |
124 |
+ GtkWidget *table; |
125 |
+- GAppInfo *info; |
126 |
+- GError *error = NULL; |
127 |
+ GtkWidget *label; |
128 |
+ |
129 |
+ table = WID ("default_apps_table"); |
130 |
+ |
131 |
+- /* FIXME: We need to do this because GtkAppChooser doesn't |
132 |
+- * give us the opportunity to select what app should be selected |
133 |
+- * by default. |
134 |
+- * https://bugzilla.gnome.org/show_bug.cgi?id=642706 */ |
135 |
+- info = g_app_info_get_default_for_type (content_type, FALSE); |
136 |
+- if (info != NULL && g_app_info_set_as_last_used_for_type (info, content_type, &error) == FALSE) |
137 |
+- { |
138 |
+- g_warning ("Failed to set '%s' as the default application for '%s': %s", |
139 |
+- g_app_info_get_name (info), content_type, error->message); |
140 |
+- g_error_free (error); |
141 |
+- } |
142 |
+- if (info != NULL) |
143 |
+- g_object_unref (info); |
144 |
+- |
145 |
+ button = gtk_app_chooser_button_new (content_type); |
146 |
++ gtk_app_chooser_button_set_show_default_item (GTK_APP_CHOOSER_BUTTON (button), TRUE); |
147 |
+ gtk_table_attach (GTK_TABLE (table), button, |
148 |
+ left_attach, right_attach, |
149 |
+ top_attach, bottom_attach, GTK_FILL, 0, 0, 0); |
150 |
+-- |
151 |
+1.7.6.1 |
152 |
+ |
153 |
|
154 |
diff --git a/gnome-base/gnome-control-center/files/3.2.0/0004-power-Use-the-correct-item-in-the-combo-boxes-when-s.patch b/gnome-base/gnome-control-center/files/3.2.0/0004-power-Use-the-correct-item-in-the-combo-boxes-when-s.patch |
155 |
new file mode 100644 |
156 |
index 0000000..52b38da |
157 |
--- /dev/null |
158 |
+++ b/gnome-base/gnome-control-center/files/3.2.0/0004-power-Use-the-correct-item-in-the-combo-boxes-when-s.patch |
159 |
@@ -0,0 +1,39 @@ |
160 |
+From 7929a519af5119e6c78b93107cb5de9405f7d01f Mon Sep 17 00:00:00 2001 |
161 |
+From: Rodrigo Moya <rodrigo@××××××××.org> |
162 |
+Date: Tue, 27 Sep 2011 16:08:37 +0200 |
163 |
+Subject: [PATCH 06/14] power: Use the correct item in the combo boxes when |
164 |
+ sleep-when-inactive is disabled |
165 |
+ |
166 |
+--- |
167 |
+ panels/power/cc-power-panel.c | 8 ++++++++ |
168 |
+ 1 files changed, 8 insertions(+), 0 deletions(-) |
169 |
+ |
170 |
+diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c |
171 |
+index c069187..92b2e85 100644 |
172 |
+--- a/panels/power/cc-power-panel.c |
173 |
++++ b/panels/power/cc-power-panel.c |
174 |
+@@ -602,6 +602,10 @@ cc_power_panel_init (CcPowerPanel *self) |
175 |
+ |
176 |
+ /* auto-sleep time */ |
177 |
+ value = g_settings_get_int (self->priv->gsd_settings, "sleep-inactive-ac-timeout"); |
178 |
++ if (!g_settings_get_boolean (self->priv->gsd_settings, "sleep-inactive-ac")) |
179 |
++ { |
180 |
++ value = 0; |
181 |
++ } |
182 |
+ widget = GTK_WIDGET (gtk_builder_get_object (self->priv->builder, |
183 |
+ "combobox_sleep_ac")); |
184 |
+ set_value_for_combo (GTK_COMBO_BOX (widget), value); |
185 |
+@@ -610,6 +614,10 @@ cc_power_panel_init (CcPowerPanel *self) |
186 |
+ G_CALLBACK (combo_time_changed_cb), |
187 |
+ self); |
188 |
+ value = g_settings_get_int (self->priv->gsd_settings, "sleep-inactive-battery-timeout"); |
189 |
++ if (!g_settings_get_boolean (self->priv->gsd_settings, "sleep-inactive-battery")) |
190 |
++ { |
191 |
++ value = 0; |
192 |
++ } |
193 |
+ widget = GTK_WIDGET (gtk_builder_get_object (self->priv->builder, |
194 |
+ "combobox_sleep_battery")); |
195 |
+ set_value_for_combo (GTK_COMBO_BOX (widget), value); |
196 |
+-- |
197 |
+1.7.6.1 |
198 |
+ |
199 |
|
200 |
diff --git a/gnome-base/gnome-control-center/files/3.2.0/0005-shell-Make-sure-we-gtk_widget_show-the-search-view.patch b/gnome-base/gnome-control-center/files/3.2.0/0005-shell-Make-sure-we-gtk_widget_show-the-search-view.patch |
201 |
new file mode 100644 |
202 |
index 0000000..e4dffb8 |
203 |
--- /dev/null |
204 |
+++ b/gnome-base/gnome-control-center/files/3.2.0/0005-shell-Make-sure-we-gtk_widget_show-the-search-view.patch |
205 |
@@ -0,0 +1,25 @@ |
206 |
+From e25d52d05c2bcd519b55bb3569fa6d58ee820a52 Mon Sep 17 00:00:00 2001 |
207 |
+From: Rodrigo Moya <rodrigo@××××××××.org> |
208 |
+Date: Wed, 28 Sep 2011 13:33:06 +0200 |
209 |
+Subject: [PATCH 09/14] shell: Make sure we gtk_widget_show the search view |
210 |
+ |
211 |
+--- |
212 |
+ shell/gnome-control-center.c | 2 ++ |
213 |
+ 1 files changed, 2 insertions(+), 0 deletions(-) |
214 |
+ |
215 |
+diff --git a/shell/gnome-control-center.c b/shell/gnome-control-center.c |
216 |
+index af8387c..618d31a 100644 |
217 |
+--- a/shell/gnome-control-center.c |
218 |
++++ b/shell/gnome-control-center.c |
219 |
+@@ -612,6 +612,8 @@ setup_search (GnomeControlCenter *shell) |
220 |
+ |
221 |
+ g_signal_connect (widget, "icon-release", G_CALLBACK (search_entry_clear_cb), |
222 |
+ priv); |
223 |
++ |
224 |
++ gtk_widget_show (priv->search_view); |
225 |
+ } |
226 |
+ |
227 |
+ static void |
228 |
+-- |
229 |
+1.7.6.1 |
230 |
+ |
231 |
|
232 |
diff --git a/gnome-base/gnome-control-center/files/3.2.0/0006-Printers-check-state-of-CUPS-after-start.patch b/gnome-base/gnome-control-center/files/3.2.0/0006-Printers-check-state-of-CUPS-after-start.patch |
233 |
new file mode 100644 |
234 |
index 0000000..9bb12b2 |
235 |
--- /dev/null |
236 |
+++ b/gnome-base/gnome-control-center/files/3.2.0/0006-Printers-check-state-of-CUPS-after-start.patch |
237 |
@@ -0,0 +1,203 @@ |
238 |
+From 8d16ac14a7993e06f41e93b753a7fd7003cb81bc Mon Sep 17 00:00:00 2001 |
239 |
+From: Marek Kasik <mkasik@××××××.com> |
240 |
+Date: Thu, 29 Sep 2011 14:54:30 +0200 |
241 |
+Subject: [PATCH 10/14] Printers: check state of CUPS after start |
242 |
+ |
243 |
+Check whether CUPS is running and add regular check for the case |
244 |
+when it doesn't. Actualize printers list after CUPS' start (#659721). |
245 |
+--- |
246 |
+ panels/printers/cc-printers-panel.c | 113 ++++++++++++++++++++++++----------- |
247 |
+ 1 files changed, 79 insertions(+), 34 deletions(-) |
248 |
+ |
249 |
+diff --git a/panels/printers/cc-printers-panel.c b/panels/printers/cc-printers-panel.c |
250 |
+index d220f38..ad7c554 100644 |
251 |
+--- a/panels/printers/cc-printers-panel.c |
252 |
++++ b/panels/printers/cc-printers-panel.c |
253 |
+@@ -57,6 +57,8 @@ G_DEFINE_DYNAMIC_TYPE (CcPrintersPanel, cc_printers_panel, CC_TYPE_PANEL) |
254 |
+ #define CUPS_DBUS_PATH "/org/cups/cupsd/Notifier" |
255 |
+ #define CUPS_DBUS_INTERFACE "org.cups.cupsd.Notifier" |
256 |
+ |
257 |
++#define CUPS_STATUS_CHECK_INTERVAL 5 |
258 |
++ |
259 |
+ struct _CcPrintersPanelPrivate |
260 |
+ { |
261 |
+ GtkBuilder *builder; |
262 |
+@@ -87,6 +89,7 @@ struct _CcPrintersPanelPrivate |
263 |
+ GDBusConnection *cups_bus_connection; |
264 |
+ gint subscription_id; |
265 |
+ guint subscription_renewal_id; |
266 |
++ guint cups_status_check_id; |
267 |
+ |
268 |
+ gpointer dummy; |
269 |
+ }; |
270 |
+@@ -170,6 +173,9 @@ cc_printers_panel_dispose (GObject *object) |
271 |
+ |
272 |
+ detach_from_cups_notifier (CC_PRINTERS_PANEL (object)); |
273 |
+ |
274 |
++ if (priv->cups_status_check_id > 0) |
275 |
++ g_source_remove (priv->cups_status_check_id); |
276 |
++ |
277 |
+ G_OBJECT_CLASS (cc_printers_panel_parent_class)->dispose (object); |
278 |
+ } |
279 |
+ |
280 |
+@@ -339,7 +345,10 @@ renew_subscription (gpointer data) |
281 |
+ G_N_ELEMENTS (events), |
282 |
+ SUBSCRIPTION_DURATION); |
283 |
+ |
284 |
+- return TRUE; |
285 |
++ if (priv->subscription_id > 0) |
286 |
++ return TRUE; |
287 |
++ else |
288 |
++ return FALSE; |
289 |
+ } |
290 |
+ |
291 |
+ static void |
292 |
+@@ -351,38 +360,40 @@ attach_to_cups_notifier (gpointer data) |
293 |
+ |
294 |
+ priv = PRINTERS_PANEL_PRIVATE (self); |
295 |
+ |
296 |
+- renew_subscription (self); |
297 |
+- priv->subscription_renewal_id = |
298 |
+- g_timeout_add_seconds (RENEW_INTERVAL, renew_subscription, self); |
299 |
+- |
300 |
+- error = NULL; |
301 |
+- priv->cups_proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM, |
302 |
+- 0, |
303 |
+- NULL, |
304 |
+- CUPS_DBUS_NAME, |
305 |
+- CUPS_DBUS_PATH, |
306 |
+- CUPS_DBUS_INTERFACE, |
307 |
+- NULL, |
308 |
+- &error); |
309 |
+- |
310 |
+- if (error) |
311 |
++ if (renew_subscription (self)) |
312 |
+ { |
313 |
+- g_warning ("%s", error->message); |
314 |
+- return; |
315 |
+- } |
316 |
++ priv->subscription_renewal_id = |
317 |
++ g_timeout_add_seconds (RENEW_INTERVAL, renew_subscription, self); |
318 |
++ |
319 |
++ error = NULL; |
320 |
++ priv->cups_proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM, |
321 |
++ 0, |
322 |
++ NULL, |
323 |
++ CUPS_DBUS_NAME, |
324 |
++ CUPS_DBUS_PATH, |
325 |
++ CUPS_DBUS_INTERFACE, |
326 |
++ NULL, |
327 |
++ &error); |
328 |
++ |
329 |
++ if (error) |
330 |
++ { |
331 |
++ g_warning ("%s", error->message); |
332 |
++ return; |
333 |
++ } |
334 |
+ |
335 |
+- priv->cups_bus_connection = g_dbus_proxy_get_connection (priv->cups_proxy); |
336 |
+- |
337 |
+- g_dbus_connection_signal_subscribe (priv->cups_bus_connection, |
338 |
+- NULL, |
339 |
+- CUPS_DBUS_INTERFACE, |
340 |
+- NULL, |
341 |
+- CUPS_DBUS_PATH, |
342 |
+- NULL, |
343 |
+- 0, |
344 |
+- on_cups_notification, |
345 |
+- self, |
346 |
+- NULL); |
347 |
++ priv->cups_bus_connection = g_dbus_proxy_get_connection (priv->cups_proxy); |
348 |
++ |
349 |
++ g_dbus_connection_signal_subscribe (priv->cups_bus_connection, |
350 |
++ NULL, |
351 |
++ CUPS_DBUS_INTERFACE, |
352 |
++ NULL, |
353 |
++ CUPS_DBUS_PATH, |
354 |
++ NULL, |
355 |
++ 0, |
356 |
++ on_cups_notification, |
357 |
++ self, |
358 |
++ NULL); |
359 |
++ } |
360 |
+ } |
361 |
+ |
362 |
+ static void |
363 |
+@@ -394,7 +405,7 @@ detach_from_cups_notifier (gpointer data) |
364 |
+ priv = PRINTERS_PANEL_PRIVATE (self); |
365 |
+ |
366 |
+ cancel_cups_subscription (priv->subscription_id); |
367 |
+- priv->subscription_id = -1; |
368 |
++ priv->subscription_id = 0; |
369 |
+ |
370 |
+ if (priv->subscription_renewal_id != 0) { |
371 |
+ g_source_remove (priv->subscription_renewal_id); |
372 |
+@@ -2393,14 +2404,37 @@ switch_to_options_cb (GtkButton *button, |
373 |
+ gtk_notebook_set_current_page (GTK_NOTEBOOK (widget), NOTEBOOK_OPTIONS_PAGE); |
374 |
+ } |
375 |
+ |
376 |
++static gboolean |
377 |
++cups_status_check (gpointer user_data) |
378 |
++{ |
379 |
++ CcPrintersPanelPrivate *priv; |
380 |
++ CcPrintersPanel *self = (CcPrintersPanel*) user_data; |
381 |
++ gboolean result = TRUE; |
382 |
++ http_t *http; |
383 |
++ |
384 |
++ priv = self->priv = PRINTERS_PANEL_PRIVATE (self); |
385 |
++ |
386 |
++ http = httpConnectEncrypt (cupsServer (), ippPort (), cupsEncryption ()); |
387 |
++ if (http) |
388 |
++ { |
389 |
++ httpClose (http); |
390 |
++ actualize_printers_list (self); |
391 |
++ attach_to_cups_notifier (self); |
392 |
++ priv->cups_status_check_id = 0; |
393 |
++ result = FALSE; |
394 |
++ } |
395 |
++ |
396 |
++ return result; |
397 |
++} |
398 |
++ |
399 |
+ static void |
400 |
+ cc_printers_panel_init (CcPrintersPanel *self) |
401 |
+ { |
402 |
+ CcPrintersPanelPrivate *priv; |
403 |
+ GtkWidget *top_widget; |
404 |
+ GtkWidget *widget; |
405 |
+- GtkWidget *box; |
406 |
+ GError *error = NULL; |
407 |
++ http_t *http; |
408 |
+ gchar *objects[] = { "main-vbox", NULL }; |
409 |
+ GtkStyleContext *context; |
410 |
+ |
411 |
+@@ -2424,7 +2458,9 @@ cc_printers_panel_init (CcPrintersPanel *self) |
412 |
+ |
413 |
+ priv->pp_new_printer_dialog = NULL; |
414 |
+ |
415 |
+- priv->subscription_id = -1; |
416 |
++ priv->subscription_id = 0; |
417 |
++ priv->cups_status_check_id = 0; |
418 |
++ priv->subscription_renewal_id = 0; |
419 |
+ priv->cups_proxy = NULL; |
420 |
+ priv->cups_bus_connection = NULL; |
421 |
+ |
422 |
+@@ -2593,6 +2629,15 @@ Please check your installation"); |
423 |
+ populate_allowed_users_list (self); |
424 |
+ attach_to_cups_notifier (self); |
425 |
+ |
426 |
++ http = httpConnectEncrypt (cupsServer (), ippPort (), cupsEncryption ()); |
427 |
++ if (!http) |
428 |
++ { |
429 |
++ priv->cups_status_check_id = |
430 |
++ g_timeout_add_seconds (CUPS_STATUS_CHECK_INTERVAL, cups_status_check, self); |
431 |
++ } |
432 |
++ else |
433 |
++ httpClose (http); |
434 |
++ |
435 |
+ gtk_container_add (GTK_CONTAINER (self), top_widget); |
436 |
+ gtk_widget_show_all (GTK_WIDGET (self)); |
437 |
+ } |
438 |
+-- |
439 |
+1.7.6.1 |
440 |
+ |
441 |
|
442 |
diff --git a/gnome-base/gnome-control-center/gnome-control-center-3.2.0.ebuild b/gnome-base/gnome-control-center/gnome-control-center-3.2.0-r1.ebuild |
443 |
similarity index 92% |
444 |
rename from gnome-base/gnome-control-center/gnome-control-center-3.2.0.ebuild |
445 |
rename to gnome-base/gnome-control-center/gnome-control-center-3.2.0-r1.ebuild |
446 |
index 26505cf..2678a7d 100644 |
447 |
--- a/gnome-base/gnome-control-center/gnome-control-center-3.2.0.ebuild |
448 |
+++ b/gnome-base/gnome-control-center/gnome-control-center-3.2.0-r1.ebuild |
449 |
@@ -6,7 +6,7 @@ EAPI="4" |
450 |
GCONF_DEBUG="yes" |
451 |
GNOME2_LA_PUNT="yes" # gmodule is used, which uses dlopen |
452 |
|
453 |
-inherit gnome2 |
454 |
+inherit eutils gnome2 |
455 |
if [[ ${PV} = 9999 ]]; then |
456 |
inherit gnome2-live |
457 |
fi |
458 |
@@ -64,7 +64,9 @@ COMMON_DEPEND=" |
459 |
media-libs/gstreamer:0.10 |
460 |
>=media-video/cheese-2.91.91.1 ) |
461 |
cups? ( >=net-print/cups-1.4[dbus] ) |
462 |
- networkmanager? ( >=net-misc/networkmanager-0.8.997 ) |
463 |
+ networkmanager? ( |
464 |
+ >=gnome-extra/nm-applet-0.9.1.90 |
465 |
+ >=net-misc/networkmanager-0.8.997 ) |
466 |
socialweb? ( net-libs/libsocialweb )" |
467 |
# <gnome-color-manager-3.1.2 has file collisions with g-c-c-3.1.x |
468 |
RDEPEND="${COMMON_DEPEND} |
469 |
@@ -102,3 +104,9 @@ pkg_setup() { |
470 |
$(use_with socialweb libsocialweb)" |
471 |
DOCS="AUTHORS ChangeLog NEWS README TODO" |
472 |
} |
473 |
+ |
474 |
+src_prepare() { |
475 |
+ gnome2_src_prepare |
476 |
+ # Useful upstream patches, will be in next release |
477 |
+ epatch "${FILESDIR}/${PV}/"*.patch |
478 |
+} |
479 |
|
480 |
diff --git a/gnome-base/gnome-control-center/gnome-control-center-9999.ebuild b/gnome-base/gnome-control-center/gnome-control-center-9999.ebuild |
481 |
index 26505cf..f64557f 100644 |
482 |
--- a/gnome-base/gnome-control-center/gnome-control-center-9999.ebuild |
483 |
+++ b/gnome-base/gnome-control-center/gnome-control-center-9999.ebuild |
484 |
@@ -64,7 +64,9 @@ COMMON_DEPEND=" |
485 |
media-libs/gstreamer:0.10 |
486 |
>=media-video/cheese-2.91.91.1 ) |
487 |
cups? ( >=net-print/cups-1.4[dbus] ) |
488 |
- networkmanager? ( >=net-misc/networkmanager-0.8.997 ) |
489 |
+ networkmanager? ( |
490 |
+ >=gnome-extra/nm-applet-0.9.1.90 |
491 |
+ >=net-misc/networkmanager-0.8.997 ) |
492 |
socialweb? ( net-libs/libsocialweb )" |
493 |
# <gnome-color-manager-3.1.2 has file collisions with g-c-c-3.1.x |
494 |
RDEPEND="${COMMON_DEPEND} |