[arch-commits] Commit in cinnamon/repos (20 files)

Alexandre Filgueira faidoc at archlinux.org
Fri Aug 22 10:06:03 UTC 2014


    Date: Friday, August 22, 2014 @ 12:06:02
  Author: faidoc
Revision: 117760

archrelease: copy trunk to community-i686, community-x86_64

Added:
  cinnamon/repos/community-i686/PKGBUILD
    (from rev 117759, cinnamon/trunk/PKGBUILD)
  cinnamon/repos/community-i686/calendar-applet-upower-support.patch
    (from rev 117759, cinnamon/trunk/calendar-applet-upower-support.patch)
  cinnamon/repos/community-i686/cinnamon.install
    (from rev 117759, cinnamon/trunk/cinnamon.install)
  cinnamon/repos/community-i686/set_wheel.patch
    (from rev 117759, cinnamon/trunk/set_wheel.patch)
  cinnamon/repos/community-x86_64/PKGBUILD
    (from rev 117759, cinnamon/trunk/PKGBUILD)
  cinnamon/repos/community-x86_64/calendar-applet-upower-support.patch
    (from rev 117759, cinnamon/trunk/calendar-applet-upower-support.patch)
  cinnamon/repos/community-x86_64/cinnamon.install
    (from rev 117759, cinnamon/trunk/cinnamon.install)
  cinnamon/repos/community-x86_64/set_wheel.patch
    (from rev 117759, cinnamon/trunk/set_wheel.patch)
Deleted:
  cinnamon/repos/community-i686/PKGBUILD
  cinnamon/repos/community-i686/calendar-applet-upower-support.patch
  cinnamon/repos/community-i686/cinnamon.install
  cinnamon/repos/community-i686/fix_background.patch
  cinnamon/repos/community-i686/no-print-password.patch
  cinnamon/repos/community-i686/set_wheel.patch
  cinnamon/repos/community-x86_64/PKGBUILD
  cinnamon/repos/community-x86_64/calendar-applet-upower-support.patch
  cinnamon/repos/community-x86_64/cinnamon.install
  cinnamon/repos/community-x86_64/fix_background.patch
  cinnamon/repos/community-x86_64/no-print-password.patch
  cinnamon/repos/community-x86_64/set_wheel.patch

-------------------------------------------------------+
 /PKGBUILD                                             |  156 ++++++++++++++++
 /calendar-applet-upower-support.patch                 |   34 +++
 /cinnamon.install                                     |   24 ++
 /set_wheel.patch                                      |  106 ++++++++++
 community-i686/PKGBUILD                               |   88 ---------
 community-i686/calendar-applet-upower-support.patch   |   17 -
 community-i686/cinnamon.install                       |   12 -
 community-i686/fix_background.patch                   |   14 -
 community-i686/no-print-password.patch                |   14 -
 community-i686/set_wheel.patch                        |   53 -----
 community-x86_64/PKGBUILD                             |   88 ---------
 community-x86_64/calendar-applet-upower-support.patch |   17 -
 community-x86_64/cinnamon.install                     |   12 -
 community-x86_64/fix_background.patch                 |   14 -
 community-x86_64/no-print-password.patch              |   14 -
 community-x86_64/set_wheel.patch                      |   53 -----
 16 files changed, 320 insertions(+), 396 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-08-22 10:05:29 UTC (rev 117759)
