Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/gnome-shell/
Date: Tue, 11 Jan 2022 20:42:17
Message-Id: 1641933705.021ab207200ec2ab97e7f24e76e12833159beb70.leio@gentoo
1 commit: 021ab207200ec2ab97e7f24e76e12833159beb70
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 11 20:02:56 2022 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 11 20:41:45 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=021ab207
7
8 gnome-base/gnome-shell: remove old
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.2
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 gnome-base/gnome-shell/Manifest | 1 -
14 gnome-base/gnome-shell/gnome-shell-41.1-r1.ebuild | 201 ----------------------
15 2 files changed, 202 deletions(-)
16
17 diff --git a/gnome-base/gnome-shell/Manifest b/gnome-base/gnome-shell/Manifest
18 index 8f2839443824..9369fa6933c8 100644
19 --- a/gnome-base/gnome-shell/Manifest
20 +++ b/gnome-base/gnome-shell/Manifest
21 @@ -1,4 +1,3 @@
22 DIST gnome-shell-40.4.tar.xz 1870468 BLAKE2B 78b0a749850e5df18beabd25cc35214b2d1f9a254dd095b9e783b2acdc9bac30edd7ffae3e6b15dd14d5b0877e8453c17548298e29b57642353e80ed505e556d SHA512 305d12cc7273f23e4a0c294f532cbf951816fd2de81959bef769048f4d5717e9e1886b64fe17b2f5ef6ee216ea67a6b913293a8903ec5dc5214bd29fbb1d3b32
23 DIST gnome-shell-40.5.tar.xz 1871284 BLAKE2B 39c7392541af8a043627fb7aa19b723ee3b36e3d8001a64f34b14a6f23d68d3b160a0abe0f90659c55b99bf898cfdf30d88f62b8e113fc47814a55ef37c58725 SHA512 98bb0321aa9bc9da10ff6262cac802f575e2958600f429d446f3f87ec1ea40c837dd6e2fecae9dab0c2e224d2bf8b434a188ade84d4f480260102dcc80fdc5c9
24 -DIST gnome-shell-41.1.tar.xz 1897144 BLAKE2B b129fc9d7082956c3d0b0521126f569753f9137d1d61a42ce148bf94a8ec154a24a3bcf48807f6b0568a90763eba9c6166d7eac7c5495f3f72ffd318b38d3d0b SHA512 b9a5064c6d66d34c86b2fcd1ac2748072b094eb149e5ba3deb5b271e6ada2b6793c5422c4a80ce407f5a6cf52160d2d76fcf0ab752ee7cb27d9f246e8e024827
25 DIST gnome-shell-41.2.tar.xz 1896672 BLAKE2B 634cc8e4b77a94899af123fa9ce2a11271b913467007084bde90cfe2f4dbddd65bb1ed115c42ba21a697cb591e48387a19c5b0c3764e13950b9034c9fbc493d9 SHA512 4ec29881030933f8c15ea1d11a431ca07ea84566cd7c1ab69afbf25c1b588b2d75ade17b623b5bf644b42bf5b82e375b67a833169b5b0b6c7c0dd8dbd3e56835
26
27 diff --git a/gnome-base/gnome-shell/gnome-shell-41.1-r1.ebuild b/gnome-base/gnome-shell/gnome-shell-41.1-r1.ebuild
28 deleted file mode 100644
29 index 950ce4355d5c..000000000000
30 --- a/gnome-base/gnome-shell/gnome-shell-41.1-r1.ebuild
31 +++ /dev/null
32 @@ -1,201 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -PYTHON_COMPAT=( python3_{8..10} )
38 -
39 -inherit gnome.org gnome2-utils meson python-single-r1 virtualx xdg
40 -
41 -DESCRIPTION="Provides core UI functions for the GNOME desktop"
42 -HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell"
43 -
44 -LICENSE="GPL-2+ LGPL-2+"
45 -SLOT="0"
46 -IUSE="+bluetooth +browser-extension elogind gtk-doc +ibus +networkmanager systemd telepathy"
47 -REQUIRED_USE="${PYTHON_REQUIRED_USE}
48 - ?? ( elogind systemd )"
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.69.2
61 - >=x11-libs/gtk+-3.15.0:3[introspection]
62 - >=x11-wm/mutter-41.0:0/9[introspection]
63 - >=sys-auth/polkit-0.100[introspection]
64 - >=gnome-base/gsettings-desktop-schemas-41_alpha[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.9[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-3.26:2[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.4.99[dconf(+),gtk,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}"/40.0-optional-bluetooth.patch
172 - # Change favorites defaults, bug #479918
173 - "${FILESDIR}"/40.0-defaults.patch
174 -)
175 -
176 -src_prepare() {
177 - xdg_src_prepare
178 - # Hack in correct python shebang
179 - sed -e "s:python\.path():'/usr/bin/env ${EPYTHON}':" -i src/meson.build || die
180 -}
181 -
182 -src_configure() {
183 - local emesonargs=(
184 - $(meson_use bluetooth)
185 - -Dextensions_tool=true
186 - -Dextensions_app=true
187 - $(meson_use gtk-doc gtk_doc)
188 - -Dman=true
189 - $(meson_use test tests)
190 - $(meson_use networkmanager)
191 - $(meson_use systemd) # this controls journald integration and desktop file user services related property only as of 3.34.4
192 - # (structured logging and having gnome-shell launched apps use its own identifier instead of gnome-session)
193 - # suspend support is runtime optional via /run/systemd/seats presence and org.freedesktop.login1.Manager dbus interface; elogind should provide what's necessary
194 - -Dsoup2=true # libslot SLOT needs to match with what libgweather is using
195 - )
196 - meson_src_configure
197 -}
198 -
199 -src_test() {
200 - gnome2_environment_reset # Avoid dconf that looks at XDG_DATA_DIRS, which can sandbox fail if flatpak is installed
201 - virtx meson_src_test
202 -}
203 -
204 -pkg_postinst() {
205 - xdg_pkg_postinst
206 - gnome2_schemas_update
207 -
208 - if ! has_version 'media-libs/gst-plugins-good:1.0' || \
209 - ! has_version 'media-plugins/gst-plugins-vpx:1.0'; then
210 - ewarn "To make use of GNOME Shell's built-in screen recording utility,"
211 - ewarn "you need to either install media-libs/gst-plugins-good:1.0"
212 - ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change"
213 - ewarn "apps.gnome-shell.recorder/pipeline to what you want to use."
214 - fi
215 -
216 - if ! has_version "media-libs/mesa[llvm]"; then
217 - elog "llvmpipe is used as fallback when no 3D acceleration"
218 - elog "is available. You will need to enable llvm USE for"
219 - elog "media-libs/mesa if you do not have hardware 3D setup."
220 - fi
221 -
222 - # https://bugs.gentoo.org/show_bug.cgi?id=563084
223 - # TODO: Is this still the case after various fixed in 3.28 for detecting non-working KMS for wayland (to fall back to X)?
224 - if has_version "x11-drivers/nvidia-drivers[-kms]"; then
225 - ewarn "You will need to enable kms support in x11-drivers/nvidia-drivers,"
226 - ewarn "otherwise Gnome will fail to start"
227 - fi
228 -}
229 -
230 -pkg_postrm() {
231 - xdg_pkg_postrm
232 - gnome2_schemas_update
233 -}