1 |
commit: 5658336f093568652e8d9201ff6bbd3a30f7efb0 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 12 01:38:13 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 17 00:28:12 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5658336f |
7 |
|
8 |
gnome-base/gnome-shell: Version bump to 42.4 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
gnome-base/gnome-shell/Manifest | 1 + |
13 |
gnome-base/gnome-shell/gnome-shell-42.4.ebuild | 208 +++++++++++++++++++++++++ |
14 |
2 files changed, 209 insertions(+) |
15 |
|
16 |
diff --git a/gnome-base/gnome-shell/Manifest b/gnome-base/gnome-shell/Manifest |
17 |
index 660469bf53d6..2261b65a29e6 100644 |
18 |
--- a/gnome-base/gnome-shell/Manifest |
19 |
+++ b/gnome-base/gnome-shell/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST gnome-shell-42.2.tar.xz 1928948 BLAKE2B e263acfc9e6929accfb46b65b91b1173cfa4c778405c0852e93b83d78e1bf3a85e3b5c49b73445f604c0fdecb48f294931ab2403806661013bcef3a71b99f911 SHA512 dd77195772e23d8260e55a2db1103fa6dee8945ad168478c293e43e9971698aa191e17f7f5ef46cf46eeaae5051c34f0eb5df134690f7dc5ca98d6ca747e4eb0 |
22 |
DIST gnome-shell-42.3.1.tar.xz 1927696 BLAKE2B f0f0e19dea02ccd1bb271af189d9a9e2bb3ebf47da2d68f4852de7a9dddb1c0db96f5371e0c6c421556ab8e242294115e041a433d68c79e6ef6607b1e7e85ff1 SHA512 f548a2aa1e0b56396efdcd7839091bdb8f44a605eddbf4411a5066f99adc38bf10b1a5eb984262bb44e04e96dce715d1481e807200d9ea9fdc91d111defb2fae |
23 |
+DIST gnome-shell-42.4.tar.xz 1928776 BLAKE2B cd986668683a8c57b69ca6b84351d6988d5dde5b96c780ea79109db3f3cd0d032883019dd07bf6e4ea678a549fe95ea99b29e9f9b6efc8d4231fcd4cd2fa3159 SHA512 f06f390cdb55b5b5871bbd35dfc3b0057fbc79d4dcb2334b34bfa198ec46a1880de99097e42ed9052b3183266dd017457f6a9a07fc3c517277551295478cb340 |
24 |
|
25 |
diff --git a/gnome-base/gnome-shell/gnome-shell-42.4.ebuild b/gnome-base/gnome-shell/gnome-shell-42.4.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..c58cbac885b3 |
28 |
--- /dev/null |
29 |
+++ b/gnome-base/gnome-shell/gnome-shell-42.4.ebuild |
30 |
@@ -0,0 +1,208 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+PYTHON_COMPAT=( python3_{8..11} ) |
36 |
+ |
37 |
+inherit gnome.org gnome2-utils meson python-single-r1 virtualx xdg |
38 |
+ |
39 |
+DESCRIPTION="Provides core UI functions for the GNOME desktop" |
40 |
+HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell https://gitlab.gnome.org/GNOME/gnome-shell" |
41 |
+ |
42 |
+LICENSE="GPL-2+ LGPL-2+" |
43 |
+SLOT="0" |
44 |
+IUSE="+bluetooth +browser-extension elogind gtk-doc +ibus +networkmanager systemd telepathy test" |
45 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE} |
46 |
+ ?? ( elogind systemd )" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
50 |
+ |
51 |
+# libXfixes-5.0 needed for pointer barriers and #include <X11/extensions/Xfixes.h> |
52 |
+# FIXME: |
53 |
+# * gstreamer/pipewire support is currently automagic |
54 |
+DEPEND=" |
55 |
+ >=gnome-extra/evolution-data-server-3.33.1:= |
56 |
+ >=app-crypt/gcr-3.7.5:=[introspection] |
57 |
+ >=dev-libs/glib-2.68:2 |
58 |
+ >=dev-libs/gobject-introspection-1.49.1:= |
59 |
+ >=dev-libs/gjs-1.71.1 |
60 |
+ >=x11-libs/gtk+-3.15.0:3[introspection] |
61 |
+ >=x11-wm/mutter-42.0:0/10[introspection,test?] |
62 |
+ >=sys-auth/polkit-0.120_p20220509[introspection] |
63 |
+ >=gnome-base/gsettings-desktop-schemas-42_beta[introspection] |
64 |
+ >=x11-libs/startup-notification-0.11 |
65 |
+ >=app-i18n/ibus-1.5.19 |
66 |
+ >=gnome-base/gnome-desktop-3.35.90:3=[introspection] |
67 |
+ bluetooth? ( net-wireless/gnome-bluetooth:3=[introspection] ) |
68 |
+ >=media-libs/gstreamer-0.11.92:1.0 |
69 |
+ media-libs/gst-plugins-base:1.0 |
70 |
+ >=media-video/pipewire-0.3.0:= |
71 |
+ networkmanager? ( |
72 |
+ >=net-misc/networkmanager-1.10.4[introspection] |
73 |
+ net-libs/libnma[introspection] |
74 |
+ >=app-crypt/libsecret-0.18 |
75 |
+ dev-libs/dbus-glib |
76 |
+ ) |
77 |
+ systemd? ( |
78 |
+ >=sys-apps/systemd-242:= |
79 |
+ >=gnome-base/gnome-desktop-3.34.2:3=[systemd] |
80 |
+ ) |
81 |
+ elogind? ( >=sys-auth/elogind-237 ) |
82 |
+ |
83 |
+ app-arch/gnome-autoar |
84 |
+ dev-libs/json-glib |
85 |
+ |
86 |
+ >=app-accessibility/at-spi2-atk-2.5.3:2 |
87 |
+ x11-libs/gdk-pixbuf:2[introspection] |
88 |
+ dev-libs/libxml2:2 |
89 |
+ x11-libs/libX11 |
90 |
+ |
91 |
+ >=media-libs/libpulse-2[glib] |
92 |
+ >=dev-libs/atk-2[introspection] |
93 |
+ dev-libs/libical:= |
94 |
+ >=x11-libs/libXfixes-5.0 |
95 |
+ |
96 |
+ gui-libs/gtk:4[introspection] |
97 |
+ |
98 |
+ ${PYTHON_DEPS} |
99 |
+ $(python_gen_cond_dep ' |
100 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
101 |
+ ') |
102 |
+ media-libs/mesa[X(+)] |
103 |
+" |
104 |
+# Runtime-only deps are probably incomplete and approximate. |
105 |
+# Introspection deps generated from inspection of the output of: |
106 |
+# for i in `rg -INUo 'const(?s).*imports.gi' |cut -d= -f1 |cut -c7- |sort -u`; do echo $i ;done |cut -d, -f1 |sort -u |
107 |
+# or |
108 |
+# rg -INUo 'const(?s).*imports.gi' |cut -d= -f1 |cut -c7- | sed -e 's:[{}]::g' | awk '{$1=$1; print}' | awk -F',' '{$1=$1;print}' | tr ' ' '\n' | sort -u | sed -e 's/://g' |
109 |
+# These will give a lot of unnecessary things due to greedy matching (TODO), and `(?s).*?` doesn't seem to work as desired. |
110 |
+# Compare with `grep -rhI 'imports.gi.versions' |sort -u` for any SLOT requirements |
111 |
+# Each block: |
112 |
+# 1. Introspection stuff needed via imports.gi (those that build time check may be listed above already) |
113 |
+# 2. gnome-session needed for shutdown/reboot/inhibitors/etc |
114 |
+# 3. Control shell settings |
115 |
+# 4. xdg-utils needed for xdg-open, used by extension tool |
116 |
+# 5. adwaita-icon-theme needed for various icons & arrows (3.26 for new video-joined-displays-symbolic and co icons; review for 3.28+) |
117 |
+# 6. mobile-broadband-provider-info, timezone-data for shell-mobile-providers.c # TODO: Review |
118 |
+# 7. IBus is needed for nls integration |
119 |
+# 8. Optional telepathy chat integration |
120 |
+# 9. 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) |
121 |
+# 10. xdg-desktop-portal-gtk for various integration, e.g. #764632 |
122 |
+# 11. TODO: semi-optional webkit-gtk[introspection] for captive portal helper |
123 |
+RDEPEND="${DEPEND} |
124 |
+ >=sys-apps/accountsservice-0.6.14[introspection] |
125 |
+ app-accessibility/at-spi2-core:2[introspection] |
126 |
+ app-misc/geoclue[introspection] |
127 |
+ media-libs/graphene[introspection] |
128 |
+ >=dev-libs/libgweather-4.0.0:4[introspection] |
129 |
+ x11-libs/pango[introspection] |
130 |
+ net-libs/libsoup:2.4[introspection] |
131 |
+ >=sys-power/upower-0.99:=[introspection] |
132 |
+ gnome-base/librsvg:2[introspection] |
133 |
+ |
134 |
+ >=gnome-base/gnome-session-2.91.91 |
135 |
+ >=gnome-base/gnome-settings-daemon-3.8.3 |
136 |
+ |
137 |
+ x11-misc/xdg-utils |
138 |
+ |
139 |
+ >=x11-themes/adwaita-icon-theme-3.26 |
140 |
+ |
141 |
+ networkmanager? ( |
142 |
+ net-misc/mobile-broadband-provider-info |
143 |
+ sys-libs/timezone-data |
144 |
+ ) |
145 |
+ ibus? ( >=app-i18n/ibus-1.5.26[gtk3,gtk4,introspection] ) |
146 |
+ telepathy? ( |
147 |
+ >=net-im/telepathy-logger-0.2.4[introspection] |
148 |
+ >=net-libs/telepathy-glib-0.19[introspection] |
149 |
+ ) |
150 |
+ media-fonts/cantarell |
151 |
+ |
152 |
+ || ( sys-apps/xdg-desktop-portal-gnome <sys-apps/xdg-desktop-portal-gtk-1.14.0 ) |
153 |
+" |
154 |
+# avoid circular dependency, see bug #546134 |
155 |
+PDEPEND=" |
156 |
+ >=gnome-base/gdm-3.5[introspection(+)] |
157 |
+ >=gnome-base/gnome-control-center-3.26[bluetooth(+)?,networkmanager(+)?] |
158 |
+ browser-extension? ( gnome-extra/gnome-browser-connector ) |
159 |
+" |
160 |
+BDEPEND=" |
161 |
+ dev-libs/libxslt |
162 |
+ >=dev-util/gdbus-codegen-2.45.3 |
163 |
+ dev-util/glib-utils |
164 |
+ gtk-doc? ( >=dev-util/gtk-doc-1.17 |
165 |
+ app-text/docbook-xml-dtd:4.5 ) |
166 |
+ >=sys-devel/gettext-0.19.8 |
167 |
+ virtual/pkgconfig |
168 |
+" |
169 |
+# These are not needed from tarballs, unless stylesheets or manpage get patched with patchset: |
170 |
+# dev-lang/sassc |
171 |
+# app-text/asciidoc |
172 |
+ |
173 |
+PATCHES=( |
174 |
+ # Fix automagic gnome-bluetooth dep, bug #398145 |
175 |
+ "${FILESDIR}"/42.0-optional-bluetooth.patch |
176 |
+ # Change favorites defaults, bug #479918 |
177 |
+ "${FILESDIR}"/40.0-defaults.patch |
178 |
+) |
179 |
+ |
180 |
+src_prepare() { |
181 |
+ default |
182 |
+ xdg_environment_reset |
183 |
+ # Hack in correct python shebang |
184 |
+ sed -e "s:python\.full_path():'/usr/bin/env ${EPYTHON}':" -i src/meson.build || die |
185 |
+} |
186 |
+ |
187 |
+src_configure() { |
188 |
+ local emesonargs=( |
189 |
+ $(meson_use bluetooth) |
190 |
+ -Dextensions_tool=true |
191 |
+ -Dextensions_app=true |
192 |
+ $(meson_use gtk-doc gtk_doc) |
193 |
+ -Dman=true |
194 |
+ $(meson_use test tests) |
195 |
+ $(meson_use networkmanager) |
196 |
+ $(meson_use systemd) # this controls journald integration and desktop file user services related property only as of 3.34.4 |
197 |
+ # (structured logging and having gnome-shell launched apps use its own identifier instead of gnome-session) |
198 |
+ # suspend support is runtime optional via /run/systemd/seats presence and org.freedesktop.login1.Manager dbus interface; elogind should provide what's necessary |
199 |
+ -Dsoup2=true # libslot SLOT needs to match with what libgweather is using |
200 |
+ ) |
201 |
+ meson_src_configure |
202 |
+} |
203 |
+ |
204 |
+src_test() { |
205 |
+ gnome2_environment_reset # Avoid dconf that looks at XDG_DATA_DIRS, which can sandbox fail if flatpak is installed |
206 |
+ virtx meson_src_test |
207 |
+} |
208 |
+ |
209 |
+pkg_postinst() { |
210 |
+ xdg_pkg_postinst |
211 |
+ gnome2_schemas_update |
212 |
+ |
213 |
+ if ! has_version 'media-libs/gst-plugins-good:1.0' || \ |
214 |
+ ! has_version 'media-plugins/gst-plugins-vpx:1.0'; then |
215 |
+ ewarn "To make use of GNOME Shell's built-in screen recording utility," |
216 |
+ ewarn "you need to either install media-libs/gst-plugins-good:1.0" |
217 |
+ ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change" |
218 |
+ ewarn "apps.gnome-shell.recorder/pipeline to what you want to use." |
219 |
+ fi |
220 |
+ |
221 |
+ if ! has_version "media-libs/mesa[llvm]"; then |
222 |
+ elog "llvmpipe is used as fallback when no 3D acceleration" |
223 |
+ elog "is available. You will need to enable llvm USE for" |
224 |
+ elog "media-libs/mesa if you do not have hardware 3D setup." |
225 |
+ fi |
226 |
+ |
227 |
+ # https://bugs.gentoo.org/show_bug.cgi?id=563084 |
228 |
+ # TODO: Is this still the case after various fixed in 3.28 for detecting non-working KMS for wayland (to fall back to X)? |
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 |
+ |
235 |
+pkg_postrm() { |
236 |
+ xdg_pkg_postrm |
237 |
+ gnome2_schemas_update |
238 |
+} |