+++ community-i686/PKGBUILD	2014-08-22 10:06:02 UTC (rev 117760)
@@ -1,88 +0,0 @@
-# $Id$
-# Maintainer: Alexandre Filgueira <alexfilgueira at cinnarch.com>
-# Contributor: M0Rf30
-# Contributor: unifiedlinux
-# Contributor: CReimer
-
-pkgname=cinnamon
-pkgver=2.2.14
-pkgrel=2
-pkgdesc="Linux desktop which provides advanced innovative features and a traditional user experience"
-arch=('i686' 'x86_64')
-url="http://cinnamon.linuxmint.com/"
-license=('GPL2')
-depends=('accountsservice' 'caribou' 'cinnamon-settings-daemon' 'cinnamon-session'
-         'cinnamon-translations' 'cjs' 'clutter-gtk' 'gconf' 'gnome-icon-theme'
-         'gnome-themes-standard' 'gstreamer' 'libgnome-keyring'
-         'librsvg' 'networkmanager' 'muffin' 'python2-dbus' 'python2-pillow'
-         'python2-pam' 'python2-pexpect' 'python2-pyinotify' 'python2-lxml' 'webkitgtk'
-         'cinnamon-control-center' 'cinnamon-screensaver' 'cinnamon-menus' 'libgnomekbd'
-         'network-manager-applet' 'nemo' 'polkit-gnome')
-makedepends=('gnome-common' 'intltool')
-options=('!emptydirs')
-install=${pkgname}.install
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/Cinnamon/archive/$pkgver.tar.gz"
-        "calendar-applet-upower-support.patch"
-        "fix_background.patch"
-        "no-print-password.patch"
-        "set_wheel.patch")
-sha256sums=('ffccc44c8b4675ba76510172d8252c3c07a131a9ad7b5ba062740b686a3cb0f9'
-            '9ba15442531537759a78a4ab6d0be55dc2fa84a5157bb3fd912c259bfe24dcd8'
-            '1117ac6f76ae65637778a43bc18385a032d1244b578bb28aca6557c4007f9d0a'
-            '14f55e00ac399b19c41c8ab7de8b4cd530e30701c9f1f3f1ca73434ff00d8273'
-            '3c4c7bb65d9e3b7d5569a14a45ebf08d2326250869645511dfa18d87b8eaf444')
-
-prepare() {
-  cd ${srcdir}/Cinnamon*
-
-  # Python2 fix
-  sed -i 's:/usr/bin/python :/usr/bin/python2 :' files/usr/bin/cinnamon-menu-editor
-  find -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
-
-  # Fix calendar applet with upower 0.99
-  patch -Np1 -i ../calendar-applet-upower-support.patch
-
-  # Fix Background Module for python2-pillow 2.5.0
-  patch -Np1 -i ../fix_background.patch
-
-  # Don't print passwords to stdout
-  patch -Np1 -i ../no-print-password.patch
-
-  # Use wheel group instread of sudo
-  patch -Np1 -i ../set_wheel.patch
-
-  # Add polkit agent to required components
-  sed -i 's/RequiredComponents=\(.*\)$/RequiredComponents=\1polkit-gnome-authentication-agent-1;/' files/usr/share/cinnamon-session/sessions/cinnamon*.session
-
-  # Fix for the python2 PAM module  
-  sed -i 's:import PAM:import pam:' files/usr/lib/cinnamon-settings/modules/cs_user.py
-
-  # Use pkexec instead of gksu
-  sed -i 's/gksu/pkexec/' files/usr/bin/cinnamon-settings-users
-
-  # Check for the cc-panel path, not for the unneeded binary
-  sed -i 's|/usr/bin/cinnamon-control-center|/usr/lib/cinnamon-control-center-1/panels|' files/usr/bin/cinnamon-settings
-
-  # Cinnamon has no upstream backgrounds, use GNOME backgrounds instead
-  sed -i 's|/usr/share/cinnamon-background-properties|/usr/share/gnome-background-properties|' \
-    files/usr/lib/cinnamon-settings/modules/cs_backgrounds.py
-}
-
-build() {
-  cd ${srcdir}/Cinnamon*
-
-  ./autogen.sh --prefix=/usr \
-               --sysconfdir=/etc \
-               --libexecdir=/usr/lib/cinnamon \
-               --localstatedir=/var \
-               --disable-static \
-               --disable-schemas-compile \
-               --enable-compile-warnings=yes \
-               --with-session-tracking=systemd
-  make
-}
-
-package() {
-  cd ${srcdir}/Cinnamon*
-  make DESTDIR="${pkgdir}" install
-}

Copied: cinnamon/repos/community-i686/PKGBUILD (from rev 117759, cinnamon/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-08-22 10:06:02 UTC (rev 117760)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Alexandre Filgueira <alexfilgueira at cinnarch.com>
+# Contributor: M0Rf30
+# Contributor: unifiedlinux
+# Contributor: CReimer
+
+pkgname=cinnamon
+pkgver=2.2.16
+pkgrel=1
+pkgdesc="Linux desktop which provides advanced innovative features and a traditional user experience"
+arch=('i686' 'x86_64')
+url="http://cinnamon.linuxmint.com/"
+license=('GPL2')
+depends=('accountsservice' 'caribou' 'cinnamon-settings-daemon' 'cinnamon-session'
+         'cinnamon-translations' 'cjs' 'clutter-gtk' 'gconf' 'gnome-icon-theme'
+         'gnome-themes-standard' 'gstreamer' 'libgnome-keyring'
+         'librsvg' 'networkmanager' 'muffin' 'python2-dbus' 'python2-pillow'
+         'python2-pam' 'python2-pexpect' 'python2-pyinotify' 'python2-lxml' 'webkitgtk'
+         'cinnamon-control-center' 'cinnamon-screensaver' 'cinnamon-menus' 'libgnomekbd'
+         'network-manager-applet' 'nemo' 'polkit-gnome')
+makedepends=('gnome-common' 'intltool')
+options=('!emptydirs')
+install=${pkgname}.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/Cinnamon/archive/$pkgver.tar.gz"
+        "calendar-applet-upower-support.patch"
+        "set_wheel.patch")
+sha256sums=('1fc0bc1b6dbd071ca61f90c5cac5e41abfddbfa77577bdf3407afd1c1ca04793'
+            '9ba15442531537759a78a4ab6d0be55dc2fa84a5157bb3fd912c259bfe24dcd8'
+            '3c4c7bb65d9e3b7d5569a14a45ebf08d2326250869645511dfa18d87b8eaf444')
+
+prepare() {
+  cd ${srcdir}/Cinnamon*
+
+  # Python2 fix
+  sed -i 's:/usr/bin/python :/usr/bin/python2 :' files/usr/bin/cinnamon-menu-editor
+  find -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+
+  # Fix calendar applet with upower 0.99
+  patch -Np1 -i ../calendar-applet-upower-support.patch
+
+  # Use wheel group instread of sudo
+  patch -Np1 -i ../set_wheel.patch
+
+  # Add polkit agent to required components
+  sed -i 's/RequiredComponents=\(.*\)$/RequiredComponents=\1polkit-gnome-authentication-agent-1;/' files/usr/share/cinnamon-session/sessions/cinnamon*.session
+
+  # Fix for the python2 PAM module  
+  sed -i 's:import PAM:import pam:' files/usr/lib/cinnamon-settings/modules/cs_user.py
+
+  # Use pkexec instead of gksu
+  sed -i 's/gksu/pkexec/' files/usr/bin/cinnamon-settings-users
+
+  # Check for the cc-panel path, not for the unneeded binary
+  sed -i 's|/usr/bin/cinnamon-control-center|/usr/lib/cinnamon-control-center-1/panels|' files/usr/bin/cinnamon-settings
+
+  # Cinnamon has no upstream backgrounds, use GNOME backgrounds instead
+  sed -i 's|/usr/share/cinnamon-background-properties|/usr/share/gnome-background-properties|' \
+    files/usr/lib/cinnamon-settings/modules/cs_backgrounds.py
+}
+
+build() {
+  cd ${srcdir}/Cinnamon*
+
+  ./autogen.sh --prefix=/usr \
+               --sysconfdir=/etc \
+               --libexecdir=/usr/lib/cinnamon \
+               --localstatedir=/var \
+               --disable-static \
+               --disable-schemas-compile \
+               --enable-compile-warnings=yes \
+               --with-session-tracking=systemd
+  make
+}
+
+package() {
+  cd ${srcdir}/Cinnamon*
+  make DESTDIR="${pkgdir}" install
+}

