1 |
commit: 9e6660b64b9f9e71af7be6c8679bb2b131c65917 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 27 21:39:53 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 27 21:39:53 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=9e6660b6 |
7 |
|
8 |
gnome-base/gnome-shell: remove, moved to ::gentoo |
9 |
|
10 |
.../files/3.26-optional-bluetooth.patch | 73 -------- |
11 |
.../files/gnome-shell-3.22.0-defaults.patch | 26 --- |
12 |
.../gnome-shell/gnome-shell-3.26.2-r4.ebuild | 186 --------------------- |
13 |
gnome-base/gnome-shell/metadata.xml | 24 --- |
14 |
4 files changed, 309 deletions(-) |
15 |
|
16 |
diff --git a/gnome-base/gnome-shell/files/3.26-optional-bluetooth.patch b/gnome-base/gnome-shell/files/3.26-optional-bluetooth.patch |
17 |
deleted file mode 100644 |
18 |
index 9f7e5aea..00000000 |
19 |
--- a/gnome-base/gnome-shell/files/3.26-optional-bluetooth.patch |
20 |
+++ /dev/null |
21 |
@@ -1,73 +0,0 @@ |
22 |
-From 7ca3e1a9d18e6f6154b4479bcd94d420bc69798c Mon Sep 17 00:00:00 2001 |
23 |
-From: Gilles Dartiguelongue <eva@g.o> |
24 |
-Date: Mon, 10 Sep 2018 13:17:39 +0200 |
25 |
-Subject: [PATCH] Make bluetooth support optional |
26 |
- |
27 |
-https://bugs.gentoo.org/show_bug.cgi?id=398145 |
28 |
-leio: Fixed enable_bluetooth get_option string |
29 |
---- |
30 |
- js/misc/meson.build | 2 +- |
31 |
- meson.build | 15 ++++++++++++++- |
32 |
- meson_options.txt | 7 +++++++ |
33 |
- 3 files changed, 22 insertions(+), 2 deletions(-) |
34 |
- |
35 |
-diff --git a/js/misc/meson.build b/js/misc/meson.build |
36 |
-index 20489496c..3071f9dfb 100644 |
37 |
---- a/js/misc/meson.build |
38 |
-+++ b/js/misc/meson.build |
39 |
-@@ -3,7 +3,7 @@ jsconf.set('PACKAGE_NAME', meson.project_name()) |
40 |
- jsconf.set('PACKAGE_VERSION', meson.project_version()) |
41 |
- jsconf.set('GETTEXT_PACKAGE', meson.project_name()) |
42 |
- jsconf.set('LIBMUTTER_API_VERSION', mutter_api_version) |
43 |
--jsconf.set10('HAVE_BLUETOOTH', bt_dep.found()) |
44 |
-+jsconf.set10('HAVE_BLUETOOTH', have_bluetooth) |
45 |
- jsconf.set10('HAVE_NETWORKMANAGER', have_networkmanager) |
46 |
- jsconf.set('datadir', datadir) |
47 |
- jsconf.set('libexecdir', libexecdir) |
48 |
-diff --git a/meson.build b/meson.build |
49 |
-index b82c41398..7d342ff61 100644 |
50 |
---- a/meson.build |
51 |
-+++ b/meson.build |
52 |
-@@ -91,7 +91,20 @@ startup_dep = dependency('libstartup-notification-1.0', version: startup_req) |
53 |
- x11_dep = dependency('x11') |
54 |
- schemas_dep = dependency('gsettings-desktop-schemas', version: schemas_req) |
55 |
- |
56 |
--bt_dep = dependency('gnome-bluetooth-1.0', version: bt_req, required: false) |
57 |
-+bt_dep = [] |
58 |
-+enable_bluetooth = get_option('enable-bluetooth') |
59 |
-+if enable_bluetooth != 'no' |
60 |
-+ want_bluetooth = enable_bluetooth == 'yes' |
61 |
-+ bt_dep = dependency('gnome-bluetooth-1.0', version: bt_req, required: want_bluetooth) |
62 |
-+ have_bluetooth = bt_dep.found() |
63 |
-+ |
64 |
-+ if not have_bluetooth |
65 |
-+ bt_dep = [] |
66 |
-+ endif |
67 |
-+else |
68 |
-+ have_bluetooth = false |
69 |
-+endif |
70 |
-+ |
71 |
- gst_dep = dependency('gstreamer-1.0', version: gst_req, required: false) |
72 |
- gst_base_dep = dependency('gstreamer-base-1.0', required: false) |
73 |
- |
74 |
-diff --git a/meson_options.txt b/meson_options.txt |
75 |
-index 18899ffdb..9191f8c0e 100644 |
76 |
---- a/meson_options.txt |
77 |
-+++ b/meson_options.txt |
78 |
-@@ -16,6 +16,13 @@ option('enable-man', |
79 |
- description: 'Generate man pages' |
80 |
- ) |
81 |
- |
82 |
-+option('enable-bluetooth', |
83 |
-+ type: 'combo', |
84 |
-+ choices: ['yes', 'no', 'auto'], |
85 |
-+ value: 'auto', |
86 |
-+ description: 'Enable bluetooth support' |
87 |
-+) |
88 |
-+ |
89 |
- option('enable-networkmanager', |
90 |
- type: 'combo', |
91 |
- choices: ['yes', 'no', 'auto'], |
92 |
--- |
93 |
-2.18.0 |
94 |
- |
95 |
|
96 |
diff --git a/gnome-base/gnome-shell/files/gnome-shell-3.22.0-defaults.patch b/gnome-base/gnome-shell/files/gnome-shell-3.22.0-defaults.patch |
97 |
deleted file mode 100644 |
98 |
index b80dbc3a..00000000 |
99 |
--- a/gnome-base/gnome-shell/files/gnome-shell-3.22.0-defaults.patch |
100 |
+++ /dev/null |
101 |
@@ -1,26 +0,0 @@ |
102 |
-From 7a671f99b7ef2d5f38be67668aac762764b32a42 Mon Sep 17 00:00:00 2001 |
103 |
-From: Gilles Dartiguelongue <eva@g.o> |
104 |
-Date: Tue, 10 Dec 2013 23:33:51 +0100 |
105 |
-Subject: [PATCH 1/2] Alter list of default applications |
106 |
- |
107 |
-Signed-off-by: Gilles Dartiguelongue <eva@g.o> |
108 |
---- |
109 |
- data/org.gnome.shell.gschema.xml.in | 2 +- |
110 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
111 |
- |
112 |
-diff --git a/data/org.gnome.shell.gschema.xml.in b/data/org.gnome.shell.gschema.xml.in |
113 |
-index c1e6b21..368c654 100644 |
114 |
---- a/data/org.gnome.shell.gschema.xml.in |
115 |
-+++ b/data/org.gnome.shell.gschema.xml.in |
116 |
-@@ -31,7 +31,7 @@ |
117 |
- </description> |
118 |
- </key> |
119 |
- <key name="favorite-apps" type="as"> |
120 |
-- <default>[ 'epiphany.desktop', 'evolution.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Software.desktop' ]</default> |
121 |
-+ <default>[ 'chromium-browser-chromium.desktop', 'firefox.desktop', 'firefox-bin.desktop', 'evolution.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Software.desktop' ]</default> |
122 |
- <summary>List of desktop file IDs for favorite applications</summary> |
123 |
- <description> |
124 |
- The applications corresponding to these identifiers |
125 |
--- |
126 |
-2.10.1 |
127 |
- |
128 |
|
129 |
diff --git a/gnome-base/gnome-shell/gnome-shell-3.26.2-r4.ebuild b/gnome-base/gnome-shell/gnome-shell-3.26.2-r4.ebuild |
130 |
deleted file mode 100644 |
131 |
index 91f301b9..00000000 |
132 |
--- a/gnome-base/gnome-shell/gnome-shell-3.26.2-r4.ebuild |
133 |
+++ /dev/null |
134 |
@@ -1,186 +0,0 @@ |
135 |
-# Copyright 1999-2018 Gentoo Foundation |
136 |
-# Distributed under the terms of the GNU General Public License v2 |
137 |
- |
138 |
-EAPI=6 |
139 |
-PYTHON_COMPAT=( python3_{4,5,6} ) |
140 |
- |
141 |
-inherit gnome.org gnome2-utils meson pax-utils python-single-r1 virtualx xdg |
142 |
- |
143 |
-DESCRIPTION="Provides core UI functions for the GNOME 3 desktop" |
144 |
-HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell" |
145 |
-SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${P}-patchset.tar.xz" |
146 |
- |
147 |
-LICENSE="GPL-2+ LGPL-2+" |
148 |
-SLOT="0" |
149 |
-IUSE="+bluetooth +browser-extension elogind +ibus +networkmanager nsplugin systemd telepathy" |
150 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
151 |
- ?? ( elogind systemd )" |
152 |
- |
153 |
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" |
154 |
- |
155 |
-# libXfixes-5.0 needed for pointer barriers and #include <X11/extensions/Xfixes.h> |
156 |
-# FIXME: |
157 |
-# * gstreamer support is currently automagic |
158 |
-COMMON_DEPEND=" |
159 |
- >=dev-libs/libcroco-0.6.8:0.6 |
160 |
- >=gnome-extra/evolution-data-server-3.17.2:= |
161 |
- >=app-crypt/gcr-3.7.5[introspection] |
162 |
- >=gnome-base/gnome-desktop-3.7.90:3=[introspection] |
163 |
- >=dev-libs/glib-2.53.0:2 |
164 |
- >=dev-libs/gobject-introspection-1.49.1:= |
165 |
- >=dev-libs/gjs-1.47.0 |
166 |
- >=x11-libs/gtk+-3.15.0:3[introspection] |
167 |
- nsplugin? ( >=dev-libs/json-glib-0.13.2 ) |
168 |
- >=x11-wm/mutter-3.24.0:0/1[introspection] |
169 |
- >=sys-auth/polkit-0.100[introspection] |
170 |
- >=gnome-base/gsettings-desktop-schemas-3.21.3 |
171 |
- >=x11-libs/startup-notification-0.11 |
172 |
- bluetooth? ( >=net-wireless/gnome-bluetooth-3.9[introspection] ) |
173 |
- >=media-libs/gstreamer-0.11.92:1.0 |
174 |
- networkmanager? ( |
175 |
- >=gnome-extra/nm-applet-0.9.8[introspection] |
176 |
- >=net-misc/networkmanager-0.9.8:=[introspection] |
177 |
- >=app-crypt/libsecret-0.18 |
178 |
- dev-libs/dbus-glib ) |
179 |
- systemd? ( >=sys-apps/systemd-31 ) |
180 |
- elogind? ( >=sys-auth/elogind-237 ) |
181 |
- |
182 |
- >=app-accessibility/at-spi2-atk-2.5.3 |
183 |
- media-libs/libcanberra[gtk3] |
184 |
- x11-libs/gdk-pixbuf:2[introspection] |
185 |
- dev-libs/libxml2:2 |
186 |
- >=net-libs/libsoup-2.40:2.4[introspection] |
187 |
- x11-libs/libX11 |
188 |
- |
189 |
- >=media-sound/pulseaudio-2[glib] |
190 |
- >=dev-libs/atk-2[introspection] |
191 |
- dev-libs/libical:= |
192 |
- >=x11-libs/libXfixes-5.0 |
193 |
- |
194 |
- ${PYTHON_DEPS} |
195 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
196 |
- media-libs/mesa |
197 |
-" |
198 |
-# Runtime-only deps are probably incomplete and approximate. |
199 |
-# Introspection deps generated using: |
200 |
-# grep -roe "imports.gi.*" gnome-shell-* | cut -f2 -d: | sort | uniq |
201 |
-# Each block: |
202 |
-# 1. Introspection stuff needed via imports.gi.* |
203 |
-# 2. gnome-session needed for shutdown/reboot/inhibitors/etc |
204 |
-# 3. Control shell settings |
205 |
-# 4. logind interface needed for suspending support |
206 |
-# 5. xdg-utils needed for xdg-open, used by extension tool |
207 |
-# 6. adwaita-icon-theme needed for various icons & arrows (3.26 for new video-joined-displays-symbolic and co icons; review for 3.28+) |
208 |
-# 7. mobile-broadband-provider-info, timezone-data for shell-mobile-providers.c # TODO: Review |
209 |
-# 8. IBus is needed for nls integration |
210 |
-# 9. Optional telepathy chat integration |
211 |
-# 10. TODO: semi-optional webkit-gtk[introspection] for captive portal helper |
212 |
-RDEPEND="${COMMON_DEPEND} |
213 |
- >=sys-apps/accountsservice-0.6.14[introspection] |
214 |
- app-accessibility/at-spi2-core:2[introspection] |
215 |
- >=app-accessibility/caribou-0.4.8 |
216 |
- app-misc/geoclue[introspection] |
217 |
- >=dev-libs/libgweather-3.26:2[introspection] |
218 |
- >=sys-power/upower-0.99:=[introspection] |
219 |
- x11-libs/pango[introspection] |
220 |
- gnome-base/librsvg:2[introspection] |
221 |
- |
222 |
- >=gnome-base/gnome-session-2.91.91 |
223 |
- >=gnome-base/gnome-settings-daemon-3.8.3 |
224 |
- |
225 |
- x11-misc/xdg-utils |
226 |
- |
227 |
- >=x11-themes/adwaita-icon-theme-3.26 |
228 |
- |
229 |
- networkmanager? ( |
230 |
- net-misc/mobile-broadband-provider-info |
231 |
- sys-libs/timezone-data ) |
232 |
- ibus? ( >=app-i18n/ibus-1.4.99[dconf(+),gtk,introspection] ) |
233 |
- telepathy? ( |
234 |
- >=net-im/telepathy-logger-0.2.4[introspection] |
235 |
- >=net-libs/telepathy-glib-0.19[introspection] ) |
236 |
-" |
237 |
-# avoid circular dependency, see bug #546134 |
238 |
-PDEPEND=" |
239 |
- >=gnome-base/gdm-3.5[introspection] |
240 |
- >=gnome-base/gnome-control-center-3.26[bluetooth(+)?,networkmanager(+)?] |
241 |
- browser-extension? ( gnome-extra/chrome-gnome-shell ) |
242 |
-" |
243 |
-DEPEND="${COMMON_DEPEND} |
244 |
- dev-libs/libxslt |
245 |
- >=dev-util/gdbus-codegen-2.45.3 |
246 |
- dev-util/glib-utils |
247 |
- >=sys-devel/gettext-0.19.6 |
248 |
- virtual/pkgconfig |
249 |
-" #gtk-doc? ( >=dev-util/gtk-doc-1.17 ) |
250 |
- |
251 |
-PATCHES=( |
252 |
- # Patches from gnome-3-26 branch on top of 3.26.2 |
253 |
- "${WORKDIR}"/patches/ |
254 |
- # Change favorites defaults, bug #479918 |
255 |
- "${FILESDIR}"/${PN}-3.22.0-defaults.patch |
256 |
- # Fix automagic gnome-bluetooth dep, bug #398145 |
257 |
- "${FILESDIR}"/3.26-optional-bluetooth.patch |
258 |
-) |
259 |
- |
260 |
-src_prepare() { |
261 |
- xdg_src_prepare |
262 |
- # We want nsplugins in /usr/$(get_libdir)/nsbrowser/plugins not .../mozilla/plugins |
263 |
- sed -e 's/mozilla/nsbrowser/' -i meson.build || die |
264 |
- # Hack in correct python shebang |
265 |
- sed -e "s:python\.path():'/usr/bin/env ${EPYTHON}':" -i src/meson.build || die |
266 |
-} |
267 |
- |
268 |
-src_configure() { |
269 |
- local emesonargs=( |
270 |
- $(meson_use nsplugin enable-browser-plugin) |
271 |
- #$(meson_use gtk-doc enable-documentation) # fails in gtkdoc-scangobj call with gtk-doc-1.25 (perl regex parenthesis issue); probably needs newer python-based gtk-doc to work |
272 |
- -Denable-man=true |
273 |
- -Denable-bluetooth=$(usex bluetooth yes no) |
274 |
- -Denable-networkmanager=$(usex networkmanager yes no) |
275 |
- -Denable-systemd=$(usex systemd yes no) # 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) |
276 |
- # suspend support is runtime optional via /run/systemd/seats presence and org.freedesktop.login1.Manager dbus interface; elogind should provide what's necessary |
277 |
- ) |
278 |
- meson_src_configure |
279 |
-} |
280 |
- |
281 |
-src_install() { |
282 |
- meson_src_install |
283 |
- |
284 |
- # Required for gnome-shell on hardened/PaX, bug #398941; FIXME: Is this still relevant? |
285 |
- pax-mark m "${ED}usr/bin/gnome-shell"{,-extension-prefs} |
286 |
-} |
287 |
- |
288 |
-src_test() { |
289 |
- virtx meson_src_test |
290 |
-} |
291 |
- |
292 |
-pkg_postinst() { |
293 |
- xdg_pkg_postinst |
294 |
- gnome2_schemas_update |
295 |
- |
296 |
- if ! has_version 'media-libs/gst-plugins-good:1.0' || \ |
297 |
- ! has_version 'media-plugins/gst-plugins-vpx:1.0'; then |
298 |
- ewarn "To make use of GNOME Shell's built-in screen recording utility," |
299 |
- ewarn "you need to either install media-libs/gst-plugins-good:1.0" |
300 |
- ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change" |
301 |
- ewarn "apps.gnome-shell.recorder/pipeline to what you want to use." |
302 |
- fi |
303 |
- |
304 |
- if ! has_version "media-libs/mesa[llvm]"; then |
305 |
- elog "llvmpipe is used as fallback when no 3D acceleration" |
306 |
- elog "is available. You will need to enable llvm USE for" |
307 |
- elog "media-libs/mesa if you do not have hardware 3D setup." |
308 |
- fi |
309 |
- |
310 |
- # https://bugs.gentoo.org/show_bug.cgi?id=563084 |
311 |
- if has_version "x11-drivers/nvidia-drivers[-kms]"; then |
312 |
- ewarn "You will need to enable kms support in x11-drivers/nvidia-drivers," |
313 |
- ewarn "otherwise Gnome will fail to start" |
314 |
- fi |
315 |
-} |
316 |
- |
317 |
-pkg_postrm() { |
318 |
- xdg_pkg_postrm |
319 |
- gnome2_schemas_update |
320 |
-} |
321 |
|
322 |
diff --git a/gnome-base/gnome-shell/metadata.xml b/gnome-base/gnome-shell/metadata.xml |
323 |
deleted file mode 100644 |
324 |
index 6f32c6fd..00000000 |
325 |
--- a/gnome-base/gnome-shell/metadata.xml |
326 |
+++ /dev/null |
327 |
@@ -1,24 +0,0 @@ |
328 |
-<?xml version="1.0" encoding="UTF-8"?> |
329 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
330 |
-<pkgmetadata> |
331 |
-<maintainer type="project"> |
332 |
- <email>gnome@g.o</email> |
333 |
- <name>Gentoo GNOME Desktop</name> |
334 |
-</maintainer> |
335 |
-<longdescription> |
336 |
- GNOME Shell provides core user interface functions for the GNOME 3 |
337 |
- desktop, like switching to windows and launching applications. |
338 |
- GNOME Shell takes advantage of the capabilities of modern graphics |
339 |
- hardware and introduces innovative user interface concepts to |
340 |
- provide a visually attractive and easy to use experience. |
341 |
-</longdescription> |
342 |
-<use> |
343 |
- <flag name="browser-extension">Ensure the presence of extensions.gnome.org |
344 |
- native connector <pkg>gnome-extra/chrome-gnome-shell</pkg></flag> |
345 |
- <flag name="elogind">Use <pkg>sys-auth/elogind</pkg> for session tracking |
346 |
- and suspend support.</flag> |
347 |
- <flag name="ibus">Enable support for enhanced input methods through |
348 |
- <pkg>app-i18n/ibus</pkg></flag> |
349 |
- <flag name="telepathy">Ensure presence of telepathy chat integration</flag> |
350 |
-</use> |
351 |
-</pkgmetadata> |