Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-base/gnome-shell: gnome-shell-3.12.1.ebuild ChangeLog
Date: Sun, 27 Apr 2014 16:59:26
Message-Id: 20140427165922.CDFE92004B@flycatcher.gentoo.org
1 eva 14/04/27 16:59:22
2
3 Modified: ChangeLog
4 Added: gnome-shell-3.12.1.ebuild
5 Log:
6 Version bump for Gnome 3.12.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key C6085806)
9
10 Revision Changes Path
11 1.74 gnome-base/gnome-shell/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/ChangeLog?rev=1.74&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/ChangeLog?rev=1.74&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/ChangeLog?r1=1.73&r2=1.74
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/ChangeLog,v
20 retrieving revision 1.73
21 retrieving revision 1.74
22 diff -u -r1.73 -r1.74
23 --- ChangeLog 26 Apr 2014 08:22:29 -0000 1.73
24 +++ ChangeLog 27 Apr 2014 16:59:22 -0000 1.74
25 @@ -1,6 +1,14 @@
26 # ChangeLog for gnome-base/gnome-shell
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/ChangeLog,v 1.73 2014/04/26 08:22:29 pacho Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-shell/ChangeLog,v 1.74 2014/04/27 16:59:22 eva Exp $
30 +
31 +*gnome-shell-3.12.1 (27 Apr 2014)
32 +
33 + 27 Apr 2014; Gilles Dartiguelongue <eva@g.o>
34 + +gnome-shell-3.12.1.ebuild, files/gnome-shell-3.10.4-bluetooth-gold.patch,
35 + +files/gnome-shell-3.12-bluetooth-flag.patch,
36 + files/gnome-shell-defaults.patch:
37 + Version bump for Gnome 3.12.
38
39 26 Apr 2014; Pacho Ramos <pacho@g.o> gnome-shell-3.10.4-r1.ebuild,
40 gnome-shell-3.10.4-r2.ebuild:
41
42
43
44 1.1 gnome-base/gnome-shell/gnome-shell-3.12.1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.12.1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.12.1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: gnome-shell-3.12.1.ebuild
50 ===================================================================
51 # Copyright 1999-2014 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.12.1.ebuild,v 1.1 2014/04/27 16:59:22 eva 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 systemd
61
62 DESCRIPTION="Provides core UI functions for the GNOME 3 desktop"
63 HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell"
64
65 LICENSE="GPL-2+ LGPL-2+"
66 SLOT="0"
67 IUSE="+bluetooth +i18n +networkmanager -openrc-force"
68 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
69 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
70
71 # libXfixes-5.0 needed for pointer barriers
72 # FIXME:
73 # * gstreamer support is currently automagic
74 # * mutter/mutter-wayland support is automagic
75 COMMON_DEPEND="
76 >=app-accessibility/at-spi2-atk-2.5.3
77 >=dev-libs/atk-2[introspection]
78 >=app-crypt/gcr-3.7.5[introspection]
79 >=dev-libs/glib-2.39.1:2
80 >=dev-libs/gjs-1.39
81 >=dev-libs/gobject-introspection-0.10.1
82 >=x11-libs/gtk+-3.7.9:3[introspection]
83 >=media-libs/clutter-1.15.90:1.0[introspection]
84 >=dev-libs/json-glib-0.13.2
85 >=dev-libs/libcroco-0.6.8:0.6
86 >=gnome-base/gnome-desktop-3.7.90:3=[introspection]
87 >=gnome-base/gsettings-desktop-schemas-3.12
88 >=gnome-base/gnome-keyring-3.3.90
89 gnome-base/libgnome-keyring
90 >=gnome-extra/evolution-data-server-3.5.3:=
91 >=media-libs/gstreamer-0.11.92:1.0
92 >=net-im/telepathy-logger-0.2.4[introspection]
93 >=net-libs/telepathy-glib-0.19[introspection]
94 >=sys-auth/polkit-0.100[introspection]
95 >=x11-libs/libXfixes-5.0
96 x11-libs/libXtst
97 >=x11-wm/mutter-3.12.1[introspection]
98 >=x11-libs/startup-notification-0.11
99
100 ${PYTHON_DEPS}
101 dev-python/pygobject:3[${PYTHON_USEDEP}]
102
103 dev-libs/dbus-glib
104 dev-libs/libxml2:2
105 gnome-base/librsvg
106 media-libs/libcanberra[gtk3]
107 media-libs/mesa
108 >=media-sound/pulseaudio-2
109 >=net-libs/libsoup-2.40:2.4[introspection]
110 x11-libs/libX11
111 x11-libs/gdk-pixbuf:2[introspection]
112 x11-libs/pango[introspection]
113 x11-apps/mesa-progs
114
115 bluetooth? ( >=net-wireless/gnome-bluetooth-3.9[introspection] )
116 networkmanager? (
117 app-crypt/libsecret
118 >=net-misc/networkmanager-0.9.8[introspection] )
119 "
120 # Runtime-only deps are probably incomplete and approximate.
121 # Introspection deps generated using:
122 # grep -roe "imports.gi.*" gnome-shell-* | cut -f2 -d: | sort | uniq
123 # Each block:
124 # 1. Pull in polkit-0.101 for pretty authorization dialogs
125 # 2. Introspection stuff needed via imports.gi.*
126 # 3. gnome-session is needed for gnome-session-quit
127 # 4. Control shell settings
128 # 5. Systemd needed for suspending support
129 # 6. xdg-utils needed for xdg-open, used by extension tool
130 # 7. gnome-icon-theme-symbolic and dejavu font neeed for various icons & arrows
131 # 8. IBus is needed for i18n integration
132 # 9. mobile-broadband-provider-info, timezone-data for shell-mobile-providers.c
133 RDEPEND="${COMMON_DEPEND}
134 >=sys-auth/polkit-0.101[introspection]
135
136 >=app-accessibility/caribou-0.4.8
137 >=gnome-base/gdm-3.5[introspection]
138 >=gnome-base/libgnomekbd-2.91.4[introspection]
139 media-libs/cogl[introspection]
140 >=sys-apps/accountsservice-0.6.14[introspection]
141 sys-power/upower[introspection]
142
143 >=gnome-base/gnome-session-2.91.91
144 >=gnome-base/gnome-settings-daemon-3.8.3
145 >=gnome-base/gnome-control-center-3.8.3[bluetooth(+)?]
146
147 !openrc-force? ( >=sys-apps/systemd-31 )
148
149 x11-misc/xdg-utils
150
151 media-fonts/dejavu
152 x11-themes/gnome-icon-theme-symbolic
153
154 i18n? ( >=app-i18n/ibus-1.4.99[dconf(+),gtk3,introspection] )
155 networkmanager? (
156 net-misc/mobile-broadband-provider-info
157 sys-libs/timezone-data )
158 "
159 DEPEND="${COMMON_DEPEND}
160 dev-libs/libxslt
161 >=dev-util/gtk-doc-am-1.17
162 >=dev-util/intltool-0.40
163 gnome-base/gnome-common
164 virtual/pkgconfig
165 !!=dev-lang/spidermonkey-1.8.2*
166 "
167 # libmozjs.so is picked up from /usr/lib while compiling, so block at build-time
168 # https://bugs.gentoo.org/show_bug.cgi?id=360413
169
170 src_prepare() {
171 # Change favorites defaults, bug #479918
172 epatch "${FILESDIR}/${PN}-defaults.patch"
173
174 # Fix automagic gnome-bluetooth dep, bug #398145
175 epatch "${FILESDIR}/${PN}-3.12-bluetooth-flag.patch"
176
177 # Fix silent bluetooth linking failure with ld.gold, bug #503952
178 # https://bugzilla.gnome.org/show_bug.cgi?id=726435
179 epatch "${FILESDIR}/${PN}-3.10.4-bluetooth-gold.patch"
180
181 epatch_user
182
183 eautoreconf
184 gnome2_src_prepare
185 }
186
187 src_configure() {
188 # Do not error out on warnings
189 gnome2_src_configure \
190 --enable-browser-plugin \
191 --enable-man \
192 $(use_enable !openrc-force systemd) \
193 $(use_with bluetooth) \
194 $(use_enable networkmanager) \
195 BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins
196 }
197
198 src_install() {
199 gnome2_src_install
200 python_replicate_script "${ED}/usr/bin/gnome-shell-extension-tool"
201 python_replicate_script "${ED}/usr/bin/gnome-shell-perf-tool"
202
203 # Required for gnome-shell on hardened/PaX, bug #398941
204 # Future-proof for >=spidermonkey-1.8.7 following polkit's example
205 if has_version '<dev-lang/spidermonkey-1.8.7'; then
206 pax-mark mr "${ED}usr/bin/gnome-shell"
207 elif has_version '>=dev-lang/spidermonkey-1.8.7[jit]'; then
208 pax-mark m "${ED}usr/bin/gnome-shell"
209 fi
210 # Required for gnome-shell on hardened/PaX #457146 and #457194
211 # PaX EMUTRAMP need to be on
212 if has_version '>=dev-libs/libffi-3.0.13[pax_kernel]'; then
213 pax-mark E "${ED}usr/bin/gnome-shell"
214 fi
215 }
216
217 pkg_postinst() {
218 gnome2_pkg_postinst
219
220 if ! has_version 'media-libs/gst-plugins-good:1.0' || \
221 ! has_version 'media-plugins/gst-plugins-vpx:1.0'; then
222 ewarn "To make use of GNOME Shell's built-in screen recording utility,"
223 ewarn "you need to either install media-libs/gst-plugins-good:1.0"
224 ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change"
225 ewarn "apps.gnome-shell.recorder/pipeline to what you want to use."
226 fi
227
228 if ! has_version ">=x11-base/xorg-server-1.11"; then
229 ewarn "If you use multiple screens, it is highly recommended that you"
230 ewarn "upgrade to >=x11-base/xorg-server-1.11 to be able to make use of"
231 ewarn "pointer barriers which will make it easier to use hot corners."
232 fi
233
234 if has_version "<x11-drivers/ati-drivers-12"; then
235 ewarn "GNOME Shell has been reported to show graphical corruption under"
236 ewarn "x11-drivers/ati-drivers-11.*; you may want to switch to open-source"
237 ewarn "drivers."
238 fi
239
240 if has_version "media-libs/mesa[video_cards_radeon]" ||
241 has_version "media-libs/mesa[video_cards_r300]" ||
242 has_version "media-libs/mesa[video_cards_r600]"; then
243 elog "GNOME Shell is unstable under classic-mode r300/r600 mesa drivers."
244 elog "Make sure that gallium architecture for r300 and r600 drivers is"
245 elog "selected using 'eselect mesa'."
246 if ! has_version "media-libs/mesa[gallium]"; then
247 ewarn "You will need to emerge media-libs/mesa with USE=gallium."
248 fi
249 fi
250
251 if ! has_version "media-libs/mesa[llvm]"; then
252 elog "llvmpipe is used as fallback when no 3D acceleration"
253 elog "is available. You will need to enable llvm USE for"
254 elog "media-libs/mesa."
255 fi
256
257 if ! systemd_is_booted; then
258 ewarn "${PN} needs Systemd to be *running* for working"
259 ewarn "properly. Please follow this guide to migrate:"
260 ewarn "http://wiki.gentoo.org/wiki/Systemd"
261 fi
262
263 if use openrc-force; then
264 ewarn "You are enabling 'openrc-force' USE flag to skip systemd requirement,"
265 ewarn "this can lead to unexpected problems and is not supported neither by"
266 ewarn "upstream neither by Gnome Gentoo maintainers. If you suffer any problem,"
267 ewarn "you will need to disable this USE flag system wide and retest before"
268 ewarn "opening any bug report."
269 fi
270 }