[arch-commits] Commit in xfce4-session/trunk (3 files)

andyrtr at archlinux.org andyrtr at archlinux.org
Thu Jan 6 16:29:11 EST 2011


    Date: Thursday, January 6, 2011 @ 16:29:10
  Author: andyrtr
Revision: 105152

upgpkg: xfce4-session 4.7.3-2
add deps on upower +consolekit

Modified:
  xfce4-session/trunk/PKGBUILD
  xfce4-session/trunk/org.freedesktop.consolekit.pkla
  xfce4-session/trunk/org.freedesktop.upower.pkla

---------------------------------+
 PKGBUILD                        |   10 ++++++----
 org.freedesktop.consolekit.pkla |   24 ++++++++++++++++++++----
 org.freedesktop.upower.pkla     |    8 ++++----
 3 files changed, 30 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-06 21:13:19 UTC (rev 105151)
+++ PKGBUILD	2011-01-06 21:29:10 UTC (rev 105152)
@@ -4,13 +4,15 @@
 
 pkgname=xfce4-session
 pkgver=4.7.3
-pkgrel=1
+pkgrel=2
 pkgdesc="A session manager for Xfce"
 arch=('i686' 'x86_64')
 license=('GPL2')
 url="http://www.xfce.org/"
 groups=('xfce4')
-depends=('xfce4-panel' 'libwnck' 'xorg-iceauth' 'hicolor-icon-theme' ) # keep xorg-server-utils for https://bugs.archlinux.org/task/21096  'xorg-server-utils'
+ # keep xorg-server-utils for https://bugs.archlinux.org/task/21096  'xorg-server-utils'
+ # upower and consolekit for reboot/shutdown/hibernate/suspend
+depends=('xfce4-panel' 'libwnck' 'xorg-iceauth' 'upower' 'consolekit' 'hicolor-icon-theme' )
 makedepends=('pkgconfig' 'intltool')
 optdepends=('fortune-mod: for xfce4-tips')
 replaces=('xfce4-toys')
@@ -22,8 +24,8 @@
 	org.freedesktop.consolekit.pkla
 	org.freedesktop.upower.pkla)
 md5sums=('ae6c98b4419cc4b651a7e68c4afdf432'
-         '73e8925488386bbf38129ba3b960fce4'
-         '75ccbdb1271cb7ff21f8a65e548f409f')
+         '2e2519950d8c591dc9440ed8957a49ed'
+         '5fa270637b5e685f033863d8664795a2')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}

Modified: org.freedesktop.consolekit.pkla
===================================================================
--- org.freedesktop.consolekit.pkla	2011-01-06 21:13:19 UTC (rev 105151)
+++ org.freedesktop.consolekit.pkla	2011-01-06 21:29:10 UTC (rev 105152)
@@ -1,15 +1,31 @@
 [Local restart]
-Identity=unix-user:
-#Identity=unix-group:
+#Identity=unix-user: your_username
+Identity=unix-group:power
 Action=org.freedesktop.consolekit.system.restart
 ResultAny=yes
 ResultInactive=no
 ResultActive=yes
 
 [Local shutdown]
-Identity=unix-user:
-#Identity=unix-group:
+#Identity=unix-user: your_username
+Identity=unix-group:power
 Action=org.freedesktop.consolekit.system.stop
 ResultAny=yes
 ResultInactive=no
 ResultActive=yes
+
+[Local restart - multiple]
+#Identity=unix-user: your_username
+Identity=unix-group:power
+Action=org.freedesktop.consolekit.system.restart-multiple-users
+ResultAny=yes
+ResultInactive=no
+ResultActive=yes
+
+[Local shutdown - multiple]
+#Identity=unix-user: your_username
+Identity=unix-group:power
+Action=org.freedesktop.consolekit.system.stop-multiple-users
+ResultAny=yes
+ResultInactive=no
+ResultActive=yes

Modified: org.freedesktop.upower.pkla
===================================================================
--- org.freedesktop.upower.pkla	2011-01-06 21:13:19 UTC (rev 105151)
+++ org.freedesktop.upower.pkla	2011-01-06 21:29:10 UTC (rev 105152)
@@ -1,14 +1,14 @@
 [Local hibernate]
-Identity=unix-user:
-#Identity=unix-group:
+#Identity=unix-user: your_username
+Identity=unix-group:power
 Action=org.freedesktop.upower.hibernate
 ResultAny=yes
 ResultInactive=no
 ResultActive=yes
 
 [Local suspend]
-Identity=unix-user:
-#Identity=unix-group:
+#Identity=unix-user: your_username
+Identity=unix-group:power
 Action=org.freedesktop.upower.suspend
 ResultAny=yes
 ResultInactive=no



More information about the arch-commits mailing list