Deleted: community-i686/calendar-applet-upower-support.patch
===================================================================
--- community-i686/calendar-applet-upower-support.patch	2014-08-22 10:05:29 UTC (rev 117759)
+++ community-i686/calendar-applet-upower-support.patch	2014-08-22 10:06:02 UTC (rev 117760)
@@ -1,17 +0,0 @@
-Index: cinnamon/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js
-===================================================================
---- cinnamon.orig/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js	2014-04-27 11:56:10.582581808 +0200
-+++ cinnamon/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js	2014-07-14 00:44:37.882215797 +0200
-@@ -94,7 +94,11 @@
- 
-             // https://bugzilla.gnome.org/show_bug.cgi?id=655129
-             this._upClient = new UPowerGlib.Client();
--            this._upClient.connect('notify-resume', this._updateClockAndDate);
-+            try {
-+                this._upClient.connect('notify-resume', this._updateClockAndDate);
-+            } catch (e) {
-+                this._upClient.connect('notify::resume', this._updateClockAndDate);
-+            }
- 
-             // Start the clock
-             this.on_settings_changed();

Copied: cinnamon/repos/community-i686/calendar-applet-upower-support.patch (from rev 117759, cinnamon/trunk/calendar-applet-upower-support.patch)
===================================================================
--- community-i686/calendar-applet-upower-support.patch	                        (rev 0)
+++ community-i686/calendar-applet-upower-support.patch	2014-08-22 10:06:02 UTC (rev 117760)
@@ -0,0 +1,17 @@
+Index: cinnamon/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js
+===================================================================
+--- cinnamon.orig/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js	2014-04-27 11:56:10.582581808 +0200
++++ cinnamon/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js	2014-07-14 00:44:37.882215797 +0200
+@@ -94,7 +94,11 @@
+ 
+             // https://bugzilla.gnome.org/show_bug.cgi?id=655129
+             this._upClient = new UPowerGlib.Client();
+-            this._upClient.connect('notify-resume', this._updateClockAndDate);
++            try {
++                this._upClient.connect('notify-resume', this._updateClockAndDate);
++            } catch (e) {
++                this._upClient.connect('notify::resume', this._updateClockAndDate);
++            }
+ 
+             // Start the clock
+             this.on_settings_changed();

Deleted: community-i686/cinnamon.install
===================================================================
--- community-i686/cinnamon.install	2014-08-22 10:05:29 UTC (rev 117759)
+++ community-i686/cinnamon.install	2014-08-22 10:06:02 UTC (rev 117760)
@@ -1,12 +0,0 @@
-post_install() {
-  glib-compile-schemas usr/share/glib-2.0/schemas
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}

