1 |
commit: 1d1fe418b74e2cd48cbca220cf9c456cf41963bf |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 26 22:48:42 2012 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 26 22:48:42 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=1d1fe418 |
7 |
|
8 |
gnome-base/gnome-shell: moved to gx86 |
9 |
|
10 |
Sync live ebuild and metadata with gx86 changes. |
11 |
|
12 |
--- |
13 |
gnome-base/gnome-shell/gnome-shell-3.6.2.ebuild | 203 ----------------------- |
14 |
gnome-base/gnome-shell/gnome-shell-9999.ebuild | 50 +++--- |
15 |
gnome-base/gnome-shell/metadata.xml | 2 + |
16 |
3 files changed, 28 insertions(+), 227 deletions(-) |
17 |
|
18 |
diff --git a/gnome-base/gnome-shell/gnome-shell-3.6.2.ebuild b/gnome-base/gnome-shell/gnome-shell-3.6.2.ebuild |
19 |
deleted file mode 100644 |
20 |
index 5bad729..0000000 |
21 |
--- a/gnome-base/gnome-shell/gnome-shell-3.6.2.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,203 +0,0 @@ |
24 |
-# Copyright 1999-2012 Gentoo Foundation |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: $ |
27 |
- |
28 |
-EAPI="4" |
29 |
-GCONF_DEBUG="no" |
30 |
-GNOME2_LA_PUNT="yes" |
31 |
-PYTHON_DEPEND="2:2.5" |
32 |
- |
33 |
-inherit autotools eutils gnome2 multilib pax-utils python |
34 |
-if [[ ${PV} = 9999 ]]; then |
35 |
- inherit gnome2-live |
36 |
-fi |
37 |
- |
38 |
-DESCRIPTION="Provides core UI functions for the GNOME 3 desktop" |
39 |
-HOMEPAGE="http://live.gnome.org/GnomeShell" |
40 |
- |
41 |
-LICENSE="GPL-2+ LGPL-2+" |
42 |
-SLOT="0" |
43 |
-IUSE="+bluetooth +i18n +networkmanager systemd" |
44 |
-if [[ ${PV} = 9999 ]]; then |
45 |
- KEYWORDS="" |
46 |
-else |
47 |
- KEYWORDS="~amd64 ~x86" |
48 |
-fi |
49 |
- |
50 |
-# libXfixes-5.0 needed for pointer barriers |
51 |
-# TODO: gstreamer support is currently automagical: |
52 |
-# gstreamer? ( >=media-libs/gstreamer-0.11.92 ) |
53 |
-COMMON_DEPEND=" |
54 |
- >=app-accessibility/at-spi2-atk-2.5.3 |
55 |
- >=app-crypt/gcr-3.3.90[introspection] |
56 |
- >=dev-libs/glib-2.31.6:2 |
57 |
- >=dev-libs/gjs-1.33.2 |
58 |
- >=dev-libs/gobject-introspection-0.10.1 |
59 |
- >=x11-libs/gtk+-3.3.9:3[introspection] |
60 |
- >=media-libs/clutter-1.11.11:1.0[introspection] |
61 |
- >=dev-libs/json-glib-0.13.2 |
62 |
- >=dev-libs/libcroco-0.6.2:0.6 |
63 |
- >=gnome-base/gnome-desktop-3.5.1:3[introspection] |
64 |
- >=gnome-base/gsettings-desktop-schemas-3.5.4 |
65 |
- >=gnome-base/gnome-keyring-3.3.90 |
66 |
- >=gnome-base/gnome-menus-3.5.3:3[introspection] |
67 |
- gnome-base/libgnome-keyring |
68 |
- >=gnome-extra/evolution-data-server-3.5.3 |
69 |
- >=media-libs/gstreamer-0.11.92:1.0 |
70 |
- >=net-im/telepathy-logger-0.2.4[introspection] |
71 |
- >=net-libs/telepathy-glib-0.19[introspection] |
72 |
- >=sys-auth/polkit-0.100[introspection] |
73 |
- >=x11-libs/libXfixes-5.0 |
74 |
- >=x11-wm/mutter-${PV}[introspection] |
75 |
- >=x11-libs/startup-notification-0.11 |
76 |
- |
77 |
- dev-libs/dbus-glib |
78 |
- dev-libs/libxml2:2 |
79 |
- gnome-base/librsvg |
80 |
- media-libs/libcanberra |
81 |
- media-libs/mesa |
82 |
- media-sound/pulseaudio |
83 |
- net-libs/libsoup:2.4[introspection] |
84 |
- x11-libs/libX11 |
85 |
- x11-libs/gdk-pixbuf:2[introspection] |
86 |
- x11-libs/pango[introspection] |
87 |
- x11-apps/mesa-progs |
88 |
- |
89 |
- bluetooth? ( >=net-wireless/gnome-bluetooth-3.5[introspection] ) |
90 |
- networkmanager? ( >=net-misc/networkmanager-0.8.999[introspection] ) |
91 |
- systemd? ( >=sys-apps/systemd-31 ) |
92 |
-" |
93 |
-# Runtime-only deps are probably incomplete and approximate. |
94 |
-# Introspection deps generated using: |
95 |
-# grep -roe "imports.gi.*" gnome-shell-* | cut -f2 -d: | sort | uniq |
96 |
-# Each block: |
97 |
-# 1. Pull in polkit-0.101 for pretty authorization dialogs |
98 |
-# 2. Introspection stuff needed via imports.gi.* |
99 |
-# 3. gnome-session is needed for gnome-session-quit |
100 |
-# 4. Control shell settings |
101 |
-# 5. xdg-utils needed for xdg-open, used by extension tool |
102 |
-# 6. gnome-icon-theme-symbolic and dejavu font neeed for various icons & arrows |
103 |
-# 7. IBus is needed for i18n integration |
104 |
-# 8. mobile-broadband-provider-info, timezone-data for shell-mobile-providers.c |
105 |
-RDEPEND="${COMMON_DEPEND} |
106 |
- >=sys-auth/polkit-0.101[introspection] |
107 |
- |
108 |
- >=app-accessibility/caribou-0.3 |
109 |
- >=gnome-base/gdm-3.5[introspection] |
110 |
- >=gnome-base/libgnomekbd-2.91.4[introspection] |
111 |
- media-libs/cogl[introspection] |
112 |
- >=sys-apps/accountsservice-0.6.14[introspection] |
113 |
- sys-power/upower[introspection] |
114 |
- |
115 |
- >=gnome-base/gnome-session-2.91.91 |
116 |
- |
117 |
- >=gnome-base/gnome-settings-daemon-2.91 |
118 |
- >=gnome-base/gnome-control-center-2.91.92-r1[bluetooth(+)?] |
119 |
- |
120 |
- x11-misc/xdg-utils |
121 |
- |
122 |
- media-fonts/dejavu |
123 |
- x11-themes/gnome-icon-theme-symbolic |
124 |
- |
125 |
- i18n? ( >=app-i18n/ibus-1.4.99[dconf,gtk3,introspection] ) |
126 |
- networkmanager? ( |
127 |
- net-misc/mobile-broadband-provider-info |
128 |
- sys-libs/timezone-data ) |
129 |
- |
130 |
- !systemd? ( sys-auth/consolekit ) |
131 |
-" |
132 |
-DEPEND="${COMMON_DEPEND} |
133 |
- >=sys-devel/gettext-0.17 |
134 |
- dev-libs/libxslt |
135 |
- >=dev-util/intltool-0.40 |
136 |
- gnome-base/gnome-common |
137 |
- virtual/pkgconfig |
138 |
- !!=dev-lang/spidermonkey-1.8.2*" |
139 |
-# libmozjs.so is picked up from /usr/lib while compiling, so block at build-time |
140 |
-# https://bugs.gentoo.org/show_bug.cgi?id=360413 |
141 |
- |
142 |
-pkg_setup() { |
143 |
- python_set_active_version 2 |
144 |
- python_pkg_setup |
145 |
-} |
146 |
- |
147 |
-src_prepare() { |
148 |
- DOCS="AUTHORS NEWS README" |
149 |
- # Don't error out on warnings |
150 |
- G2CONF="${G2CONF} |
151 |
- --enable-man |
152 |
- --enable-compile-warnings=maximum |
153 |
- --disable-jhbuild-wrapper-script |
154 |
- $(use_with bluetooth) |
155 |
- $(use_enable networkmanager) |
156 |
- $(use_with systemd) |
157 |
- BROWSER_PLUGIN_DIR=${EPREFIX}/usr/$(get_libdir)/nsbrowser/plugins" |
158 |
- |
159 |
- # Fix automagic gnome-bluetooth dep, bug #398145 |
160 |
- epatch "${FILESDIR}/${PN}-3.5.x-bluetooth-flag.patch" |
161 |
- |
162 |
- # Make networkmanager optional, bug #398593 |
163 |
- epatch "${FILESDIR}/${PN}-3.6.0-networkmanager-flag.patch" |
164 |
- |
165 |
- [[ ${PV} != 9999 ]] && eautoreconf |
166 |
- gnome2_src_prepare |
167 |
-} |
168 |
- |
169 |
-src_install() { |
170 |
- gnome2_src_install |
171 |
- python_convert_shebangs 2 "${ED}/usr/bin/gnome-shell-extension-tool" |
172 |
- |
173 |
- # Required for gnome-shell on hardened/PaX, bug #398941 |
174 |
- # Future-proof for >=spidermonkey-1.8.7 following polkit's example |
175 |
- if has_version '<dev-lang/spidermonkey-1.8.7'; then |
176 |
- pax-mark mr "${ED}usr/bin/gnome-shell" |
177 |
- elif has_version '>=dev-lang/spidermonkey-1.8.7[jit]'; then |
178 |
- pax-mark m "${ED}usr/bin/gnome-shell" |
179 |
- fi |
180 |
-} |
181 |
- |
182 |
-pkg_postinst() { |
183 |
- gnome2_pkg_postinst |
184 |
- |
185 |
- if ! has_version 'media-libs/gst-plugins-good:1.0' || \ |
186 |
- ! has_version 'media-plugins/gst-plugins-vpx:1.0'; then |
187 |
- ewarn "To make use of GNOME Shell's built-in screen recording utility," |
188 |
- ewarn "you need to either install media-libs/gst-plugins-good:1.0" |
189 |
- ewarn "and media-plugins/gst-plugins-vp8:1.0, or use dconf-editor to change" |
190 |
- ewarn "apps.gnome-shell.recorder/pipeline to what you want to use." |
191 |
- fi |
192 |
- |
193 |
- if ! has_version ">=x11-base/xorg-server-1.11"; then |
194 |
- ewarn "If you use multiple screens, it is highly recommended that you" |
195 |
- ewarn "upgrade to >=x11-base/xorg-server-1.11 to be able to make use of" |
196 |
- ewarn "pointer barriers which will make it easier to use hot corners." |
197 |
- fi |
198 |
- |
199 |
- if has_version "<x11-drivers/ati-drivers-12"; then |
200 |
- ewarn "GNOME Shell has been reported to show graphical corruption under" |
201 |
- ewarn "x11-drivers/ati-drivers-11.*; you may want to use GNOME in" |
202 |
- ewarn "fallback mode, or switch to open-source drivers." |
203 |
- fi |
204 |
- |
205 |
- if has_version "media-libs/mesa[video_cards_radeon]" || |
206 |
- has_version "media-libs/mesa[video_cards_r300]" || |
207 |
- has_version "media-libs/mesa[video_cards_r600]"; then |
208 |
- elog "GNOME Shell is unstable under classic-mode r300/r600 mesa drivers." |
209 |
- elog "Make sure that gallium architecture for r300 and r600 drivers is" |
210 |
- elog "selected using 'eselect mesa'." |
211 |
- if ! has_version "media-libs/mesa[gallium]"; then |
212 |
- ewarn "You will need to emerge media-libs/mesa with USE=gallium." |
213 |
- fi |
214 |
- fi |
215 |
- |
216 |
- if has_version "media-libs/mesa[video_cards_intel]" || |
217 |
- has_version "media-libs/mesa[video_cards_i915]" || |
218 |
- has_version "media-libs/mesa[video_cards_i965]"; then |
219 |
- elog "GNOME Shell is unstable under gallium-mode i915/i965 mesa drivers." |
220 |
- elog "Make sure that classic architecture for i915 and i965 drivers is" |
221 |
- elog "selected using 'eselect mesa'." |
222 |
- if ! has_version "media-libs/mesa[classic]"; then |
223 |
- ewarn "You will need to emerge media-libs/mesa with USE=classic." |
224 |
- fi |
225 |
- fi |
226 |
-} |
227 |
|
228 |
diff --git a/gnome-base/gnome-shell/gnome-shell-9999.ebuild b/gnome-base/gnome-shell/gnome-shell-9999.ebuild |
229 |
index 5bad729..43a9571 100644 |
230 |
--- a/gnome-base/gnome-shell/gnome-shell-9999.ebuild |
231 |
+++ b/gnome-base/gnome-shell/gnome-shell-9999.ebuild |
232 |
@@ -2,12 +2,12 @@ |
233 |
# Distributed under the terms of the GNU General Public License v2 |
234 |
# $Header: $ |
235 |
|
236 |
-EAPI="4" |
237 |
+EAPI="5" |
238 |
GCONF_DEBUG="no" |
239 |
GNOME2_LA_PUNT="yes" |
240 |
-PYTHON_DEPEND="2:2.5" |
241 |
+PYTHON_COMPAT=( python2_{6,7} ) |
242 |
|
243 |
-inherit autotools eutils gnome2 multilib pax-utils python |
244 |
+inherit autotools eutils gnome2 multilib pax-utils python-r1 |
245 |
if [[ ${PV} = 9999 ]]; then |
246 |
inherit gnome2-live |
247 |
fi |
248 |
@@ -29,6 +29,7 @@ fi |
249 |
# gstreamer? ( >=media-libs/gstreamer-0.11.92 ) |
250 |
COMMON_DEPEND=" |
251 |
>=app-accessibility/at-spi2-atk-2.5.3 |
252 |
+ >=dev-libs/atk-2[introspection] |
253 |
>=app-crypt/gcr-3.3.90[introspection] |
254 |
>=dev-libs/glib-2.31.6:2 |
255 |
>=dev-libs/gjs-1.33.2 |
256 |
@@ -37,12 +38,12 @@ COMMON_DEPEND=" |
257 |
>=media-libs/clutter-1.11.11:1.0[introspection] |
258 |
>=dev-libs/json-glib-0.13.2 |
259 |
>=dev-libs/libcroco-0.6.2:0.6 |
260 |
- >=gnome-base/gnome-desktop-3.5.1:3[introspection] |
261 |
+ >=gnome-base/gnome-desktop-3.5.1:3=[introspection] |
262 |
>=gnome-base/gsettings-desktop-schemas-3.5.4 |
263 |
>=gnome-base/gnome-keyring-3.3.90 |
264 |
>=gnome-base/gnome-menus-3.5.3:3[introspection] |
265 |
gnome-base/libgnome-keyring |
266 |
- >=gnome-extra/evolution-data-server-3.5.3 |
267 |
+ >=gnome-extra/evolution-data-server-3.5.3:= |
268 |
>=media-libs/gstreamer-0.11.92:1.0 |
269 |
>=net-im/telepathy-logger-0.2.4[introspection] |
270 |
>=net-libs/telepathy-glib-0.19[introspection] |
271 |
@@ -51,6 +52,9 @@ COMMON_DEPEND=" |
272 |
>=x11-wm/mutter-${PV}[introspection] |
273 |
>=x11-libs/startup-notification-0.11 |
274 |
|
275 |
+ ${PYTHON_DEPS} |
276 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
277 |
+ |
278 |
dev-libs/dbus-glib |
279 |
dev-libs/libxml2:2 |
280 |
gnome-base/librsvg |
281 |
@@ -90,7 +94,6 @@ RDEPEND="${COMMON_DEPEND} |
282 |
sys-power/upower[introspection] |
283 |
|
284 |
>=gnome-base/gnome-session-2.91.91 |
285 |
- |
286 |
>=gnome-base/gnome-settings-daemon-2.91 |
287 |
>=gnome-base/gnome-control-center-2.91.92-r1[bluetooth(+)?] |
288 |
|
289 |
@@ -107,23 +110,29 @@ RDEPEND="${COMMON_DEPEND} |
290 |
!systemd? ( sys-auth/consolekit ) |
291 |
" |
292 |
DEPEND="${COMMON_DEPEND} |
293 |
- >=sys-devel/gettext-0.17 |
294 |
dev-libs/libxslt |
295 |
+ >=dev-util/gtk-doc-am-1.17 |
296 |
>=dev-util/intltool-0.40 |
297 |
gnome-base/gnome-common |
298 |
+ >=sys-devel/gettext-0.17 |
299 |
virtual/pkgconfig |
300 |
!!=dev-lang/spidermonkey-1.8.2*" |
301 |
# libmozjs.so is picked up from /usr/lib while compiling, so block at build-time |
302 |
# https://bugs.gentoo.org/show_bug.cgi?id=360413 |
303 |
|
304 |
-pkg_setup() { |
305 |
- python_set_active_version 2 |
306 |
- python_pkg_setup |
307 |
+src_prepare() { |
308 |
+ # Fix automagic gnome-bluetooth dep, bug #398145 |
309 |
+ epatch "${FILESDIR}/${PN}-3.5.x-bluetooth-flag.patch" |
310 |
+ |
311 |
+ # Make networkmanager optional, bug #398593 |
312 |
+ epatch "${FILESDIR}/${PN}-3.6.0-networkmanager-flag.patch" |
313 |
+ |
314 |
+ [[ ${PV} != 9999 ]] && eautoreconf |
315 |
+ gnome2_src_prepare |
316 |
} |
317 |
|
318 |
-src_prepare() { |
319 |
- DOCS="AUTHORS NEWS README" |
320 |
- # Don't error out on warnings |
321 |
+src_configure() { |
322 |
+ # Do not error out on warnings |
323 |
G2CONF="${G2CONF} |
324 |
--enable-man |
325 |
--enable-compile-warnings=maximum |
326 |
@@ -132,20 +141,13 @@ src_prepare() { |
327 |
$(use_enable networkmanager) |
328 |
$(use_with systemd) |
329 |
BROWSER_PLUGIN_DIR=${EPREFIX}/usr/$(get_libdir)/nsbrowser/plugins" |
330 |
- |
331 |
- # Fix automagic gnome-bluetooth dep, bug #398145 |
332 |
- epatch "${FILESDIR}/${PN}-3.5.x-bluetooth-flag.patch" |
333 |
- |
334 |
- # Make networkmanager optional, bug #398593 |
335 |
- epatch "${FILESDIR}/${PN}-3.6.0-networkmanager-flag.patch" |
336 |
- |
337 |
- [[ ${PV} != 9999 ]] && eautoreconf |
338 |
- gnome2_src_prepare |
339 |
+ gnome2_src_configure |
340 |
} |
341 |
|
342 |
src_install() { |
343 |
gnome2_src_install |
344 |
- python_convert_shebangs 2 "${ED}/usr/bin/gnome-shell-extension-tool" |
345 |
+ python_replicate_script "${ED}/usr/bin/gnome-shell-extension-tool" |
346 |
+ python_replicate_script "${ED}/usr/bin/gnome-shell-perf-tool" |
347 |
|
348 |
# Required for gnome-shell on hardened/PaX, bug #398941 |
349 |
# Future-proof for >=spidermonkey-1.8.7 following polkit's example |
350 |
@@ -163,7 +165,7 @@ pkg_postinst() { |
351 |
! has_version 'media-plugins/gst-plugins-vpx:1.0'; then |
352 |
ewarn "To make use of GNOME Shell's built-in screen recording utility," |
353 |
ewarn "you need to either install media-libs/gst-plugins-good:1.0" |
354 |
- ewarn "and media-plugins/gst-plugins-vp8:1.0, or use dconf-editor to change" |
355 |
+ ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change" |
356 |
ewarn "apps.gnome-shell.recorder/pipeline to what you want to use." |
357 |
fi |
358 |
|
359 |
|
360 |
diff --git a/gnome-base/gnome-shell/metadata.xml b/gnome-base/gnome-shell/metadata.xml |
361 |
index 4961103..68a012a 100644 |
362 |
--- a/gnome-base/gnome-shell/metadata.xml |
363 |
+++ b/gnome-base/gnome-shell/metadata.xml |
364 |
@@ -3,6 +3,8 @@ |
365 |
<pkgmetadata> |
366 |
<herd>gnome</herd> |
367 |
<use> |
368 |
+ <flag name="i18n">Enable support for enhanced input methods through |
369 |
+ <pkg>app-i18n/ibus</pkg></flag> |
370 |
<flag name="systemd">Use <pkg>sys-apps/systemd</pkg> instead of |
371 |
<pkg>sys-auth/consolekit</pkg> for session tracking</flag> |
372 |
</use> |