Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/gnome-shell/, gnome-base/gnome-shell/files/
Date: Sat, 30 Mar 2019 22:33:52
Message-Id: 1553984806.aebd86e5f849893f8a0f00d38b9fd777cc1317a6.leio@gentoo
1 commit: aebd86e5f849893f8a0f00d38b9fd777cc1317a6
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 30 22:26:46 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 30 22:26:46 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aebd86e5
7
8 gnome-base/gnome-shell: remove old
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 gnome-base/gnome-shell/Manifest | 2 -
14 .../files/3.28.3-fix-gtk-doc-meson.patch | 59 -------
15 gnome-base/gnome-shell/gnome-shell-3.28.3.ebuild | 193 ---------------------
16 3 files changed, 254 deletions(-)
17
18 diff --git a/gnome-base/gnome-shell/Manifest b/gnome-base/gnome-shell/Manifest
19 index bea6c4afe6e..a99b75f076a 100644
20 --- a/gnome-base/gnome-shell/Manifest
21 +++ b/gnome-base/gnome-shell/Manifest
22 @@ -1,7 +1,5 @@
23 DIST gnome-shell-3.24.3.tar.xz 1982088 BLAKE2B 608b3e73d546dea543a23c31a64b03c32f35d118cd79fd0371a9e392377b4dd03bc16413443d643ed604a2fa81c2838939d92ef4c89a54469a8bd83dc9661f8f SHA512 369ed80b975369b79d4ac9b3f1fbd469fdde331e9079d09eeac6398a9b3c349b09f7570dfce1ed6e1cdfaf514b4b40c6038f34b6c3c7928470b2cd65b702ff15
24 DIST gnome-shell-3.26.2-patchset.tar.xz 55492 BLAKE2B 745b8549f7480b004f4df9b81508c94c9224f77a5a503f45dfda20105e9c305f8cae6ae5e420e597cea9f98899933bb19efd8cf0e9811dc35d0844a3c2920143 SHA512 93a730082e84807c23f4b7e390c2d0fb02d3666fc32241de02b3534cc271b160bd9a6a6a2e908ed5bdde91cef383c1e400b0f7cbf04ac104f7f9758218e635ed
25 DIST gnome-shell-3.26.2.tar.xz 1405580 BLAKE2B ccbb8ad374931335fdc6e752a7feedcba4fe2b61112404b62bc9711b1736216d46fd6e85c6f06439cae50af86a174359d7df0e111e8db6ffed567e91b4292b14 SHA512 0e13bc7abff2367d24ea748cd69a1879ff14a6755ef27d17cf20cef61bc6d15bf6e9d18362142a2d6462689f64eada833f9bba21ebaac3a33765a5be0ae48d3a
26 -DIST gnome-shell-3.28.3-patchset.tar.xz 30820 BLAKE2B 3402a1c455a5e9d028f6c15ea40db94afb84576643b9bfe9e973a7f375d9f0a22003eab3ccabec0b4b31c31f70ef02ca055c0f62a5c0392529fc375f6cef7029 SHA512 a1da84374dd97bff2546d6ddc5656bade69711d05b4b4f4283df66ebbac566767a509dcbd6db52c28a1915cf873c99b81029128cb2a2b63c325dc3e3340fffb4
27 -DIST gnome-shell-3.28.3.tar.xz 1433388 BLAKE2B 656e2edabef363d779fd339b7158ad3461a05452a2fdad611889d19f272cd98dfbbb39871d10631326b83108678f8a7245c349583eb257e9d7e4827078134ade SHA512 3550a9e59101a96cf04e4a4bc183ac9a447baa72d74e57c3f438764741b4365f8848895c1eb2c4d0af5c7936e38eb8971ef578bbee315e78b9fdcbbe49fdc1e8
28 DIST gnome-shell-3.30.2-patchset.tar.xz 39864 BLAKE2B 61c02e5ae87ab24f30d28865f4444f20e32fef63eefbfc1134bf0582eb25933700902aad08176fd2011781262552385bcb3ffaf35fc2d7a060c09ba0d27cb9a8 SHA512 8ad976c05488a6b7447d29105a566d0bb975c8e0798be18c1dc07295c51a27578274e611da4979397fc6c4da538f6d9f48072e043829a63faf87a781518ee531
29 DIST gnome-shell-3.30.2.tar.xz 1439556 BLAKE2B 547ccf5571ea431d15c6430619640bd497a381191cad56bbf1a5c9992c5df47eb48527cc2749ea4d417cbe5fd7cc2acb44915ee35d3d89cd386541f19d743877 SHA512 5cdf2b9a4dc9dbcc75d76020a01b953ae3922d5820b692d1bc1cf62daf1f00d04b95d6ec076920563f555115c4f4ad11a019e4523a353ef4dd2189a5240239c6
30
31 diff --git a/gnome-base/gnome-shell/files/3.28.3-fix-gtk-doc-meson.patch b/gnome-base/gnome-shell/files/3.28.3-fix-gtk-doc-meson.patch
32 deleted file mode 100644
33 index 9948b163009..00000000000
34 --- a/gnome-base/gnome-shell/files/3.28.3-fix-gtk-doc-meson.patch
35 +++ /dev/null
36 @@ -1,59 +0,0 @@
37 -From 9f4aa6ebf2193bb19dd8012de7699fce35681078 Mon Sep 17 00:00:00 2001
38 -From: Pascal Nowack <Pascal.Nowack@×××.de>
39 -Date: Mon, 6 Aug 2018 14:21:02 +0200
40 -Subject: [PATCH] build: Fix build with meson >= 47.0
41 -
42 -With meson >= 47.0, building gnome-shell will fail
43 -when --rebuild-types is used as an option for gtk-doc,
44 -so stop using that option and bump the meson requirement.
45 -
46 -https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/191
47 ----
48 - docs/reference/shell/meson.build | 3 +--
49 - docs/reference/st/meson.build | 3 +--
50 - meson.build | 2 +-
51 - 3 files changed, 3 insertions(+), 5 deletions(-)
52 -
53 -diff --git a/docs/reference/shell/meson.build b/docs/reference/shell/meson.build
54 -index 1469ed422..a32d6a58a 100644
55 ---- a/docs/reference/shell/meson.build
56 -+++ b/docs/reference/shell/meson.build
57 -@@ -50,8 +50,7 @@ gnome.gtkdoc('shell',
58 - join_paths(meson.build_root(), 'src')
59 - ],
60 - scan_args: [
61 -- '--ignore-headers=' + ' '.join(private_headers + exclude_directories),
62 -- '--rebuild-types'
63 -+ '--ignore-headers=' + ' '.join(private_headers + exclude_directories)
64 - ],
65 - install: true
66 - )
67 -diff --git a/docs/reference/st/meson.build b/docs/reference/st/meson.build
68 -index fe89b53d4..3e9e9ab7c 100644
69 ---- a/docs/reference/st/meson.build
70 -+++ b/docs/reference/st/meson.build
71 -@@ -17,8 +17,7 @@ gnome.gtkdoc('st',
72 - ],
73 - scan_args: [
74 - '--ignore-headers=' + ' '.join(private_headers),
75 -- '--rebuild-sections',
76 -- '--rebuild-types'
77 -+ '--rebuild-sections'
78 - ],
79 - install: true
80 - )
81 -diff --git a/meson.build b/meson.build
82 -index 03b9d52a8..e33a76183 100644
83 ---- a/meson.build
84 -+++ b/meson.build
85 -@@ -1,6 +1,6 @@
86 - project('gnome-shell', 'c',
87 - version: '3.28.3',
88 -- meson_version: '>= 0.42.0',
89 -+ meson_version: '>= 0.47.0',
90 - license: 'GPLv2+'
91 - )
92 -
93 ---
94 -2.17.0
95 -
96
97 diff --git a/gnome-base/gnome-shell/gnome-shell-3.28.3.ebuild b/gnome-base/gnome-shell/gnome-shell-3.28.3.ebuild
98 deleted file mode 100644
99 index 9931a77b08b..00000000000
100 --- a/gnome-base/gnome-shell/gnome-shell-3.28.3.ebuild
101 +++ /dev/null
102 @@ -1,193 +0,0 @@
103 -# Copyright 1999-2019 Gentoo Authors
104 -# Distributed under the terms of the GNU General Public License v2
105 -
106 -EAPI=6
107 -PYTHON_COMPAT=( python3_{4,5,6} )
108 -
109 -inherit gnome.org gnome2-utils meson pax-utils python-single-r1 virtualx xdg
110 -
111 -DESCRIPTION="Provides core UI functions for the GNOME 3 desktop"
112 -HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell"
113 -SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${P}-patchset.tar.xz"
114 -
115 -LICENSE="GPL-2+ LGPL-2+"
116 -SLOT="0"
117 -IUSE="+bluetooth +browser-extension elogind gtk-doc +ibus +networkmanager nsplugin systemd telepathy"
118 -REQUIRED_USE="${PYTHON_REQUIRED_USE}
119 - ?? ( elogind systemd )"
120 -
121 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
122 -
123 -# libXfixes-5.0 needed for pointer barriers and #include <X11/extensions/Xfixes.h>
124 -# FIXME:
125 -# * gstreamer support is currently automagic
126 -COMMON_DEPEND="
127 - >=dev-libs/libcroco-0.6.8:0.6
128 - >=gnome-extra/evolution-data-server-3.17.2:=
129 - >=app-crypt/gcr-3.7.5[introspection]
130 - >=gnome-base/gnome-desktop-3.7.90:3=[introspection]
131 - >=dev-libs/glib-2.56.0:2
132 - >=dev-libs/gobject-introspection-1.49.1:=
133 - >=dev-libs/gjs-1.47.0
134 - <dev-libs/gjs-1.53
135 - >=x11-libs/gtk+-3.15.0:3[introspection]
136 - nsplugin? ( >=dev-libs/json-glib-0.13.2 )
137 - >=x11-wm/mutter-3.28.0:0/2[introspection]
138 - >=sys-auth/polkit-0.100[introspection]
139 - >=gnome-base/gsettings-desktop-schemas-3.21.3
140 - >=x11-libs/startup-notification-0.11
141 - >=app-i18n/ibus-1.5.2
142 - bluetooth? ( >=net-wireless/gnome-bluetooth-3.9[introspection] )
143 - >=media-libs/gstreamer-0.11.92:1.0
144 - networkmanager? (
145 - >=net-misc/networkmanager-0.9.8:=[introspection]
146 - >=app-crypt/libsecret-0.18
147 - dev-libs/dbus-glib )
148 - systemd? ( >=sys-apps/systemd-31 )
149 - elogind? ( >=sys-auth/elogind-237 )
150 -
151 - >=app-accessibility/at-spi2-atk-2.5.3
152 - media-libs/libcanberra[gtk3]
153 - x11-libs/gdk-pixbuf:2[introspection]
154 - dev-libs/libxml2:2
155 - >=net-libs/libsoup-2.40:2.4[introspection]
156 - x11-libs/libX11
157 -
158 - >=media-sound/pulseaudio-2[glib]
159 - >=dev-libs/atk-2[introspection]
160 - dev-libs/libical:=
161 - >=x11-libs/libXfixes-5.0
162 -
163 - ${PYTHON_DEPS}
164 - dev-python/pygobject:3[${PYTHON_USEDEP}]
165 - media-libs/mesa
166 -"
167 -# Runtime-only deps are probably incomplete and approximate.
168 -# Introspection deps generated using:
169 -# grep -roe "imports.gi.*" gnome-shell-* | cut -f2 -d: | sort | uniq
170 -# Each block:
171 -# 1. Introspection stuff needed via imports.gi.*
172 -# 2. gnome-session needed for shutdown/reboot/inhibitors/etc
173 -# 3. Control shell settings
174 -# 4. logind interface needed for suspending support
175 -# 5. xdg-utils needed for xdg-open, used by extension tool
176 -# 6. adwaita-icon-theme needed for various icons & arrows (3.26 for new video-joined-displays-symbolic and co icons; review for 3.28+)
177 -# 7. mobile-broadband-provider-info, timezone-data for shell-mobile-providers.c # TODO: Review
178 -# 8. IBus is needed for nls integration
179 -# 9. Optional telepathy chat integration
180 -# 10. Cantarell font used in gnome-shell global CSS (if removing this for some reason, make sure it's pulled in somehow for non-meta users still too)
181 -# 11. TODO: semi-optional webkit-gtk[introspection] for captive portal helper
182 -RDEPEND="${COMMON_DEPEND}
183 - >=sys-apps/accountsservice-0.6.14[introspection]
184 - app-accessibility/at-spi2-core:2[introspection]
185 - app-misc/geoclue[introspection]
186 - >=dev-libs/libgweather-3.26:2[introspection]
187 - >=sys-power/upower-0.99:=[introspection]
188 - x11-libs/pango[introspection]
189 - gnome-base/librsvg:2[introspection]
190 -
191 - >=gnome-base/gnome-session-2.91.91
192 - >=gnome-base/gnome-settings-daemon-3.8.3
193 -
194 - x11-misc/xdg-utils
195 -
196 - >=x11-themes/adwaita-icon-theme-3.26
197 -
198 - networkmanager? (
199 - net-misc/mobile-broadband-provider-info
200 - sys-libs/timezone-data )
201 - ibus? ( >=app-i18n/ibus-1.4.99[dconf(+),gtk,introspection] )
202 - telepathy? (
203 - >=net-im/telepathy-logger-0.2.4[introspection]
204 - >=net-libs/telepathy-glib-0.19[introspection] )
205 - media-fonts/cantarell
206 -"
207 -# avoid circular dependency, see bug #546134
208 -PDEPEND="
209 - >=gnome-base/gdm-3.5[introspection]
210 - >=gnome-base/gnome-control-center-3.26[bluetooth(+)?,networkmanager(+)?]
211 - browser-extension? ( gnome-extra/chrome-gnome-shell )
212 -"
213 -DEPEND="${COMMON_DEPEND}
214 - dev-lang/sassc
215 - dev-libs/libxslt
216 - >=dev-util/gdbus-codegen-2.45.3
217 - dev-util/glib-utils
218 - gtk-doc? ( >=dev-util/gtk-doc-1.17 )
219 - >=sys-devel/gettext-0.19.8
220 - virtual/pkgconfig
221 -"
222 -
223 -PATCHES=(
224 - # Patches from gnome-3-28 branch on top of 3.28.3
225 - "${WORKDIR}"/patches/
226 - # Change favorites defaults, bug #479918
227 - "${FILESDIR}"/${PV}-defaults.patch
228 - # Fix automagic gnome-bluetooth dep, bug #398145
229 - "${FILESDIR}"/${PV}-optional-bluetooth.patch
230 - # Fix gtk-doc build with >=meson-0.47
231 - "${FILESDIR}"/${PV}-fix-gtk-doc-meson.patch
232 -)
233 -
234 -src_prepare() {
235 - xdg_src_prepare
236 - # We want nsplugins in /usr/$(get_libdir)/nsbrowser/plugins not .../mozilla/plugins
237 - sed -e 's/mozilla/nsbrowser/' -i meson.build || die
238 - # Hack in correct python shebang
239 - sed -e "s:python\.path():'/usr/bin/env ${EPYTHON}':" -i src/meson.build || die
240 -}
241 -
242 -src_configure() {
243 - local emesonargs=(
244 - $(meson_use bluetooth)
245 - $(meson_use nsplugin browser_plugin)
246 - $(meson_use gtk-doc gtk_doc)
247 - -Dman=true
248 - $(meson_use networkmanager)
249 - $(meson_use systemd) # this controls journald integration only as of 3.26.2 (structured logging and having gnome-shell launched apps use its own identifier instead of gnome-session)
250 - # suspend support is runtime optional via /run/systemd/seats presence and org.freedesktop.login1.Manager dbus interface; elogind should provide what's necessary
251 - )
252 - meson_src_configure
253 -}
254 -
255 -src_install() {
256 - meson_src_install
257 -
258 - # Required for gnome-shell on hardened/PaX, bug #398941; FIXME: Is this still relevant?
259 - pax-mark m "${ED}usr/bin/gnome-shell"{,-extension-prefs}
260 -}
261 -
262 -src_test() {
263 - virtx meson_src_test
264 -}
265 -
266 -pkg_postinst() {
267 - xdg_pkg_postinst
268 - gnome2_schemas_update
269 -
270 - if ! has_version 'media-libs/gst-plugins-good:1.0' || \
271 - ! has_version 'media-plugins/gst-plugins-vpx:1.0'; then
272 - ewarn "To make use of GNOME Shell's built-in screen recording utility,"
273 - ewarn "you need to either install media-libs/gst-plugins-good:1.0"
274 - ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change"
275 - ewarn "apps.gnome-shell.recorder/pipeline to what you want to use."
276 - fi
277 -
278 - if ! has_version "media-libs/mesa[llvm]"; then
279 - elog "llvmpipe is used as fallback when no 3D acceleration"
280 - elog "is available. You will need to enable llvm USE for"
281 - elog "media-libs/mesa if you do not have hardware 3D setup."
282 - fi
283 -
284 - # https://bugs.gentoo.org/show_bug.cgi?id=563084
285 - # TODO: Is this still the case after various fixed in 3.28 for detecting non-working KMS for wayland (to fall back to X)?
286 - if has_version "x11-drivers/nvidia-drivers[-kms]"; then
287 - ewarn "You will need to enable kms support in x11-drivers/nvidia-drivers,"
288 - ewarn "otherwise Gnome will fail to start"
289 - fi
290 -}
291 -
292 -pkg_postrm() {
293 - xdg_pkg_postrm
294 - gnome2_schemas_update
295 -}