Copied: cinnamon/repos/community-i686/cinnamon.install (from rev 117759, cinnamon/trunk/cinnamon.install)
===================================================================
--- community-i686/cinnamon.install	                        (rev 0)
+++ community-i686/cinnamon.install	2014-08-22 10:06:02 UTC (rev 117760)
@@ -0,0 +1,12 @@
+post_install() {
+  glib-compile-schemas usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Deleted: community-i686/fix_background.patch
===================================================================
--- community-i686/fix_background.patch	2014-08-22 10:05:29 UTC (rev 117759)
+++ community-i686/fix_background.patch	2014-08-22 10:06:02 UTC (rev 117760)
@@ -1,14 +0,0 @@
-Description: Fix Background Module for python2-pillow 2.5.0-1.
-Author: Claire Farron <diesal3 at googlemail.com>
-Origin: upstream
---- a/files/usr/lib/cinnamon-settings/bin/imtools.py
-+++ b/files/usr/lib/cinnamon-settings/bin/imtools.py
-@@ -859,7 +859,7 @@
-     :type force: bool
-     """
-     # Paste on top
--    if source == mask:
-+    if mask and source == mask:
-         if has_alpha(source):
-             # invert_alpha = the transparant pixels of the destination
-             if has_alpha(destination) and (destination.size == source.size

Deleted: community-i686/no-print-password.patch
===================================================================
--- community-i686/no-print-password.patch	2014-08-22 10:05:29 UTC (rev 117759)
+++ community-i686/no-print-password.patch	2014-08-22 10:06:02 UTC (rev 117760)
@@ -1,14 +0,0 @@
-Description: Cinnamon Settings User: Don't print passwords to stdout
-when changing password and cinnamon-settings is run from terminal.
-Author: Clement Lefebvre
-Origin: upstream
---- a/files/usr/lib/cinnamon-settings/modules/cs_user.py
-+++ b/files/usr/lib/cinnamon-settings/modules/cs_user.py
-@@ -398,7 +398,6 @@
-     def change_password(self):
-         oldpass = self.current_password.get_text()
-         newpass = self.new_password.get_text()
--        print "Changing %s to %s" % (oldpass, newpass)
-         passwd = pexpect.spawn("/usr/bin/passwd")
-         time.sleep(0.5)
-         passwd.sendline(oldpass)

Deleted: community-i686/set_wheel.patch
===================================================================
--- community-i686/set_wheel.patch	2014-08-22 10:05:29 UTC (rev 117759)
+++ community-i686/set_wheel.patch	2014-08-22 10:06:02 UTC (rev 117760)
@@ -1,53 +0,0 @@
---- a/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
-+++ b/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
-@@ -144,12 +144,11 @@ class EditableEntry (Gtk.Notebook):
- 
- class PasswordDialog(Gtk.Dialog):
- 
--    def __init__ (self, user, password_mask, group_mask):            
-+    def __init__ (self, user, password_mask):
-         super(PasswordDialog, self).__init__()
- 
-         self.user = user
-         self.password_mask = password_mask
--        self.group_mask = group_mask
- 
-         self.set_modal(True)
-         self.set_skip_taskbar_hint(True)
-@@ -215,12 +214,6 @@ class PasswordDialog(Gtk.Dialog):
-     def change_password(self):        
-         newpass = self.new_password.get_text()
-         self.user.set_password(newpass, "")
--        os.system("gpasswd -d '%s' nopasswdlogin" % self.user.get_user_name())
--        mask = self.group_mask.get_text()
--        mask = mask.split(", ")
--        mask.remove("nopasswdlogin")
--        mask = ", ".join(mask)
--        self.group_mask.set_text(mask)        
-         self.password_mask.set_text(u'\u2022\u2022\u2022\u2022\u2022\u2022')
-         self.destroy()  
- 
-@@ -515,7 +508,7 @@ class Module:
-         model, treeiter = self.users_treeview.get_selection().get_selected()
-         if treeiter != None:
-             user = model[treeiter][INDEX_USER_OBJECT]       
--            dialog = PasswordDialog(user, self.password_mask, self.groups_label)                
-+            dialog = PasswordDialog(user, self.password_mask)                
-             response = dialog.run()
- 
-     def _on_groups_button_clicked(self, widget): 
-@@ -745,11 +738,11 @@ class Module:
-             pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size("/usr/share/cinnamon/faces/user-generic.png", 48, 48)
-             description = "<b>%s</b>\n%s" % (fullname, username)
-             piter = self.users.append(None, [new_user, pixbuf, description])
--            # Add the user to his/her own group and sudo if Administrator was selected
-+            # Add the user to his/her own group and wheel if Administrator was selected
-             if dialog.account_type_combo.get_active() == 1:
--                os.system("usermod %s -G %s,sudo,nopasswdlogin" % (username, username)) 
-+                os.system("usermod %s -G %s,wheel" % (username, username)) 
-             else:
--                os.system("usermod %s -G %s,nopasswdlogin" % (username, username))
-+                os.system("usermod %s -G %s" % (username, username))
-             self.load_groups()
-         dialog.destroy()
-          

Copied: cinnamon/repos/community-i686/set_wheel.patch (from rev 117759, cinnamon/trunk/set_wheel.patch)
===================================================================
--- community-i686/set_wheel.patch	                        (rev 0)
+++ community-i686/set_wheel.patch	2014-08-22 10:06:02 UTC (rev 117760)
@@ -0,0 +1,53 @@
+--- a/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
++++ b/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
+@@ -144,12 +144,11 @@ class EditableEntry (Gtk.Notebook):
+ 
+ class PasswordDialog(Gtk.Dialog):
+ 
+-    def __init__ (self, user, password_mask, group_mask):            
++    def __init__ (self, user, password_mask):
+         super(PasswordDialog, self).__init__()
+ 
+         self.user = user
+         self.password_mask = password_mask
+-        self.group_mask = group_mask
+ 
+         self.set_modal(True)
+         self.set_skip_taskbar_hint(True)
+@@ -215,12 +214,6 @@ class PasswordDialog(Gtk.Dialog):
+     def change_password(self):        
+         newpass = self.new_password.get_text()
+         self.user.set_password(newpass, "")
+-        os.system("gpasswd -d '%s' nopasswdlogin" % self.user.get_user_name())
+-        mask = self.group_mask.get_text()
+-        mask = mask.split(", ")
+-        mask.remove("nopasswdlogin")
+-        mask = ", ".join(mask)
+-        self.group_mask.set_text(mask)        
+         self.password_mask.set_text(u'\u2022\u2022\u2022\u2022\u2022\u2022')
+         self.destroy()  
+ 
+@@ -515,7 +508,7 @@ class Module:
+         model, treeiter = self.users_treeview.get_selection().get_selected()
+         if treeiter != None:
+             user = model[treeiter][INDEX_USER_OBJECT]       
+-            dialog = PasswordDialog(user, self.password_mask, self.groups_label)                
++            dialog = PasswordDialog(user, self.password_mask)                
+             response = dialog.run()
+ 
+     def _on_groups_button_clicked(self, widget): 
+@@ -745,11 +738,11 @@ class Module:
+             pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size("/usr/share/cinnamon/faces/user-generic.png", 48, 48)
+             description = "<b>%s</b>\n%s" % (fullname, username)
+             piter = self.users.append(None, [new_user, pixbuf, description])
+-            # Add the user to his/her own group and sudo if Administrator was selected
++            # Add the user to his/her own group and wheel if Administrator was selected
+             if dialog.account_type_combo.get_active() == 1:
+-                os.system("usermod %s -G %s,sudo,nopasswdlogin" % (username, username)) 
++                os.system("usermod %s -G %s,wheel" % (username, username)) 
+             else:
+-                os.system("usermod %s -G %s,nopasswdlogin" % (username, username))
++                os.system("usermod %s -G %s" % (username, username))
+             self.load_groups()
+         dialog.destroy()
+          

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-08-22 10:05:29 UTC (rev 117759)
+++ community-x86_64/PKGBUILD	2014-08-22 10:06:02 UTC (rev 117760)
@@ -1,88 +0,0 @@
-# $Id$
-# Maintainer: Alexandre Filgueira <alexfilgueira at cinnarch.com>
-# Contributor: M0Rf30
-# Contributor: unifiedlinux
-# Contributor: CReimer
-
-pkgname=cinnamon
-pkgver=2.2.14
-pkgrel=2
-pkgdesc="Linux desktop which provides advanced innovative features and a traditional user experience"
-arch=('i686' 'x86_64')
-url="http://cinnamon.linuxmint.com/"
-license=('GPL2')
-depends=('accountsservice' 'caribou' 'cinnamon-settings-daemon' 'cinnamon-session'
-         'cinnamon-translations' 'cjs' 'clutter-gtk' 'gconf' 'gnome-icon-theme'
-         'gnome-themes-standard' 'gstreamer' 'libgnome-keyring'
-         'librsvg' 'networkmanager' 'muffin' 'python2-dbus' 'python2-pillow'
-         'python2-pam' 'python2-pexpect' 'python2-pyinotify' 'python2-lxml' 'webkitgtk'
-         'cinnamon-control-center' 'cinnamon-screensaver' 'cinnamon-menus' 'libgnomekbd'
-         'network-manager-applet' 'nemo' 'polkit-gnome')
-makedepends=('gnome-common' 'intltool')
-options=('!emptydirs')
-install=${pkgname}.install
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/Cinnamon/archive/$pkgver.tar.gz"
-        "calendar-applet-upower-support.patch"
-        "fix_background.patch"
-        "no-print-password.patch"
-        "set_wheel.patch")
-sha256sums=('ffccc44c8b4675ba76510172d8252c3c07a131a9ad7b5ba062740b686a3cb0f9'
-            '9ba15442531537759a78a4ab6d0be55dc2fa84a5157bb3fd912c259bfe24dcd8'
-            '1117ac6f76ae65637778a43bc18385a032d1244b578bb28aca6557c4007f9d0a'
-            '14f55e00ac399b19c41c8ab7de8b4cd530e30701c9f1f3f1ca73434ff00d8273'
-            '3c4c7bb65d9e3b7d5569a14a45ebf08d2326250869645511dfa18d87b8eaf444')
-
-prepare() {
-  cd ${srcdir}/Cinnamon*
-
-  # Python2 fix
-  sed -i 's:/usr/bin/python :/usr/bin/python2 :' files/usr/bin/cinnamon-menu-editor
-  find -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
-
-  # Fix calendar applet with upower 0.99
-  patch -Np1 -i ../calendar-applet-upower-support.patch
-
-  # Fix Background Module for python2-pillow 2.5.0
-  patch -Np1 -i ../fix_background.patch
-
-  # Don't print passwords to stdout
-  patch -Np1 -i ../no-print-password.patch
-
-  # Use wheel group instread of sudo
-  patch -Np1 -i ../set_wheel.patch
-
-  # Add polkit agent to required components
-  sed -i 's/RequiredComponents=\(.*\)$/RequiredComponents=\1polkit-gnome-authentication-agent-1;/' files/usr/share/cinnamon-session/sessions/cinnamon*.session
-
-  # Fix for the python2 PAM module  
-  sed -i 's:import PAM:import pam:' files/usr/lib/cinnamon-settings/modules/cs_user.py
-
-  # Use pkexec instead of gksu
-  sed -i 's/gksu/pkexec/' files/usr/bin/cinnamon-settings-users
-
-  # Check for the cc-panel path, not for the unneeded binary
-  sed -i 's|/usr/bin/cinnamon-control-center|/usr/lib/cinnamon-control-center-1/panels|' files/usr/bin/cinnamon-settings
-
-  # Cinnamon has no upstream backgrounds, use GNOME backgrounds instead
-  sed -i 's|/usr/share/cinnamon-background-properties|/usr/share/gnome-background-properties|' \
-    files/usr/lib/cinnamon-settings/modules/cs_backgrounds.py
-}
-
-build() {
-  cd ${srcdir}/Cinnamon*
-
-  ./autogen.sh --prefix=/usr \
-               --sysconfdir=/etc \
-               --libexecdir=/usr/lib/cinnamon \
-               --localstatedir=/var \
-               --disable-static \
-               --disable-schemas-compile \
-               --enable-compile-warnings=yes \
-               --with-session-tracking=systemd
-  make
-}
-
-package() {
-  cd ${srcdir}/Cinnamon*
-  make DESTDIR="${pkgdir}" install
-}

Copied: cinnamon/repos/community-x86_64/PKGBUILD (from rev 117759, cinnamon/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-08-22 10:06:02 UTC (rev 117760)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Alexandre Filgueira <alexfilgueira at cinnarch.com>
+# Contributor: M0Rf30
+# Contributor: unifiedlinux
+# Contributor: CReimer
+
+pkgname=cinnamon
+pkgver=2.2.16
+pkgrel=1
+pkgdesc="Linux desktop which provides advanced innovative features and a traditional user experience"
+arch=('i686' 'x86_64')
+url="http://cinnamon.linuxmint.com/"
+license=('GPL2')
+depends=('accountsservice' 'caribou' 'cinnamon-settings-daemon' 'cinnamon-session'
+         'cinnamon-translations' 'cjs' 'clutter-gtk' 'gconf' 'gnome-icon-theme'
+         'gnome-themes-standard' 'gstreamer' 'libgnome-keyring'
+         'librsvg' 'networkmanager' 'muffin' 'python2-dbus' 'python2-pillow'
+         'python2-pam' 'python2-pexpect' 'python2-pyinotify' 'python2-lxml' 'webkitgtk'
+         'cinnamon-control-center' 'cinnamon-screensaver' 'cinnamon-menus' 'libgnomekbd'
+         'network-manager-applet' 'nemo' 'polkit-gnome')
+makedepends=('gnome-common' 'intltool')
+options=('!emptydirs')
+install=${pkgname}.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/Cinnamon/archive/$pkgver.tar.gz"
+        "calendar-applet-upower-support.patch"
+        "set_wheel.patch")
+sha256sums=('1fc0bc1b6dbd071ca61f90c5cac5e41abfddbfa77577bdf3407afd1c1ca04793'
+            '9ba15442531537759a78a4ab6d0be55dc2fa84a5157bb3fd912c259bfe24dcd8'
+            '3c4c7bb65d9e3b7d5569a14a45ebf08d2326250869645511dfa18d87b8eaf444')
+
+prepare() {
+  cd ${srcdir}/Cinnamon*
+
+  # Python2 fix
+  sed -i 's:/usr/bin/python :/usr/bin/python2 :' files/usr/bin/cinnamon-menu-editor
+  find -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+
+  # Fix calendar applet with upower 0.99
+  patch -Np1 -i ../calendar-applet-upower-support.patch
+
+  # Use wheel group instread of sudo
+  patch -Np1 -i ../set_wheel.patch
+
+  # Add polkit agent to required components
+  sed -i 's/RequiredComponents=\(.*\)$/RequiredComponents=\1polkit-gnome-authentication-agent-1;/' files/usr/share/cinnamon-session/sessions/cinnamon*.session
+
+  # Fix for the python2 PAM module  
+  sed -i 's:import PAM:import pam:' files/usr/lib/cinnamon-settings/modules/cs_user.py
+
+  # Use pkexec instead of gksu
+  sed -i 's/gksu/pkexec/' files/usr/bin/cinnamon-settings-users
+
+  # Check for the cc-panel path, not for the unneeded binary
+  sed -i 's|/usr/bin/cinnamon-control-center|/usr/lib/cinnamon-control-center-1/panels|' files/usr/bin/cinnamon-settings
+
+  # Cinnamon has no upstream backgrounds, use GNOME backgrounds instead
+  sed -i 's|/usr/share/cinnamon-background-properties|/usr/share/gnome-background-properties|' \
+    files/usr/lib/cinnamon-settings/modules/cs_backgrounds.py
+}
+
+build() {
+  cd ${srcdir}/Cinnamon*
+
+  ./autogen.sh --prefix=/usr \
+               --sysconfdir=/etc \
+               --libexecdir=/usr/lib/cinnamon \
+               --localstatedir=/var \
+               --disable-static \
+               --disable-schemas-compile \
+               --enable-compile-warnings=yes \
+               --with-session-tracking=systemd
+  make
+}
+
+package() {
+  cd ${srcdir}/Cinnamon*
+  make DESTDIR="${pkgdir}" install
+}

Deleted: community-x86_64/calendar-applet-upower-support.patch
===================================================================
--- community-x86_64/calendar-applet-upower-support.patch	2014-08-22 10:05:29 UTC (rev 117759)
+++ community-x86_64/calendar-applet-upower-support.patch	2014-08-22 10:06:02 UTC (rev 117760)
@@ -1,17 +0,0 @@
-Index: cinnamon/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js
-===================================================================
---- cinnamon.orig/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js	2014-04-27 11:56:10.582581808 +0200
-+++ cinnamon/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js	2014-07-14 00:44:37.882215797 +0200
-@@ -94,7 +94,11 @@
- 
-             // https://bugzilla.gnome.org/show_bug.cgi?id=655129
-             this._upClient = new UPowerGlib.Client();
--            this._upClient.connect('notify-resume', this._updateClockAndDate);
-+            try {
-+                this._upClient.connect('notify-resume', this._updateClockAndDate);
-+            } catch (e) {
-+                this._upClient.connect('notify::resume', this._updateClockAndDate);
-+            }
- 
-             // Start the clock
-             this.on_settings_changed();

Copied: cinnamon/repos/community-x86_64/calendar-applet-upower-support.patch (from rev 117759, cinnamon/trunk/calendar-applet-upower-support.patch)
===================================================================
--- community-x86_64/calendar-applet-upower-support.patch	                        (rev 0)
+++ community-x86_64/calendar-applet-upower-support.patch	2014-08-22 10:06:02 UTC (rev 117760)
@@ -0,0 +1,17 @@
+Index: cinnamon/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js
+===================================================================
+--- cinnamon.orig/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js	2014-04-27 11:56:10.582581808 +0200
++++ cinnamon/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js	2014-07-14 00:44:37.882215797 +0200
+@@ -94,7 +94,11 @@
+ 
+             // https://bugzilla.gnome.org/show_bug.cgi?id=655129
+             this._upClient = new UPowerGlib.Client();
+-            this._upClient.connect('notify-resume', this._updateClockAndDate);
++            try {
++                this._upClient.connect('notify-resume', this._updateClockAndDate);
++            } catch (e) {
++                this._upClient.connect('notify::resume', this._updateClockAndDate);
++            }
+ 
+             // Start the clock
+             this.on_settings_changed();

Deleted: community-x86_64/cinnamon.install
===================================================================
--- community-x86_64/cinnamon.install	2014-08-22 10:05:29 UTC (rev 117759)
+++ community-x86_64/cinnamon.install	2014-08-22 10:06:02 UTC (rev 117760)
@@ -1,12 +0,0 @@
-post_install() {
-  glib-compile-schemas usr/share/glib-2.0/schemas
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}

Copied: cinnamon/repos/community-x86_64/cinnamon.install (from rev 117759, cinnamon/trunk/cinnamon.install)
===================================================================
--- community-x86_64/cinnamon.install	                        (rev 0)
+++ community-x86_64/cinnamon.install	2014-08-22 10:06:02 UTC (rev 117760)
@@ -0,0 +1,12 @@
+post_install() {
+  glib-compile-schemas usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Deleted: community-x86_64/fix_background.patch
===================================================================
--- community-x86_64/fix_background.patch	2014-08-22 10:05:29 UTC (rev 117759)
+++ community-x86_64/fix_background.patch	2014-08-22 10:06:02 UTC (rev 117760)
@@ -1,14 +0,0 @@
-Description: Fix Background Module for python2-pillow 2.5.0-1.
-Author: Claire Farron <diesal3 at googlemail.com>
-Origin: upstream
---- a/files/usr/lib/cinnamon-settings/bin/imtools.py
-+++ b/files/usr/lib/cinnamon-settings/bin/imtools.py
-@@ -859,7 +859,7 @@
-     :type force: bool
-     """
-     # Paste on top
--    if source == mask:
-+    if mask and source == mask:
-         if has_alpha(source):
-             # invert_alpha = the transparant pixels of the destination
-             if has_alpha(destination) and (destination.size == source.size

Deleted: community-x86_64/no-print-password.patch
===================================================================
--- community-x86_64/no-print-password.patch	2014-08-22 10:05:29 UTC (rev 117759)
+++ community-x86_64/no-print-password.patch	2014-08-22 10:06:02 UTC (rev 117760)
@@ -1,14 +0,0 @@
-Description: Cinnamon Settings User: Don't print passwords to stdout
-when changing password and cinnamon-settings is run from terminal.
-Author: Clement Lefebvre
-Origin: upstream
---- a/files/usr/lib/cinnamon-settings/modules/cs_user.py
-+++ b/files/usr/lib/cinnamon-settings/modules/cs_user.py
-@@ -398,7 +398,6 @@
-     def change_password(self):
-         oldpass = self.current_password.get_text()
-         newpass = self.new_password.get_text()
--        print "Changing %s to %s" % (oldpass, newpass)
-         passwd = pexpect.spawn("/usr/bin/passwd")
-         time.sleep(0.5)
-         passwd.sendline(oldpass)

Deleted: community-x86_64/set_wheel.patch
===================================================================
--- community-x86_64/set_wheel.patch	2014-08-22 10:05:29 UTC (rev 117759)
+++ community-x86_64/set_wheel.patch	2014-08-22 10:06:02 UTC (rev 117760)
@@ -1,53 +0,0 @@
---- a/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
-+++ b/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
-@@ -144,12 +144,11 @@ class EditableEntry (Gtk.Notebook):
- 
- class PasswordDialog(Gtk.Dialog):
- 
--    def __init__ (self, user, password_mask, group_mask):            
-+    def __init__ (self, user, password_mask):
-         super(PasswordDialog, self).__init__()
- 
-         self.user = user
-         self.password_mask = password_mask
--        self.group_mask = group_mask
- 
-         self.set_modal(True)
-         self.set_skip_taskbar_hint(True)
-@@ -215,12 +214,6 @@ class PasswordDialog(Gtk.Dialog):
-     def change_password(self):        
-         newpass = self.new_password.get_text()
-         self.user.set_password(newpass, "")
--        os.system("gpasswd -d '%s' nopasswdlogin" % self.user.get_user_name())
--        mask = self.group_mask.get_text()
--        mask = mask.split(", ")
--        mask.remove("nopasswdlogin")
--        mask = ", ".join(mask)
--        self.group_mask.set_text(mask)        
-         self.password_mask.set_text(u'\u2022\u2022\u2022\u2022\u2022\u2022')
-         self.destroy()  
- 
-@@ -515,7 +508,7 @@ class Module:
-         model, treeiter = self.users_treeview.get_selection().get_selected()
-         if treeiter != None:
-             user = model[treeiter][INDEX_USER_OBJECT]       
--            dialog = PasswordDialog(user, self.password_mask, self.groups_label)                
-+            dialog = PasswordDialog(user, self.password_mask)                
-             response = dialog.run()
- 
-     def _on_groups_button_clicked(self, widget): 
-@@ -745,11 +738,11 @@ class Module:
-             pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size("/usr/share/cinnamon/faces/user-generic.png", 48, 48)
-             description = "<b>%s</b>\n%s" % (fullname, username)
-             piter = self.users.append(None, [new_user, pixbuf, description])
--            # Add the user to his/her own group and sudo if Administrator was selected
-+            # Add the user to his/her own group and wheel if Administrator was selected
-             if dialog.account_type_combo.get_active() == 1:
--                os.system("usermod %s -G %s,sudo,nopasswdlogin" % (username, username)) 
-+                os.system("usermod %s -G %s,wheel" % (username, username)) 
-             else:
--                os.system("usermod %s -G %s,nopasswdlogin" % (username, username))
-+                os.system("usermod %s -G %s" % (username, username))
-             self.load_groups()
-         dialog.destroy()
-          

Copied: cinnamon/repos/community-x86_64/set_wheel.patch (from rev 117759, cinnamon/trunk/set_wheel.patch)
===================================================================
--- community-x86_64/set_wheel.patch	                        (rev 0)
+++ community-x86_64/set_wheel.patch	2014-08-22 10:06:02 UTC (rev 117760)
@@ -0,0 +1,53 @@
+--- a/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
++++ b/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
+@@ -144,12 +144,11 @@ class EditableEntry (Gtk.Notebook):
+ 
+ class PasswordDialog(Gtk.Dialog):
+ 
+-    def __init__ (self, user, password_mask, group_mask):            
++    def __init__ (self, user, password_mask):
+         super(PasswordDialog, self).__init__()
+ 
+         self.user = user
+         self.password_mask = password_mask
+-        self.group_mask = group_mask
+ 
+         self.set_modal(True)
+         self.set_skip_taskbar_hint(True)
+@@ -215,12 +214,6 @@ class PasswordDialog(Gtk.Dialog):
+     def change_password(self):        
+         newpass = self.new_password.get_text()
+         self.user.set_password(newpass, "")
+-        os.system("gpasswd -d '%s' nopasswdlogin" % self.user.get_user_name())
+-        mask = self.group_mask.get_text()
+-        mask = mask.split(", ")
+-        mask.remove("nopasswdlogin")
+-        mask = ", ".join(mask)
+-        self.group_mask.set_text(mask)        
+         self.password_mask.set_text(u'\u2022\u2022\u2022\u2022\u2022\u2022')
+         self.destroy()  
+ 
+@@ -515,7 +508,7 @@ class Module:
+         model, treeiter = self.users_treeview.get_selection().get_selected()
+         if treeiter != None:
+             user = model[treeiter][INDEX_USER_OBJECT]       
+-            dialog = PasswordDialog(user, self.password_mask, self.groups_label)                
++            dialog = PasswordDialog(user, self.password_mask)                
+             response = dialog.run()
+ 
+     def _on_groups_button_clicked(self, widget): 
+@@ -745,11 +738,11 @@ class Module:
+             pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size("/usr/share/cinnamon/faces/user-generic.png", 48, 48)
+             description = "<b>%s</b>\n%s" % (fullname, username)
+             piter = self.users.append(None, [new_user, pixbuf, description])
+-            # Add the user to his/her own group and sudo if Administrator was selected
++            # Add the user to his/her own group and wheel if Administrator was selected
+             if dialog.account_type_combo.get_active() == 1:
+-                os.system("usermod %s -G %s,sudo,nopasswdlogin" % (username, username)) 
++                os.system("usermod %s -G %s,wheel" % (username, username)) 
+             else:
+-                os.system("usermod %s -G %s,nopasswdlogin" % (username, username))
++                os.system("usermod %s -G %s" % (username, username))
+             self.load_groups()
+         dialog.destroy()
+          




More information about the arch-commits mailing list