1 |
commit: 3da04b78334de3e834a8eea2d150478c67dc62cf |
2 |
Author: Matthew S. Turnbull <sparky <AT> bluefang-logic <DOT> com> |
3 |
AuthorDate: Wed Jul 29 16:19:10 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 9 02:15:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3da04b78 |
7 |
|
8 |
gnome-extra/cinnamon: 4.6.7 version bump |
9 |
|
10 |
Switch to EAPI=7. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/733544 |
13 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
14 |
Signed-off-by: Matthew S. Turnbull <sparky <AT> bluefang-logic.com> |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
gnome-extra/cinnamon/Manifest | 1 + |
18 |
gnome-extra/cinnamon/cinnamon-4.6.7.ebuild | 181 +++++++++++++++++++++++++++++ |
19 |
2 files changed, 182 insertions(+) |
20 |
|
21 |
diff --git a/gnome-extra/cinnamon/Manifest b/gnome-extra/cinnamon/Manifest |
22 |
index 62012379d1a..c586ce36dba 100644 |
23 |
--- a/gnome-extra/cinnamon/Manifest |
24 |
+++ b/gnome-extra/cinnamon/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST cinnamon-4.4.8.tar.gz 2285252 BLAKE2B 8049093582c57d3e60f570561265b4edbc117e749e228b2d9638ec3afb2a33c1675604e4e8283c683a0fb54608f742552e89da8fc57fafd01bb6ba1567dc1fe3 SHA512 aedf9f470c04bd0a36cdc34546ed92d5709325e3ef2c0f40e8b026a76964231fc950c4a46bb6a87d46a2fa0f1cac50e7dcbe914008e18550b5fc1e27c7135978 |
27 |
+DIST cinnamon-4.6.7.tar.gz 2271281 BLAKE2B bbf8a5d82b6bd27a8578aebb30ed0df4190ef2addfc0d820448e70d4db6b3d8df633a5f33178b29fd2c012045e1790df60a4b1b281fdd70eda53caa5cacc0d7b SHA512 4807d5330c1e2a7e1804257b88dbec2822aa386b0bc2fe2d3aca8e5a27125703987dbabca35360e99216e7b4370bcf6339de562026b48529442a4edda6eb9070 |
28 |
|
29 |
diff --git a/gnome-extra/cinnamon/cinnamon-4.6.7.ebuild b/gnome-extra/cinnamon/cinnamon-4.6.7.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..acc18a5644a |
32 |
--- /dev/null |
33 |
+++ b/gnome-extra/cinnamon/cinnamon-4.6.7.ebuild |
34 |
@@ -0,0 +1,181 @@ |
35 |
+# Copyright 1999-2020 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
40 |
+PYTHON_REQ_USE="xml" |
41 |
+ |
42 |
+inherit autotools eutils flag-o-matic gnome2-utils multilib pax-utils python-single-r1 xdg |
43 |
+ |
44 |
+DESCRIPTION="A fork of GNOME Shell with layout similar to GNOME 2" |
45 |
+HOMEPAGE="https://projects.linuxmint.com/cinnamon/" |
46 |
+SRC_URI="https://github.com/linuxmint/cinnamon/archive/${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="GPL-2+" |
49 |
+SLOT="0" |
50 |
+IUSE="gtk-doc +nls +networkmanager" |
51 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+ |
54 |
+COMMON_DEPEND="${PYTHON_DEPS} |
55 |
+ app-accessibility/at-spi2-atk:2 |
56 |
+ app-misc/ca-certificates |
57 |
+ dev-libs/dbus-glib |
58 |
+ >=dev-libs/glib-2.35.0:2[dbus] |
59 |
+ >=dev-libs/gobject-introspection-1.29.15:= |
60 |
+ >=dev-libs/libcroco-0.6.2:0.6 |
61 |
+ dev-libs/libxml2:2 |
62 |
+ >=gnome-extra/cinnamon-desktop-4.6:0= |
63 |
+ >=gnome-extra/cinnamon-menus-4.6 |
64 |
+ >=gnome-extra/cjs-4.6[cairo] |
65 |
+ >=gnome-base/gsettings-desktop-schemas-2.91.91 |
66 |
+ media-libs/gstreamer:1.0 |
67 |
+ media-libs/gst-plugins-base:1.0 |
68 |
+ net-libs/libsoup:2.4[introspection] |
69 |
+ >=sys-auth/polkit-0.100[introspection] |
70 |
+ x11-libs/gdk-pixbuf:2[introspection] |
71 |
+ >=x11-libs/gtk+-3.12.0:3[introspection] |
72 |
+ x11-libs/pango[introspection] |
73 |
+ >=x11-libs/startup-notification-0.11 |
74 |
+ x11-libs/libX11 |
75 |
+ >=x11-libs/libXfixes-5.0 |
76 |
+ >=x11-wm/muffin-4.0.3[introspection] |
77 |
+ dev-libs/keybinder:3[introspection] |
78 |
+ >=x11-libs/libnotify-0.7.3:0=[introspection] |
79 |
+" |
80 |
+# Runtime-only deps are probably incomplete and approximate. |
81 |
+# Each block: |
82 |
+# 2. Introspection stuff + dconf needed via imports.gi.* |
83 |
+# 3. gnome-session is needed for gnome-session-quit |
84 |
+# 4. Control shell settings |
85 |
+# 5. accountsservice is needed for GdmUserManager (0.6.14 needed for fast |
86 |
+# user switching with gdm-3.1.x) |
87 |
+# 6. caribou needed for on-screen keyboard |
88 |
+# 7. xdg-utils needed for xdg-open, used by extension tool |
89 |
+# 8. imaging, lxml needed for cinnamon-settings |
90 |
+# 9. adwaita-icon-theme needed for various icons |
91 |
+# 10. pygobject needed for menu editor |
92 |
+# 11. nemo - default file manager, tightly integrated with cinnamon |
93 |
+# 12. polkit-gnome - explicitly autostarted by us |
94 |
+# TODO(lxnay): fix error: libgnome-desktop/gnome-rr-labeler.h: No such file or directory |
95 |
+RDEPEND="${COMMON_DEPEND} |
96 |
+ >=gnome-base/dconf-0.4.1 |
97 |
+ >=gnome-base/libgnomekbd-2.91.4 |
98 |
+ sys-power/upower[introspection] |
99 |
+ |
100 |
+ >=gnome-extra/cinnamon-session-4.6 |
101 |
+ >=gnome-extra/cinnamon-settings-daemon-4.6 |
102 |
+ |
103 |
+ >=app-accessibility/caribou-0.3 |
104 |
+ |
105 |
+ dev-libs/libtimezonemap |
106 |
+ x11-misc/xdg-utils |
107 |
+ x11-libs/xapps[introspection] |
108 |
+ |
109 |
+ $(python_gen_cond_dep ' |
110 |
+ dev-python/dbus-python[${PYTHON_USEDEP}] |
111 |
+ dev-python/distro[${PYTHON_USEDEP}] |
112 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
113 |
+ dev-python/pexpect[${PYTHON_USEDEP}] |
114 |
+ dev-python/pycairo[${PYTHON_USEDEP}] |
115 |
+ dev-python/pyinotify[${PYTHON_USEDEP}] |
116 |
+ dev-python/pypam[${PYTHON_USEDEP}] |
117 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
118 |
+ dev-python/setproctitle[${PYTHON_USEDEP}] |
119 |
+ dev-python/tinycss2[${PYTHON_USEDEP}] |
120 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
121 |
+ dev-python/xapp[${PYTHON_USEDEP}] |
122 |
+ ') |
123 |
+ |
124 |
+ x11-themes/gnome-themes-standard |
125 |
+ x11-themes/adwaita-icon-theme |
126 |
+ |
127 |
+ >=gnome-extra/nemo-4.6 |
128 |
+ >=gnome-extra/cinnamon-control-center-4.6[networkmanager=] |
129 |
+ >=gnome-extra/cinnamon-screensaver-4.6 |
130 |
+ |
131 |
+ gnome-extra/polkit-gnome |
132 |
+ |
133 |
+ nls? ( >=gnome-extra/cinnamon-translations-4.6 ) |
134 |
+" |
135 |
+DEPEND="${COMMON_DEPEND} |
136 |
+ >=dev-util/intltool-0.40 |
137 |
+ >=sys-devel/gettext-0.17 |
138 |
+ virtual/pkgconfig |
139 |
+ gtk-doc? ( dev-util/gtk-doc ) |
140 |
+" |
141 |
+ |
142 |
+PATCHES=( |
143 |
+ # Fix backgrounds path as cinnamon doesn't provide them |
144 |
+ # https://github.com/linuxmint/Cinnamon/issues/3575 |
145 |
+ "${FILESDIR}"/${PN}-3.8.0-gnome-background-compatibility.patch |
146 |
+ |
147 |
+ # Use wheel group instead of sudo (from Fedora/Arch) |
148 |
+ # https://github.com/linuxmint/Cinnamon/issues/3576 |
149 |
+ "${FILESDIR}"/${PN}-3.6.6-wheel-sudo.patch |
150 |
+) |
151 |
+ |
152 |
+src_prepare() { |
153 |
+ xdg_src_prepare |
154 |
+ eautoreconf |
155 |
+ gnome2_disable_deprecation_warning |
156 |
+ |
157 |
+ # Add polkit agent to required components (from Fedora/Arch), bug #523958 |
158 |
+ # https://github.com/linuxmint/Cinnamon/issues/3579 |
159 |
+ sed -i 's/RequiredComponents=\(.*\)$/RequiredComponents=\1polkit-gnome-authentication-agent-1;/' \ |
160 |
+ files/cinnamon*.session.in || die |
161 |
+ |
162 |
+ # shebang fixing craziness |
163 |
+ local p |
164 |
+ for p in $(grep -rl '#!.*python3'); do |
165 |
+ python_fix_shebang "${p}" |
166 |
+ done |
167 |
+} |
168 |
+ |
169 |
+src_configure() { |
170 |
+ econf \ |
171 |
+ --disable-maintainer-mode \ |
172 |
+ --disable-schemas-compile \ |
173 |
+ --enable-compile-warnings=minimum \ |
174 |
+ --libdir="${EPREFIX}/usr/$(get_libdir)" \ |
175 |
+ --with-ca-certificates="${EPREFIX}/etc/ssl/certs/ca-certificates.crt" \ |
176 |
+ $(use_enable gtk-doc) \ |
177 |
+ $(use_enable networkmanager) \ |
178 |
+ BROWSER_PLUGIN_DIR="${EPREFIX}/usr/$(get_libdir)/nsbrowser/plugins" |
179 |
+} |
180 |
+ |
181 |
+src_install() { |
182 |
+ default |
183 |
+ find "${D}" -name '*.la' -delete || die |
184 |
+ |
185 |
+ python_optimize "${ED}"/usr/share/cinnamon/ |
186 |
+ |
187 |
+ # Required for gnome-shell on hardened/PaX, bug #398941 |
188 |
+ pax-mark mr "${ED}"/usr/bin/cinnamon |
189 |
+ |
190 |
+ # Doesn't exist on Gentoo, causing this to be a dead symlink |
191 |
+ rm -f "${ED}/etc/xdg/menus/cinnamon-applications-merged" || die |
192 |
+ |
193 |
+ # Ensure authentication-agent is started, bug #523958 |
194 |
+ # https://github.com/linuxmint/Cinnamon/issues/3579 |
195 |
+ insinto /etc/xdg/autostart/ |
196 |
+ doins "${FILESDIR}"/polkit-cinnamon-authentication-agent-1.desktop |
197 |
+} |
198 |
+ |
199 |
+pkg_postinst() { |
200 |
+ xdg_pkg_postinst |
201 |
+ gnome2_schemas_update |
202 |
+ |
203 |
+ if ! has_version 'media-libs/gst-plugins-good:1.0' || \ |
204 |
+ ! has_version 'media-plugins/gst-plugins-vpx:1.0'; then |
205 |
+ ewarn "To make use of Cinnamon's built-in screen recording utility," |
206 |
+ ewarn "you need to either install media-libs/gst-plugins-good:1.0" |
207 |
+ ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change" |
208 |
+ ewarn "org.cinnamon.recorder/pipeline to what you want to use." |
209 |
+ fi |
210 |
+} |
211 |
+ |
212 |
+pkg_postrm() { |
213 |
+ xdg_pkg_postinst |
214 |
+ gnome2_schemas_update |
215 |
+} |