1 |
commit: a6c7879c731370c2ed78aebe2dae65a686cc4136 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 26 22:14:15 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 26 22:14:15 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=a6c7879c |
7 |
|
8 |
gnome-base/gnome-shell: remove old |
9 |
|
10 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
12 |
|
13 |
.../gnome-shell/files/3.26-bluetooth-flag.patch | 72 -------- |
14 |
.../files/gnome-shell-3.12-bluetooth-flag.patch | 50 ------ |
15 |
.../files/gnome-shell-3.14.0-bluetooth-gold.patch | 31 ---- |
16 |
.../files/gnome-shell-3.14.0-defaults.patch | 25 --- |
17 |
.../files/gnome-shell-3.20-fix-nvidia-crash.patch | 106 ----------- |
18 |
.../gnome-shell/gnome-shell-3.26.2-r2.ebuild | 194 --------------------- |
19 |
.../gnome-shell/gnome-shell-3.26.2-r3.ebuild | 183 ------------------- |
20 |
gnome-base/gnome-shell/metadata.xml | 4 - |
21 |
8 files changed, 665 deletions(-) |
22 |
|
23 |
diff --git a/gnome-base/gnome-shell/files/3.26-bluetooth-flag.patch b/gnome-base/gnome-shell/files/3.26-bluetooth-flag.patch |
24 |
deleted file mode 100644 |
25 |
index 65686954..00000000 |
26 |
--- a/gnome-base/gnome-shell/files/3.26-bluetooth-flag.patch |
27 |
+++ /dev/null |
28 |
@@ -1,72 +0,0 @@ |
29 |
-From 7ca3e1a9d18e6f6154b4479bcd94d420bc69798c Mon Sep 17 00:00:00 2001 |
30 |
-From: Gilles Dartiguelongue <eva@g.o> |
31 |
-Date: Mon, 10 Sep 2018 13:17:39 +0200 |
32 |
-Subject: [PATCH] Make bluetooth support optional |
33 |
- |
34 |
-https://bugs.gentoo.org/show_bug.cgi?id=398145 |
35 |
---- |
36 |
- js/misc/meson.build | 2 +- |
37 |
- meson.build | 15 ++++++++++++++- |
38 |
- meson_options.txt | 7 +++++++ |
39 |
- 3 files changed, 22 insertions(+), 2 deletions(-) |
40 |
- |
41 |
-diff --git a/js/misc/meson.build b/js/misc/meson.build |
42 |
-index 20489496c..3071f9dfb 100644 |
43 |
---- a/js/misc/meson.build |
44 |
-+++ b/js/misc/meson.build |
45 |
-@@ -3,7 +3,7 @@ jsconf.set('PACKAGE_NAME', meson.project_name()) |
46 |
- jsconf.set('PACKAGE_VERSION', meson.project_version()) |
47 |
- jsconf.set('GETTEXT_PACKAGE', meson.project_name()) |
48 |
- jsconf.set('LIBMUTTER_API_VERSION', mutter_api_version) |
49 |
--jsconf.set10('HAVE_BLUETOOTH', bt_dep.found()) |
50 |
-+jsconf.set10('HAVE_BLUETOOTH', have_bluetooth) |
51 |
- jsconf.set10('HAVE_NETWORKMANAGER', have_networkmanager) |
52 |
- jsconf.set('datadir', datadir) |
53 |
- jsconf.set('libexecdir', libexecdir) |
54 |
-diff --git a/meson.build b/meson.build |
55 |
-index b82c41398..7d342ff61 100644 |
56 |
---- a/meson.build |
57 |
-+++ b/meson.build |
58 |
-@@ -91,7 +91,20 @@ startup_dep = dependency('libstartup-notification-1.0', version: startup_req) |
59 |
- x11_dep = dependency('x11') |
60 |
- schemas_dep = dependency('gsettings-desktop-schemas', version: schemas_req) |
61 |
- |
62 |
--bt_dep = dependency('gnome-bluetooth-1.0', version: bt_req, required: false) |
63 |
-+bt_dep = [] |
64 |
-+enable_bluetooth = get_option('enable-networkmanager') |
65 |
-+if enable_bluetooth != 'no' |
66 |
-+ want_bluetooth = enable_bluetooth == 'yes' |
67 |
-+ bt_dep = dependency('gnome-bluetooth-1.0', version: bt_req, required: want_bluetooth) |
68 |
-+ have_bluetooth = bt_dep.found() |
69 |
-+ |
70 |
-+ if not have_bluetooth |
71 |
-+ bt_dep = [] |
72 |
-+ endif |
73 |
-+else |
74 |
-+ have_bluetooth = false |
75 |
-+endif |
76 |
-+ |
77 |
- gst_dep = dependency('gstreamer-1.0', version: gst_req, required: false) |
78 |
- gst_base_dep = dependency('gstreamer-base-1.0', required: false) |
79 |
- |
80 |
-diff --git a/meson_options.txt b/meson_options.txt |
81 |
-index 18899ffdb..9191f8c0e 100644 |
82 |
---- a/meson_options.txt |
83 |
-+++ b/meson_options.txt |
84 |
-@@ -16,6 +16,13 @@ option('enable-man', |
85 |
- description: 'Generate man pages' |
86 |
- ) |
87 |
- |
88 |
-+option('enable-bluetooth', |
89 |
-+ type: 'combo', |
90 |
-+ choices: ['yes', 'no', 'auto'], |
91 |
-+ value: 'auto', |
92 |
-+ description: 'Enable bluetooth support' |
93 |
-+) |
94 |
-+ |
95 |
- option('enable-networkmanager', |
96 |
- type: 'combo', |
97 |
- choices: ['yes', 'no', 'auto'], |
98 |
--- |
99 |
-2.18.0 |
100 |
- |
101 |
|
102 |
diff --git a/gnome-base/gnome-shell/files/gnome-shell-3.12-bluetooth-flag.patch b/gnome-base/gnome-shell/files/gnome-shell-3.12-bluetooth-flag.patch |
103 |
deleted file mode 100644 |
104 |
index 2fa93af2..00000000 |
105 |
--- a/gnome-base/gnome-shell/files/gnome-shell-3.12-bluetooth-flag.patch |
106 |
+++ /dev/null |
107 |
@@ -1,50 +0,0 @@ |
108 |
-From 3c9c3b19fcb212171036e1e57e749411b5fd7d65 Mon Sep 17 00:00:00 2001 |
109 |
-From: Sobhan Mohammadpour <sobhanmohammadpour1@×××××.fr> |
110 |
-Date: Thu, 28 Feb 2013 18:48:32 +0330 |
111 |
-Subject: [PATCH 2/3] Make bluetooth support optional |
112 |
- |
113 |
-https://bugs.gentoo.org/show_bug.cgi?id=398145 |
114 |
- |
115 |
-Ed Catmur 2012-01-08 13:46:22 UTC |
116 |
-libgnome-bluetooth-applet is a private library so they shouldn't be linking |
117 |
-against it anyway. I tried to work out how to tell libtool to add it to rpath |
118 |
-but got totally lost. |
119 |
- |
120 |
-I'll see if I can work out how to fix the automagic gnome-bluetooth dependency |
121 |
-so I can at least merge USE=-bluetooth. |
122 |
---- |
123 |
- configure.ac | 16 +++++++++++++--- |
124 |
- 1 file changed, 13 insertions(+), 3 deletions(-) |
125 |
- |
126 |
-diff --git a/configure.ac b/configure.ac |
127 |
-index 9a30e65..aa710f0 100644 |
128 |
---- a/configure.ac |
129 |
-+++ b/configure.ac |
130 |
-@@ -138,11 +138,21 @@ AS_IF([test x$enable_browser_plugin = xyes], [ |
131 |
- ]) |
132 |
- AM_CONDITIONAL(BUILD_BROWSER_PLUGIN, test x$enable_browser_plugin = xyes) |
133 |
- |
134 |
-+AC_MSG_CHECKING([for bluetooth support]) |
135 |
-+AC_ARG_WITH([bluetooth], |
136 |
-+ AS_HELP_STRING([--without-bluetooth], |
137 |
-+ [Build without gnome-bluetooth library (default: auto)])) |
138 |
-+AS_IF([test "x$with_bluetooth" != "xno"], [ |
139 |
- PKG_CHECK_MODULES(BLUETOOTH, gnome-bluetooth-1.0 >= 3.9.0, |
140 |
-- [AC_DEFINE([HAVE_BLUETOOTH],[1],[Define if you have libgnome-bluetooth-applet]) |
141 |
-- AC_SUBST([HAVE_BLUETOOTH],[1])], |
142 |
-+ [AC_DEFINE([HAVE_BLUETOOTH],[1],[Define if you have libgnome-bluetooth-applet]) |
143 |
-+ AC_SUBST([HAVE_BLUETOOTH],[1]) |
144 |
-+ AC_MSG_RESULT([yes])], |
145 |
- [AC_DEFINE([HAVE_BLUETOOTH],[0]) |
146 |
-- AC_SUBST([HAVE_BLUETOOTH],[0])]) |
147 |
-+ AC_SUBST([HAVE_BLUETOOTH],[0]) |
148 |
-+ AC_MSG_RESULT([no])]) |
149 |
-+], [AC_DEFINE([HAVE_BLUETOOTH],[0]) |
150 |
-+ AC_SUBST([HAVE_BLUETOOTH],[0]) |
151 |
-+ AC_MSG_RESULT([no])]) |
152 |
- |
153 |
- PKG_CHECK_MODULES(CALENDAR_SERVER, libecal-1.2 >= $LIBECAL_MIN_VERSION libedataserver-1.2 >= $LIBEDATASERVER_MIN_VERSION gio-2.0) |
154 |
- AC_SUBST(CALENDAR_SERVER_CFLAGS) |
155 |
--- |
156 |
-1.9.0 |
157 |
- |
158 |
|
159 |
diff --git a/gnome-base/gnome-shell/files/gnome-shell-3.14.0-bluetooth-gold.patch b/gnome-base/gnome-shell/files/gnome-shell-3.14.0-bluetooth-gold.patch |
160 |
deleted file mode 100644 |
161 |
index cc2b2e65..00000000 |
162 |
--- a/gnome-base/gnome-shell/files/gnome-shell-3.14.0-bluetooth-gold.patch |
163 |
+++ /dev/null |
164 |
@@ -1,31 +0,0 @@ |
165 |
-From 6b43368c9b10ba112e4272f66c507a0da9cf7e13 Mon Sep 17 00:00:00 2001 |
166 |
-From: Alexandre Rostovtsev <tetromino@g.o> |
167 |
-Date: Sat, 15 Mar 2014 17:48:41 -0400 |
168 |
-Subject: [PATCH 3/3] build: Add BLUETOOTH_LIBS to libgnome-shell's libadd for |
169 |
- ld.gold |
170 |
- |
171 |
-For ld.gold, adding BLUETOOTH_LIBS to gnome_shell_LDADD has no effect: |
172 |
-the libgnome-bluetooth-applet must be linked to the binary that actually |
173 |
-uses a function from libgnome-bluetooth-applet, i.e. to libgnome-shell. |
174 |
- |
175 |
-https://bugzilla.gnome.org/show_bug.cgi?id=726435 |
176 |
---- |
177 |
- src/Makefile.am | 2 +- |
178 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
179 |
- |
180 |
-diff --git a/src/Makefile.am b/src/Makefile.am |
181 |
-index a73eaae..c8fd46f 100644 |
182 |
---- a/src/Makefile.am |
183 |
-+++ b/src/Makefile.am |
184 |
-@@ -315,7 +315,7 @@ libgnome_shell_base_la_LIBADD = $(libgnome_shell_libadd) |
185 |
- libgnome_shell_base_la_CPPFLAGS = $(gnome_shell_cflags) |
186 |
- |
187 |
- libgnome_shell_la_LDFLAGS = $(libgnome_shell_ldflags) |
188 |
--libgnome_shell_la_LIBADD = $(GNOME_SHELL_LIBS) $(MUTTER_LIBS) libgnome-shell-base.la |
189 |
-+libgnome_shell_la_LIBADD = $(GNOME_SHELL_LIBS) $(MUTTER_LIBS) $(BLUETOOTH_LIBS) libgnome-shell-base.la |
190 |
- libgnome_shell_la_CPPFLAGS = $(MUTTER_CFLAGS) $(gnome_shell_cflags) |
191 |
- |
192 |
- ShellMenu-0.1.gir: libgnome-shell-menu.la |
193 |
--- |
194 |
-2.1.2 |
195 |
- |
196 |
|
197 |
diff --git a/gnome-base/gnome-shell/files/gnome-shell-3.14.0-defaults.patch b/gnome-base/gnome-shell/files/gnome-shell-3.14.0-defaults.patch |
198 |
deleted file mode 100644 |
199 |
index b6064225..00000000 |
200 |
--- a/gnome-base/gnome-shell/files/gnome-shell-3.14.0-defaults.patch |
201 |
+++ /dev/null |
202 |
@@ -1,25 +0,0 @@ |
203 |
-From 6b658660e822a550da55c735c826ec75b6c0efee Mon Sep 17 00:00:00 2001 |
204 |
-From: Gilles Dartiguelongue <eva@g.o> |
205 |
-Date: Tue, 10 Dec 2013 23:33:51 +0100 |
206 |
-Subject: [PATCH 1/3] Alter list of default applications |
207 |
- |
208 |
---- |
209 |
- data/org.gnome.shell.gschema.xml.in.in | 2 +- |
210 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
211 |
- |
212 |
-diff --git a/data/org.gnome.shell.gschema.xml.in.in b/data/org.gnome.shell.gschema.xml.in.in |
213 |
-index 92cef3f..9e783bb 100644 |
214 |
---- a/data/org.gnome.shell.gschema.xml.in.in |
215 |
-+++ b/data/org.gnome.shell.gschema.xml.in.in |
216 |
-@@ -31,7 +31,7 @@ |
217 |
- </_description> |
218 |
- </key> |
219 |
- <key name="favorite-apps" type="as"> |
220 |
-- <default>[ 'epiphany.desktop', 'evolution.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Software.desktop' ]</default> |
221 |
-+ <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> |
222 |
- <_summary>List of desktop file IDs for favorite applications</_summary> |
223 |
- <_description> |
224 |
- The applications corresponding to these identifiers |
225 |
--- |
226 |
-2.1.2 |
227 |
- |
228 |
|
229 |
diff --git a/gnome-base/gnome-shell/files/gnome-shell-3.20-fix-nvidia-crash.patch b/gnome-base/gnome-shell/files/gnome-shell-3.20-fix-nvidia-crash.patch |
230 |
deleted file mode 100644 |
231 |
index 19eda8e8..00000000 |
232 |
--- a/gnome-base/gnome-shell/files/gnome-shell-3.20-fix-nvidia-crash.patch |
233 |
+++ /dev/null |
234 |
@@ -1,106 +0,0 @@ |
235 |
-From 26d339b91744dab5135ee9ea1d46fda62448ad95 Mon Sep 17 00:00:00 2001 |
236 |
-From: Jan de Groot <jgc@×××××××××.org> |
237 |
-Date: Mon, 11 Apr 2016 14:00:33 +0000 |
238 |
-Subject: [PATCH] Initialize framebuffer objects early so clutter will not |
239 |
- abort a few operations later. |
240 |
- |
241 |
-Checking offscreen for COGL_INVALID_HANDLE is not sufficient, as cogl_offscreen_new_with_texture doesn't initialize framebuffer objects but lets Cogl solve this the lazy way. cogl_offscreen_new_with_texture will never return COGL_INVALID_HANDLE anyways. |
242 |
---- |
243 |
- src/st/st-theme-node-drawing.c | 35 +++++++++++++++++++++++------------ |
244 |
- src/st/st-theme-node-transition.c | 18 ++++++++++++++++-- |
245 |
- 2 files changed, 39 insertions(+), 14 deletions(-) |
246 |
- |
247 |
-diff --git a/src/st/st-theme-node-drawing.c b/src/st/st-theme-node-drawing.c |
248 |
-index 1f28ed9..4a6a234 100644 |
249 |
---- a/src/st/st-theme-node-drawing.c |
250 |
-+++ b/src/st/st-theme-node-drawing.c |
251 |
-@@ -2247,22 +2247,33 @@ st_theme_node_prerender_shadow (StThemeNodePaintState *state) |
252 |
- COGL_TEXTURE_NO_SLICING, |
253 |
- COGL_PIXEL_FORMAT_ANY); |
254 |
- if (buffer != COGL_INVALID_HANDLE) |
255 |
-- offscreen = cogl_offscreen_new_with_texture (buffer); |
256 |
-- |
257 |
-- if (offscreen != COGL_INVALID_HANDLE) |
258 |
- { |
259 |
-- ClutterActorBox box = { 0, 0, state->box_shadow_width, state->box_shadow_height}; |
260 |
-+ CoglError *error = NULL; |
261 |
-+ |
262 |
-+ offscreen = cogl_offscreen_new_with_texture (buffer); |
263 |
-+ |
264 |
-+ if (cogl_framebuffer_allocate (COGL_FRAMEBUFFER (offscreen), &error)) |
265 |
-+ { |
266 |
-+ ClutterActorBox box = { 0, 0, state->box_shadow_width, state->box_shadow_height}; |
267 |
-+ |
268 |
-+ cogl_framebuffer_orthographic (offscreen, 0, 0, |
269 |
-+ state->box_shadow_width, |
270 |
-+ state->box_shadow_height, 0, 1.0); |
271 |
-+ cogl_framebuffer_clear4f (offscreen, COGL_BUFFER_BIT_COLOR, 0, 0, 0, 0); |
272 |
- |
273 |
-- cogl_framebuffer_orthographic (offscreen, 0, 0, |
274 |
-- state->box_shadow_width, |
275 |
-- state->box_shadow_height, 0, 1.0); |
276 |
-- cogl_framebuffer_clear4f (offscreen, COGL_BUFFER_BIT_COLOR, 0, 0, 0, 0); |
277 |
-+ st_theme_node_paint_borders (state, offscreen, &box, 0xFF); |
278 |
- |
279 |
-- st_theme_node_paint_borders (state, offscreen, &box, 0xFF); |
280 |
-- cogl_handle_unref (offscreen); |
281 |
-+ cogl_handle_unref (offscreen); |
282 |
- |
283 |
-- state->box_shadow_pipeline = _st_create_shadow_pipeline (st_theme_node_get_box_shadow (node), |
284 |
-- buffer); |
285 |
-+ state->box_shadow_pipeline = _st_create_shadow_pipeline (st_theme_node_get_box_shadow (node), |
286 |
-+ buffer); |
287 |
-+ } |
288 |
-+ else |
289 |
-+ { |
290 |
-+ cogl_handle_unref (offscreen); |
291 |
-+ |
292 |
-+ cogl_error_free (error); |
293 |
-+ } |
294 |
- } |
295 |
- |
296 |
- if (buffer != COGL_INVALID_HANDLE) |
297 |
-diff --git a/src/st/st-theme-node-transition.c b/src/st/st-theme-node-transition.c |
298 |
-index 1eef17b..f3350a1 100644 |
299 |
---- a/src/st/st-theme-node-transition.c |
300 |
-+++ b/src/st/st-theme-node-transition.c |
301 |
-@@ -242,6 +242,8 @@ setup_framebuffers (StThemeNodeTransition *transition, |
302 |
- StThemeNodeTransitionPrivate *priv = transition->priv; |
303 |
- guint width, height; |
304 |
- |
305 |
-+ CoglError *catch_error = NULL; |
306 |
-+ |
307 |
- /* template material to avoid unnecessary shader compilation */ |
308 |
- static CoglHandle material_template = COGL_INVALID_HANDLE; |
309 |
- |
310 |
-@@ -269,13 +271,25 @@ setup_framebuffers (StThemeNodeTransition *transition, |
311 |
- if (priv->old_offscreen) |
312 |
- cogl_handle_unref (priv->old_offscreen); |
313 |
- priv->old_offscreen = cogl_offscreen_new_with_texture (priv->old_texture); |
314 |
-+ if (!cogl_framebuffer_allocate (COGL_FRAMEBUFFER (priv->old_offscreen), &catch_error)) |
315 |
-+ { |
316 |
-+ cogl_object_unref (priv->old_offscreen); |
317 |
-+ cogl_error_free (catch_error); |
318 |
-+ priv->old_offscreen = COGL_INVALID_HANDLE; |
319 |
-+ g_return_val_if_fail (priv->old_offscreen != COGL_INVALID_HANDLE, FALSE); |
320 |
-+ } |
321 |
- |
322 |
- if (priv->new_offscreen) |
323 |
- cogl_handle_unref (priv->new_offscreen); |
324 |
- priv->new_offscreen = cogl_offscreen_new_with_texture (priv->new_texture); |
325 |
- |
326 |
-- g_return_val_if_fail (priv->old_offscreen != COGL_INVALID_HANDLE, FALSE); |
327 |
-- g_return_val_if_fail (priv->new_offscreen != COGL_INVALID_HANDLE, FALSE); |
328 |
-+ if (!cogl_framebuffer_allocate (COGL_FRAMEBUFFER (priv->new_offscreen), &catch_error)) |
329 |
-+ { |
330 |
-+ cogl_object_unref (priv->new_offscreen); |
331 |
-+ cogl_error_free (catch_error); |
332 |
-+ priv->new_offscreen = COGL_INVALID_HANDLE; |
333 |
-+ g_return_val_if_fail (priv->new_offscreen != COGL_INVALID_HANDLE, FALSE); |
334 |
-+ } |
335 |
- |
336 |
- if (priv->material == NULL) |
337 |
- { |
338 |
--- |
339 |
-2.7.1 |
340 |
- |
341 |
|
342 |
diff --git a/gnome-base/gnome-shell/gnome-shell-3.26.2-r2.ebuild b/gnome-base/gnome-shell/gnome-shell-3.26.2-r2.ebuild |
343 |
deleted file mode 100644 |
344 |
index 84ff9806..00000000 |
345 |
--- a/gnome-base/gnome-shell/gnome-shell-3.26.2-r2.ebuild |
346 |
+++ /dev/null |
347 |
@@ -1,194 +0,0 @@ |
348 |
-# Copyright 1999-2018 Gentoo Foundation |
349 |
-# Distributed under the terms of the GNU General Public License v2 |
350 |
- |
351 |
-EAPI=6 |
352 |
-GNOME2_LA_PUNT="yes" |
353 |
-GNOME2_EAUTORECONF="yes" |
354 |
-PYTHON_COMPAT=( python3_{4,5,6} ) |
355 |
- |
356 |
-inherit gnome-meson multilib pax-utils python-r1 systemd virtualx |
357 |
- |
358 |
-DESCRIPTION="Provides core UI functions for the GNOME 3 desktop" |
359 |
-HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell" |
360 |
- |
361 |
-LICENSE="GPL-2+ LGPL-2+" |
362 |
-SLOT="0" |
363 |
-IUSE="+bluetooth +browser-extension +ibus +networkmanager nsplugin -openrc-force" |
364 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
365 |
- |
366 |
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" |
367 |
- |
368 |
-# libXfixes-5.0 needed for pointer barriers |
369 |
-# FIXME: |
370 |
-# * gstreamer support is currently automagic |
371 |
-COMMON_DEPEND=" |
372 |
- >=app-accessibility/at-spi2-atk-2.5.3 |
373 |
- >=dev-libs/atk-2[introspection] |
374 |
- >=app-crypt/gcr-3.7.5[introspection] |
375 |
- >=dev-libs/glib-2.53:2[dbus] |
376 |
- >=dev-libs/gjs-1.47.0 |
377 |
- >=dev-libs/gobject-introspection-1.49.1:= |
378 |
- dev-libs/libical:= |
379 |
- >=x11-libs/gtk+-3.15.0:3[introspection] |
380 |
- >=dev-libs/libcroco-0.6.8:0.6 |
381 |
- >=gnome-base/gnome-desktop-3.7.90:3=[introspection] |
382 |
- >=gnome-base/gsettings-desktop-schemas-3.21.3 |
383 |
- >=gnome-extra/evolution-data-server-3.17.2:= |
384 |
- >=media-libs/gstreamer-0.11.92:1.0 |
385 |
- >=net-im/telepathy-logger-0.2.4[introspection] |
386 |
- >=net-libs/telepathy-glib-0.19[introspection] |
387 |
- >=sys-auth/polkit-0.100[introspection] |
388 |
- >=x11-libs/libXfixes-5.0 |
389 |
- x11-libs/libXtst |
390 |
- >=x11-wm/mutter-3.26.0:0/0[introspection] |
391 |
- >=x11-libs/startup-notification-0.11 |
392 |
- |
393 |
- ${PYTHON_DEPS} |
394 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
395 |
- |
396 |
- dev-libs/dbus-glib |
397 |
- dev-libs/libxml2:2 |
398 |
- media-libs/libcanberra[gtk3] |
399 |
- media-libs/mesa |
400 |
- >=media-sound/pulseaudio-2 |
401 |
- >=net-libs/libsoup-2.40:2.4[introspection] |
402 |
- x11-libs/libX11 |
403 |
- x11-libs/gdk-pixbuf:2[introspection] |
404 |
- |
405 |
- x11-apps/mesa-progs |
406 |
- |
407 |
- bluetooth? ( >=net-wireless/gnome-bluetooth-3.9[introspection] ) |
408 |
- networkmanager? ( |
409 |
- >=app-crypt/libsecret-0.18 |
410 |
- >=gnome-extra/nm-applet-0.9.8 |
411 |
- >=net-misc/networkmanager-0.9.8:=[introspection] ) |
412 |
- nsplugin? ( >=dev-libs/json-glib-0.13.2 ) |
413 |
-" |
414 |
-# Runtime-only deps are probably incomplete and approximate. |
415 |
-# Introspection deps generated using: |
416 |
-# grep -roe "imports.gi.*" gnome-shell-* | cut -f2 -d: | sort | uniq |
417 |
-# Each block: |
418 |
-# 1. Introspection stuff needed via imports.gi.* |
419 |
-# 2. gnome-session is needed for gnome-session-quit |
420 |
-# 3. Control shell settings |
421 |
-# 4. Systemd needed for suspending support |
422 |
-# 5. xdg-utils needed for xdg-open, used by extension tool |
423 |
-# 6. adwaita-icon-theme and dejavu font neeed for various icons & arrows |
424 |
-# 7. mobile-broadband-provider-info, timezone-data for shell-mobile-providers.c |
425 |
-# 8. IBus is needed for nls integration |
426 |
-RDEPEND="${COMMON_DEPEND} |
427 |
- app-accessibility/at-spi2-core:2[introspection] |
428 |
- >=app-accessibility/caribou-0.4.8 |
429 |
- dev-libs/libgweather:2[introspection] |
430 |
- >=sys-apps/accountsservice-0.6.14[introspection] |
431 |
- >=sys-power/upower-0.99:=[introspection] |
432 |
- x11-libs/pango[introspection] |
433 |
- |
434 |
- >=gnome-base/gnome-session-2.91.91 |
435 |
- >=gnome-base/gnome-settings-daemon-3.8.3 |
436 |
- |
437 |
- !openrc-force? ( >=sys-apps/systemd-31 ) |
438 |
- |
439 |
- x11-misc/xdg-utils |
440 |
- |
441 |
- media-fonts/dejavu |
442 |
- >=x11-themes/adwaita-icon-theme-3.19.90 |
443 |
- |
444 |
- networkmanager? ( |
445 |
- net-misc/mobile-broadband-provider-info |
446 |
- sys-libs/timezone-data ) |
447 |
- ibus? ( >=app-i18n/ibus-1.4.99[dconf(+),gtk,introspection] ) |
448 |
-" |
449 |
-# avoid circular dependency, see bug #546134 |
450 |
-PDEPEND=" |
451 |
- >=gnome-base/gdm-3.5[introspection] |
452 |
- >=gnome-base/gnome-control-center-3.8.3[bluetooth(+)?,networkmanager(+)?] |
453 |
- browser-extension? ( gnome-extra/chrome-gnome-shell ) |
454 |
-" |
455 |
-DEPEND="${COMMON_DEPEND} |
456 |
- dev-libs/libxslt |
457 |
- >=dev-util/gdbus-codegen-2.45.3 |
458 |
- >=dev-util/gtk-doc-am-1.17 |
459 |
- gnome-base/gnome-common |
460 |
- sys-devel/autoconf-archive |
461 |
- >=sys-devel/gettext-0.19.6 |
462 |
- virtual/pkgconfig |
463 |
-" |
464 |
- |
465 |
-PATCHES=( |
466 |
- # Change favorites defaults, bug #479918 |
467 |
- "${FILESDIR}"/${PN}-3.22.0-defaults.patch |
468 |
- # Fix automagic gnome-bluetooth dep, bug #398145 |
469 |
- "${FILESDIR}"/3.26-bluetooth-flag.patch |
470 |
-) |
471 |
- |
472 |
-src_configure() { |
473 |
- gnome-meson_src_configure \ |
474 |
- -Denable-man=true \ |
475 |
- -Denable-documentation=false \ |
476 |
- -Denable-systemd=$(usex !openrc-force yes no) \ |
477 |
- -Denable-networkmanager=$(usex networkmanager yes no) \ |
478 |
- $(meson_use nsplugin enable-browser-plugin) |
479 |
-} |
480 |
- |
481 |
-src_test() { |
482 |
- virtx meson_src_test |
483 |
-} |
484 |
- |
485 |
-src_install() { |
486 |
- gnome-meson_src_install |
487 |
- python_replicate_script "${ED}/usr/bin/gnome-shell-extension-tool" |
488 |
- python_replicate_script "${ED}/usr/bin/gnome-shell-perf-tool" |
489 |
- |
490 |
- # Required for gnome-shell on hardened/PaX, bug #398941 |
491 |
- # Future-proof for >=spidermonkey-1.8.7 following polkit's example |
492 |
- if has_version '<dev-lang/spidermonkey-1.8.7'; then |
493 |
- pax-mark mr "${ED}usr/bin/gnome-shell"{,-extension-prefs} |
494 |
- elif has_version '>=dev-lang/spidermonkey-1.8.7[jit]'; then |
495 |
- pax-mark m "${ED}usr/bin/gnome-shell"{,-extension-prefs} |
496 |
- # Required for gnome-shell on hardened/PaX #457146 and #457194 |
497 |
- # PaX EMUTRAMP need to be on |
498 |
- elif has_version '>=dev-libs/libffi-3.0.13[pax_kernel]'; then |
499 |
- pax-mark E "${ED}usr/bin/gnome-shell"{,-extension-prefs} |
500 |
- else |
501 |
- pax-mark m "${ED}usr/bin/gnome-shell"{,-extension-prefs} |
502 |
- fi |
503 |
-} |
504 |
- |
505 |
-pkg_postinst() { |
506 |
- gnome-meson_pkg_postinst |
507 |
- |
508 |
- if ! has_version 'media-libs/gst-plugins-good:1.0' || \ |
509 |
- ! has_version 'media-plugins/gst-plugins-vpx:1.0'; then |
510 |
- ewarn "To make use of GNOME Shell's built-in screen recording utility," |
511 |
- ewarn "you need to either install media-libs/gst-plugins-good:1.0" |
512 |
- ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change" |
513 |
- ewarn "apps.gnome-shell.recorder/pipeline to what you want to use." |
514 |
- fi |
515 |
- |
516 |
- if ! has_version "media-libs/mesa[llvm]"; then |
517 |
- elog "llvmpipe is used as fallback when no 3D acceleration" |
518 |
- elog "is available. You will need to enable llvm USE for" |
519 |
- elog "media-libs/mesa if you do not have hardware 3D setup." |
520 |
- fi |
521 |
- |
522 |
- # https://bugs.gentoo.org/show_bug.cgi?id=563084 |
523 |
- if has_version "x11-drivers/nvidia-drivers[-kms]"; then |
524 |
- ewarn "You will need to enable kms support in x11-drivers/nvidia-drivers," |
525 |
- ewarn "otherwise Gnome will fail to start" |
526 |
- fi |
527 |
- |
528 |
- if ! systemd_is_booted; then |
529 |
- ewarn "${PN} needs Systemd to be *running* for working" |
530 |
- ewarn "properly. Please follow this guide to migrate:" |
531 |
- ewarn "https://wiki.gentoo.org/wiki/Systemd" |
532 |
- fi |
533 |
- |
534 |
- if use openrc-force; then |
535 |
- ewarn "You are enabling 'openrc-force' USE flag to skip systemd requirement," |
536 |
- ewarn "this can lead to unexpected problems and is not supported neither by" |
537 |
- ewarn "upstream neither by Gnome Gentoo maintainers. If you suffer any problem," |
538 |
- ewarn "you will need to disable this USE flag system wide and retest before" |
539 |
- ewarn "opening any bug report." |
540 |
- fi |
541 |
-} |
542 |
|
543 |
diff --git a/gnome-base/gnome-shell/gnome-shell-3.26.2-r3.ebuild b/gnome-base/gnome-shell/gnome-shell-3.26.2-r3.ebuild |
544 |
deleted file mode 100644 |
545 |
index 8ec8d239..00000000 |
546 |
--- a/gnome-base/gnome-shell/gnome-shell-3.26.2-r3.ebuild |
547 |
+++ /dev/null |
548 |
@@ -1,183 +0,0 @@ |
549 |
-# Copyright 1999-2018 Gentoo Foundation |
550 |
-# Distributed under the terms of the GNU General Public License v2 |
551 |
- |
552 |
-EAPI=6 |
553 |
-PYTHON_COMPAT=( python3_{4,5,6} ) |
554 |
- |
555 |
-inherit gnome.org gnome2-utils meson pax-utils python-single-r1 virtualx xdg |
556 |
- |
557 |
-DESCRIPTION="Provides core UI functions for the GNOME 3 desktop" |
558 |
-HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell" |
559 |
- |
560 |
-LICENSE="GPL-2+ LGPL-2+" |
561 |
-SLOT="0" |
562 |
-IUSE="+bluetooth +browser-extension elogind +ibus +networkmanager nsplugin systemd telepathy" |
563 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
564 |
- ?? ( elogind systemd )" |
565 |
- |
566 |
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" |
567 |
- |
568 |
-# libXfixes-5.0 needed for pointer barriers and #include <X11/extensions/Xfixes.h> |
569 |
-# FIXME: |
570 |
-# * gstreamer support is currently automagic |
571 |
-COMMON_DEPEND=" |
572 |
- >=dev-libs/libcroco-0.6.8:0.6 |
573 |
- >=gnome-extra/evolution-data-server-3.17.2:= |
574 |
- >=app-crypt/gcr-3.7.5[introspection] |
575 |
- >=gnome-base/gnome-desktop-3.7.90:3=[introspection] |
576 |
- >=dev-libs/glib-2.53.0:2 |
577 |
- >=dev-libs/gobject-introspection-1.49.1:= |
578 |
- >=dev-libs/gjs-1.47.0 |
579 |
- >=x11-libs/gtk+-3.15.0:3[introspection] |
580 |
- nsplugin? ( >=dev-libs/json-glib-0.13.2 ) |
581 |
- >=x11-wm/mutter-3.24.0:0/1[introspection] |
582 |
- >=sys-auth/polkit-0.100[introspection] |
583 |
- >=gnome-base/gsettings-desktop-schemas-3.21.3 |
584 |
- >=x11-libs/startup-notification-0.11 |
585 |
- bluetooth? ( >=net-wireless/gnome-bluetooth-3.9[introspection] ) |
586 |
- >=media-libs/gstreamer-0.11.92:1.0 |
587 |
- networkmanager? ( |
588 |
- >=gnome-extra/nm-applet-0.9.8[introspection] |
589 |
- >=net-misc/networkmanager-0.9.8:=[introspection] |
590 |
- >=app-crypt/libsecret-0.18 |
591 |
- dev-libs/dbus-glib ) |
592 |
- systemd? ( >=sys-apps/systemd-31 ) |
593 |
- elogind? ( >=sys-auth/elogind-237 ) |
594 |
- |
595 |
- >=app-accessibility/at-spi2-atk-2.5.3 |
596 |
- media-libs/libcanberra[gtk3] |
597 |
- x11-libs/gdk-pixbuf:2[introspection] |
598 |
- dev-libs/libxml2:2 |
599 |
- >=net-libs/libsoup-2.40:2.4[introspection] |
600 |
- x11-libs/libX11 |
601 |
- |
602 |
- >=media-sound/pulseaudio-2[glib] |
603 |
- >=dev-libs/atk-2[introspection] |
604 |
- dev-libs/libical:= |
605 |
- >=x11-libs/libXfixes-5.0 |
606 |
- |
607 |
- ${PYTHON_DEPS} |
608 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
609 |
- media-libs/mesa |
610 |
-" |
611 |
-# Runtime-only deps are probably incomplete and approximate. |
612 |
-# Introspection deps generated using: |
613 |
-# grep -roe "imports.gi.*" gnome-shell-* | cut -f2 -d: | sort | uniq |
614 |
-# Each block: |
615 |
-# 1. Introspection stuff needed via imports.gi.* |
616 |
-# 2. gnome-session needed for shutdown/reboot/inhibitors/etc |
617 |
-# 3. Control shell settings |
618 |
-# 4. logind interface needed for suspending support |
619 |
-# 5. xdg-utils needed for xdg-open, used by extension tool |
620 |
-# 6. adwaita-icon-theme needed for various icons & arrows (3.26 for new video-joined-displays-symbolic and co icons; review for 3.28+) |
621 |
-# 7. mobile-broadband-provider-info, timezone-data for shell-mobile-providers.c # TODO: Review |
622 |
-# 8. IBus is needed for nls integration |
623 |
-# 9. Optional telepathy chat integration |
624 |
-# 10. TODO: semi-optional webkit-gtk[introspection] for captive portal helper |
625 |
-RDEPEND="${COMMON_DEPEND} |
626 |
- >=sys-apps/accountsservice-0.6.14[introspection] |
627 |
- app-accessibility/at-spi2-core:2[introspection] |
628 |
- >=app-accessibility/caribou-0.4.8 |
629 |
- app-misc/geoclue[introspection] |
630 |
- >=dev-libs/libgweather-3.26:2[introspection] |
631 |
- >=sys-power/upower-0.99:=[introspection] |
632 |
- x11-libs/pango[introspection] |
633 |
- gnome-base/librsvg:2[introspection] |
634 |
- |
635 |
- >=gnome-base/gnome-session-2.91.91 |
636 |
- >=gnome-base/gnome-settings-daemon-3.8.3 |
637 |
- |
638 |
- x11-misc/xdg-utils |
639 |
- |
640 |
- >=x11-themes/adwaita-icon-theme-3.26 |
641 |
- |
642 |
- networkmanager? ( |
643 |
- net-misc/mobile-broadband-provider-info |
644 |
- sys-libs/timezone-data ) |
645 |
- ibus? ( >=app-i18n/ibus-1.4.99[dconf(+),gtk,introspection] ) |
646 |
- telepathy? ( |
647 |
- >=net-im/telepathy-logger-0.2.4[introspection] |
648 |
- >=net-libs/telepathy-glib-0.19[introspection] ) |
649 |
-" |
650 |
-# avoid circular dependency, see bug #546134 |
651 |
-PDEPEND=" |
652 |
- >=gnome-base/gdm-3.5[introspection] |
653 |
- >=gnome-base/gnome-control-center-3.26[bluetooth(+)?,networkmanager(+)?] |
654 |
- browser-extension? ( gnome-extra/chrome-gnome-shell ) |
655 |
-" |
656 |
-DEPEND="${COMMON_DEPEND} |
657 |
- dev-libs/libxslt |
658 |
- >=dev-util/gdbus-codegen-2.45.3 |
659 |
- dev-util/glib-utils |
660 |
- >=sys-devel/gettext-0.19.6 |
661 |
- virtual/pkgconfig |
662 |
-" #gtk-doc? ( >=dev-util/gtk-doc-1.17 ) |
663 |
- |
664 |
-PATCHES=( |
665 |
- # Change favorites defaults, bug #479918 |
666 |
- "${FILESDIR}"/${PN}-3.22.0-defaults.patch |
667 |
- # Fix automagic gnome-bluetooth dep, bug #398145 |
668 |
- "${FILESDIR}"/3.26-optional-bluetooth.patch |
669 |
-) |
670 |
- |
671 |
-src_prepare() { |
672 |
- xdg_src_prepare |
673 |
- # We want nsplugins in /usr/$(get_libdir)/nsbrowser/plugins not .../mozilla/plugins |
674 |
- sed -e 's/mozilla/nsbrowser/' -i meson.build || die |
675 |
- # Hack in correct python shebang |
676 |
- sed -e "s:python\.path():'/usr/bin/env ${EPYTHON}':" -i src/meson.build || die |
677 |
-} |
678 |
- |
679 |
-src_configure() { |
680 |
- local emesonargs=( |
681 |
- $(meson_use nsplugin enable-browser-plugin) |
682 |
- #$(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 |
683 |
- -Denable-man=true |
684 |
- -Denable-bluetooth=$(usex bluetooth yes no) |
685 |
- -Denable-networkmanager=$(usex networkmanager yes no) |
686 |
- -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) |
687 |
- # suspend support is runtime optional via /run/systemd/seats presence and org.freedesktop.login1.Manager dbus interface; elogind should provide what's necessary |
688 |
- ) |
689 |
- meson_src_configure |
690 |
-} |
691 |
- |
692 |
-src_install() { |
693 |
- meson_src_install |
694 |
- |
695 |
- # Required for gnome-shell on hardened/PaX, bug #398941; FIXME: Is this still relevant? |
696 |
- pax-mark m "${ED}usr/bin/gnome-shell"{,-extension-prefs} |
697 |
-} |
698 |
- |
699 |
-src_test() { |
700 |
- virtx meson_src_test |
701 |
-} |
702 |
- |
703 |
-pkg_postinst() { |
704 |
- xdg_pkg_postinst |
705 |
- gnome2_schemas_update |
706 |
- |
707 |
- if ! has_version 'media-libs/gst-plugins-good:1.0' || \ |
708 |
- ! has_version 'media-plugins/gst-plugins-vpx:1.0'; then |
709 |
- ewarn "To make use of GNOME Shell's built-in screen recording utility," |
710 |
- ewarn "you need to either install media-libs/gst-plugins-good:1.0" |
711 |
- ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change" |
712 |
- ewarn "apps.gnome-shell.recorder/pipeline to what you want to use." |
713 |
- fi |
714 |
- |
715 |
- if ! has_version "media-libs/mesa[llvm]"; then |
716 |
- elog "llvmpipe is used as fallback when no 3D acceleration" |
717 |
- elog "is available. You will need to enable llvm USE for" |
718 |
- elog "media-libs/mesa if you do not have hardware 3D setup." |
719 |
- fi |
720 |
- |
721 |
- # https://bugs.gentoo.org/show_bug.cgi?id=563084 |
722 |
- if has_version "x11-drivers/nvidia-drivers[-kms]"; then |
723 |
- ewarn "You will need to enable kms support in x11-drivers/nvidia-drivers," |
724 |
- ewarn "otherwise Gnome will fail to start" |
725 |
- fi |
726 |
-} |
727 |
- |
728 |
-pkg_postrm() { |
729 |
- xdg_pkg_postrm |
730 |
- gnome2_schemas_update |
731 |
-} |
732 |
|
733 |
diff --git a/gnome-base/gnome-shell/metadata.xml b/gnome-base/gnome-shell/metadata.xml |
734 |
index 301d00be..6f32c6fd 100644 |
735 |
--- a/gnome-base/gnome-shell/metadata.xml |
736 |
+++ b/gnome-base/gnome-shell/metadata.xml |
737 |
@@ -19,10 +19,6 @@ |
738 |
and suspend support.</flag> |
739 |
<flag name="ibus">Enable support for enhanced input methods through |
740 |
<pkg>app-i18n/ibus</pkg></flag> |
741 |
- <flag name="openrc-force">Skip systemd dependency (#480336), |
742 |
- enabling this flag will become your setup to be fully |
743 |
- unsupported by upstream and downstream Gnome team. Do not |
744 |
- try to enable it unless completely needed</flag> |
745 |
<flag name="telepathy">Ensure presence of telepathy chat integration</flag> |
746 |
</use> |
747 |
</pkgmetadata> |