Gentoo Archives: gentoo-commits

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