[arch-commits] Commit in cinnamon/repos (16 files)
Balló György
bgyorgy at nymeria.archlinux.org
Tue Apr 15 18:16:46 UTC 2014
Date: Tuesday, April 15, 2014 @ 20:16:46
Author: bgyorgy
Revision: 109554
archrelease: copy trunk to community-i686, community-x86_64
Added:
cinnamon/repos/community-i686/PKGBUILD
(from rev 109553, cinnamon/trunk/PKGBUILD)
cinnamon/repos/community-i686/cinnamon.install
(from rev 109553, cinnamon/trunk/cinnamon.install)
cinnamon/repos/community-i686/set_wheel.patch
(from rev 109553, cinnamon/trunk/set_wheel.patch)
cinnamon/repos/community-i686/upower_calender_fix.patch
(from rev 109553, cinnamon/trunk/upower_calender_fix.patch)
cinnamon/repos/community-x86_64/PKGBUILD
(from rev 109553, cinnamon/trunk/PKGBUILD)
cinnamon/repos/community-x86_64/cinnamon.install
(from rev 109553, cinnamon/trunk/cinnamon.install)
cinnamon/repos/community-x86_64/set_wheel.patch
(from rev 109553, cinnamon/trunk/set_wheel.patch)
cinnamon/repos/community-x86_64/upower_calender_fix.patch
(from rev 109553, cinnamon/trunk/upower_calender_fix.patch)
Deleted:
cinnamon/repos/community-i686/PKGBUILD
cinnamon/repos/community-i686/cinnamon.install
cinnamon/repos/community-i686/set_wheel.patch
cinnamon/repos/community-i686/upower_calender_fix.patch
cinnamon/repos/community-x86_64/PKGBUILD
cinnamon/repos/community-x86_64/cinnamon.install
cinnamon/repos/community-x86_64/set_wheel.patch
cinnamon/repos/community-x86_64/upower_calender_fix.patch
--------------------------------------------+
/PKGBUILD | 156 +++++++++++++++++++++++++++
/cinnamon.install | 24 ++++
/set_wheel.patch | 28 ++++
/upower_calender_fix.patch | 44 +++++++
community-i686/PKGBUILD | 75 ------------
community-i686/cinnamon.install | 12 --
community-i686/set_wheel.patch | 14 --
community-i686/upower_calender_fix.patch | 22 ---
community-x86_64/PKGBUILD | 75 ------------
community-x86_64/cinnamon.install | 12 --
community-x86_64/set_wheel.patch | 14 --
community-x86_64/upower_calender_fix.patch | 22 ---
12 files changed, 252 insertions(+), 246 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2014-04-15 18:14:23 UTC (rev 109553)
+++ community-i686/PKGBUILD 2014-04-15 18:16:46 UTC (rev 109554)
@@ -1,75 +0,0 @@
-# $Id$
-# Maintainer: Alexandre Filgueira <alexfilgueira at cinnarch.com>
-# Contributor: M0Rf30
-# Contributor: unifiedlinux
-# Contributor: CReimer
-
-pkgname=cinnamon
-pkgver=2.2.3
-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"
- "upower_calender_fix.patch"
- "set_wheel.patch")
-sha256sums=('9151452f81ffb7edc28cbdb107818f64bb9bd55610711781345418166372f0fe'
- 'babfe88a3773f5369b05c7b61d0318cf969b482b9e0c3f281afaf488b0051e53'
- 'd5d5634b24e56837cb677e62669450c25f79005ed1388584760a131f461180ec')
-
-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 ../upower_calender_fix.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
-
- # 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 109553, cinnamon/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-04-15 18:16:46 UTC (rev 109554)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Alexandre Filgueira <alexfilgueira at cinnarch.com>
+# Contributor: M0Rf30
+# Contributor: unifiedlinux
+# Contributor: CReimer
+
+pkgname=cinnamon
+pkgver=2.2.3
+pkgrel=3
+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"
+ "upower_calender_fix.patch"
+ "set_wheel.patch")
+sha256sums=('9151452f81ffb7edc28cbdb107818f64bb9bd55610711781345418166372f0fe'
+ 'babfe88a3773f5369b05c7b61d0318cf969b482b9e0c3f281afaf488b0051e53'
+ 'd5d5634b24e56837cb677e62669450c25f79005ed1388584760a131f461180ec')
+
+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 ../upower_calender_fix.patch
+
+ # Use wheel group instread of sudo
+ patch -Np1 -i ../set_wheel.patch
+
+ # Use cinnamon-menus instead of gnome-menus in cinnamon-desktop-editor
+ sed -i 's/GMenu/CMenu/g' files/usr/lib/cinnamon-desktop-editor/cinnamon-desktop-editor.py
+
+ # 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
+
+ # 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/cinnamon.install
===================================================================
--- community-i686/cinnamon.install 2014-04-15 18:14:23 UTC (rev 109553)
+++ community-i686/cinnamon.install 2014-04-15 18:16:46 UTC (rev 109554)
@@ -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 109553, cinnamon/trunk/cinnamon.install)
===================================================================
--- community-i686/cinnamon.install (rev 0)
+++ community-i686/cinnamon.install 2014-04-15 18:16:46 UTC (rev 109554)
@@ -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/set_wheel.patch
===================================================================
--- community-i686/set_wheel.patch 2014-04-15 18:14:23 UTC (rev 109553)
+++ community-i686/set_wheel.patch 2014-04-15 18:16:46 UTC (rev 109554)
@@ -1,14 +0,0 @@
---- a/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
-+++ b/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
-@@ -734,9 +734,9 @@ 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" % (username, username))
-+ os.system("usermod %s -G %s,wheel" % (username, username))
- else:
- os.system("usermod %s -G %s" % (username, username))
- self.load_groups()
Copied: cinnamon/repos/community-i686/set_wheel.patch (from rev 109553, cinnamon/trunk/set_wheel.patch)
===================================================================
--- community-i686/set_wheel.patch (rev 0)
+++ community-i686/set_wheel.patch 2014-04-15 18:16:46 UTC (rev 109554)
@@ -0,0 +1,14 @@
+--- a/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
++++ b/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
+@@ -734,9 +734,9 @@ 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" % (username, username))
++ os.system("usermod %s -G %s,wheel" % (username, username))
+ else:
+ os.system("usermod %s -G %s" % (username, username))
+ self.load_groups()
Deleted: community-i686/upower_calender_fix.patch
===================================================================
--- community-i686/upower_calender_fix.patch 2014-04-15 18:14:23 UTC (rev 109553)
+++ community-i686/upower_calender_fix.patch 2014-04-15 18:16:46 UTC (rev 109554)
@@ -1,22 +0,0 @@
-diff -Naur Cinnamon-2.0.14.orig/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js Cinnamon-2.0.14/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js
---- Cinnamon-2.0.14.orig/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js 2013-11-25 19:41:30.000000000 +0100
-+++ Cinnamon-2.0.14/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js 2014-04-11 08:10:28.785899903 +0200
-@@ -6,7 +6,6 @@
- const St = imports.gi.St;
- const Util = imports.misc.util;
- const PopupMenu = imports.ui.popupMenu;
--const UPowerGlib = imports.gi.UPowerGlib;
- const Settings = imports.ui.settings;
- const AppletDir = imports.ui.appletManager.applets['calendar at cinnamon.org'];
- const Calendar = AppletDir.calendar;
-@@ -88,10 +87,6 @@
- this.settings.bindProperty(Settings.BindingDirection.IN, "use-custom-format", "use_custom_format", this.on_settings_changed, null);
- this.settings.bindProperty(Settings.BindingDirection.IN, "custom-format", "custom_format", this.on_settings_changed, null);
-
-- // https://bugzilla.gnome.org/show_bug.cgi?id=655129
-- this._upClient = new UPowerGlib.Client();
-- this._upClient.connect('notify-resume', this._updateClockAndDate);
--
- // Start the clock
- this.on_settings_changed();
- this._updateClockAndDatePeriodic();
Copied: cinnamon/repos/community-i686/upower_calender_fix.patch (from rev 109553, cinnamon/trunk/upower_calender_fix.patch)
===================================================================
--- community-i686/upower_calender_fix.patch (rev 0)
+++ community-i686/upower_calender_fix.patch 2014-04-15 18:16:46 UTC (rev 109554)
@@ -0,0 +1,22 @@
+diff -Naur Cinnamon-2.0.14.orig/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js Cinnamon-2.0.14/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js
+--- Cinnamon-2.0.14.orig/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js 2013-11-25 19:41:30.000000000 +0100
++++ Cinnamon-2.0.14/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js 2014-04-11 08:10:28.785899903 +0200
+@@ -6,7 +6,6 @@
+ const St = imports.gi.St;
+ const Util = imports.misc.util;
+ const PopupMenu = imports.ui.popupMenu;
+-const UPowerGlib = imports.gi.UPowerGlib;
+ const Settings = imports.ui.settings;
+ const AppletDir = imports.ui.appletManager.applets['calendar at cinnamon.org'];
+ const Calendar = AppletDir.calendar;
+@@ -88,10 +87,6 @@
+ this.settings.bindProperty(Settings.BindingDirection.IN, "use-custom-format", "use_custom_format", this.on_settings_changed, null);
+ this.settings.bindProperty(Settings.BindingDirection.IN, "custom-format", "custom_format", this.on_settings_changed, null);
+
+- // https://bugzilla.gnome.org/show_bug.cgi?id=655129
+- this._upClient = new UPowerGlib.Client();
+- this._upClient.connect('notify-resume', this._updateClockAndDate);
+-
+ // Start the clock
+ this.on_settings_changed();
+ this._updateClockAndDatePeriodic();
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2014-04-15 18:14:23 UTC (rev 109553)
+++ community-x86_64/PKGBUILD 2014-04-15 18:16:46 UTC (rev 109554)
@@ -1,75 +0,0 @@
-# $Id$
-# Maintainer: Alexandre Filgueira <alexfilgueira at cinnarch.com>
-# Contributor: M0Rf30
-# Contributor: unifiedlinux
-# Contributor: CReimer
-
-pkgname=cinnamon
-pkgver=2.2.3
-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"
- "upower_calender_fix.patch"
- "set_wheel.patch")
-sha256sums=('9151452f81ffb7edc28cbdb107818f64bb9bd55610711781345418166372f0fe'
- 'babfe88a3773f5369b05c7b61d0318cf969b482b9e0c3f281afaf488b0051e53'
- 'd5d5634b24e56837cb677e62669450c25f79005ed1388584760a131f461180ec')
-
-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 ../upower_calender_fix.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
-
- # 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 109553, cinnamon/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-04-15 18:16:46 UTC (rev 109554)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Alexandre Filgueira <alexfilgueira at cinnarch.com>
+# Contributor: M0Rf30
+# Contributor: unifiedlinux
+# Contributor: CReimer
+
+pkgname=cinnamon
+pkgver=2.2.3
+pkgrel=3
+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"
+ "upower_calender_fix.patch"
+ "set_wheel.patch")
+sha256sums=('9151452f81ffb7edc28cbdb107818f64bb9bd55610711781345418166372f0fe'
+ 'babfe88a3773f5369b05c7b61d0318cf969b482b9e0c3f281afaf488b0051e53'
+ 'd5d5634b24e56837cb677e62669450c25f79005ed1388584760a131f461180ec')
+
+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 ../upower_calender_fix.patch
+
+ # Use wheel group instread of sudo
+ patch -Np1 -i ../set_wheel.patch
+
+ # Use cinnamon-menus instead of gnome-menus in cinnamon-desktop-editor
+ sed -i 's/GMenu/CMenu/g' files/usr/lib/cinnamon-desktop-editor/cinnamon-desktop-editor.py
+
+ # 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
+
+ # 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/cinnamon.install
===================================================================
--- community-x86_64/cinnamon.install 2014-04-15 18:14:23 UTC (rev 109553)
+++ community-x86_64/cinnamon.install 2014-04-15 18:16:46 UTC (rev 109554)
@@ -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 109553, cinnamon/trunk/cinnamon.install)
===================================================================
--- community-x86_64/cinnamon.install (rev 0)
+++ community-x86_64/cinnamon.install 2014-04-15 18:16:46 UTC (rev 109554)
@@ -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/set_wheel.patch
===================================================================
--- community-x86_64/set_wheel.patch 2014-04-15 18:14:23 UTC (rev 109553)
+++ community-x86_64/set_wheel.patch 2014-04-15 18:16:46 UTC (rev 109554)
@@ -1,14 +0,0 @@
---- a/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
-+++ b/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
-@@ -734,9 +734,9 @@ 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" % (username, username))
-+ os.system("usermod %s -G %s,wheel" % (username, username))
- else:
- os.system("usermod %s -G %s" % (username, username))
- self.load_groups()
Copied: cinnamon/repos/community-x86_64/set_wheel.patch (from rev 109553, cinnamon/trunk/set_wheel.patch)
===================================================================
--- community-x86_64/set_wheel.patch (rev 0)
+++ community-x86_64/set_wheel.patch 2014-04-15 18:16:46 UTC (rev 109554)
@@ -0,0 +1,14 @@
+--- a/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
++++ b/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
+@@ -734,9 +734,9 @@ 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" % (username, username))
++ os.system("usermod %s -G %s,wheel" % (username, username))
+ else:
+ os.system("usermod %s -G %s" % (username, username))
+ self.load_groups()
Deleted: community-x86_64/upower_calender_fix.patch
===================================================================
--- community-x86_64/upower_calender_fix.patch 2014-04-15 18:14:23 UTC (rev 109553)
+++ community-x86_64/upower_calender_fix.patch 2014-04-15 18:16:46 UTC (rev 109554)
@@ -1,22 +0,0 @@
-diff -Naur Cinnamon-2.0.14.orig/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js Cinnamon-2.0.14/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js
---- Cinnamon-2.0.14.orig/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js 2013-11-25 19:41:30.000000000 +0100
-+++ Cinnamon-2.0.14/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js 2014-04-11 08:10:28.785899903 +0200
-@@ -6,7 +6,6 @@
- const St = imports.gi.St;
- const Util = imports.misc.util;
- const PopupMenu = imports.ui.popupMenu;
--const UPowerGlib = imports.gi.UPowerGlib;
- const Settings = imports.ui.settings;
- const AppletDir = imports.ui.appletManager.applets['calendar at cinnamon.org'];
- const Calendar = AppletDir.calendar;
-@@ -88,10 +87,6 @@
- this.settings.bindProperty(Settings.BindingDirection.IN, "use-custom-format", "use_custom_format", this.on_settings_changed, null);
- this.settings.bindProperty(Settings.BindingDirection.IN, "custom-format", "custom_format", this.on_settings_changed, null);
-
-- // https://bugzilla.gnome.org/show_bug.cgi?id=655129
-- this._upClient = new UPowerGlib.Client();
-- this._upClient.connect('notify-resume', this._updateClockAndDate);
--
- // Start the clock
- this.on_settings_changed();
- this._updateClockAndDatePeriodic();
Copied: cinnamon/repos/community-x86_64/upower_calender_fix.patch (from rev 109553, cinnamon/trunk/upower_calender_fix.patch)
===================================================================
--- community-x86_64/upower_calender_fix.patch (rev 0)
+++ community-x86_64/upower_calender_fix.patch 2014-04-15 18:16:46 UTC (rev 109554)
@@ -0,0 +1,22 @@
+diff -Naur Cinnamon-2.0.14.orig/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js Cinnamon-2.0.14/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js
+--- Cinnamon-2.0.14.orig/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js 2013-11-25 19:41:30.000000000 +0100
++++ Cinnamon-2.0.14/files/usr/share/cinnamon/applets/calendar at cinnamon.org/applet.js 2014-04-11 08:10:28.785899903 +0200
+@@ -6,7 +6,6 @@
+ const St = imports.gi.St;
+ const Util = imports.misc.util;
+ const PopupMenu = imports.ui.popupMenu;
+-const UPowerGlib = imports.gi.UPowerGlib;
+ const Settings = imports.ui.settings;
+ const AppletDir = imports.ui.appletManager.applets['calendar at cinnamon.org'];
+ const Calendar = AppletDir.calendar;
+@@ -88,10 +87,6 @@
+ this.settings.bindProperty(Settings.BindingDirection.IN, "use-custom-format", "use_custom_format", this.on_settings_changed, null);
+ this.settings.bindProperty(Settings.BindingDirection.IN, "custom-format", "custom_format", this.on_settings_changed, null);
+
+- // https://bugzilla.gnome.org/show_bug.cgi?id=655129
+- this._upClient = new UPowerGlib.Client();
+- this._upClient.connect('notify-resume', this._updateClockAndDate);
+-
+ // Start the clock
+ this.on_settings_changed();
+ this._updateClockAndDatePeriodic();
More information about the arch-commits
mailing list