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