1 |
commit: f4e86e4d486928b98edc775a9d4093f1e40aeb88 |
2 |
Author: Matthew S. Turnbull <sparky <AT> bluefang-logic <DOT> com> |
3 |
AuthorDate: Sun Feb 27 20:04:42 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 27 23:49:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4e86e4d |
7 |
|
8 |
gnome-extra/cinnamon: Remove old |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Matthew S. Turnbull <sparky <AT> bluefang-logic.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/24371 |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
gnome-extra/cinnamon/cinnamon-5.2.7-r1.ebuild | 182 -------------------------- |
16 |
1 file changed, 182 deletions(-) |
17 |
|
18 |
diff --git a/gnome-extra/cinnamon/cinnamon-5.2.7-r1.ebuild b/gnome-extra/cinnamon/cinnamon-5.2.7-r1.ebuild |
19 |
deleted file mode 100644 |
20 |
index 6ce4247d38e4..000000000000 |
21 |
--- a/gnome-extra/cinnamon/cinnamon-5.2.7-r1.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,182 +0,0 @@ |
24 |
-# Copyright 1999-2022 Gentoo Authors |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
- |
27 |
-EAPI=7 |
28 |
- |
29 |
-PYTHON_COMPAT=( python3_{7,8,9,10} ) |
30 |
-PYTHON_REQ_USE="xml" |
31 |
- |
32 |
-inherit meson gnome2-utils pax-utils python-single-r1 xdg |
33 |
- |
34 |
-DESCRIPTION="A fork of GNOME Shell with layout similar to GNOME 2" |
35 |
-HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon" |
36 |
-SRC_URI="https://github.com/linuxmint/cinnamon/archive/${PV}.tar.gz -> ${P}.tar.gz" |
37 |
- |
38 |
-LICENSE="GPL-2+" |
39 |
-SLOT="0" |
40 |
-IUSE="+eds +gstreamer gtk-doc +nls +networkmanager" |
41 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
42 |
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86" |
43 |
- |
44 |
-DEPEND=" |
45 |
- ${PYTHON_DEPS} |
46 |
- app-accessibility/at-spi2-atk:2 |
47 |
- >=dev-libs/glib-2.52.0:2[dbus] |
48 |
- >=dev-libs/gobject-introspection-1.29.15:= |
49 |
- dev-libs/libxml2:2 |
50 |
- >=gnome-extra/cinnamon-desktop-5.2:0= |
51 |
- >=gnome-extra/cinnamon-menus-5.2 |
52 |
- >=gnome-extra/cjs-5.2[cairo] |
53 |
- net-libs/libsoup:2.4[introspection] |
54 |
- sys-apps/dbus |
55 |
- >=sys-auth/polkit-0.100[introspection] |
56 |
- virtual/opengl |
57 |
- x11-libs/gdk-pixbuf:2[introspection] |
58 |
- >=x11-libs/gtk+-3.12.0:3[introspection] |
59 |
- >=x11-libs/libnotify-0.7.3:0=[introspection] |
60 |
- x11-libs/libX11 |
61 |
- >=x11-libs/libXfixes-5.0 |
62 |
- x11-libs/pango[introspection] |
63 |
- >=x11-libs/startup-notification-0.11 |
64 |
- >=x11-wm/muffin-5.2[introspection] |
65 |
- |
66 |
- eds? ( |
67 |
- gnome-extra/evolution-data-server |
68 |
- ) |
69 |
- gstreamer? ( |
70 |
- media-libs/gst-plugins-base:1.0 |
71 |
- media-libs/gstreamer:1.0 |
72 |
- ) |
73 |
- networkmanager? ( |
74 |
- net-misc/networkmanager[introspection] |
75 |
- ) |
76 |
-" |
77 |
-# caribou used by onscreen keyboard |
78 |
-# libtimezonemap used by datetime settings |
79 |
-# iso-flag-png (unpackaged) used by keyboard layout settings |
80 |
-RDEPEND=" |
81 |
- ${DEPEND} |
82 |
- >=app-accessibility/caribou-0.3 |
83 |
- dev-libs/keybinder:3[introspection] |
84 |
- dev-libs/libtimezonemap |
85 |
- $(python_gen_cond_dep ' |
86 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
87 |
- dev-python/distro[${PYTHON_USEDEP}] |
88 |
- dev-python/pexpect[${PYTHON_USEDEP}] |
89 |
- dev-python/pillow[${PYTHON_USEDEP}] |
90 |
- dev-python/pycairo[${PYTHON_USEDEP}] |
91 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
92 |
- dev-python/pyinotify[${PYTHON_USEDEP}] |
93 |
- dev-python/pypam[${PYTHON_USEDEP}] |
94 |
- dev-python/pytz[${PYTHON_USEDEP}] |
95 |
- dev-python/requests[${PYTHON_USEDEP}] |
96 |
- dev-python/setproctitle[${PYTHON_USEDEP}] |
97 |
- dev-python/tinycss2[${PYTHON_USEDEP}] |
98 |
- >=dev-python/python3-xapp-2.2.1-r1[${PYTHON_USEDEP}] |
99 |
- ') |
100 |
- >=gnome-base/dconf-0.4.1 |
101 |
- >=gnome-base/gsettings-desktop-schemas-2.91.91 |
102 |
- >=gnome-base/libgnomekbd-2.91.4 |
103 |
- >=gnome-extra/cinnamon-control-center-5.2[networkmanager=] |
104 |
- >=gnome-extra/cinnamon-screensaver-5.2 |
105 |
- >=gnome-extra/cinnamon-session-5.2 |
106 |
- >=gnome-extra/cinnamon-settings-daemon-5.2 |
107 |
- >=gnome-extra/nemo-5.2 |
108 |
- gnome-extra/polkit-gnome |
109 |
- net-misc/wget |
110 |
- sys-apps/accountsservice[introspection] |
111 |
- sys-power/upower[introspection] |
112 |
- >=x11-libs/xapp-2.2.8[introspection] |
113 |
- x11-misc/xdg-utils |
114 |
- x11-themes/adwaita-icon-theme |
115 |
- x11-themes/gnome-themes-standard |
116 |
- |
117 |
- nls? ( |
118 |
- >=gnome-extra/cinnamon-translations-5.2 |
119 |
- ) |
120 |
-" |
121 |
-BDEPEND=" |
122 |
- >=dev-util/intltool-0.40 |
123 |
- >=sys-devel/gettext-0.17 |
124 |
- virtual/pkgconfig |
125 |
- |
126 |
- gtk-doc? ( dev-util/gtk-doc ) |
127 |
-" |
128 |
- |
129 |
-PATCHES=( |
130 |
- # Fix backgrounds path as cinnamon doesn't provide them |
131 |
- # https://github.com/linuxmint/Cinnamon/issues/3575 |
132 |
- "${FILESDIR}"/${PN}-3.8.0-gnome-background-compatibility.patch |
133 |
- |
134 |
- # Use wheel group instead of sudo (from Fedora/Arch) |
135 |
- # https://github.com/linuxmint/Cinnamon/issues/3576 |
136 |
- "${FILESDIR}"/${PN}-3.6.6-wheel-sudo.patch |
137 |
- |
138 |
- # Make evolution-data-server integration optional |
139 |
- "${FILESDIR}"/${PN}-5.2.7-eds-detection.patch |
140 |
-) |
141 |
- |
142 |
-src_prepare() { |
143 |
- xdg_src_prepare |
144 |
- |
145 |
- # Add polkit agent to required components |
146 |
- # https://github.com/linuxmint/Cinnamon/issues/3579 |
147 |
- sed -i "s/'REQUIRED', '/&polkit-cinnamon-authentication-agent-1;/" meson.build || die |
148 |
- |
149 |
- # shebang fixing craziness |
150 |
- local p |
151 |
- for p in $(grep -rl '#!.*python3' || die); do |
152 |
- python_fix_shebang "${p}" |
153 |
- done |
154 |
-} |
155 |
- |
156 |
-src_configure() { |
157 |
- local emesonargs=( |
158 |
- $(meson_use gstreamer build_recorder) |
159 |
- $(meson_use gtk-doc docs) |
160 |
- -Ddisable_networkmanager=$(usex networkmanager false true) |
161 |
- -Dpy3modules_dir="$(python_get_sitedir)" |
162 |
- ) |
163 |
- meson_src_configure |
164 |
-} |
165 |
- |
166 |
-src_install() { |
167 |
- meson_src_install |
168 |
- |
169 |
- python_optimize "${D}$(python_get_sitedir)" |
170 |
- python_optimize "${ED}"/usr/share/cinnamon/ |
171 |
- |
172 |
- # Required for gnome-shell on hardened/PaX, bug #398941 |
173 |
- pax-mark mr "${ED}"/usr/bin/cinnamon |
174 |
- |
175 |
- # Doesn't exist on Gentoo, causing this to be a dead symlink |
176 |
- rm "${ED}/etc/xdg/menus/cinnamon-applications-merged" || die |
177 |
- |
178 |
- # Ensure authentication-agent is started, bug #523958 |
179 |
- # https://github.com/linuxmint/Cinnamon/issues/3579 |
180 |
- insinto /etc/xdg/autostart/ |
181 |
- doins "${FILESDIR}"/polkit-cinnamon-authentication-agent-1.desktop |
182 |
-} |
183 |
- |
184 |
-pkg_postinst() { |
185 |
- xdg_pkg_postinst |
186 |
- gnome2_schemas_update |
187 |
- |
188 |
- if use gstreamer; then |
189 |
- if ! has_version 'media-libs/gst-plugins-good:1.0' || \ |
190 |
- ! has_version 'media-plugins/gst-plugins-vpx:1.0'; then |
191 |
- ewarn "To make use of Cinnamon's built-in screen recording utility," |
192 |
- ewarn "you need to either install media-libs/gst-plugins-good:1.0" |
193 |
- ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change" |
194 |
- ewarn "org.cinnamon.recorder/pipeline to what you want to use." |
195 |
- fi |
196 |
- else |
197 |
- ewarn "Cinnamon's built-in screen recording utility is not installed" |
198 |
- ewarn "because gstreamer support is disabled." |
199 |
- fi |
200 |
-} |
201 |
- |
202 |
-pkg_postrm() { |
203 |
- xdg_pkg_postinst |
204 |
- gnome2_schemas_update |
205 |
-} |