[arch-commits] Commit in consolekit/trunk (2 files)

Jan de Groot jgc at archlinux.org
Fri May 8 13:04:44 EDT 2009


    Date: Friday, May 8, 2009 @ 13:04:44
  Author: jgc
Revision: 38470

upgpkg: consolekit 0.3.0-4
    Allow GetSessions call, fixes password dialog for GNOME when shutting down (FS#14468)

Added:
  consolekit/trunk/consolekit-allow-GetSessions.patch
Modified:
  consolekit/trunk/PKGBUILD

------------------------------------+
 PKGBUILD                           |    9 ++++++---
 consolekit-allow-GetSessions.patch |   12 ++++++++++++
 2 files changed, 18 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-08 16:52:17 UTC (rev 38469)
+++ PKGBUILD	2009-05-08 17:04:44 UTC (rev 38470)
@@ -4,7 +4,7 @@
 
 pkgname=consolekit
 pkgver=0.3.0
-pkgrel=3
+pkgrel=4
 pkgdesc="A framework for defining and tracking users, login sessions, and seats"
 arch=('i686' 'x86_64')
 url="http://www.freedesktop.org/wiki/Software/ConsoleKit"
@@ -13,11 +13,14 @@
 makedepends=('pkgconfig')
 options=(!libtool)
 source=(http://people.freedesktop.org/~mccann/dist/ConsoleKit-${pkgver}.tar.bz2
-	pam-foreground-compat.ck)
-md5sums=('43b02a52212330b54cfb34c4044d9ce0' 'a8a4de71d9b0549b8143e5f6c2a36fc7')
+	pam-foreground-compat.ck
+	consolekit-allow-GetSessions.patch)
+md5sums=('43b02a52212330b54cfb34c4044d9ce0' 'a8a4de71d9b0549b8143e5f6c2a36fc7'
+	 'cbbef5b7351cd13fef72bc2d229e910c')
 
 build() {
   cd "${srcdir}/ConsoleKit-${pkgver}"
+  patch -Np1 -i "${srcdir}/consolekit-allow-GetSessions.patch" || return 1
   ./configure --prefix=/usr \
       --sysconfdir=/etc \
       --localstatedir=/var \

Added: consolekit-allow-GetSessions.patch
===================================================================
--- consolekit-allow-GetSessions.patch	                        (rev 0)
+++ consolekit-allow-GetSessions.patch	2009-05-08 17:04:44 UTC (rev 38470)
@@ -0,0 +1,12 @@
+diff -ur ConsoleKit-0.3.0/data/ConsoleKit.conf ConsoleKit-ted/data/ConsoleKit.conf
+--- ConsoleKit-0.3.0/data/ConsoleKit.conf	2008-04-19 00:39:49.000000000 -0500
++++ ConsoleKit-ted/data/ConsoleKit.conf	2009-03-04 13:57:57.000000000 -0600
+@@ -32,6 +32,8 @@
+     <allow send_interface="org.freedesktop.ConsoleKit.Manager"
+            send_member="GetSeats"/>
+     <allow send_interface="org.freedesktop.ConsoleKit.Manager"
++           send_member="GetSessions"/>
++    <allow send_interface="org.freedesktop.ConsoleKit.Manager"
+            send_member="GetSessionForCookie"/>
+     <allow send_interface="org.freedesktop.ConsoleKit.Manager"
+            send_member="GetSessionForUnixProcess"/>



More information about the arch-commits mailing list