Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-base/gnome-shell: gnome-shell-3.8.0.1.ebuild ChangeLog
Date: Thu, 28 Mar 2013 22:43:30
Message-Id: 20130328224326.DC4FB2171E@flycatcher.gentoo.org
1 pacho 13/03/28 22:43:26
2
3 Modified: ChangeLog
4 Added: gnome-shell-3.8.0.1.ebuild
5 Log:
6 Version bump for Gnome 3.8
7
8 (Portage version: 2.1.11.58/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
9
10 Revision Changes Path
11 1.28 gnome-base/gnome-shell/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/ChangeLog?rev=1.28&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/ChangeLog?rev=1.28&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/ChangeLog?r1=1.27&r2=1.28
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/ChangeLog,v
20 retrieving revision 1.27
21 retrieving revision 1.28
22 diff -u -r1.27 -r1.28
23 --- ChangeLog 20 Feb 2013 23:26:01 -0000 1.27
24 +++ ChangeLog 28 Mar 2013 22:43:26 -0000 1.28
25 @@ -1,6 +1,14 @@
26 # ChangeLog for gnome-base/gnome-shell
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/ChangeLog,v 1.27 2013/02/20 23:26:01 eva Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/ChangeLog,v 1.28 2013/03/28 22:43:26 pacho Exp $
30 +
31 +*gnome-shell-3.8.0.1 (28 Mar 2013)
32 +
33 + 28 Mar 2013; Pacho Ramos <pacho@g.o>
34 + +files/gnome-shell-3.7.90-bluetooth-flag.patch,
35 + +files/gnome-shell-3.8.0-networkmanager-flag.patch,
36 + +files/gnome-shell-3.8.0-suspend.patch, +gnome-shell-3.8.0.1.ebuild:
37 + Version bump for Gnome 3.8
38
39 *gnome-shell-3.6.3.1 (20 Feb 2013)
40
41
42
43
44 1.1 gnome-base/gnome-shell/gnome-shell-3.8.0.1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.8.0.1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.8.0.1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: gnome-shell-3.8.0.1.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.8.0.1.ebuild,v 1.1 2013/03/28 22:43:26 pacho Exp $
54
55 EAPI="5"
56 GCONF_DEBUG="no"
57 GNOME2_LA_PUNT="yes"
58 PYTHON_COMPAT=( python2_{6,7} )
59
60 inherit autotools eutils gnome2 multilib pax-utils python-r1
61
62 DESCRIPTION="Provides core UI functions for the GNOME 3 desktop"
63 HOMEPAGE="http://live.gnome.org/GnomeShell"
64
65 LICENSE="GPL-2+ LGPL-2+"
66 SLOT="0"
67 IUSE="+bluetooth +i18n +networkmanager"
68 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
69
70 # libXfixes-5.0 needed for pointer barriers
71 # TODO: gstreamer support is currently automagical:
72 # gstreamer? ( >=media-libs/gstreamer-0.11.92 )
73 COMMON_DEPEND="
74 >=app-accessibility/at-spi2-atk-2.5.3
75 >=dev-libs/atk-2[introspection]
76 >=app-crypt/gcr-3.3.90[introspection]
77 >=dev-libs/glib-2.35:2
78 >=dev-libs/gjs-1.35.8
79 >=dev-libs/gobject-introspection-0.10.1
80 >=x11-libs/gtk+-3.7.9:3[introspection]
81 >=media-libs/clutter-1.13.4:1.0[introspection]
82 >=dev-libs/json-glib-0.13.2
83 >=dev-libs/libcroco-0.6.2:0.6
84 >=gnome-base/gnome-desktop-3.7.90:3=[introspection]
85 >=gnome-base/gsettings-desktop-schemas-3.7.4
86 >=gnome-base/gnome-keyring-3.3.90
87 >=gnome-base/gnome-menus-3.5.3:3[introspection]
88 gnome-base/libgnome-keyring
89 >=gnome-extra/evolution-data-server-3.5.3:=
90 >=media-libs/gstreamer-0.11.92:1.0
91 >=net-im/telepathy-logger-0.2.4[introspection]
92 >=net-libs/telepathy-glib-0.19[introspection]
93 >=sys-auth/polkit-0.100[introspection]
94 >=x11-libs/libXfixes-5.0
95 >=x11-wm/mutter-3.8.0[introspection]
96 >=x11-libs/startup-notification-0.11
97
98 ${PYTHON_DEPS}
99 dev-python/pygobject:3[${PYTHON_USEDEP}]
100
101 dev-libs/dbus-glib
102 dev-libs/libxml2:2
103 gnome-base/librsvg
104 media-libs/libcanberra[gtk3]
105 media-libs/mesa
106 >=media-sound/pulseaudio-2
107 >=net-libs/libsoup-2.40:2.4[introspection]
108 x11-libs/libX11
109 x11-libs/gdk-pixbuf:2[introspection]
110 x11-libs/pango[introspection]
111 x11-apps/mesa-progs
112
113 bluetooth? ( >=net-wireless/gnome-bluetooth-3.5[introspection] )
114 networkmanager? ( >=net-misc/networkmanager-0.9.6[introspection] )
115 "
116 # Runtime-only deps are probably incomplete and approximate.
117 # Introspection deps generated using:
118 # grep -roe "imports.gi.*" gnome-shell-* | cut -f2 -d: | sort | uniq
119 # Each block:
120 # 1. Pull in polkit-0.101 for pretty authorization dialogs
121 # 2. Introspection stuff needed via imports.gi.*
122 # 3. gnome-session is needed for gnome-session-quit
123 # 4. Control shell settings
124 # 5. xdg-utils needed for xdg-open, used by extension tool
125 # 6. gnome-icon-theme-symbolic and dejavu font neeed for various icons & arrows
126 # 7. IBus is needed for i18n integration
127 # 8. mobile-broadband-provider-info, timezone-data for shell-mobile-providers.c
128 RDEPEND="${COMMON_DEPEND}
129 >=sys-auth/polkit-0.101[introspection]
130
131 >=app-accessibility/caribou-0.4.8
132 >=gnome-base/gdm-3.5[introspection]
133 >=gnome-base/libgnomekbd-2.91.4[introspection]
134 media-libs/cogl[introspection]
135 >=sys-apps/accountsservice-0.6.14[introspection]
136 sys-power/upower[introspection]
137
138 >=gnome-base/gnome-session-2.91.91
139 >=gnome-base/gnome-settings-daemon-2.91
140 >=gnome-base/gnome-control-center-2.91.92-r1[bluetooth(+)?]
141
142 x11-misc/xdg-utils
143
144 media-fonts/dejavu
145 x11-themes/gnome-icon-theme-symbolic
146
147 || ( sys-auth/consolekit >=sys-apps/systemd-31 )
148 i18n? ( >=app-i18n/ibus-1.4.99[dconf,gtk3,introspection] )
149 networkmanager? (
150 net-misc/mobile-broadband-provider-info
151 sys-libs/timezone-data )
152 "
153 DEPEND="${COMMON_DEPEND}
154 dev-libs/libxslt
155 >=dev-util/gtk-doc-am-1.17
156 >=dev-util/intltool-0.40
157 gnome-base/gnome-common
158 >=sys-devel/gettext-0.17
159 virtual/pkgconfig
160 !!=dev-lang/spidermonkey-1.8.2*"
161 # libmozjs.so is picked up from /usr/lib while compiling, so block at build-time
162 # https://bugs.gentoo.org/show_bug.cgi?id=360413
163
164 src_prepare() {
165 # Fix automagic gnome-bluetooth dep, bug #398145
166 epatch "${FILESDIR}/${PN}-3.7.90-bluetooth-flag.patch"
167
168 # Make networkmanager optional, bug #398593
169 epatch "${FILESDIR}/${PN}-3.8.0-networkmanager-flag.patch"
170
171 # Revert suspend break, upstream bug #693162 (from Debian)
172 epatch "${FILESDIR}/${PN}-3.8.0-suspend.patch"
173
174 eautoreconf
175 gnome2_src_prepare
176 }
177
178 src_configure() {
179 # Do not error out on warnings
180 G2CONF="${G2CONF}
181 --enable-man
182 --enable-compile-warnings=maximum
183 --disable-jhbuild-wrapper-script
184 $(use_with bluetooth)
185 $(use_enable networkmanager)
186 BROWSER_PLUGIN_DIR=${EPREFIX}/usr/$(get_libdir)/nsbrowser/plugins"
187 gnome2_src_configure
188 }
189
190 src_install() {
191 gnome2_src_install
192 python_replicate_script "${ED}/usr/bin/gnome-shell-extension-tool"
193 python_replicate_script "${ED}/usr/bin/gnome-shell-perf-tool"
194
195 # Required for gnome-shell on hardened/PaX, bug #398941
196 # Future-proof for >=spidermonkey-1.8.7 following polkit's example
197 if has_version '<dev-lang/spidermonkey-1.8.7'; then
198 pax-mark mr "${ED}usr/bin/gnome-shell"
199 elif has_version '>=dev-lang/spidermonkey-1.8.7[jit]'; then
200 pax-mark m "${ED}usr/bin/gnome-shell"
201 fi
202 }
203
204 pkg_postinst() {
205 gnome2_pkg_postinst
206
207 if ! has_version 'media-libs/gst-plugins-good:1.0' || \
208 ! has_version 'media-plugins/gst-plugins-vpx:1.0'; then
209 ewarn "To make use of GNOME Shell's built-in screen recording utility,"
210 ewarn "you need to either install media-libs/gst-plugins-good:1.0"
211 ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change"
212 ewarn "apps.gnome-shell.recorder/pipeline to what you want to use."
213 fi
214
215 if ! has_version ">=x11-base/xorg-server-1.11"; then
216 ewarn "If you use multiple screens, it is highly recommended that you"
217 ewarn "upgrade to >=x11-base/xorg-server-1.11 to be able to make use of"
218 ewarn "pointer barriers which will make it easier to use hot corners."
219 fi
220
221 if has_version "<x11-drivers/ati-drivers-12"; then
222 ewarn "GNOME Shell has been reported to show graphical corruption under"
223 ewarn "x11-drivers/ati-drivers-11.*; you may want to use GNOME in"
224 ewarn "fallback mode, or switch to open-source drivers."
225 fi
226
227 if has_version "media-libs/mesa[video_cards_radeon]" ||
228 has_version "media-libs/mesa[video_cards_r300]" ||
229 has_version "media-libs/mesa[video_cards_r600]"; then
230 elog "GNOME Shell is unstable under classic-mode r300/r600 mesa drivers."
231 elog "Make sure that gallium architecture for r300 and r600 drivers is"
232 elog "selected using 'eselect mesa'."
233 if ! has_version "media-libs/mesa[gallium]"; then
234 ewarn "You will need to emerge media-libs/mesa with USE=gallium."
235 fi
236 fi
237
238 if has_version "media-libs/mesa[video_cards_intel]" ||
239 has_version "media-libs/mesa[video_cards_i915]" ||
240 has_version "media-libs/mesa[video_cards_i965]"; then
241 elog "GNOME Shell is unstable under gallium-mode i915/i965 mesa drivers."
242 elog "Make sure that classic architecture for i915 and i965 drivers is"
243 elog "selected using 'eselect mesa'."
244 if ! has_version "media-libs/mesa[classic]"; then
245 ewarn "You will need to emerge media-libs/mesa with USE=classic."
246 fi
247 fi
248 }