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