1 |
commit: 7e53e87235caa74039ec782888d2f0c665214d13 |
2 |
Author: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 27 22:07:23 2017 +0000 |
4 |
Commit: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 27 22:15:03 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e53e872 |
7 |
|
8 |
gnome-extra/cinnamon: Bump min dep versions and reapply wheel patch |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
11 |
|
12 |
...cinnamon-3.6.6.ebuild => cinnamon-3.6.6-r1.ebuild} | 6 ++++-- |
13 |
gnome-extra/cinnamon/cinnamon-3.6.6.ebuild | 14 +++++++------- |
14 |
.../cinnamon/files/cinnamon-3.6.6-wheel-sudo.patch | 19 +++++++++++++++++++ |
15 |
3 files changed, 30 insertions(+), 9 deletions(-) |
16 |
|
17 |
diff --git a/gnome-extra/cinnamon/cinnamon-3.6.6.ebuild b/gnome-extra/cinnamon/cinnamon-3.6.6-r1.ebuild |
18 |
similarity index 97% |
19 |
copy from gnome-extra/cinnamon/cinnamon-3.6.6.ebuild |
20 |
copy to gnome-extra/cinnamon/cinnamon-3.6.6-r1.ebuild |
21 |
index 16d2c5e028c..8ecd59c4bce 100644 |
22 |
--- a/gnome-extra/cinnamon/cinnamon-3.6.6.ebuild |
23 |
+++ b/gnome-extra/cinnamon/cinnamon-3.6.6-r1.ebuild |
24 |
@@ -87,8 +87,6 @@ RDEPEND="${COMMON_DEPEND} |
25 |
>=gnome-extra/cinnamon-session-2.4 |
26 |
>=gnome-extra/cinnamon-settings-daemon-2.4 |
27 |
|
28 |
- >=sys-apps/accountsservice-0.6.14[introspection] |
29 |
- |
30 |
>=app-accessibility/caribou-0.3 |
31 |
|
32 |
x11-misc/xdg-utils |
33 |
@@ -147,6 +145,10 @@ src_prepare() { |
34 |
# Fix automagic gnome-bluetooth dep, bug #398145 |
35 |
eapply "${FILESDIR}"/${PN}-2.2.6-automagic-gnome-bluetooth.patch |
36 |
|
37 |
+ # Use wheel group instead of sudo (from Fedora/Arch) |
38 |
+ # https://github.com/linuxmint/Cinnamon/issues/3576 |
39 |
+ eapply "${FILESDIR}"/${PN}-3.6.6-wheel-sudo.patch |
40 |
+ |
41 |
# Use pkexec instead of gksu (from Arch) |
42 |
# https://github.com/linuxmint/Cinnamon/issues/3565 |
43 |
sed -i 's/gksu/pkexec/' files/usr/bin/cinnamon-settings-users || die |
44 |
|
45 |
diff --git a/gnome-extra/cinnamon/cinnamon-3.6.6.ebuild b/gnome-extra/cinnamon/cinnamon-3.6.6.ebuild |
46 |
index 16d2c5e028c..23734530bbd 100644 |
47 |
--- a/gnome-extra/cinnamon/cinnamon-3.6.6.ebuild |
48 |
+++ b/gnome-extra/cinnamon/cinnamon-3.6.6.ebuild |
49 |
@@ -41,9 +41,9 @@ COMMON_DEPEND="${PYTHON_DEPS} |
50 |
dev-libs/libxml2:2 |
51 |
gnome-base/gconf:2[introspection] |
52 |
gnome-base/librsvg |
53 |
- >=gnome-extra/cinnamon-desktop-2.4:0=[introspection] |
54 |
- >=gnome-extra/cinnamon-menus-3.0[introspection] |
55 |
- >=gnome-extra/cjs-3.2.0 |
56 |
+ >=gnome-extra/cinnamon-desktop-3.6:0=[introspection] |
57 |
+ >=gnome-extra/cinnamon-menus-3.6[introspection] |
58 |
+ >=gnome-extra/cjs-3.6.0 |
59 |
>=media-libs/clutter-1.10:1.0[introspection] |
60 |
media-libs/cogl:1.0=[introspection] |
61 |
>=gnome-base/gsettings-desktop-schemas-2.91.91 |
62 |
@@ -57,7 +57,7 @@ COMMON_DEPEND="${PYTHON_DEPS} |
63 |
>=x11-libs/startup-notification-0.11 |
64 |
x11-libs/libX11 |
65 |
>=x11-libs/libXfixes-5.0 |
66 |
- >=x11-wm/muffin-3.2.0[introspection] |
67 |
+ >=x11-wm/muffin-3.6.0[introspection] |
68 |
networkmanager? ( |
69 |
gnome-base/libgnome-keyring |
70 |
>=net-misc/networkmanager-0.8.999:=[introspection] ) |
71 |
@@ -107,9 +107,9 @@ RDEPEND="${COMMON_DEPEND} |
72 |
x11-themes/gnome-themes-standard |
73 |
x11-themes/adwaita-icon-theme |
74 |
|
75 |
- >=gnome-extra/nemo-2.4 |
76 |
- >=gnome-extra/cinnamon-control-center-2.4 |
77 |
- >=gnome-extra/cinnamon-screensaver-2.4 |
78 |
+ >=gnome-extra/nemo-3.6 |
79 |
+ >=gnome-extra/cinnamon-control-center-3.6 |
80 |
+ >=gnome-extra/cinnamon-screensaver-3.6 |
81 |
|
82 |
gnome-extra/polkit-gnome |
83 |
|
84 |
|
85 |
diff --git a/gnome-extra/cinnamon/files/cinnamon-3.6.6-wheel-sudo.patch b/gnome-extra/cinnamon/files/cinnamon-3.6.6-wheel-sudo.patch |
86 |
new file mode 100644 |
87 |
index 00000000000..50512c3ab37 |
88 |
--- /dev/null |
89 |
+++ b/gnome-extra/cinnamon/files/cinnamon-3.6.6-wheel-sudo.patch |
90 |
@@ -0,0 +1,19 @@ |
91 |
+diff --git a/files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py b/files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py |
92 |
+index 8028727..85497c8 100755 |
93 |
+--- a/files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py |
94 |
++++ b/files/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py |
95 |
+@@ -839,11 +839,11 @@ class Module: |
96 |
+ pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size("/usr/share/cinnamon/faces/user-generic.png", 48, 48) |
97 |
+ description = "<b>%s</b>\n%s" % (fullname, username) |
98 |
+ piter = self.users.append(None, [new_user, pixbuf, description]) |
99 |
+- # Add the user to his/her own group and sudo if Administrator was selected |
100 |
++ # Add the user to his/her own group and wheel if Administrator was selected |
101 |
+ if dialog.account_type_combo.get_active() == 1: |
102 |
+- subprocess.call(["usermod", username, "-G", "%s,sudo,nopasswdlogin" % username]) |
103 |
++ subprocess.call(["usermod", username, "-G", "%s,wheel,nopasswdlogin" % username]) |
104 |
+ else: |
105 |
+- subprocess.call(["usermod", username, "-G", "%s,nopasswdlogin" % username]) |
106 |
++ subprocess.call(["usermod", username, "-G", "%s" % username]) |
107 |
+ self.load_groups() |
108 |
+ dialog.destroy() |
109 |
+ |