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, 06 Sep 2016 23:15:19
Message-Id: 1473203682.13d78c0fca52de4bc0c5262fe63bc8b31eca8ca0.eva@gentoo
1 commit: 13d78c0fca52de4bc0c5262fe63bc8b31eca8ca0
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 6 23:07:50 2016 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 6 23:14:42 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13d78c0f
7
8 gnome-base/gnome-shell: version bump from 3.20.3 to 3.20.4
9
10 Package-Manager: portage-2.3.0
11
12 gnome-base/gnome-shell/Manifest | 1 +
13 gnome-base/gnome-shell/gnome-shell-3.20.4.ebuild | 218 +++++++++++++++++++++++
14 2 files changed, 219 insertions(+)
15
16 diff --git a/gnome-base/gnome-shell/Manifest b/gnome-base/gnome-shell/Manifest
17 index eeaaef3..98105d0 100644
18 --- a/gnome-base/gnome-shell/Manifest
19 +++ b/gnome-base/gnome-shell/Manifest
20 @@ -1,3 +1,4 @@
21 DIST gnome-shell-3.18.5.tar.xz 1591860 SHA256 6fc9cd8b43b1ca0669e1c5a9de092a67eea648e38585f0cdb960f08a16c6cb20 SHA512 0539e60afc5070b5ccc5f987411147f7dfd5a0be06cf63876259ae6a90762888d55304158fd888fd94fd2837aac6995aa0c8573391139b129b35393b19aecaa9 WHIRLPOOL 7a8dce9fa110bd6cf3400adc8a1b30e1ab50e7d46676ccf0f84ac72cba0c6a6eb1e01a3a531e1f524afdeeb2b9e035ba0fa52197b9c66c018feed71b5e8502e2
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
26 diff --git a/gnome-base/gnome-shell/gnome-shell-3.20.4.ebuild b/gnome-base/gnome-shell/gnome-shell-3.20.4.ebuild
27 new file mode 100644
28 index 00000000..9fe72c4
29 --- /dev/null
30 +++ b/gnome-base/gnome-shell/gnome-shell-3.20.4.ebuild
31 @@ -0,0 +1,218 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
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 +
50 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
51 +
52 +# libXfixes-5.0 needed for pointer barriers
53 +# FIXME:
54 +# * gstreamer support is currently automagic
55 +COMMON_DEPEND="
56 + >=app-accessibility/at-spi2-atk-2.5.3
57 + >=dev-libs/atk-2[introspection]
58 + >=app-crypt/gcr-3.7.5[introspection]
59 + >=dev-libs/glib-2.45.3:2[dbus]
60 + >=dev-libs/gjs-1.39
61 + >=dev-libs/gobject-introspection-1.45.4:=
62 + dev-libs/libical:=
63 + >=x11-libs/gtk+-3.15.0:3[introspection]
64 + >=media-libs/clutter-1.21.5:1.0[introspection]
65 + >=dev-libs/json-glib-0.13.2
66 + >=dev-libs/libcroco-0.6.8:0.6
67 + >=gnome-base/gnome-desktop-3.7.90:3=[introspection]
68 + >=gnome-base/gsettings-desktop-schemas-3.19.2
69 + >=gnome-base/gnome-keyring-3.3.90
70 + gnome-base/libgnome-keyring
71 + >=gnome-extra/evolution-data-server-3.17.2:=
72 + >=media-libs/gstreamer-0.11.92:1.0
73 + >=net-im/telepathy-logger-0.2.4[introspection]
74 + >=net-libs/telepathy-glib-0.19[introspection]
75 + >=sys-auth/polkit-0.100[introspection]
76 + >=x11-libs/libXfixes-5.0
77 + x11-libs/libXtst
78 + >=x11-wm/mutter-3.20.2[introspection]
79 + >=x11-libs/startup-notification-0.11
80 +
81 + ${PYTHON_DEPS}
82 + dev-python/pygobject:3[${PYTHON_USEDEP}]
83 +
84 + dev-libs/dbus-glib
85 + dev-libs/libxml2:2
86 + gnome-base/librsvg
87 + media-libs/libcanberra[gtk3]
88 + media-libs/mesa
89 + >=media-sound/pulseaudio-2
90 + >=net-libs/libsoup-2.40:2.4[introspection]
91 + x11-libs/libX11
92 + x11-libs/gdk-pixbuf:2[introspection]
93 + x11-libs/pango[introspection]
94 + x11-apps/mesa-progs
95 +
96 + bluetooth? ( >=net-wireless/gnome-bluetooth-3.9[introspection] )
97 + networkmanager? (
98 + app-crypt/libsecret
99 + >=gnome-extra/nm-applet-0.9.8
100 + >=net-misc/networkmanager-0.9.8:=[introspection] )
101 +"
102 +# Runtime-only deps are probably incomplete and approximate.
103 +# Introspection deps generated using:
104 +# grep -roe "imports.gi.*" gnome-shell-* | cut -f2 -d: | sort | uniq
105 +# Each block:
106 +# 1. Pull in polkit-0.101 for pretty authorization dialogs
107 +# 2. Introspection stuff needed via imports.gi.*
108 +# 3. gnome-session is needed for gnome-session-quit
109 +# 4. Control shell settings
110 +# 5. Systemd needed for suspending support
111 +# 6. xdg-utils needed for xdg-open, used by extension tool
112 +# 7. gnome-icon-theme-symbolic and dejavu font neeed for various icons & arrows
113 +# 8. IBus is needed for nls integration
114 +# 9. mobile-broadband-provider-info, timezone-data for shell-mobile-providers.c
115 +RDEPEND="${COMMON_DEPEND}
116 + >=sys-auth/polkit-0.101[introspection]
117 +
118 + >=app-accessibility/caribou-0.4.8
119 + media-libs/cogl[introspection]
120 + >=sys-apps/accountsservice-0.6.14[introspection]
121 + >=sys-power/upower-0.99:=[introspection]
122 +
123 + >=gnome-base/gnome-session-2.91.91
124 + >=gnome-base/gnome-settings-daemon-3.8.3
125 +
126 + !openrc-force? ( >=sys-apps/systemd-31 )
127 +
128 + x11-misc/xdg-utils
129 +
130 + media-fonts/dejavu
131 + >=x11-themes/adwaita-icon-theme-3.19.90
132 +
133 + networkmanager? (
134 + net-misc/mobile-broadband-provider-info
135 + sys-libs/timezone-data )
136 + nls? ( >=app-i18n/ibus-1.4.99[dconf(+),gtk3,introspection] )
137 +"
138 +# avoid circular dependency, see bug #546134
139 +PDEPEND="
140 + >=gnome-base/gdm-3.5[introspection]
141 + >=gnome-base/gnome-control-center-3.8.3[bluetooth(+)?,networkmanager(+)?]
142 +"
143 +DEPEND="${COMMON_DEPEND}
144 + dev-libs/libxslt
145 + >=dev-util/gtk-doc-am-1.17
146 + >=dev-util/intltool-0.40
147 + gnome-base/gnome-common
148 + virtual/pkgconfig
149 + !!=dev-lang/spidermonkey-1.8.2*
150 +"
151 +# libmozjs.so is picked up from /usr/lib while compiling, so block at build-time
152 +# https://bugs.gentoo.org/show_bug.cgi?id=360413
153 +
154 +src_prepare() {
155 + # Change favorites defaults, bug #479918
156 + eapply "${FILESDIR}"/${PN}-3.14.0-defaults.patch
157 +
158 + # Fix automagic gnome-bluetooth dep, bug #398145
159 + eapply "${FILESDIR}"/${PN}-3.12-bluetooth-flag.patch
160 +
161 + # Fix silent bluetooth linking failure with ld.gold, bug #503952
162 + # https://bugzilla.gnome.org/show_bug.cgi?id=726435
163 + # This shouldn't be needed per upstream
164 +# epatch "${FILESDIR}"/${PN}-3.14.0-bluetooth-gold.patch
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 +}