Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/gnome-shell/
Date: Sat, 02 Jul 2016 13:31:20
Message-Id: 1467466230.431be52b8ff52227a1327460551ef8c40d0753ca.pacho@gentoo
1 commit: 431be52b8ff52227a1327460551ef8c40d0753ca
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 2 10:52:42 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 2 13:30:30 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=431be52b
7
8 gnome-base/gnome-shell: Version bump
9
10 Package-Manager: portage-2.3.0_rc1
11
12 gnome-base/gnome-shell/Manifest | 1 +
13 gnome-base/gnome-shell/gnome-shell-3.20.3.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 8e5dde7..eeaaef3 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.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
25 diff --git a/gnome-base/gnome-shell/gnome-shell-3.20.3.ebuild b/gnome-base/gnome-shell/gnome-shell-3.20.3.ebuild
26 new file mode 100644
27 index 0000000..d0f6ce5
28 --- /dev/null
29 +++ b/gnome-base/gnome-shell/gnome-shell-3.20.3.ebuild
30 @@ -0,0 +1,218 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=6
36 +GNOME2_LA_PUNT="yes"
37 +PYTHON_COMPAT=( python{3_3,3_4,3_5} )
38 +
39 +inherit autotools eutils gnome2 multilib pax-utils python-r1 systemd
40 +
41 +DESCRIPTION="Provides core UI functions for the GNOME 3 desktop"
42 +HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell"
43 +
44 +LICENSE="GPL-2+ LGPL-2+"
45 +SLOT="0"
46 +IUSE="+bluetooth +networkmanager +nls -openrc-force"
47 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
48 +
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.19.2
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.20.2[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/adwaita-icon-theme-3.19.90
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 + eapply "${FILESDIR}"/${PN}-3.14.0-defaults.patch
156 +
157 + # Fix automagic gnome-bluetooth dep, bug #398145
158 + eapply "${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 + # This shouldn't be needed per upstream
163 +# epatch "${FILESDIR}"/${PN}-3.14.0-bluetooth-gold.patch
164 +
165 + eautoreconf
166 + gnome2_src_prepare
167 +}
168 +
169 +src_configure() {
170 + # Do not error out on warnings
171 + gnome2_src_configure \
172 + --enable-browser-plugin \
173 + --enable-man \
174 + $(use_enable !openrc-force systemd) \
175 + $(use_with bluetooth) \
176 + $(use_enable networkmanager) \
177 + BROWSER_PLUGIN_DIR="${EPREFIX}"/usr/$(get_libdir)/nsbrowser/plugins
178 +}
179 +
180 +src_install() {
181 + gnome2_src_install
182 + python_replicate_script "${ED}/usr/bin/gnome-shell-extension-tool"
183 + python_replicate_script "${ED}/usr/bin/gnome-shell-perf-tool"
184 +
185 + # Required for gnome-shell on hardened/PaX, bug #398941
186 + # Future-proof for >=spidermonkey-1.8.7 following polkit's example
187 + if has_version '<dev-lang/spidermonkey-1.8.7'; then
188 + pax-mark mr "${ED}usr/bin/gnome-shell"{,-extension-prefs}
189 + elif has_version '>=dev-lang/spidermonkey-1.8.7[jit]'; then
190 + pax-mark m "${ED}usr/bin/gnome-shell"{,-extension-prefs}
191 + # Required for gnome-shell on hardened/PaX #457146 and #457194
192 + # PaX EMUTRAMP need to be on
193 + elif has_version '>=dev-libs/libffi-3.0.13[pax_kernel]'; then
194 + pax-mark E "${ED}usr/bin/gnome-shell"{,-extension-prefs}
195 + else
196 + pax-mark m "${ED}usr/bin/gnome-shell"{,-extension-prefs}
197 + fi
198 +}
199 +
200 +pkg_postinst() {
201 + gnome2_pkg_postinst
202 +
203 + if ! has_version 'media-libs/gst-plugins-good:1.0' || \
204 + ! has_version 'media-plugins/gst-plugins-vpx:1.0'; then
205 + ewarn "To make use of GNOME Shell's built-in screen recording utility,"
206 + ewarn "you need to either install media-libs/gst-plugins-good:1.0"
207 + ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change"
208 + ewarn "apps.gnome-shell.recorder/pipeline to what you want to use."
209 + fi
210 +
211 + if ! has_version ">=x11-base/xorg-server-1.11"; then
212 + ewarn "If you use multiple screens, it is highly recommended that you"
213 + ewarn "upgrade to >=x11-base/xorg-server-1.11 to be able to make use of"
214 + ewarn "pointer barriers which will make it easier to use hot corners."
215 + fi
216 +
217 + if has_version "<x11-drivers/ati-drivers-12"; then
218 + ewarn "GNOME Shell has been reported to show graphical corruption under"
219 + ewarn "x11-drivers/ati-drivers-11.*; you may want to switch to open-source"
220 + ewarn "drivers."
221 + fi
222 +
223 + if ! has_version "media-libs/mesa[llvm]"; then
224 + elog "llvmpipe is used as fallback when no 3D acceleration"
225 + elog "is available. You will need to enable llvm USE for"
226 + elog "media-libs/mesa."
227 + fi
228 +
229 + # https://bugs.gentoo.org/show_bug.cgi?id=563084
230 + if has_version "x11-drivers/nvidia-drivers[-kms]"; then
231 + ewarn "You will need to enable kms support in x11-drivers/nvidia-drivers,"
232 + ewarn "otherwise Gnome will fail to start"
233 + fi
234 +
235 + if ! systemd_is_booted; then
236 + ewarn "${PN} needs Systemd to be *running* for working"
237 + ewarn "properly. Please follow this guide to migrate:"
238 + ewarn "https://wiki.gentoo.org/wiki/Systemd"
239 + fi
240 +
241 + if use openrc-force; then
242 + ewarn "You are enabling 'openrc-force' USE flag to skip systemd requirement,"
243 + ewarn "this can lead to unexpected problems and is not supported neither by"
244 + ewarn "upstream neither by Gnome Gentoo maintainers. If you suffer any problem,"
245 + ewarn "you will need to disable this USE flag system wide and retest before"
246 + ewarn "opening any bug report."
247 + fi
248 +}