Gentoo Archives: gentoo-commits

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