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