1 |
commit: 9895f1b67fa7694383ec4a3137198b63d57cd173 |
2 |
Author: Matthew S. Turnbull <sparky <AT> bluefang-logic <DOT> com> |
3 |
AuthorDate: Tue Dec 28 04:26:09 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 21 17:13:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9895f1b6 |
7 |
|
8 |
gnome-extra/cinnamon: Remove old |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Matthew S. Turnbull <sparky <AT> bluefang-logic.com> |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
gnome-extra/cinnamon/Manifest | 1 - |
15 |
gnome-extra/cinnamon/cinnamon-4.8.6.ebuild | 176 --------------------- |
16 |
.../files/cinnamon-4.8.6-build-fixes.patch | 28 ---- |
17 |
3 files changed, 205 deletions(-) |
18 |
|
19 |
diff --git a/gnome-extra/cinnamon/Manifest b/gnome-extra/cinnamon/Manifest |
20 |
index 452bd8bfd499..fae7a4561542 100644 |
21 |
--- a/gnome-extra/cinnamon/Manifest |
22 |
+++ b/gnome-extra/cinnamon/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST cinnamon-4.8.6.tar.gz 2378117 BLAKE2B ae98bf81aa3b2f26d33aa1b5a8109b50d969cb3568322159808c23d13fea6a11790d877a446b3ee4a54f5811fddfb5fca220f46bc213ffc2aa4560e344563f9d SHA512 827d93fa72213e00977d6318da25d9b03279666485ed4c4fd45ece9914c7481f39fa98c64940529a7459cc239783caa9427a2a702f77ffb77fb2c38073e42bbd |
25 |
DIST cinnamon-5.0.6.tar.gz 2397950 BLAKE2B e54f8ed02fc36c121d15d30aaed4633f7db30bcf3e0179fb5fa0b9f12b42f0a29b341f531eed7ba19f849c0400ee9887ee59b5218f4558586a360d173798aeea SHA512 3ed835b1c41a34dfd1e2eac7746bfa01fe48359c6c3e8085877a4c18b895ea065efc343a855cbdee3fcbfb63aa40166bbe40fa19154ae1544be675411d49a962 |
26 |
|
27 |
diff --git a/gnome-extra/cinnamon/cinnamon-4.8.6.ebuild b/gnome-extra/cinnamon/cinnamon-4.8.6.ebuild |
28 |
deleted file mode 100644 |
29 |
index 768aacbecf1d..000000000000 |
30 |
--- a/gnome-extra/cinnamon/cinnamon-4.8.6.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,176 +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 |
- |
38 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
39 |
-PYTHON_REQ_USE="xml" |
40 |
- |
41 |
-inherit meson gnome2-utils pax-utils python-single-r1 xdg |
42 |
- |
43 |
-DESCRIPTION="A fork of GNOME Shell with layout similar to GNOME 2" |
44 |
-HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon" |
45 |
-SRC_URI="https://github.com/linuxmint/cinnamon/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
- |
47 |
-LICENSE="GPL-2+" |
48 |
-SLOT="0" |
49 |
-IUSE="+gstreamer gtk-doc +nls +networkmanager" |
50 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
51 |
-KEYWORDS="amd64 ~arm64 x86" |
52 |
- |
53 |
-DEPEND=" |
54 |
- ${PYTHON_DEPS} |
55 |
- app-accessibility/at-spi2-atk:2 |
56 |
- >=dev-libs/glib-2.52.0:2[dbus] |
57 |
- >=dev-libs/gobject-introspection-1.29.15:= |
58 |
- dev-libs/libxml2:2 |
59 |
- >=gnome-extra/cinnamon-desktop-4.8:0= |
60 |
- >=gnome-extra/cinnamon-menus-4.8 |
61 |
- >=gnome-extra/cjs-4.8[cairo] |
62 |
- net-libs/libsoup:2.4[introspection] |
63 |
- sys-apps/dbus |
64 |
- >=sys-auth/polkit-0.100[introspection] |
65 |
- virtual/opengl |
66 |
- x11-libs/gdk-pixbuf:2[introspection] |
67 |
- >=x11-libs/gtk+-3.12.0:3[introspection] |
68 |
- >=x11-libs/libnotify-0.7.3:0=[introspection] |
69 |
- x11-libs/libX11 |
70 |
- >=x11-libs/libXfixes-5.0 |
71 |
- x11-libs/pango[introspection] |
72 |
- >=x11-libs/startup-notification-0.11 |
73 |
- >=x11-wm/muffin-4.8.0[introspection] |
74 |
- |
75 |
- gstreamer? ( |
76 |
- media-libs/gst-plugins-base:1.0 |
77 |
- media-libs/gstreamer:1.0 |
78 |
- ) |
79 |
- networkmanager? ( |
80 |
- net-misc/networkmanager[introspection] |
81 |
- ) |
82 |
-" |
83 |
-# caribou used by onscreen keyboard |
84 |
-# libtimezonemap used by datetime settings |
85 |
-# iso-flag-png (unpackaged) used by keyboard layout settings |
86 |
-RDEPEND=" |
87 |
- ${DEPEND} |
88 |
- >=app-accessibility/caribou-0.3 |
89 |
- dev-libs/keybinder:3[introspection] |
90 |
- dev-libs/libtimezonemap |
91 |
- $(python_gen_cond_dep ' |
92 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
93 |
- dev-python/distro[${PYTHON_USEDEP}] |
94 |
- dev-python/pexpect[${PYTHON_USEDEP}] |
95 |
- dev-python/pillow[${PYTHON_USEDEP}] |
96 |
- dev-python/pycairo[${PYTHON_USEDEP}] |
97 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
98 |
- dev-python/pyinotify[${PYTHON_USEDEP}] |
99 |
- dev-python/pypam[${PYTHON_USEDEP}] |
100 |
- dev-python/pytz[${PYTHON_USEDEP}] |
101 |
- dev-python/setproctitle[${PYTHON_USEDEP}] |
102 |
- dev-python/tinycss2[${PYTHON_USEDEP}] |
103 |
- dev-python/xapp[${PYTHON_USEDEP}] |
104 |
- ') |
105 |
- >=gnome-base/dconf-0.4.1 |
106 |
- >=gnome-base/gsettings-desktop-schemas-2.91.91 |
107 |
- >=gnome-base/libgnomekbd-2.91.4 |
108 |
- >=gnome-extra/cinnamon-control-center-4.8[networkmanager=] |
109 |
- >=gnome-extra/cinnamon-screensaver-4.8 |
110 |
- >=gnome-extra/cinnamon-session-4.8 |
111 |
- >=gnome-extra/cinnamon-settings-daemon-4.8 |
112 |
- >=gnome-extra/nemo-4.8 |
113 |
- gnome-extra/polkit-gnome |
114 |
- net-misc/wget |
115 |
- sys-apps/accountsservice[introspection] |
116 |
- sys-power/upower[introspection] |
117 |
- >=x11-libs/xapps-2.0.5[introspection] |
118 |
- x11-misc/xdg-utils |
119 |
- x11-themes/adwaita-icon-theme |
120 |
- x11-themes/gnome-themes-standard |
121 |
- |
122 |
- nls? ( |
123 |
- >=gnome-extra/cinnamon-translations-4.8 |
124 |
- ) |
125 |
-" |
126 |
-BDEPEND=" |
127 |
- >=dev-util/intltool-0.40 |
128 |
- >=sys-devel/gettext-0.17 |
129 |
- virtual/pkgconfig |
130 |
- |
131 |
- gtk-doc? ( dev-util/gtk-doc ) |
132 |
-" |
133 |
- |
134 |
-PATCHES=( |
135 |
- # Fix backgrounds path as cinnamon doesn't provide them |
136 |
- # https://github.com/linuxmint/Cinnamon/issues/3575 |
137 |
- "${FILESDIR}"/${PN}-3.8.0-gnome-background-compatibility.patch |
138 |
- |
139 |
- # Use wheel group instead of sudo (from Fedora/Arch) |
140 |
- # https://github.com/linuxmint/Cinnamon/issues/3576 |
141 |
- "${FILESDIR}"/${PN}-3.6.6-wheel-sudo.patch |
142 |
- |
143 |
- # GStreamer only needed for recorder |
144 |
- # https://github.com/linuxmint/cinnamon/pull/9809 |
145 |
- "${FILESDIR}"/${PN}-4.8.6-build-fixes.patch |
146 |
-) |
147 |
- |
148 |
-src_prepare() { |
149 |
- xdg_src_prepare |
150 |
- |
151 |
- # Add polkit agent to required components |
152 |
- # https://github.com/linuxmint/Cinnamon/issues/3579 |
153 |
- sed -i "s/'REQUIRED', '/&polkit-cinnamon-authentication-agent-1;/" meson.build || die |
154 |
- |
155 |
- # shebang fixing craziness |
156 |
- local p |
157 |
- for p in $(grep -rl '#!.*python3' || die); do |
158 |
- python_fix_shebang "${p}" |
159 |
- done |
160 |
-} |
161 |
- |
162 |
-src_configure() { |
163 |
- local emesonargs=( |
164 |
- $(meson_use gstreamer build_recorder) |
165 |
- $(meson_use gtk-doc docs) |
166 |
- -Ddisable_networkmanager=$(usex networkmanager false true) |
167 |
- ) |
168 |
- meson_src_configure |
169 |
-} |
170 |
- |
171 |
-src_install() { |
172 |
- meson_src_install |
173 |
- |
174 |
- python_optimize "${ED}"/usr/share/cinnamon/ |
175 |
- |
176 |
- # Required for gnome-shell on hardened/PaX, bug #398941 |
177 |
- pax-mark mr "${ED}"/usr/bin/cinnamon |
178 |
- |
179 |
- # Doesn't exist on Gentoo, causing this to be a dead symlink |
180 |
- rm "${ED}/etc/xdg/menus/cinnamon-applications-merged" || die |
181 |
- |
182 |
- # Ensure authentication-agent is started, bug #523958 |
183 |
- # https://github.com/linuxmint/Cinnamon/issues/3579 |
184 |
- insinto /etc/xdg/autostart/ |
185 |
- doins "${FILESDIR}"/polkit-cinnamon-authentication-agent-1.desktop |
186 |
-} |
187 |
- |
188 |
-pkg_postinst() { |
189 |
- xdg_pkg_postinst |
190 |
- gnome2_schemas_update |
191 |
- |
192 |
- if use gstreamer; then |
193 |
- if ! has_version 'media-libs/gst-plugins-good:1.0' || \ |
194 |
- ! has_version 'media-plugins/gst-plugins-vpx:1.0'; then |
195 |
- ewarn "To make use of Cinnamon's built-in screen recording utility," |
196 |
- ewarn "you need to either install media-libs/gst-plugins-good:1.0" |
197 |
- ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change" |
198 |
- ewarn "org.cinnamon.recorder/pipeline to what you want to use." |
199 |
- fi |
200 |
- else |
201 |
- ewarn "Cinnamon's built-in screen recording utility is disabled." |
202 |
- fi |
203 |
-} |
204 |
- |
205 |
-pkg_postrm() { |
206 |
- xdg_pkg_postinst |
207 |
- gnome2_schemas_update |
208 |
-} |
209 |
|
210 |
diff --git a/gnome-extra/cinnamon/files/cinnamon-4.8.6-build-fixes.patch b/gnome-extra/cinnamon/files/cinnamon-4.8.6-build-fixes.patch |
211 |
deleted file mode 100644 |
212 |
index bc4476a5892e..000000000000 |
213 |
--- a/gnome-extra/cinnamon/files/cinnamon-4.8.6-build-fixes.patch |
214 |
+++ /dev/null |
215 |
@@ -1,28 +0,0 @@ |
216 |
-diff --git a/meson.build b/meson.build |
217 |
-index a4d49a16..eff937ac 100644 |
218 |
---- a/meson.build |
219 |
-+++ b/meson.build |
220 |
-@@ -36,8 +36,6 @@ gio_unix = dependency('gio-unix-2.0') |
221 |
- gl = dependency('gl') |
222 |
- glib_version = '2.52.0' |
223 |
- glib = dependency('glib-2.0', version: '>= ' + glib_version) |
224 |
--gstreamer = dependency('gstreamer-1.0') |
225 |
--gstreamer_base = dependency('gstreamer-base-1.0') |
226 |
- gtk = dependency('gtk+-3.0', version: '>= 3.12.0') |
227 |
- muffin = dependency('libmuffin', version: '>= 4.0.3') |
228 |
- muffinlibdir = muffin.get_pkgconfig_variable('typelibdir') |
229 |
-@@ -53,6 +51,14 @@ if has_nm |
230 |
- dependency('libnm') |
231 |
- endif |
232 |
- |
233 |
-+if get_option('build_recorder') |
234 |
-+ gstreamer = dependency('gstreamer-1.0') |
235 |
-+ gstreamer_base = dependency('gstreamer-base-1.0') |
236 |
-+else |
237 |
-+ gstreamer = dependency('', required: false) |
238 |
-+ gstreamer_base = dependency('', required: false) |
239 |
-+endif |
240 |
-+ |
241 |
- # on some systems we need to find the math lib to make sure it builds |
242 |
- cc = meson.get_compiler('c') |
243 |
- math = cc.find_library('m', required: false) |