1 |
commit: 0ee44a691cc7d89a97230afd67e5d729c0b164d7 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 25 15:00:04 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 25 16:26:08 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ee44a69 |
7 |
|
8 |
gnome-extra/cinnamon: Drop old |
9 |
|
10 |
Package-Manager: portage-2.3.0_rc1 |
11 |
|
12 |
gnome-extra/cinnamon/Manifest | 1 - |
13 |
gnome-extra/cinnamon/cinnamon-2.8.6.ebuild | 247 --------------------- |
14 |
.../cinnamon/files/cinnamon-2.4.5-background.patch | 26 --- |
15 |
.../cinnamon/files/cinnamon-2.4.5-gnome-3.14.patch | 43 ---- |
16 |
.../cinnamon-2.4.5-optional-networkmanager.patch | 89 -------- |
17 |
.../cinnamon/files/cinnamon-2.4.5-set-wheel.patch | 70 ------ |
18 |
.../cinnamon-2.6.13-test-recorder-includes.patch | 36 --- |
19 |
.../cinnamon/files/cinnamon-2.6.7-set-wheel.patch | 73 ------ |
20 |
8 files changed, 585 deletions(-) |
21 |
|
22 |
diff --git a/gnome-extra/cinnamon/Manifest b/gnome-extra/cinnamon/Manifest |
23 |
index 0bece92..a48cff1 100644 |
24 |
--- a/gnome-extra/cinnamon/Manifest |
25 |
+++ b/gnome-extra/cinnamon/Manifest |
26 |
@@ -1,2 +1 @@ |
27 |
-DIST cinnamon-2.8.6.tar.gz 3025161 SHA256 c262ae64320d4db8bffdfa7f05ab5a82449e96035b35dd8fb9353741323cb9a2 SHA512 fb683aaea1704eec5a1d2221d55c5e0e6530897f7aefc6ff9b9ff9d15818737a0d5d15aaa1d1f830e1f01e462324db026ac8c4475e39630cd6fd4a67dca9bddf WHIRLPOOL 488c215daf441be87d8f552bd4f0d8e55683286db143b2fbe5f8dd43a53df8e5c1e03b9230708ca149b85e3d9a93df58618b50afa014755a5ea943e33123edb8 |
28 |
DIST cinnamon-2.8.8.tar.gz 3026643 SHA256 33f838cb9c1d4213ebb18d5869949757dda97a6e0745f224d06be75de69caee7 SHA512 e41fae744ea2dfcb3589a47f689b230369a8dc4c3682f3cc15836a9be6c67fd1cd872223084b518cd422057431ea77f7df67055757b5cd43e5e96cb3cb3a2ec5 WHIRLPOOL 1cb5e0b13814d4b21e7711ad0d5754aa85c36e4616d48e7dbebad1bd7d34b928a5b4d4d55b6fd12fb2b44c96b22535ca68b3b6542af99306a609cbc58ea59784 |
29 |
|
30 |
diff --git a/gnome-extra/cinnamon/cinnamon-2.8.6.ebuild b/gnome-extra/cinnamon/cinnamon-2.8.6.ebuild |
31 |
deleted file mode 100644 |
32 |
index 6601403..0000000 |
33 |
--- a/gnome-extra/cinnamon/cinnamon-2.8.6.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,247 +0,0 @@ |
36 |
-# Copyright 1999-2015 Gentoo Foundation |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
-# $Id$ |
39 |
- |
40 |
-EAPI="5" |
41 |
-GCONF_DEBUG="no" |
42 |
-GNOME2_LA_PUNT="yes" |
43 |
-PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) |
44 |
-PYTHON_REQ_USE="xml" |
45 |
- |
46 |
-inherit autotools eutils flag-o-matic gnome2 multilib pax-utils python-r1 |
47 |
- |
48 |
-DESCRIPTION="A fork of GNOME Shell with layout similar to GNOME 2" |
49 |
-HOMEPAGE="http://cinnamon.linuxmint.com/" |
50 |
- |
51 |
-MY_PV="${PV/_p/-UP}" |
52 |
-MY_P="${PN}-${MY_PV}" |
53 |
- |
54 |
-SRC_URI="https://github.com/linuxmint/Cinnamon/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" |
55 |
- |
56 |
-LICENSE="GPL-2+" |
57 |
-SLOT="0" |
58 |
- |
59 |
-# bluetooth support dropped due bug #511648 |
60 |
-IUSE="+nls +networkmanager" #+bluetooth |
61 |
- |
62 |
-# We need *both* python 2.7 and 3.x |
63 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
64 |
- python_targets_python2_7 |
65 |
- || ( python_targets_python3_3 python_targets_python3_4 python_targets_python3_5 ) |
66 |
-" |
67 |
- |
68 |
-KEYWORDS="amd64 x86" |
69 |
- |
70 |
-COMMON_DEPEND=" |
71 |
- app-accessibility/at-spi2-atk:2 |
72 |
- app-misc/ca-certificates |
73 |
- dev-libs/dbus-glib |
74 |
- >=dev-libs/glib-2.35.0:2[dbus] |
75 |
- >=dev-libs/gobject-introspection-0.10.1:= |
76 |
- >=dev-libs/json-glib-0.13.2 |
77 |
- >=dev-libs/libcroco-0.6.2:0.6 |
78 |
- dev-libs/libxml2:2 |
79 |
- gnome-base/gconf:2[introspection] |
80 |
- gnome-base/librsvg |
81 |
- >=gnome-extra/cinnamon-desktop-2.4:0=[introspection] |
82 |
- gnome-extra/cinnamon-menus[introspection] |
83 |
- >=gnome-extra/cjs-2.8.0 |
84 |
- >=media-libs/clutter-1.10:1.0[introspection] |
85 |
- media-libs/cogl:1.0=[introspection] |
86 |
- >=gnome-base/gsettings-desktop-schemas-2.91.91 |
87 |
- media-libs/gstreamer:1.0 |
88 |
- media-libs/gst-plugins-base:1.0 |
89 |
- media-sound/pulseaudio:0=[glib] |
90 |
- net-libs/libsoup:2.4[introspection] |
91 |
- >=sys-auth/polkit-0.100[introspection] |
92 |
- x11-libs/gdk-pixbuf:2[introspection] |
93 |
- >=x11-libs/gtk+-3.9.12:3[introspection] |
94 |
- x11-libs/pango[introspection] |
95 |
- >=x11-libs/startup-notification-0.11 |
96 |
- x11-libs/libX11 |
97 |
- >=x11-libs/libXfixes-5.0 |
98 |
- >=x11-wm/muffin-2.5[introspection] |
99 |
- ${PYTHON_DEPS} |
100 |
- networkmanager? ( |
101 |
- gnome-base/libgnome-keyring |
102 |
- >=net-misc/networkmanager-0.8.999[introspection] ) |
103 |
-" |
104 |
-#bluetooth? ( >=net-wireless/gnome-bluetooth-3.1:=[introspection] ) |
105 |
- |
106 |
-# Runtime-only deps are probably incomplete and approximate. |
107 |
-# Each block: |
108 |
-# 2. Introspection stuff + dconf needed via imports.gi.* |
109 |
-# 3. gnome-session is needed for gnome-session-quit |
110 |
-# 4. Control shell settings |
111 |
-# 5. accountsservice is needed for GdmUserManager (0.6.14 needed for fast |
112 |
-# user switching with gdm-3.1.x) |
113 |
-# 6. caribou needed for on-screen keyboard |
114 |
-# 7. xdg-utils needed for xdg-open, used by extension tool |
115 |
-# 8. gconf-python, imaging, lxml needed for cinnamon-settings |
116 |
-# 9. gnome-icon-theme-symbolic needed for various icons |
117 |
-# 10. pygobject needed for menu editor |
118 |
-# 11. nemo - default file manager, tightly integrated with cinnamon |
119 |
-# 12. polkit-gnome - explicitly autostarted by us |
120 |
-# TODO(lxnay): fix error: libgnome-desktop/gnome-rr-labeler.h: No such file or directory |
121 |
-RDEPEND="${COMMON_DEPEND} |
122 |
- >=gnome-base/dconf-0.4.1 |
123 |
- >=gnome-base/libgnomekbd-2.91.4[introspection] |
124 |
- || ( sys-power/upower[introspection] sys-power/upower-pm-utils[introspection] ) |
125 |
- |
126 |
- >=gnome-extra/cinnamon-session-2.4 |
127 |
- >=gnome-extra/cinnamon-settings-daemon-2.4 |
128 |
- |
129 |
- >=sys-apps/accountsservice-0.6.14[introspection] |
130 |
- |
131 |
- >=app-accessibility/caribou-0.3 |
132 |
- |
133 |
- x11-misc/xdg-utils |
134 |
- |
135 |
- dev-python/dbus-python[python_targets_python2_7] |
136 |
- dev-python/gconf-python:2[python_targets_python2_7] |
137 |
- dev-python/lxml[python_targets_python2_7] |
138 |
- dev-python/pexpect[python_targets_python2_7] |
139 |
- dev-python/pycairo[python_targets_python2_7] |
140 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
141 |
- dev-python/pyinotify[python_targets_python2_7] |
142 |
- dev-python/pypam[python_targets_python2_7] |
143 |
- dev-python/pillow[python_targets_python2_7] |
144 |
- |
145 |
- x11-themes/gnome-themes-standard[gtk] |
146 |
- x11-themes/gnome-icon-theme-symbolic |
147 |
- |
148 |
- >=gnome-extra/nemo-2.4 |
149 |
- >=gnome-extra/cinnamon-control-center-2.4 |
150 |
- >=gnome-extra/cinnamon-screensaver-2.4 |
151 |
- |
152 |
- gnome-extra/polkit-gnome |
153 |
- |
154 |
- networkmanager? ( |
155 |
- gnome-extra/nm-applet |
156 |
- net-misc/mobile-broadband-provider-info |
157 |
- sys-libs/timezone-data ) |
158 |
- nls? ( >=gnome-extra/cinnamon-translations-2.4 ) |
159 |
-" |
160 |
-#bluetooth? ( net-wireless/cinnamon-bluetooth ) |
161 |
- |
162 |
-DEPEND="${COMMON_DEPEND} |
163 |
- dev-python/polib[python_targets_python2_7] |
164 |
- >=sys-devel/gettext-0.17 |
165 |
- virtual/pkgconfig |
166 |
- >=dev-util/intltool-0.40 |
167 |
- gnome-base/gnome-common |
168 |
- !!=dev-lang/spidermonkey-1.8.2* |
169 |
-" |
170 |
-# libmozjs.so is picked up from /usr/lib while compiling, so block at build-time |
171 |
-# https://bugs.gentoo.org/show_bug.cgi?id=360413 |
172 |
- |
173 |
-S="${WORKDIR}/Cinnamon-${PV}" |
174 |
- |
175 |
-pkg_setup() { |
176 |
- python_setup |
177 |
-} |
178 |
- |
179 |
-src_prepare() { |
180 |
- # Fix backgrounds path as cinnamon doesn't provide them |
181 |
- # https://github.com/linuxmint/Cinnamon/issues/3575 |
182 |
- epatch "${FILESDIR}"/${PN}-2.8.0-background.patch |
183 |
- |
184 |
- # Fix automagic gnome-bluetooth dep, bug #398145 |
185 |
- epatch "${FILESDIR}"/${PN}-2.2.6-automagic-gnome-bluetooth.patch |
186 |
- |
187 |
- # Optional NetworkManager, bug #488684 |
188 |
- epatch "${FILESDIR}"/${PN}-2.6.7-optional-networkmanager.patch |
189 |
- |
190 |
- # Use wheel group instead of sudo (from Fedora/Arch) |
191 |
- # https://github.com/linuxmint/Cinnamon/issues/3576 |
192 |
- epatch "${FILESDIR}"/${PN}-2.8.3-set-wheel.patch |
193 |
- |
194 |
- # Fix GNOME 3.14 support (from Fedora/Arch) |
195 |
- # https://github.com/linuxmint/Cinnamon/issues/3577 |
196 |
- epatch "${FILESDIR}"/${PN}-2.8.3-gnome-3.14.patch |
197 |
- |
198 |
- # Use pkexec instead of gksu (from Arch) |
199 |
- # https://github.com/linuxmint/Cinnamon/issues/3565 |
200 |
- sed -i 's/gksu/pkexec/' files/usr/bin/cinnamon-settings-users || die |
201 |
- |
202 |
- # Add polkit agent to required components (from Fedora/Arch), bug #523958 |
203 |
- # https://github.com/linuxmint/Cinnamon/issues/3579 |
204 |
- sed -i 's/RequiredComponents=\(.*\)$/RequiredComponents=\1polkit-gnome-authentication-agent-1;/' \ |
205 |
- files/usr/share/cinnamon-session/sessions/cinnamon*.session || die |
206 |
- |
207 |
- if ! use networkmanager; then |
208 |
- rm -rv files/usr/share/cinnamon/applets/network@××××××××.org || die |
209 |
- fi |
210 |
- |
211 |
- epatch_user |
212 |
- |
213 |
- # python 2-and-3 shebang fixing craziness |
214 |
- local p |
215 |
- python_setup 'python3*' |
216 |
- for p in $(grep -rl '#!.*python3'); do |
217 |
- python_fix_shebang "${p}" |
218 |
- done |
219 |
- |
220 |
- python_setup 'python2*' |
221 |
- for p in $(grep -rl '#!.*python[^3]'); do |
222 |
- python_fix_shebang "${p}" |
223 |
- done |
224 |
- |
225 |
- eautoreconf |
226 |
- gnome2_src_prepare |
227 |
-} |
228 |
- |
229 |
-src_configure() { |
230 |
- # https://bugs.gentoo.org/show_bug.cgi?id=536374 |
231 |
- # https://github.com/linuxmint/Cinnamon/issues/3843 |
232 |
- append-ldflags $(no-as-needed) |
233 |
- |
234 |
- gnome2_src_configure \ |
235 |
- --libdir="${EPREFIX}/usr/$(get_libdir)" \ |
236 |
- --disable-rpath \ |
237 |
- --disable-jhbuild-wrapper-script \ |
238 |
- $(use_enable networkmanager) \ |
239 |
- --with-ca-certificates="${EPREFIX}/etc/ssl/certs/ca-certificates.crt" \ |
240 |
- BROWSER_PLUGIN_DIR="${EPREFIX}/usr/$(get_libdir)/nsbrowser/plugins" \ |
241 |
- --without-bluetooth |
242 |
-} |
243 |
- |
244 |
-src_install() { |
245 |
- gnome2_src_install |
246 |
- python_optimize "${ED}"usr/$(get_libdir)/cinnamon-* |
247 |
- |
248 |
- # Required for gnome-shell on hardened/PaX, bug #398941 |
249 |
- pax-mark mr "${ED}usr/bin/cinnamon" |
250 |
- |
251 |
- # Doesn't exist on Gentoo, causing this to be a dead symlink |
252 |
- rm -f "${ED}etc/xdg/menus/cinnamon-applications-merged" || die |
253 |
- |
254 |
- # Ensure authentication-agent is started, bug #523958 |
255 |
- # https://github.com/linuxmint/Cinnamon/issues/3579 |
256 |
- insinto /etc/xdg/autostart/ |
257 |
- doins "${FILESDIR}"/polkit-cinnamon-authentication-agent-1.desktop |
258 |
-} |
259 |
- |
260 |
-pkg_postinst() { |
261 |
- gnome2_pkg_postinst |
262 |
- |
263 |
- if ! has_version 'media-libs/gst-plugins-good:1.0' || \ |
264 |
- ! has_version 'media-plugins/gst-plugins-vpx:1.0'; then |
265 |
- ewarn "To make use of Cinnamon's built-in screen recording utility," |
266 |
- ewarn "you need to either install media-libs/gst-plugins-good:1.0" |
267 |
- ewarn "and media-plugins/gst-plugins-vpx:1.0, or use dconf-editor to change" |
268 |
- ewarn "org.cinnamon.recorder/pipeline to what you want to use." |
269 |
- fi |
270 |
- |
271 |
- if ! has_version ">=x11-base/xorg-server-1.11"; then |
272 |
- ewarn "If you use multiple screens, it is highly recommended that you" |
273 |
- ewarn "upgrade to >=x11-base/xorg-server-1.11 to be able to make use of" |
274 |
- ewarn "pointer barriers which will make it easier to use hot corners." |
275 |
- fi |
276 |
- |
277 |
- if has_version "<x11-drivers/ati-drivers-12"; then |
278 |
- ewarn "Cinnamon has been reported to show graphical corruption under" |
279 |
- ewarn "x11-drivers/ati-drivers-11.*; you may want to switch to" |
280 |
- ewarn "open-source drivers." |
281 |
- fi |
282 |
-} |
283 |
|
284 |
diff --git a/gnome-extra/cinnamon/files/cinnamon-2.4.5-background.patch b/gnome-extra/cinnamon/files/cinnamon-2.4.5-background.patch |
285 |
deleted file mode 100644 |
286 |
index 7277fb2..0000000 |
287 |
--- a/gnome-extra/cinnamon/files/cinnamon-2.4.5-background.patch |
288 |
+++ /dev/null |
289 |
@@ -1,26 +0,0 @@ |
290 |
-From 19b9e5392a0b1530861d306ee962ac85c108ba1a Mon Sep 17 00:00:00 2001 |
291 |
-From: Gilles Dartiguelongue <eva@g.o> |
292 |
-Date: Sun, 11 Jan 2015 20:33:37 +0100 |
293 |
-Subject: [PATCH 1/5] Use gnome backgrounds since Cinnamon isn't providing any |
294 |
- |
295 |
-https://github.com/linuxmint/Cinnamon/issues/3575 |
296 |
---- |
297 |
- files/usr/lib/cinnamon-settings/modules/cs_backgrounds.py | 2 +- |
298 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
299 |
- |
300 |
-diff --git a/files/usr/lib/cinnamon-settings/modules/cs_backgrounds.py b/files/usr/lib/cinnamon-settings/modules/cs_backgrounds.py |
301 |
-index bf6dc39..83a8b04 100644 |
302 |
---- a/files/usr/lib/cinnamon-settings/modules/cs_backgrounds.py |
303 |
-+++ b/files/usr/lib/cinnamon-settings/modules/cs_backgrounds.py |
304 |
-@@ -198,7 +198,7 @@ class Module: |
305 |
- def get_system_backgrounds(self): |
306 |
- picture_list = [] |
307 |
- folder_list = [] |
308 |
-- properties_dir = "/usr/share/cinnamon-background-properties" |
309 |
-+ properties_dir = "/usr/share/gnome-background-properties" |
310 |
- backgrounds = [] |
311 |
- if os.path.exists(properties_dir): |
312 |
- for i in os.listdir(properties_dir): |
313 |
--- |
314 |
-2.2.1 |
315 |
- |
316 |
|
317 |
diff --git a/gnome-extra/cinnamon/files/cinnamon-2.4.5-gnome-3.14.patch b/gnome-extra/cinnamon/files/cinnamon-2.4.5-gnome-3.14.patch |
318 |
deleted file mode 100644 |
319 |
index 1af0e64..0000000 |
320 |
--- a/gnome-extra/cinnamon/files/cinnamon-2.4.5-gnome-3.14.patch |
321 |
+++ /dev/null |
322 |
@@ -1,43 +0,0 @@ |
323 |
-From b048ad4144607cad258e4193235abeb3930ffcab Mon Sep 17 00:00:00 2001 |
324 |
-From: Gilles Dartiguelongue <eva@g.o> |
325 |
-Date: Sun, 11 Jan 2015 20:51:55 +0100 |
326 |
-Subject: [PATCH 5/5] Fix theme compatibility with Gnome 3.14 |
327 |
- |
328 |
-from Fedora/Arch |
329 |
- |
330 |
-https://github.com/linuxmint/Cinnamon/issues/3577 |
331 |
---- |
332 |
- data/theme/cinnamon.css | 3 ++- |
333 |
- files/usr/lib/cinnamon-settings/modules/cs_themes.py | 2 +- |
334 |
- 2 files changed, 3 insertions(+), 2 deletions(-) |
335 |
- |
336 |
-diff --git a/data/theme/cinnamon.css b/data/theme/cinnamon.css |
337 |
-index 9539586..d931b86 100644 |
338 |
---- a/data/theme/cinnamon.css |
339 |
-+++ b/data/theme/cinnamon.css |
340 |
-@@ -1444,7 +1444,8 @@ StScrollBar StButton#vhandle:hover { |
341 |
- } |
342 |
- .applet-box:hover .applet-icon { |
343 |
- color: #fff; |
344 |
-- icon-shadow: white 0px 0px 3px; |
345 |
-+/* Broken with GNOME 3.14 (icon-size is not honoured) |
346 |
-+ * icon-shadow: white 0px 0px 3px;*/ |
347 |
- } |
348 |
- |
349 |
- /* =================================================================== |
350 |
-diff --git a/files/usr/lib/cinnamon-settings/modules/cs_themes.py b/files/usr/lib/cinnamon-settings/modules/cs_themes.py |
351 |
-index 3002499..ab8b0b3 100644 |
352 |
---- a/files/usr/lib/cinnamon-settings/modules/cs_themes.py |
353 |
-+++ b/files/usr/lib/cinnamon-settings/modules/cs_themes.py |
354 |
-@@ -244,7 +244,7 @@ class Module: |
355 |
- |
356 |
- def _load_icon_themes(self): |
357 |
- dirs = ("/usr/share/icons", os.path.join(os.path.expanduser("~"), ".icons")) |
358 |
-- valid = walk_directories(dirs, lambda d: os.path.isdir(d) and not os.path.exists(os.path.join(d, "cursors")) and os.path.exists(os.path.join(d, "index.theme"))) |
359 |
-+ valid = walk_directories(dirs, lambda d: os.path.isdir(d) and os.path.exists(os.path.join(d, "index.theme"))) |
360 |
- valid.sort(lambda a,b: cmp(a.lower(), b.lower())) |
361 |
- res = [] |
362 |
- for i in valid: |
363 |
--- |
364 |
-2.2.1 |
365 |
- |
366 |
|
367 |
diff --git a/gnome-extra/cinnamon/files/cinnamon-2.4.5-optional-networkmanager.patch b/gnome-extra/cinnamon/files/cinnamon-2.4.5-optional-networkmanager.patch |
368 |
deleted file mode 100644 |
369 |
index 2fe3eff..0000000 |
370 |
--- a/gnome-extra/cinnamon/files/cinnamon-2.4.5-optional-networkmanager.patch |
371 |
+++ /dev/null |
372 |
@@ -1,89 +0,0 @@ |
373 |
-From e89cbae294685195de51aca1e8e6cd400dc0822b Mon Sep 17 00:00:00 2001 |
374 |
-From: Alexandre Rostovtsev <tetromino@g.o> |
375 |
-Date: Sat, 10 May 2014 15:14:05 -0400 |
376 |
-Subject: [PATCH 3/5] Make networkmanager dependency optional for Gentoo |
377 |
- |
378 |
---- |
379 |
- configure.ac | 36 ++++++++++++++++++++++++++++++++++-- |
380 |
- js/misc/config.js.in | 2 ++ |
381 |
- src/Makefile.am | 5 ++++- |
382 |
- 3 files changed, 40 insertions(+), 3 deletions(-) |
383 |
- |
384 |
-diff --git a/configure.ac b/configure.ac |
385 |
-index 1977da8..920d256 100644 |
386 |
---- a/configure.ac |
387 |
-+++ b/configure.ac |
388 |
-@@ -81,8 +81,40 @@ PKG_CHECK_MODULES(CINNAMON, gio-2.0 >= $GIO_MIN_VERSION |
389 |
- clutter-x11-1.0 >= $CLUTTER_MIN_VERSION |
390 |
- libstartup-notification-1.0 >= $STARTUP_NOTIFICATION_MIN_VERSION |
391 |
- gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_MIN_VERSION |
392 |
-- polkit-agent-1 >= $POLKIT_MIN_VERSION xfixes |
393 |
-- libnm-glib libnm-util gnome-keyring-1) |
394 |
-+ polkit-agent-1 >= $POLKIT_MIN_VERSION xfixes) |
395 |
-+ |
396 |
-+########################## |
397 |
-+# Check for NetworkManager |
398 |
-+########################## |
399 |
-+NM_MIN_VERSION=0.9 |
400 |
-+AC_ARG_ENABLE(networkmanager, |
401 |
-+ AS_HELP_STRING([--disable-networkmanager], |
402 |
-+ [disable NetworkManager support @<:@default=auto@:>@]),, |
403 |
-+ [enable_networkmanager=auto]) |
404 |
-+ |
405 |
-+if test "x$enable_networkmanager" != "xno"; then |
406 |
-+ PKG_CHECK_MODULES(NETWORKMANAGER, |
407 |
-+ [libnm-glib libnm-util gnome-keyring-1], |
408 |
-+ [have_networkmanager=yes], |
409 |
-+ [have_networkmanager=no]) |
410 |
-+ |
411 |
-+ CINNAMON_CFLAGS="$CINNAMON_CFLAGS $NETWORKMANAGER_CFLAGS" |
412 |
-+ CINNAMON_LIBS="$CINNAMON_LIBS $NETWORKMANAGER_LIBS" |
413 |
-+else |
414 |
-+ have_networkmanager="no (disabled)" |
415 |
-+fi |
416 |
-+ |
417 |
-+if test "x$have_networkmanager" = "xyes"; then |
418 |
-+ AC_DEFINE(HAVE_NETWORKMANAGER, [1], [Define if we have NetworkManager]) |
419 |
-+ AC_SUBST([HAVE_NETWORKMANAGER], [1]) |
420 |
-+else |
421 |
-+ if test "x$enable_networkmanager" = "xyes"; then |
422 |
-+ AC_MSG_ERROR([Couldn't find NetworkManager.]) |
423 |
-+ fi |
424 |
-+ AC_SUBST([HAVE_NETWORKMANAGER], [0]) |
425 |
-+fi |
426 |
-+ |
427 |
-+AM_CONDITIONAL(HAVE_NETWORKMANAGER, test "$have_networkmanager" = "yes") |
428 |
- |
429 |
- PKG_CHECK_MODULES(CINNAMON_JS, gio-2.0 cjs-internals-1.0 >= $GJS_MIN_VERSION) |
430 |
- |
431 |
-diff --git a/js/misc/config.js.in b/js/misc/config.js.in |
432 |
-index 704989b..df7e014 100644 |
433 |
---- a/js/misc/config.js.in |
434 |
-+++ b/js/misc/config.js.in |
435 |
-@@ -8,5 +8,7 @@ const PACKAGE_VERSION = '@PACKAGE_VERSION@'; |
436 |
- const GJS_VERSION = '@GJS_VERSION@'; |
437 |
- /* 1 if gnome-bluetooth is available, 0 otherwise */ |
438 |
- const HAVE_BLUETOOTH = @HAVE_BLUETOOTH@; |
439 |
-+/* 1 if networkmanager is available, 0 otherwise */ |
440 |
-+const HAVE_NETWORKMANAGER = @HAVE_NETWORKMANAGER@; |
441 |
- /* The system TLS CA list */ |
442 |
- const CINNAMON_SYSTEM_CA_FILE = '@CINNAMON_SYSTEM_CA_FILE@'; |
443 |
-diff --git a/src/Makefile.am b/src/Makefile.am |
444 |
-index c0c6e7e..fc2dd14 100644 |
445 |
---- a/src/Makefile.am |
446 |
-+++ b/src/Makefile.am |
447 |
-@@ -286,7 +286,10 @@ libcinnamon_la_LIBADD = \ |
448 |
- libcinnamon_la_CPPFLAGS = $(cinnamon_cflags) |
449 |
- |
450 |
- Cinnamon-0.1.gir: libcinnamon.la St-1.0.gir |
451 |
--Cinnamon_0_1_gir_INCLUDES = Clutter-1.0 ClutterX11-1.0 Meta-Muffin.0 Soup-2.4 CMenu-3.0 NetworkManager-1.0 NMClient-1.0 |
452 |
-+Cinnamon_0_1_gir_INCLUDES = Clutter-1.0 ClutterX11-1.0 Meta-Muffin.0 Soup-2.4 CMenu-3.0 |
453 |
-+if HAVE_NETWORKMANAGER |
454 |
-+Cinnamon_0_1_gir_INCLUDES += NetworkManager-1.0 NMClient-1.0 |
455 |
-+endif |
456 |
- Cinnamon_0_1_gir_CFLAGS = $(libcinnamon_la_CPPFLAGS) -I $(srcdir) |
457 |
- Cinnamon_0_1_gir_LIBS = libcinnamon.la |
458 |
- Cinnamon_0_1_gir_FILES = $(libcinnamon_la_gir_sources) |
459 |
--- |
460 |
-2.2.1 |
461 |
- |
462 |
|
463 |
diff --git a/gnome-extra/cinnamon/files/cinnamon-2.4.5-set-wheel.patch b/gnome-extra/cinnamon/files/cinnamon-2.4.5-set-wheel.patch |
464 |
deleted file mode 100644 |
465 |
index db27d4c..0000000 |
466 |
--- a/gnome-extra/cinnamon/files/cinnamon-2.4.5-set-wheel.patch |
467 |
+++ /dev/null |
468 |
@@ -1,70 +0,0 @@ |
469 |
-From 916b13aa2b86eb7e14f539293a0059a95c936393 Mon Sep 17 00:00:00 2001 |
470 |
-From: Gilles Dartiguelongue <eva@g.o> |
471 |
-Date: Sun, 11 Jan 2015 20:50:13 +0100 |
472 |
-Subject: [PATCH 4/5] Use wheel group instead of sudo |
473 |
- |
474 |
-from Fedora/Arch |
475 |
- |
476 |
-https://github.com/linuxmint/Cinnamon/issues/3576 |
477 |
---- |
478 |
- .../cinnamon-settings-users/cinnamon-settings-users.py | 17 +++++------------ |
479 |
- 1 file changed, 5 insertions(+), 12 deletions(-) |
480 |
- |
481 |
-diff --git a/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py b/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py |
482 |
-index c4de658..d9062dc 100755 |
483 |
---- a/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py |
484 |
-+++ b/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py |
485 |
-@@ -145,12 +145,11 @@ class EditableEntry (Gtk.Notebook): |
486 |
- |
487 |
- class PasswordDialog(Gtk.Dialog): |
488 |
- |
489 |
-- def __init__ (self, user, password_mask, group_mask): |
490 |
-+ def __init__ (self, user, password_mask): |
491 |
- super(PasswordDialog, self).__init__() |
492 |
- |
493 |
- self.user = user |
494 |
- self.password_mask = password_mask |
495 |
-- self.group_mask = group_mask |
496 |
- |
497 |
- self.set_modal(True) |
498 |
- self.set_skip_taskbar_hint(True) |
499 |
-@@ -216,12 +215,6 @@ class PasswordDialog(Gtk.Dialog): |
500 |
- def change_password(self): |
501 |
- newpass = self.new_password.get_text() |
502 |
- self.user.set_password(newpass, "") |
503 |
-- os.system("gpasswd -d '%s' nopasswdlogin" % self.user.get_user_name()) |
504 |
-- mask = self.group_mask.get_text() |
505 |
-- mask = mask.split(", ") |
506 |
-- mask.remove("nopasswdlogin") |
507 |
-- mask = ", ".join(mask) |
508 |
-- self.group_mask.set_text(mask) |
509 |
- self.password_mask.set_text(u'\u2022\u2022\u2022\u2022\u2022\u2022') |
510 |
- self.destroy() |
511 |
- |
512 |
-@@ -516,7 +509,7 @@ class Module: |
513 |
- model, treeiter = self.users_treeview.get_selection().get_selected() |
514 |
- if treeiter != None: |
515 |
- user = model[treeiter][INDEX_USER_OBJECT] |
516 |
-- dialog = PasswordDialog(user, self.password_mask, self.groups_label) |
517 |
-+ dialog = PasswordDialog(user, self.password_mask) |
518 |
- response = dialog.run() |
519 |
- |
520 |
- def _on_groups_button_clicked(self, widget): |
521 |
-@@ -753,11 +746,11 @@ class Module: |
522 |
- pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size("/usr/share/cinnamon/faces/user-generic.png", 48, 48) |
523 |
- description = "<b>%s</b>\n%s" % (fullname, username) |
524 |
- piter = self.users.append(None, [new_user, pixbuf, description]) |
525 |
-- # Add the user to his/her own group and sudo if Administrator was selected |
526 |
-+ # Add the user to his/her own group and wheel if Administrator was selected |
527 |
- if dialog.account_type_combo.get_active() == 1: |
528 |
-- os.system("usermod %s -G %s,sudo,nopasswdlogin" % (username, username)) |
529 |
-+ os.system("usermod %s -G %s,wheel" % (username, username)) |
530 |
- else: |
531 |
-- os.system("usermod %s -G %s,nopasswdlogin" % (username, username)) |
532 |
-+ os.system("usermod %s -G %s" % (username, username)) |
533 |
- self.load_groups() |
534 |
- dialog.destroy() |
535 |
- |
536 |
--- |
537 |
-2.2.1 |
538 |
- |
539 |
|
540 |
diff --git a/gnome-extra/cinnamon/files/cinnamon-2.6.13-test-recorder-includes.patch b/gnome-extra/cinnamon/files/cinnamon-2.6.13-test-recorder-includes.patch |
541 |
deleted file mode 100644 |
542 |
index 3ed2c3a..0000000 |
543 |
--- a/gnome-extra/cinnamon/files/cinnamon-2.6.13-test-recorder-includes.patch |
544 |
+++ /dev/null |
545 |
@@ -1,36 +0,0 @@ |
546 |
-From cf960f096e426521fc898733580d47c725e52953 Mon Sep 17 00:00:00 2001 |
547 |
-From: Alexandre Rostovtsev <tetromino@g.o> |
548 |
-Date: Sun, 6 Sep 2015 14:53:48 -0400 |
549 |
-Subject: [PATCH] build: append ST_CFLAGS when building test-recorder |
550 |
- |
551 |
-test-recorder #includes st.h, which pulls in lots of headers, some of which |
552 |
-might not be in TEST_CINNAMON_RECORDER_CFLAGS, depending on how clutter and |
553 |
-gstreamer were configured. |
554 |
- |
555 |
-Fixes build failure reported at https://bugs.gentoo.org/559794 : |
556 |
- |
557 |
-In file included from ./st/st-bin.h:27:0, |
558 |
- from st.h:4, |
559 |
- from cinnamon-recorder.c:19: |
560 |
-./st/st-types.h:26:21: fatal error: gtk/gtk.h: No such file or directory |
561 |
---- |
562 |
- src/Makefile.am | 3 ++- |
563 |
- 1 file changed, 2 insertions(+), 1 deletion(-) |
564 |
- |
565 |
-diff --git a/src/Makefile.am b/src/Makefile.am |
566 |
-index 3d8fdd3..e6e54a9 100644 |
567 |
---- a/src/Makefile.am |
568 |
-+++ b/src/Makefile.am |
569 |
-@@ -199,7 +199,8 @@ libcinnamon_la_SOURCES += $(cinnamon_recorder_sources) $(cinnamon_recorder_non_g |
570 |
- |
571 |
- noinst_PROGRAMS += test-recorder |
572 |
- |
573 |
--test_recorder_CPPFLAGS = $(TEST_CINNAMON_RECORDER_CFLAGS) |
574 |
-+test_recorder_CPPFLAGS = $(TEST_CINNAMON_RECORDER_CFLAGS) \ |
575 |
-+ $(ST_CFLAGS) |
576 |
- test_recorder_LDADD = $(TEST_CINNAMON_RECORDER_LIBS) \ |
577 |
- libst-1.0.la |
578 |
- |
579 |
--- |
580 |
-2.5.1 |
581 |
- |
582 |
|
583 |
diff --git a/gnome-extra/cinnamon/files/cinnamon-2.6.7-set-wheel.patch b/gnome-extra/cinnamon/files/cinnamon-2.6.7-set-wheel.patch |
584 |
deleted file mode 100644 |
585 |
index 386f815..0000000 |
586 |
--- a/gnome-extra/cinnamon/files/cinnamon-2.6.7-set-wheel.patch |
587 |
+++ /dev/null |
588 |
@@ -1,73 +0,0 @@ |
589 |
-From 387df8aa7c950ab546a52edb36b39db5252dcd1e Mon Sep 17 00:00:00 2001 |
590 |
-From: Gilles Dartiguelongue <eva@g.o> |
591 |
-Date: Sun, 11 Jan 2015 20:50:13 +0100 |
592 |
-Subject: [PATCH] Use wheel group instead of sudo |
593 |
- |
594 |
-from Fedora/Arch |
595 |
- |
596 |
-https://github.com/linuxmint/Cinnamon/issues/3576 |
597 |
---- |
598 |
- .../cinnamon-settings-users.py | 20 ++++++-------------- |
599 |
- 1 file changed, 6 insertions(+), 14 deletions(-) |
600 |
- |
601 |
-diff --git a/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py b/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py |
602 |
-index 6fa9374..364c155 100755 |
603 |
---- a/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py |
604 |
-+++ b/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py |
605 |
-@@ -146,12 +146,11 @@ class EditableEntry (Gtk.Notebook): |
606 |
- |
607 |
- class PasswordDialog(Gtk.Dialog): |
608 |
- |
609 |
-- def __init__ (self, user, password_mask, group_mask): |
610 |
-+ def __init__ (self, user, password_mask): |
611 |
- super(PasswordDialog, self).__init__() |
612 |
- |
613 |
- self.user = user |
614 |
- self.password_mask = password_mask |
615 |
-- self.group_mask = group_mask |
616 |
- |
617 |
- self.set_modal(True) |
618 |
- self.set_skip_taskbar_hint(True) |
619 |
-@@ -217,14 +216,7 @@ class PasswordDialog(Gtk.Dialog): |
620 |
- def change_password(self): |
621 |
- newpass = self.new_password.get_text() |
622 |
- self.user.set_password(newpass, "") |
623 |
-- mask = self.group_mask.get_text() |
624 |
-- if "nopasswdlogin" in mask: |
625 |
-- os.system("gpasswd -d '%s' nopasswdlogin" % self.user.get_user_name()) |
626 |
-- mask = mask.split(", ") |
627 |
-- mask.remove("nopasswdlogin") |
628 |
-- mask = ", ".join(mask) |
629 |
-- self.group_mask.set_text(mask) |
630 |
-- self.password_mask.set_text(u'\u2022\u2022\u2022\u2022\u2022\u2022') |
631 |
-+ self.password_mask.set_text(u'\u2022\u2022\u2022\u2022\u2022\u2022') |
632 |
- self.destroy() |
633 |
- |
634 |
- def set_passwords_visibility(self): |
635 |
-@@ -522,7 +514,7 @@ class Module: |
636 |
- model, treeiter = self.users_treeview.get_selection().get_selected() |
637 |
- if treeiter != None: |
638 |
- user = model[treeiter][INDEX_USER_OBJECT] |
639 |
-- dialog = PasswordDialog(user, self.password_mask, self.groups_label) |
640 |
-+ dialog = PasswordDialog(user, self.password_mask) |
641 |
- response = dialog.run() |
642 |
- |
643 |
- def _on_groups_button_clicked(self, widget): |
644 |
-@@ -766,11 +758,11 @@ class Module: |
645 |
- pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size("/usr/share/cinnamon/faces/user-generic.png", 48, 48) |
646 |
- description = "<b>%s</b>\n%s" % (fullname, username) |
647 |
- piter = self.users.append(None, [new_user, pixbuf, description]) |
648 |
-- # Add the user to his/her own group and sudo if Administrator was selected |
649 |
-+ # Add the user to his/her own group and wheel if Administrator was selected |
650 |
- if dialog.account_type_combo.get_active() == 1: |
651 |
-- os.system("usermod %s -G %s,sudo,nopasswdlogin" % (username, username)) |
652 |
-+ os.system("usermod %s -G %s,wheel" % (username, username)) |
653 |
- else: |
654 |
-- os.system("usermod %s -G %s,nopasswdlogin" % (username, username)) |
655 |
-+ os.system("usermod %s -G %s" % (username, username)) |
656 |
- self.load_groups() |
657 |
- dialog.destroy() |
658 |
- |
659 |
--- |
660 |
-2.4.3 |
661 |
- |