1 |
commit: 2666153bdd627858efa635a27bd7cf06f47f8b69 |
2 |
Author: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 3 20:32:45 2018 +0000 |
4 |
Commit: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 3 20:32:45 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=2666153b |
7 |
|
8 |
gnome-base/gnome-shell: version bump to 3.26.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.23, Repoman-2.3.6 |
11 |
Manifest-Sign-Key: 0x7DF238CF0AA182E1 |
12 |
|
13 |
.../files/gnome-shell-3.22.0-defaults.patch | 26 +++ |
14 |
gnome-base/gnome-shell/gnome-shell-3.26.1.ebuild | 191 +++++++++++++++++++++ |
15 |
gnome-base/gnome-shell/metadata.xml | 4 + |
16 |
3 files changed, 221 insertions(+) |
17 |
|
18 |
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 |
19 |
new file mode 100644 |
20 |
index 00000000..b80dbc3a |
21 |
--- /dev/null |
22 |
+++ b/gnome-base/gnome-shell/files/gnome-shell-3.22.0-defaults.patch |
23 |
@@ -0,0 +1,26 @@ |
24 |
+From 7a671f99b7ef2d5f38be67668aac762764b32a42 Mon Sep 17 00:00:00 2001 |
25 |
+From: Gilles Dartiguelongue <eva@g.o> |
26 |
+Date: Tue, 10 Dec 2013 23:33:51 +0100 |
27 |
+Subject: [PATCH 1/2] Alter list of default applications |
28 |
+ |
29 |
+Signed-off-by: Gilles Dartiguelongue <eva@g.o> |
30 |
+--- |
31 |
+ data/org.gnome.shell.gschema.xml.in | 2 +- |
32 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
33 |
+ |
34 |
+diff --git a/data/org.gnome.shell.gschema.xml.in b/data/org.gnome.shell.gschema.xml.in |
35 |
+index c1e6b21..368c654 100644 |
36 |
+--- a/data/org.gnome.shell.gschema.xml.in |
37 |
++++ b/data/org.gnome.shell.gschema.xml.in |
38 |
+@@ -31,7 +31,7 @@ |
39 |
+ </description> |
40 |
+ </key> |
41 |
+ <key name="favorite-apps" type="as"> |
42 |
+- <default>[ 'epiphany.desktop', 'evolution.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Software.desktop' ]</default> |
43 |
++ <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> |
44 |
+ <summary>List of desktop file IDs for favorite applications</summary> |
45 |
+ <description> |
46 |
+ The applications corresponding to these identifiers |
47 |
+-- |
48 |
+2.10.1 |
49 |
+ |
50 |
|
51 |
diff --git a/gnome-base/gnome-shell/gnome-shell-3.26.1.ebuild b/gnome-base/gnome-shell/gnome-shell-3.26.1.ebuild |
52 |
new file mode 100644 |
53 |
index 00000000..34c076ae |
54 |
--- /dev/null |
55 |
+++ b/gnome-base/gnome-shell/gnome-shell-3.26.1.ebuild |
56 |
@@ -0,0 +1,191 @@ |
57 |
+# Copyright 1999-2018 Gentoo Foundation |
58 |
+# Distributed under the terms of the GNU General Public License v2 |
59 |
+ |
60 |
+EAPI=6 |
61 |
+GNOME2_LA_PUNT="yes" |
62 |
+GNOME2_EAUTORECONF="yes" |
63 |
+PYTHON_COMPAT=( python{3_4,3_5} ) |
64 |
+ |
65 |
+inherit gnome-meson multilib pax-utils python-r1 systemd |
66 |
+ |
67 |
+DESCRIPTION="Provides core UI functions for the GNOME 3 desktop" |
68 |
+HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell" |
69 |
+ |
70 |
+LICENSE="GPL-2+ LGPL-2+" |
71 |
+SLOT="0" |
72 |
+IUSE="+bluetooth +browser-extension +ibus +networkmanager nsplugin -openrc-force" |
73 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
74 |
+ |
75 |
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" |
76 |
+ |
77 |
+# libXfixes-5.0 needed for pointer barriers |
78 |
+# FIXME: |
79 |
+# * gstreamer support is currently automagic |
80 |
+# * gnome-bluetooth is automagic |
81 |
+# * BROWSER_PLUGIN_DIR is not set |
82 |
+COMMON_DEPEND=" |
83 |
+ >=app-accessibility/at-spi2-atk-2.5.3 |
84 |
+ >=dev-libs/atk-2[introspection] |
85 |
+ >=app-crypt/gcr-3.7.5[introspection] |
86 |
+ >=dev-libs/glib-2.53:2[dbus] |
87 |
+ >=dev-libs/gjs-1.47.0 |
88 |
+ >=dev-libs/gobject-introspection-1.49.1:= |
89 |
+ dev-libs/libical:= |
90 |
+ >=x11-libs/gtk+-3.15.0:3[introspection] |
91 |
+ >=dev-libs/libcroco-0.6.8:0.6 |
92 |
+ >=gnome-base/gnome-desktop-3.7.90:3=[introspection] |
93 |
+ >=gnome-base/gsettings-desktop-schemas-3.21.3 |
94 |
+ >=gnome-extra/evolution-data-server-3.17.2:= |
95 |
+ >=media-libs/gstreamer-0.11.92:1.0 |
96 |
+ >=net-im/telepathy-logger-0.2.4[introspection] |
97 |
+ >=net-libs/telepathy-glib-0.19[introspection] |
98 |
+ >=sys-auth/polkit-0.100[introspection] |
99 |
+ >=x11-libs/libXfixes-5.0 |
100 |
+ x11-libs/libXtst |
101 |
+ >=x11-wm/mutter-3.26.0:0/0[introspection] |
102 |
+ >=x11-libs/startup-notification-0.11 |
103 |
+ |
104 |
+ ${PYTHON_DEPS} |
105 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
106 |
+ |
107 |
+ dev-libs/dbus-glib |
108 |
+ dev-libs/libxml2:2 |
109 |
+ media-libs/libcanberra[gtk3] |
110 |
+ media-libs/mesa |
111 |
+ >=media-sound/pulseaudio-2 |
112 |
+ >=net-libs/libsoup-2.40:2.4[introspection] |
113 |
+ x11-libs/libX11 |
114 |
+ x11-libs/gdk-pixbuf:2[introspection] |
115 |
+ |
116 |
+ x11-apps/mesa-progs |
117 |
+ |
118 |
+ bluetooth? ( >=net-wireless/gnome-bluetooth-3.9[introspection] ) |
119 |
+ networkmanager? ( |
120 |
+ >=app-crypt/libsecret-0.18 |
121 |
+ >=gnome-extra/nm-applet-0.9.8 |
122 |
+ >=net-misc/networkmanager-0.9.8:=[introspection] ) |
123 |
+ nsplugin? ( >=dev-libs/json-glib-0.13.2 ) |
124 |
+" |
125 |
+# Runtime-only deps are probably incomplete and approximate. |
126 |
+# Introspection deps generated using: |
127 |
+# grep -roe "imports.gi.*" gnome-shell-* | cut -f2 -d: | sort | uniq |
128 |
+# Each block: |
129 |
+# 1. Introspection stuff needed via imports.gi.* |
130 |
+# 2. gnome-session is needed for gnome-session-quit |
131 |
+# 3. Control shell settings |
132 |
+# 4. Systemd needed for suspending support |
133 |
+# 5. xdg-utils needed for xdg-open, used by extension tool |
134 |
+# 6. adwaita-icon-theme and dejavu font neeed for various icons & arrows |
135 |
+# 7. mobile-broadband-provider-info, timezone-data for shell-mobile-providers.c |
136 |
+# 8. IBus is needed for nls integration |
137 |
+RDEPEND="${COMMON_DEPEND} |
138 |
+ app-accessibility/at-spi2-core:2[introspection] |
139 |
+ >=app-accessibility/caribou-0.4.8 |
140 |
+ dev-libs/libgweather:2[introspection] |
141 |
+ >=sys-apps/accountsservice-0.6.14[introspection] |
142 |
+ >=sys-power/upower-0.99:=[introspection] |
143 |
+ x11-libs/pango[introspection] |
144 |
+ |
145 |
+ >=gnome-base/gnome-session-2.91.91 |
146 |
+ >=gnome-base/gnome-settings-daemon-3.8.3 |
147 |
+ |
148 |
+ !openrc-force? ( >=sys-apps/systemd-31 ) |
149 |
+ |
150 |
+ x11-misc/xdg-utils |
151 |
+ |
152 |
+ media-fonts/dejavu |
153 |
+ >=x11-themes/adwaita-icon-theme-3.19.90 |
154 |
+ |
155 |
+ networkmanager? ( |
156 |
+ net-misc/mobile-broadband-provider-info |
157 |
+ sys-libs/timezone-data ) |
158 |
+ ibus? ( >=app-i18n/ibus-1.4.99[dconf(+),gtk,introspection] ) |
159 |
+" |
160 |
+# avoid circular dependency, see bug #546134 |
161 |
+PDEPEND=" |
162 |
+ >=gnome-base/gdm-3.5[introspection] |
163 |
+ >=gnome-base/gnome-control-center-3.8.3[bluetooth(+)?,networkmanager(+)?] |
164 |
+ browser-extension? ( gnome-extra/chrome-gnome-shell ) |
165 |
+" |
166 |
+DEPEND="${COMMON_DEPEND} |
167 |
+ dev-libs/libxslt |
168 |
+ >=dev-util/gdbus-codegen-2.45.3 |
169 |
+ >=dev-util/gtk-doc-am-1.17 |
170 |
+ gnome-base/gnome-common |
171 |
+ sys-devel/autoconf-archive |
172 |
+ >=sys-devel/gettext-0.19.6 |
173 |
+ virtual/pkgconfig |
174 |
+" |
175 |
+ |
176 |
+PATCHES=( |
177 |
+ # Change favorites defaults, bug #479918 |
178 |
+ "${FILESDIR}"/${PN}-3.22.0-defaults.patch |
179 |
+ # Fix automagic gnome-bluetooth dep, bug #398145 |
180 |
+) |
181 |
+ |
182 |
+src_configure() { |
183 |
+ gnome-meson_src_configure \ |
184 |
+ -Denable-man=true \ |
185 |
+ -Denable-documentation=false \ |
186 |
+ -Denable-systemd=$(usex !openrc-force yes no) \ |
187 |
+ -Denable-networkmanager=$(usex networkmanager yes no) \ |
188 |
+ $(meson_use nsplugin enable-browser-plugin) |
189 |
+} |
190 |
+ |
191 |
+src_install() { |
192 |
+ gnome-meson_src_install |
193 |
+ python_replicate_script "${ED}/usr/bin/gnome-shell-extension-tool" |
194 |
+ python_replicate_script "${ED}/usr/bin/gnome-shell-perf-tool" |
195 |
+ |
196 |
+ # Required for gnome-shell on hardened/PaX, bug #398941 |
197 |
+ # Future-proof for >=spidermonkey-1.8.7 following polkit's example |
198 |
+ if has_version '<dev-lang/spidermonkey-1.8.7'; then |
199 |
+ pax-mark mr "${ED}usr/bin/gnome-shell"{,-extension-prefs} |
200 |
+ elif has_version '>=dev-lang/spidermonkey-1.8.7[jit]'; then |
201 |
+ pax-mark m "${ED}usr/bin/gnome-shell"{,-extension-prefs} |
202 |
+ # Required for gnome-shell on hardened/PaX #457146 and #457194 |
203 |
+ # PaX EMUTRAMP need to be on |
204 |
+ elif has_version '>=dev-libs/libffi-3.0.13[pax_kernel]'; then |
205 |
+ pax-mark E "${ED}usr/bin/gnome-shell"{,-extension-prefs} |
206 |
+ else |
207 |
+ pax-mark m "${ED}usr/bin/gnome-shell"{,-extension-prefs} |
208 |
+ fi |
209 |
+} |
210 |
+ |
211 |
+pkg_postinst() { |
212 |
+ gnome-meson_pkg_postinst |
213 |
+ |
214 |
+ if ! has_version 'media-libs/gst-plugins-good:1.0' || \ |
215 |
+ ! has_version 'media-plugins/gst-plugins-vpx:1.0'; then |
216 |
+ ewarn "To make use of GNOME Shell's built-in screen recording utility," |
217 |
+ ewarn "you need to either install media-libs/gst-plugins-good:1.0" |
218 |
+ ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change" |
219 |
+ ewarn "apps.gnome-shell.recorder/pipeline to what you want to use." |
220 |
+ fi |
221 |
+ |
222 |
+ if ! has_version "media-libs/mesa[llvm]"; then |
223 |
+ elog "llvmpipe is used as fallback when no 3D acceleration" |
224 |
+ elog "is available. You will need to enable llvm USE for" |
225 |
+ elog "media-libs/mesa if you do not have hardware 3D setup." |
226 |
+ fi |
227 |
+ |
228 |
+ # https://bugs.gentoo.org/show_bug.cgi?id=563084 |
229 |
+ if has_version "x11-drivers/nvidia-drivers[-kms]"; then |
230 |
+ ewarn "You will need to enable kms support in x11-drivers/nvidia-drivers," |
231 |
+ ewarn "otherwise Gnome will fail to start" |
232 |
+ fi |
233 |
+ |
234 |
+ if ! systemd_is_booted; then |
235 |
+ ewarn "${PN} needs Systemd to be *running* for working" |
236 |
+ ewarn "properly. Please follow this guide to migrate:" |
237 |
+ ewarn "https://wiki.gentoo.org/wiki/Systemd" |
238 |
+ fi |
239 |
+ |
240 |
+ if use openrc-force; then |
241 |
+ ewarn "You are enabling 'openrc-force' USE flag to skip systemd requirement," |
242 |
+ ewarn "this can lead to unexpected problems and is not supported neither by" |
243 |
+ ewarn "upstream neither by Gnome Gentoo maintainers. If you suffer any problem," |
244 |
+ ewarn "you will need to disable this USE flag system wide and retest before" |
245 |
+ ewarn "opening any bug report." |
246 |
+ fi |
247 |
+} |
248 |
|
249 |
diff --git a/gnome-base/gnome-shell/metadata.xml b/gnome-base/gnome-shell/metadata.xml |
250 |
index d312bdad..3d91d2b5 100644 |
251 |
--- a/gnome-base/gnome-shell/metadata.xml |
252 |
+++ b/gnome-base/gnome-shell/metadata.xml |
253 |
@@ -6,6 +6,10 @@ |
254 |
<name>Gentoo GNOME Desktop</name> |
255 |
</maintainer> |
256 |
<use> |
257 |
+ <flag name="browser-extension">Ensure the presence of extensions.gnome.org |
258 |
+ native connector <pkg>gnome-extra/chrome-gnome-shell</pkg></flag> |
259 |
+ <flag name="ibus">Enable support for enhanced input methods through |
260 |
+ <pkg>app-i18n/ibus</pkg></flag> |
261 |
<flag name="openrc-force">Skip systemd dependency (#480336), |
262 |
enabling this flag will become your setup to be fully |
263 |
unsupported by upstream and downstream Gnome team. Do not |