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: Wed, 31 Aug 2011 11:45:29
Message-Id: 5d56018a12cccc94b203ae5d82f6398b4fc84165.tetromino@gentoo
1 commit: 5d56018a12cccc94b203ae5d82f6398b4fc84165
2 Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
3 AuthorDate: Wed Aug 31 08:35:06 2011 +0000
4 Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
5 CommitDate: Wed Aug 31 11:44:24 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=5d56018a
7
8 gnome-base/gnome-shell: restore 3.1.4
9
10 Restore 3.1.4 (with a patch for gobject-introspection-1.29.17 compat)
11 since 3.1.90 appears to be somewhat unstable. The instability does not
12 appear to depend on extensions after all, so remove the blocker and
13 warnings.
14
15 ---
16 .../files/gnome-shell-3.1.4-gi-1.29.17.patch | 82 ++++++++++++++++++++
17 ...hell-3.1.90.ebuild => gnome-shell-3.1.4.ebuild} | 35 ++------
18 gnome-base/gnome-shell/gnome-shell-3.1.90.ebuild | 15 +---
19 3 files changed, 93 insertions(+), 39 deletions(-)
20
21 diff --git a/gnome-base/gnome-shell/files/gnome-shell-3.1.4-gi-1.29.17.patch b/gnome-base/gnome-shell/files/gnome-shell-3.1.4-gi-1.29.17.patch
22 new file mode 100644
23 index 0000000..6aebc44
24 --- /dev/null
25 +++ b/gnome-base/gnome-shell/files/gnome-shell-3.1.4-gi-1.29.17.patch
26 @@ -0,0 +1,82 @@
27 +From 92d0cce50c9baac2a24d840b1db39f2627a02480 Mon Sep 17 00:00:00 2001
28 +From: Dan Winship <danw@×××××.org>
29 +Date: Tue, 30 Aug 2011 12:07:11 -0400
30 +Subject: [PATCH] Add some (element-type) annotations to appease g-i master
31 +
32 +[Alexandre Rostovtsev <tetromino@×××××.com>: backport to 3.1.4]
33 +---
34 + src/gvc/gvc-mixer-card.c | 9 +++++++++
35 + src/gvc/gvc-mixer-stream.c | 9 +++++++++
36 + src/shell-app-system.c | 2 +-
37 + 3 files changed, 19 insertions(+), 1 deletions(-)
38 +
39 +diff --git a/src/gvc/gvc-mixer-card.c b/src/gvc/gvc-mixer-card.c
40 +index 56502e3..168bc79 100644
41 +--- a/src/gvc/gvc-mixer-card.c
42 ++++ b/src/gvc/gvc-mixer-card.c
43 +@@ -263,6 +263,11 @@ gvc_mixer_card_change_profile (GvcMixerCard *card,
44 + return TRUE;
45 + }
46 +
47 ++/**
48 ++ * gvc_mixer_card_get_profiles:
49 ++ *
50 ++ * Return value: (transfer none) (element-type GvcMixerCardProfile):
51 ++ */
52 + const GList *
53 + gvc_mixer_card_get_profiles (GvcMixerCard *card)
54 + {
55 +@@ -281,6 +286,10 @@ sort_profiles (GvcMixerCardProfile *a,
56 + return -1;
57 + }
58 +
59 ++/**
60 ++ * gvc_mixer_card_set_profiles:
61 ++ * @profiles: (transfer full) (element-type GvcMixerCardProfile):
62 ++ */
63 + gboolean
64 + gvc_mixer_card_set_profiles (GvcMixerCard *card,
65 + GList *profiles)
66 +diff --git a/src/gvc/gvc-mixer-stream.c b/src/gvc/gvc-mixer-stream.c
67 +index 78de6b3..f35954a 100644
68 +--- a/src/gvc/gvc-mixer-stream.c
69 ++++ b/src/gvc/gvc-mixer-stream.c
70 +@@ -508,6 +508,11 @@ gvc_mixer_stream_change_port (GvcMixerStream *stream,
71 + return GVC_MIXER_STREAM_GET_CLASS (stream)->change_port (stream, port);
72 + }
73 +
74 ++/**
75 ++ * gvc_mixer_stream_get_ports:
76 ++ *
77 ++ * Return value: (transfer none) (element-type GvcMixerStreamPort):
78 ++ */
79 + const GList *
80 + gvc_mixer_stream_get_ports (GvcMixerStream *stream)
81 + {
82 +@@ -526,6 +531,10 @@ sort_ports (GvcMixerStreamPort *a,
83 + return -1;
84 + }
85 +
86 ++/**
87 ++ * gvc_mixer_stream_set_ports:
88 ++ * @ports: (transfer full) (element-type GvcMixerStreamPort):
89 ++ */
90 + gboolean
91 + gvc_mixer_stream_set_ports (GvcMixerStream *stream,
92 + GList *ports)
93 +diff --git a/src/shell-app-system.c b/src/shell-app-system.c
94 +index b52625a..a578e69 100644
95 +--- a/src/shell-app-system.c
96 ++++ b/src/shell-app-system.c
97 +@@ -1399,7 +1399,7 @@ _gather_pid_callback (GDesktopAppInfo *gapp,
98 + /**
99 + * shell_app_info_launch_full:
100 + * @timestamp: Event timestamp, or 0 for current event timestamp
101 +- * @uris: List of uris to pass to application
102 ++ * @uris: (element-type utf8): List of uris to pass to application
103 + * @workspace: Start on this workspace, or -1 for default
104 + * @startup_id: (out): Returned startup notification ID, or %NULL if none
105 + * @error: A #GError
106 +--
107 +1.7.6.1
108 +
109
110 diff --git a/gnome-base/gnome-shell/gnome-shell-3.1.90.ebuild b/gnome-base/gnome-shell/gnome-shell-3.1.4.ebuild
111 similarity index 75%
112 copy from gnome-base/gnome-shell/gnome-shell-3.1.90.ebuild
113 copy to gnome-base/gnome-shell/gnome-shell-3.1.4.ebuild
114 index 95594a2..d0c4ba3 100644
115 --- a/gnome-base/gnome-shell/gnome-shell-3.1.90.ebuild
116 +++ b/gnome-base/gnome-shell/gnome-shell-3.1.4.ebuild
117 @@ -18,7 +18,7 @@ HOMEPAGE="http://live.gnome.org/GnomeShell"
118
119 LICENSE="GPL-2"
120 SLOT="0"
121 -IUSE=""
122 +IUSE="+nm-applet"
123 if [[ ${PV} = 9999 ]]; then
124 KEYWORDS=""
125 else
126 @@ -36,17 +36,14 @@ COMMON_DEPEND=">=dev-libs/glib-2.25.9:2
127 x11-libs/gdk-pixbuf:2[introspection]
128 >=x11-libs/gtk+-3.0.0:3[introspection]
129 >=media-libs/clutter-1.7.5:1.0[introspection]
130 - >=dev-libs/folks-0.5.2
131 >=gnome-base/gnome-desktop-2.91.2:3
132 >=gnome-base/gsettings-desktop-schemas-2.91.91
133 - gnome-base/libgnome-keyring
134 >=gnome-extra/evolution-data-server-2.91.6
135 >=media-libs/gstreamer-0.10.16:0.10
136 >=media-libs/gst-plugins-base-0.10.16:0.10
137 >=net-im/telepathy-logger-0.2.4[introspection]
138 net-libs/libsoup:2.4[introspection]
139 - >=net-libs/telepathy-glib-0.15.5[introspection]
140 - >=net-misc/networkmanager-0.8.999[introspection]
141 + >=net-libs/telepathy-glib-0.15.3[introspection]
142 >=net-wireless/gnome-bluetooth-3.1.0[introspection]
143 >=sys-auth/polkit-0.100[introspection]
144 >=x11-wm/mutter-3.0.0[introspection]
145 @@ -57,7 +54,7 @@ COMMON_DEPEND=">=dev-libs/glib-2.25.9:2
146 >=dev-libs/libcroco-0.6.2:0.6
147
148 gnome-base/gconf:2[introspection]
149 - >=gnome-base/gnome-menus-2.29.10:3[introspection]
150 + gnome-base/gnome-menus
151 gnome-base/librsvg
152 media-libs/libcanberra
153 media-sound/pulseaudio
154 @@ -73,7 +70,7 @@ COMMON_DEPEND=">=dev-libs/glib-2.25.9:2
155 # 3. gnome-session is needed for gnome-session-quit
156 # 4. Control shell settings
157 # 5. accountsservice is needed for GdmUserManager
158 -# 6. caribou needed for on-screen keyboard
159 +# 6. nm-applet is needed for auth prompting and the wireless connection dialog
160 RDEPEND="${COMMON_DEPEND}
161 >=sys-auth/polkit-0.101[introspection]
162
163 @@ -88,11 +85,9 @@ RDEPEND="${COMMON_DEPEND}
164
165 >=sys-apps/accountsservice-0.6.12
166
167 - >=app-accessibility/caribou-0.3
168 -
169 - !!<=gnome-extra/gnome-shell-extensions-3.1.4"
170 -# The *presence* of <=gnome-shell-extensions-3.1.4 destabilizes gnome-shell.
171 -# Disabling the extensions is not enough; they must be physically uninstalled.
172 + nm-applet? (
173 + >=gnome-extra/nm-applet-0.8.999
174 + >=net-misc/networkmanager-0.8.999[introspection] )"
175 DEPEND="${COMMON_DEPEND}
176 >=sys-devel/gettext-0.17
177 >=dev-util/pkgconfig-0.22
178 @@ -109,23 +104,11 @@ pkg_setup() {
179 --enable-compile-warnings=maximum
180 --disable-schemas-compile
181 --disable-jhbuild-wrapper-script"
182 -
183 - ewarn
184 - ewarn "${PN} tends to crash at login or shortly thereafter if there are any"
185 - ewarn "old shell extensions *installed*, whether systemwide or in a user's"
186 - ewarn "home directory."
187 - ewarn "Disabling the extensions is not enough. You should uninstall the"
188 - ewarn "extensions before upgrading gnome-shell to ${PV}."
189 - ewarn
190 }
191
192 src_prepare() {
193 - # Useful patches from upstream git, will be in next release
194 - epatch "${FILESDIR}/${P}-default-avatar.patch"
195 - epatch "${FILESDIR}/${P}-folks-crash.patch"
196 - epatch "${FILESDIR}/${P}-gdm-batch.patch"
197 - epatch "${FILESDIR}/${P}-telepathy-status.patch"
198 - # gobject-introspection-1.29.17 compat, will be in next release
199 + gnome2_src_prepare
200 + # gobject-introspection-1.29.17 compat, backported to gnome-shell-3.1.4
201 epatch "${FILESDIR}/${P}-gi-1.29.17.patch"
202 }
203
204
205 diff --git a/gnome-base/gnome-shell/gnome-shell-3.1.90.ebuild b/gnome-base/gnome-shell/gnome-shell-3.1.90.ebuild
206 index 95594a2..258babe 100644
207 --- a/gnome-base/gnome-shell/gnome-shell-3.1.90.ebuild
208 +++ b/gnome-base/gnome-shell/gnome-shell-3.1.90.ebuild
209 @@ -88,11 +88,7 @@ RDEPEND="${COMMON_DEPEND}
210
211 >=sys-apps/accountsservice-0.6.12
212
213 - >=app-accessibility/caribou-0.3
214 -
215 - !!<=gnome-extra/gnome-shell-extensions-3.1.4"
216 -# The *presence* of <=gnome-shell-extensions-3.1.4 destabilizes gnome-shell.
217 -# Disabling the extensions is not enough; they must be physically uninstalled.
218 + >=app-accessibility/caribou-0.3"
219 DEPEND="${COMMON_DEPEND}
220 >=sys-devel/gettext-0.17
221 >=dev-util/pkgconfig-0.22
222 @@ -109,17 +105,10 @@ pkg_setup() {
223 --enable-compile-warnings=maximum
224 --disable-schemas-compile
225 --disable-jhbuild-wrapper-script"
226 -
227 - ewarn
228 - ewarn "${PN} tends to crash at login or shortly thereafter if there are any"
229 - ewarn "old shell extensions *installed*, whether systemwide or in a user's"
230 - ewarn "home directory."
231 - ewarn "Disabling the extensions is not enough. You should uninstall the"
232 - ewarn "extensions before upgrading gnome-shell to ${PV}."
233 - ewarn
234 }
235
236 src_prepare() {
237 + gnome2_src_prepare
238 # Useful patches from upstream git, will be in next release
239 epatch "${FILESDIR}/${P}-default-avatar.patch"
240 epatch "${FILESDIR}/${P}-folks-crash.patch"