Gentoo Archives: gentoo-commits

From: Remi Cardona <remi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/gnome-shell/
Date: Mon, 07 Mar 2016 23:10:20
Message-Id: 1457392191.b58daf28e8927dd149db2f99d7f1a8a9f382f9b4.remi@gentoo
1 commit: b58daf28e8927dd149db2f99d7f1a8a9f382f9b4
2 Author: RĂ©mi Cardona <remi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 7 23:07:56 2016 +0000
4 Commit: Remi Cardona <remi <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 7 23:09:51 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b58daf28
7
8 gnome-base/gnome-shell: bump to 3.18.4
9
10 Package-Manager: portage-2.2.27
11
12 gnome-base/gnome-shell/Manifest | 1 +
13 gnome-base/gnome-shell/gnome-shell-3.18.4.ebuild | 219 +++++++++++++++++++++++
14 2 files changed, 220 insertions(+)
15
16 diff --git a/gnome-base/gnome-shell/Manifest b/gnome-base/gnome-shell/Manifest
17 index 81ce8e8..7356d5a 100644
18 --- a/gnome-base/gnome-shell/Manifest
19 +++ b/gnome-base/gnome-shell/Manifest
20 @@ -1,2 +1,3 @@
21 DIST gnome-shell-3.16.4.tar.xz 1579292 SHA256 37bc440a2c5bed6cbd095ddb95a488cb67ef0e1d17153bc87635ce4120d917a9 SHA512 73e8abaa951a0b3ae08721cca8af6eab1e51be375aa25e8a7497baff748856e20eb478cd768b4d3770b9daff0183520b20e1e3e7d889c6a6ebabc1a45c114239 WHIRLPOOL dec8aaf665c32e31e7203037456c0e861d172519a2fe9475732b3db47038a2bf88ea15846fe6497453ac8db4badbd0cf2cbf5b804392e3a5ca3b37857c7dacae
22 DIST gnome-shell-3.18.3.tar.xz 1590348 SHA256 8517baf8606f970ebf38222411eb7563cab2ae5efbfb088954ce23705b67519b SHA512 4856542320d83209b54cfe8941a818396d8941bb120dc66742a977891d9b0d0bea6f0fa2a3925508db34d6783bbab71366c2ad03a3d0db35b49f84abd62b69e3 WHIRLPOOL cc71848a50f6495a662738c731b5ae517d0e5bf0dce2232395b53402eb97de482f612de25d8ddf313d7aae417c528a884bd44969e41aff92896631ab2091773d
23 +DIST gnome-shell-3.18.4.tar.xz 1591644 SHA256 d959c0aae4c10b194d1fa29e89d34d73a4d35d74f384bf604d78435bf9ced5d7 SHA512 ae25eba79e327655326c593d4837a46561077e5e4f777eac84d57ef43a1162a8508cd865ce72a57ceafed8c497b7ac852112530cb2aeca103285f2316c0c90e7 WHIRLPOOL a5a9933dfe0b6f5682465dce7b2a41faf0dfde7072876228f073ffed6021ac42f40ced62656fc90c6923c0984d27f11513a3fc0f2feb1548ecc2973e87bcd038
24
25 diff --git a/gnome-base/gnome-shell/gnome-shell-3.18.4.ebuild b/gnome-base/gnome-shell/gnome-shell-3.18.4.ebuild
26 new file mode 100644
27 index 0000000..0e6be49
28 --- /dev/null
29 +++ b/gnome-base/gnome-shell/gnome-shell-3.18.4.ebuild
30 @@ -0,0 +1,219 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI="5"
36 +GCONF_DEBUG="no"
37 +GNOME2_LA_PUNT="yes"
38 +PYTHON_COMPAT=( python{3_3,3_4,3_5} )
39 +
40 +inherit autotools eutils gnome2 multilib pax-utils python-r1 systemd
41 +
42 +DESCRIPTION="Provides core UI functions for the GNOME 3 desktop"
43 +HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell"
44 +
45 +LICENSE="GPL-2+ LGPL-2+"
46 +SLOT="0"
47 +IUSE="+bluetooth +networkmanager +nls -openrc-force"
48 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
49 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
50 +
51 +# libXfixes-5.0 needed for pointer barriers
52 +# FIXME:
53 +# * gstreamer support is currently automagic
54 +COMMON_DEPEND="
55 + >=app-accessibility/at-spi2-atk-2.5.3
56 + >=dev-libs/atk-2[introspection]
57 + >=app-crypt/gcr-3.7.5[introspection]
58 + >=dev-libs/glib-2.45.3:2[dbus]
59 + >=dev-libs/gjs-1.39
60 + >=dev-libs/gobject-introspection-1.45.4:=
61 + dev-libs/libical:=
62 + >=x11-libs/gtk+-3.15.0:3[introspection]
63 + >=media-libs/clutter-1.21.5:1.0[introspection]
64 + >=dev-libs/json-glib-0.13.2
65 + >=dev-libs/libcroco-0.6.8:0.6
66 + >=gnome-base/gnome-desktop-3.7.90:3=[introspection]
67 + >=gnome-base/gsettings-desktop-schemas-3.14
68 + >=gnome-base/gnome-keyring-3.3.90
69 + gnome-base/libgnome-keyring
70 + >=gnome-extra/evolution-data-server-3.17.2:=
71 + >=media-libs/gstreamer-0.11.92:1.0
72 + >=net-im/telepathy-logger-0.2.4[introspection]
73 + >=net-libs/telepathy-glib-0.19[introspection]
74 + >=sys-auth/polkit-0.100[introspection]
75 + >=x11-libs/libXfixes-5.0
76 + x11-libs/libXtst
77 + >=x11-wm/mutter-3.18.1[introspection]
78 + >=x11-libs/startup-notification-0.11
79 +
80 + ${PYTHON_DEPS}
81 + dev-python/pygobject:3[${PYTHON_USEDEP}]
82 +
83 + dev-libs/dbus-glib
84 + dev-libs/libxml2:2
85 + gnome-base/librsvg
86 + media-libs/libcanberra[gtk3]
87 + media-libs/mesa
88 + >=media-sound/pulseaudio-2
89 + >=net-libs/libsoup-2.40:2.4[introspection]
90 + x11-libs/libX11
91 + x11-libs/gdk-pixbuf:2[introspection]
92 + x11-libs/pango[introspection]
93 + x11-apps/mesa-progs
94 +
95 + bluetooth? ( >=net-wireless/gnome-bluetooth-3.9[introspection] )
96 + networkmanager? (
97 + app-crypt/libsecret
98 + >=gnome-extra/nm-applet-0.9.8
99 + >=net-misc/networkmanager-0.9.8[introspection] )
100 +"
101 +# Runtime-only deps are probably incomplete and approximate.
102 +# Introspection deps generated using:
103 +# grep -roe "imports.gi.*" gnome-shell-* | cut -f2 -d: | sort | uniq
104 +# Each block:
105 +# 1. Pull in polkit-0.101 for pretty authorization dialogs
106 +# 2. Introspection stuff needed via imports.gi.*
107 +# 3. gnome-session is needed for gnome-session-quit
108 +# 4. Control shell settings
109 +# 5. Systemd needed for suspending support
110 +# 6. xdg-utils needed for xdg-open, used by extension tool
111 +# 7. gnome-icon-theme-symbolic and dejavu font neeed for various icons & arrows
112 +# 8. IBus is needed for nls integration
113 +# 9. mobile-broadband-provider-info, timezone-data for shell-mobile-providers.c
114 +RDEPEND="${COMMON_DEPEND}
115 + >=sys-auth/polkit-0.101[introspection]
116 +
117 + >=app-accessibility/caribou-0.4.8
118 + media-libs/cogl[introspection]
119 + >=sys-apps/accountsservice-0.6.14[introspection]
120 + >=sys-power/upower-0.99[introspection]
121 +
122 + >=gnome-base/gnome-session-2.91.91
123 + >=gnome-base/gnome-settings-daemon-3.8.3
124 +
125 + !openrc-force? ( >=sys-apps/systemd-31 )
126 +
127 + x11-misc/xdg-utils
128 +
129 + media-fonts/dejavu
130 + x11-themes/gnome-icon-theme-symbolic
131 +
132 + networkmanager? (
133 + net-misc/mobile-broadband-provider-info
134 + sys-libs/timezone-data )
135 + nls? ( >=app-i18n/ibus-1.4.99[dconf(+),gtk3,introspection] )
136 +"
137 +# avoid circular dependency, see bug #546134
138 +PDEPEND="
139 + >=gnome-base/gdm-3.5[introspection]
140 + >=gnome-base/gnome-control-center-3.8.3[bluetooth(+)?,networkmanager(+)?]
141 +"
142 +DEPEND="${COMMON_DEPEND}
143 + dev-libs/libxslt
144 + >=dev-util/gtk-doc-am-1.17
145 + >=dev-util/intltool-0.40
146 + gnome-base/gnome-common
147 + virtual/pkgconfig
148 + !!=dev-lang/spidermonkey-1.8.2*
149 +"
150 +# libmozjs.so is picked up from /usr/lib while compiling, so block at build-time
151 +# https://bugs.gentoo.org/show_bug.cgi?id=360413
152 +
153 +src_prepare() {
154 + # Change favorites defaults, bug #479918
155 + epatch "${FILESDIR}"/${PN}-3.14.0-defaults.patch
156 +
157 + # Fix automagic gnome-bluetooth dep, bug #398145
158 + epatch "${FILESDIR}"/${PN}-3.12-bluetooth-flag.patch
159 +
160 + # Fix silent bluetooth linking failure with ld.gold, bug #503952
161 + # https://bugzilla.gnome.org/show_bug.cgi?id=726435
162 + epatch "${FILESDIR}"/${PN}-3.14.0-bluetooth-gold.patch
163 +
164 + epatch_user
165 +
166 + eautoreconf
167 + gnome2_src_prepare
168 +}
169 +
170 +src_configure() {
171 + # Do not error out on warnings
172 + gnome2_src_configure \
173 + --enable-browser-plugin \
174 + --enable-man \
175 + $(use_enable !openrc-force systemd) \
176 + $(use_with bluetooth) \
177 + $(use_enable networkmanager) \
178 + BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins
179 +}
180 +
181 +src_install() {
182 + gnome2_src_install
183 + python_replicate_script "${ED}/usr/bin/gnome-shell-extension-tool"
184 + python_replicate_script "${ED}/usr/bin/gnome-shell-perf-tool"
185 +
186 + # Required for gnome-shell on hardened/PaX, bug #398941
187 + # Future-proof for >=spidermonkey-1.8.7 following polkit's example
188 + if has_version '<dev-lang/spidermonkey-1.8.7'; then
189 + pax-mark mr "${ED}usr/bin/gnome-shell"{,-extension-prefs}
190 + elif has_version '>=dev-lang/spidermonkey-1.8.7[jit]'; then
191 + pax-mark m "${ED}usr/bin/gnome-shell"{,-extension-prefs}
192 + # Required for gnome-shell on hardened/PaX #457146 and #457194
193 + # PaX EMUTRAMP need to be on
194 + elif has_version '>=dev-libs/libffi-3.0.13[pax_kernel]'; then
195 + pax-mark E "${ED}usr/bin/gnome-shell"{,-extension-prefs}
196 + else
197 + pax-mark m "${ED}usr/bin/gnome-shell"{,-extension-prefs}
198 + fi
199 +}
200 +
201 +pkg_postinst() {
202 + gnome2_pkg_postinst
203 +
204 + if ! has_version 'media-libs/gst-plugins-good:1.0' || \
205 + ! has_version 'media-plugins/gst-plugins-vpx:1.0'; then
206 + ewarn "To make use of GNOME Shell's built-in screen recording utility,"
207 + ewarn "you need to either install media-libs/gst-plugins-good:1.0"
208 + ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change"
209 + ewarn "apps.gnome-shell.recorder/pipeline to what you want to use."
210 + fi
211 +
212 + if ! has_version ">=x11-base/xorg-server-1.11"; then
213 + ewarn "If you use multiple screens, it is highly recommended that you"
214 + ewarn "upgrade to >=x11-base/xorg-server-1.11 to be able to make use of"
215 + ewarn "pointer barriers which will make it easier to use hot corners."
216 + fi
217 +
218 + if has_version "<x11-drivers/ati-drivers-12"; then
219 + ewarn "GNOME Shell has been reported to show graphical corruption under"
220 + ewarn "x11-drivers/ati-drivers-11.*; you may want to switch to open-source"
221 + ewarn "drivers."
222 + fi
223 +
224 + if ! has_version "media-libs/mesa[llvm]"; then
225 + elog "llvmpipe is used as fallback when no 3D acceleration"
226 + elog "is available. You will need to enable llvm USE for"
227 + elog "media-libs/mesa."
228 + fi
229 +
230 + # https://bugs.gentoo.org/show_bug.cgi?id=563084
231 + if has_version "x11-drivers/nvidia-drivers[-kms]"; then
232 + ewarn "You will need to enable kms support in x11-drivers/nvidia-drivers,"
233 + ewarn "otherwise Gnome will fail to start"
234 + fi
235 +
236 + if ! systemd_is_booted; then
237 + ewarn "${PN} needs Systemd to be *running* for working"
238 + ewarn "properly. Please follow this guide to migrate:"
239 + ewarn "https://wiki.gentoo.org/wiki/Systemd"
240 + fi
241 +
242 + if use openrc-force; then
243 + ewarn "You are enabling 'openrc-force' USE flag to skip systemd requirement,"
244 + ewarn "this can lead to unexpected problems and is not supported neither by"
245 + ewarn "upstream neither by Gnome Gentoo maintainers. If you suffer any problem,"
246 + ewarn "you will need to disable this USE flag system wide and retest before"
247 + ewarn "opening any bug report."
248 + fi
249 +}