Gentoo Archives: gentoo-commits

From: Alexandre Restovtsev <tetromino@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:gnome-next commit in: gnome-base/gnome-shell/, gnome-base/gnome-shell/files/
Date: Fri, 02 Sep 2011 05:15:23
Message-Id: 935f17870e4dd3e3c5c8c33f76217b90825b9045.tetromino@gentoo
1 commit: 935f17870e4dd3e3c5c8c33f76217b90825b9045
2 Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
3 AuthorDate: Fri Sep 2 05:13:40 2011 +0000
4 Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
5 CommitDate: Fri Sep 2 05:13:40 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=935f1787
7
8 gnome-base/gnome-shell: 3.1.90 → 3.1.90.1
9
10 Version bump. Also, remove the incorrect extension warnings from the
11 live ebuild.
12
13 ---
14 .../files/gnome-shell-3.1.90-default-avatar.patch | 24 ------
15 .../files/gnome-shell-3.1.90-folks-crash.patch | 34 ---------
16 .../files/gnome-shell-3.1.90-gdm-batch.patch | 23 ------
17 .../files/gnome-shell-3.1.90-gi-1.29.17.patch | 75 --------------------
18 .../gnome-shell-3.1.90-telepathy-status.patch | 43 -----------
19 .../gnome-shell-3.1.90.1-telepathy-gettext.patch | 40 +++++++++++
20 ...gnome-shell-3.1.90.1-workspaces-lazy-init.patch | 52 ++++++++++++++
21 ...l-3.1.90.ebuild => gnome-shell-3.1.90.1.ebuild} | 8 +--
22 gnome-base/gnome-shell/gnome-shell-9999.ebuild | 14 +----
23 9 files changed, 95 insertions(+), 218 deletions(-)
24
25 diff --git a/gnome-base/gnome-shell/files/gnome-shell-3.1.90-default-avatar.patch b/gnome-base/gnome-shell/files/gnome-shell-3.1.90-default-avatar.patch
26 deleted file mode 100644
27 index f5c3a15..0000000
28 --- a/gnome-base/gnome-shell/files/gnome-shell-3.1.90-default-avatar.patch
29 +++ /dev/null
30 @@ -1,24 +0,0 @@
31 -From be4d504e27feeb0dbc4a17388fe03628989e4dcb Mon Sep 17 00:00:00 2001
32 -From: Jasper St. Pierre <jstpierre@×××××××.net>
33 -Date: Mon, 29 Aug 2011 21:41:10 +0000
34 -Subject: userMenu: Don't show the default avatar over a newly selected one
35 -
36 -When we replace the default avatar image with a real image, we need
37 -to remove the default avatar image.
38 -
39 -https://bugzilla.gnome.org/show_bug.cgi?id=657657
40 ----
41 -diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js
42 -index 8d71ce2..33c3315 100644
43 ---- a/js/ui/userMenu.js
44 -+++ b/js/ui/userMenu.js
45 -@@ -226,6 +226,7 @@ IMStatusChooserItem.prototype = {
46 -
47 - _setIconFromFile: function(iconFile) {
48 - this._iconBin.set_style('background-image: url("' + iconFile + '");');
49 -+ this._iconBin.child = null;
50 - },
51 -
52 - _setIconFromName: function(iconName) {
53 ---
54 -cgit v0.9.0.2
55
56 diff --git a/gnome-base/gnome-shell/files/gnome-shell-3.1.90-folks-crash.patch b/gnome-base/gnome-shell/files/gnome-shell-3.1.90-folks-crash.patch
57 deleted file mode 100644
58 index 695e5b9..0000000
59 --- a/gnome-base/gnome-shell/files/gnome-shell-3.1.90-folks-crash.patch
60 +++ /dev/null
61 @@ -1,34 +0,0 @@
62 -From c2c4c26f72b900d0a95c5daca64c46cb7e281f33 Mon Sep 17 00:00:00 2001
63 -From: Alexander Larsson <alexl@××××××.com>
64 -Date: Tue, 30 Aug 2011 09:13:35 +0000
65 -Subject: Don't crash displaying contacts with no alias
66 -
67 -If a folks individual has no alias we crash when passing in NULL
68 -to strstr(). Fix this by checking for non-null first.
69 ----
70 -diff --git a/src/shell-contact-system.c b/src/shell-contact-system.c
71 -index 971a164..9ac79de 100644
72 ---- a/src/shell-contact-system.c
73 -+++ b/src/shell-contact-system.c
74 -@@ -134,11 +134,14 @@ do_match (ShellContactSystem *self,
75 - const char *p;
76 -
77 - /* Match on alias */
78 -- p = strstr (alias, term);
79 -- if (p == alias)
80 -- have_alias_prefix = TRUE;
81 -- else if (p != NULL)
82 -- have_alias_substring = TRUE;
83 -+ if (alias != NULL)
84 -+ {
85 -+ p = strstr (alias, term);
86 -+ if (p == alias)
87 -+ have_alias_prefix = TRUE;
88 -+ else if (p != NULL)
89 -+ have_alias_substring = TRUE;
90 -+ }
91 -
92 - /* Match on one or more IM addresses */
93 - im_addrs_iter = gee_iterable_iterator (GEE_ITERABLE (im_addrs));
94 ---
95 -cgit v0.9.0.2
96
97 diff --git a/gnome-base/gnome-shell/files/gnome-shell-3.1.90-gdm-batch.patch b/gnome-base/gnome-shell/files/gnome-shell-3.1.90-gdm-batch.patch
98 deleted file mode 100644
99 index 8df0e37..0000000
100 --- a/gnome-base/gnome-shell/files/gnome-shell-3.1.90-gdm-batch.patch
101 +++ /dev/null
102 @@ -1,23 +0,0 @@
103 -From 612b9e9faf014f9b9ff8fbf58176769583f69d5f Mon Sep 17 00:00:00 2001
104 -From: Marc-Antoine Perennou <Marc-Antoine@××××××××.com>
105 -Date: Tue, 30 Aug 2011 11:52:25 +0000
106 -Subject: Fix batch import for loginDialog
107 -
108 -Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@××××××××.com>
109 -Signed-off-by: Adel Gadllah <adel.gadllah@×××××.com>
110 ----
111 -diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
112 -index 36799e3..3ba8aca 100644
113 ---- a/js/gdm/loginDialog.js
114 -+++ b/js/gdm/loginDialog.js
115 -@@ -32,7 +32,7 @@ const Shell = imports.gi.Shell;
116 - const St = imports.gi.St;
117 - const GdmGreeter = imports.gi.GdmGreeter;
118 -
119 --const Batch = imports.misc.batch;
120 -+const Batch = imports.gdm.batch;
121 - const Lightbox = imports.ui.lightbox;
122 - const Main = imports.ui.main;
123 - const ModalDialog = imports.ui.modalDialog;
124 ---
125 -cgit v0.9.0.2
126
127 diff --git a/gnome-base/gnome-shell/files/gnome-shell-3.1.90-gi-1.29.17.patch b/gnome-base/gnome-shell/files/gnome-shell-3.1.90-gi-1.29.17.patch
128 deleted file mode 100644
129 index 7a0505d..0000000
130 --- a/gnome-base/gnome-shell/files/gnome-shell-3.1.90-gi-1.29.17.patch
131 +++ /dev/null
132 @@ -1,75 +0,0 @@
133 -From 14e8cba2b184b16d0dbd9beb929860a1e1155709 Mon Sep 17 00:00:00 2001
134 -From: Dan Winship <danw@×××××.org>
135 -Date: Tue, 30 Aug 2011 16:07:11 +0000
136 -Subject: Add some (element-type) annotations to appease g-i master
137 -
138 ----
139 -diff --git a/src/gvc/gvc-mixer-card.c b/src/gvc/gvc-mixer-card.c
140 -index 56502e3..168bc79 100644
141 ---- a/src/gvc/gvc-mixer-card.c
142 -+++ b/src/gvc/gvc-mixer-card.c
143 -@@ -263,6 +263,11 @@ gvc_mixer_card_change_profile (GvcMixerCard *card,
144 - return TRUE;
145 - }
146 -
147 -+/**
148 -+ * gvc_mixer_card_get_profiles:
149 -+ *
150 -+ * Return value: (transfer none) (element-type GvcMixerCardProfile):
151 -+ */
152 - const GList *
153 - gvc_mixer_card_get_profiles (GvcMixerCard *card)
154 - {
155 -@@ -281,6 +286,10 @@ sort_profiles (GvcMixerCardProfile *a,
156 - return -1;
157 - }
158 -
159 -+/**
160 -+ * gvc_mixer_card_set_profiles:
161 -+ * @profiles: (transfer full) (element-type GvcMixerCardProfile):
162 -+ */
163 - gboolean
164 - gvc_mixer_card_set_profiles (GvcMixerCard *card,
165 - GList *profiles)
166 -diff --git a/src/gvc/gvc-mixer-stream.c b/src/gvc/gvc-mixer-stream.c
167 -index 78de6b3..f35954a 100644
168 ---- a/src/gvc/gvc-mixer-stream.c
169 -+++ b/src/gvc/gvc-mixer-stream.c
170 -@@ -508,6 +508,11 @@ gvc_mixer_stream_change_port (GvcMixerStream *stream,
171 - return GVC_MIXER_STREAM_GET_CLASS (stream)->change_port (stream, port);
172 - }
173 -
174 -+/**
175 -+ * gvc_mixer_stream_get_ports:
176 -+ *
177 -+ * Return value: (transfer none) (element-type GvcMixerStreamPort):
178 -+ */
179 - const GList *
180 - gvc_mixer_stream_get_ports (GvcMixerStream *stream)
181 - {
182 -@@ -526,6 +531,10 @@ sort_ports (GvcMixerStreamPort *a,
183 - return -1;
184 - }
185 -
186 -+/**
187 -+ * gvc_mixer_stream_set_ports:
188 -+ * @ports: (transfer full) (element-type GvcMixerStreamPort):
189 -+ */
190 - gboolean
191 - gvc_mixer_stream_set_ports (GvcMixerStream *stream,
192 - GList *ports)
193 -diff --git a/src/shell-app.c b/src/shell-app.c
194 -index 75444b6..0455f42 100644
195 ---- a/src/shell-app.c
196 -+++ b/src/shell-app.c
197 -@@ -1051,7 +1051,7 @@ _gather_pid_callback (GDesktopAppInfo *gapp,
198 - /**
199 - * shell_app_launch:
200 - * @timestamp: Event timestamp, or 0 for current event timestamp
201 -- * @uris: List of uris to pass to application
202 -+ * @uris: (element-type utf8): List of uris to pass to application
203 - * @workspace: Start on this workspace, or -1 for default
204 - * @startup_id: (out): Returned startup notification ID, or %NULL if none
205 - * @error: A #GError
206 ---
207 -cgit v0.9.0.2
208
209 diff --git a/gnome-base/gnome-shell/files/gnome-shell-3.1.90-telepathy-status.patch b/gnome-base/gnome-shell/files/gnome-shell-3.1.90-telepathy-status.patch
210 deleted file mode 100644
211 index 4bd3a1c..0000000
212 --- a/gnome-base/gnome-shell/files/gnome-shell-3.1.90-telepathy-status.patch
213 +++ /dev/null
214 @@ -1,43 +0,0 @@
215 -From 8cf6b4c7283a383883bdec6ee13b194ae3a5137b Mon Sep 17 00:00:00 2001
216 -From: Guillaume Desmottes <guillaume.desmottes@××××××××××××.uk>
217 -Date: Tue, 30 Aug 2011 12:35:20 +0000
218 -Subject: don't translate IM status
219 -
220 -They are well-known strings defined in the Telepathy spec and so shouldn't be
221 -translated.
222 -
223 -https://bugzilla.gnome.org/show_bug.cgi?id=657696
224 ----
225 -diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js
226 -index 33c3315..115bcf7 100644
227 ---- a/js/ui/userMenu.js
228 -+++ b/js/ui/userMenu.js
229 -@@ -250,19 +250,19 @@ IMStatusChooserItem.prototype = {
230 - _statusForPresence: function(presence) {
231 - switch(presence) {
232 - case Tp.ConnectionPresenceType.AVAILABLE:
233 -- return _("Available");
234 -+ return 'available';
235 - case Tp.ConnectionPresenceType.BUSY:
236 -- return _("Busy");
237 -+ return 'busy';
238 - case Tp.ConnectionPresenceType.OFFLINE:
239 -- return _("Unavailable");
240 -+ return 'offline';
241 - case Tp.ConnectionPresenceType.HIDDEN:
242 -- return _("Hidden");
243 -+ return 'hidden';
244 - case Tp.ConnectionPresenceType.AWAY:
245 -- return _("Away");
246 -+ return 'away';
247 - case Tp.ConnectionPresenceType.EXTENDED_AWAY:
248 -- return _("Idle");
249 -+ return 'xa';
250 - default:
251 -- return _("Unknown");
252 -+ return 'unknown';
253 - }
254 - },
255 -
256 ---
257 -cgit v0.9.0.2
258
259 diff --git a/gnome-base/gnome-shell/files/gnome-shell-3.1.90.1-telepathy-gettext.patch b/gnome-base/gnome-shell/files/gnome-shell-3.1.90.1-telepathy-gettext.patch
260 new file mode 100644
261 index 0000000..16f0de4
262 --- /dev/null
263 +++ b/gnome-base/gnome-shell/files/gnome-shell-3.1.90.1-telepathy-gettext.patch
264 @@ -0,0 +1,40 @@
265 +From 88f2bbba61f4d158c281fc061ddacb887d5224d8 Mon Sep 17 00:00:00 2001
266 +From: Dan Winship <danw@×××××.org>
267 +Date: Tue, 30 Aug 2011 20:16:28 +0000
268 +Subject: telepathyClient: don't try to translate concatenations of strings
269 +
270 +xgettext doesn't recognize it
271 +
272 +https://bugzilla.gnome.org/show_bug.cgi?id=657759
273 +---
274 +diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js
275 +index 9e0f3ef..1fba939 100644
276 +--- a/js/ui/telepathyClient.js
277 ++++ b/js/ui/telepathyClient.js
278 +@@ -1426,8 +1426,7 @@ _connectionErrorMessages[Tp.error_get_dbus_name(Tp.Error.CONNECTION_LOST)]
279 + _connectionErrorMessages[Tp.error_get_dbus_name(Tp.Error.ALREADY_CONNECTED)]
280 + = _("This resource is already connected to the server");
281 + _connectionErrorMessages[Tp.error_get_dbus_name(Tp.Error.CONNECTION_REPLACED)]
282 +- = _("Connection has been replaced by a new connection using the "
283 +- + "same resource");
284 ++ = _("Connection has been replaced by a new connection using the same resource");
285 + _connectionErrorMessages[Tp.error_get_dbus_name(Tp.Error.REGISTRATION_EXISTS)]
286 + = _("The account already exists on the server");
287 + _connectionErrorMessages[Tp.error_get_dbus_name(Tp.Error.SERVICE_BUSY)]
288 +@@ -1435,12 +1434,9 @@ _connectionErrorMessages[Tp.error_get_dbus_name(Tp.Error.SERVICE_BUSY)]
289 + _connectionErrorMessages[Tp.error_get_dbus_name(Tp.Error.CERT_REVOKED)]
290 + = _("Certificate has been revoked");
291 + _connectionErrorMessages[Tp.error_get_dbus_name(Tp.Error.CERT_INSECURE)]
292 +- = _("Certificate uses an insecure cipher algorithm or is "
293 +- + "cryptographically weak");
294 ++ = _("Certificate uses an insecure cipher algorithm or is cryptographically weak");
295 + _connectionErrorMessages[Tp.error_get_dbus_name(Tp.Error.CERT_LIMIT_EXCEEDED)]
296 +- = _("The length of the server certificate, or the depth of the "
297 +- + "server certificate chain, exceed the limits imposed by the "
298 +- + "cryptography library");
299 ++ = _("The length of the server certificate, or the depth of the server certificate chain, exceed the limits imposed by the cryptography library");
300 +
301 + AccountNotification.prototype = {
302 + __proto__: MessageTray.Notification.prototype,
303 +--
304 +cgit v0.9.0.2
305
306 diff --git a/gnome-base/gnome-shell/files/gnome-shell-3.1.90.1-workspaces-lazy-init.patch b/gnome-base/gnome-shell/files/gnome-shell-3.1.90.1-workspaces-lazy-init.patch
307 new file mode 100644
308 index 0000000..5dc408c
309 --- /dev/null
310 +++ b/gnome-base/gnome-shell/files/gnome-shell-3.1.90.1-workspaces-lazy-init.patch
311 @@ -0,0 +1,52 @@
312 +From 3aa904da0aa938c3fee09357bcff3a1de6321308 Mon Sep 17 00:00:00 2001
313 +From: Jasper St. Pierre <jstpierre@×××××××.net>
314 +Date: Thu, 01 Sep 2011 20:09:46 +0000
315 +Subject: workspacesView: Only connect to nWorkspacesChanged after we've lazily inited
316 +
317 +We lazily init this._workspaces, so we shouldn't try to run any code that uses
318 +it until after it's been created.
319 +
320 +https://bugzilla.gnome.org/show_bug.cgi?id=658007
321 +---
322 +diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js
323 +index 955aee0..f240682 100644
324 +--- a/js/ui/workspacesView.js
325 ++++ b/js/ui/workspacesView.js
326 +@@ -567,8 +567,6 @@ WorkspacesDisplay.prototype = {
327 + this._updateAlwaysZoom();
328 +
329 + Main.layoutManager.connect('monitors-changed', Lang.bind(this, this._updateAlwaysZoom));
330 +- global.screen.connect('notify::n-workspaces',
331 +- Lang.bind(this, this._workspacesChanged));
332 +
333 + Main.xdndHandler.connect('drag-begin', Lang.bind(this, function(){
334 + this._alwaysZoomOut = true;
335 +@@ -581,6 +579,7 @@ WorkspacesDisplay.prototype = {
336 +
337 + this._switchWorkspaceNotifyId = 0;
338 +
339 ++ this._nWorkspacesChangedId = 0;
340 + this._itemDragBeginId = 0;
341 + this._itemDragCancelledId = 0;
342 + this._itemDragEndId = 0;
343 +@@ -589,7 +588,7 @@ WorkspacesDisplay.prototype = {
344 + this._windowDragEndId = 0;
345 + },
346 +
347 +- show: function() {
348 ++ show: function() {
349 + this._zoomOut = this._alwaysZoomOut;
350 + this._zoomFraction = this._alwaysZoomOut ? 1 : 0;
351 + this._updateZoom();
352 +@@ -612,6 +611,9 @@ WorkspacesDisplay.prototype = {
353 + global.screen.connect('restacked',
354 + Lang.bind(this, this._onRestacked));
355 +
356 ++ if (this._nWorkspacesChangedId == 0)
357 ++ this._nWorkspacesChangedId = global.screen.connect('notify::n-workspaces',
358 ++ Lang.bind(this, this._workspacesChanged));
359 + if (this._itemDragBeginId == 0)
360 + this._itemDragBeginId = Main.overview.connect('item-drag-begin',
361 + Lang.bind(this, this._dragBegin));
362 +--
363 +cgit v0.9.0.2
364
365 diff --git a/gnome-base/gnome-shell/gnome-shell-3.1.90.ebuild b/gnome-base/gnome-shell/gnome-shell-3.1.90.1.ebuild
366 similarity index 92%
367 rename from gnome-base/gnome-shell/gnome-shell-3.1.90.ebuild
368 rename to gnome-base/gnome-shell/gnome-shell-3.1.90.1.ebuild
369 index 258babe..9573aed 100644
370 --- a/gnome-base/gnome-shell/gnome-shell-3.1.90.ebuild
371 +++ b/gnome-base/gnome-shell/gnome-shell-3.1.90.1.ebuild
372 @@ -110,12 +110,8 @@ pkg_setup() {
373 src_prepare() {
374 gnome2_src_prepare
375 # Useful patches from upstream git, will be in next release
376 - epatch "${FILESDIR}/${P}-default-avatar.patch"
377 - epatch "${FILESDIR}/${P}-folks-crash.patch"
378 - epatch "${FILESDIR}/${P}-gdm-batch.patch"
379 - epatch "${FILESDIR}/${P}-telepathy-status.patch"
380 - # gobject-introspection-1.29.17 compat, will be in next release
381 - epatch "${FILESDIR}/${P}-gi-1.29.17.patch"
382 + epatch "${FILESDIR}/${P}-telepathy-gettext.patch"
383 + epatch "${FILESDIR}/${P}-workspaces-lazy-init.patch"
384 }
385
386 src_install() {
387
388 diff --git a/gnome-base/gnome-shell/gnome-shell-9999.ebuild b/gnome-base/gnome-shell/gnome-shell-9999.ebuild
389 index 2cdf2d0..ffa6bc7 100644
390 --- a/gnome-base/gnome-shell/gnome-shell-9999.ebuild
391 +++ b/gnome-base/gnome-shell/gnome-shell-9999.ebuild
392 @@ -88,11 +88,7 @@ RDEPEND="${COMMON_DEPEND}
393
394 >=sys-apps/accountsservice-0.6.12
395
396 - >=app-accessibility/caribou-0.3
397 -
398 - !!<=gnome-extra/gnome-shell-extensions-3.1.4"
399 -# The *presence* of <=gnome-shell-extensions-3.1.4 destabilizes gnome-shell.
400 -# Disabling the extensions is not enough; they must be physically uninstalled.
401 + >=app-accessibility/caribou-0.3"
402 DEPEND="${COMMON_DEPEND}
403 >=sys-devel/gettext-0.17
404 >=dev-util/pkgconfig-0.22
405 @@ -109,14 +105,6 @@ pkg_setup() {
406 --enable-compile-warnings=maximum
407 --disable-schemas-compile
408 --disable-jhbuild-wrapper-script"
409 -
410 - ewarn
411 - ewarn "${PN} tends to crash at login or shortly thereafter if there are any"
412 - ewarn "old shell extensions *installed*, whether systemwide or in a user's"
413 - ewarn "home directory."
414 - ewarn "Disabling the extensions is not enough. You should uninstall the"
415 - ewarn "extensions before upgrading gnome-shell to ${PV}."
416 - ewarn
417 }
418
419 src_install() {