[arch-commits] Commit in consolekit/trunk (PKGBUILD small-fixes.patch)
Jan de Groot
jgc at archlinux.org
Tue Oct 20 08:59:30 UTC 2009
Date: Tuesday, October 20, 2009 @ 04:59:30
Author: jgc
Revision: 56200
upgpkg: consolekit 0.4.1-1
Update to 0.4.1
Modified:
consolekit/trunk/PKGBUILD
Deleted:
consolekit/trunk/small-fixes.patch
-------------------+
PKGBUILD | 13 +++++--------
small-fixes.patch | 47 -----------------------------------------------
2 files changed, 5 insertions(+), 55 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-10-20 08:57:51 UTC (rev 56199)
+++ PKGBUILD 2009-10-20 08:59:30 UTC (rev 56200)
@@ -3,25 +3,22 @@
# Contributor: onestep_ua <onestep at ukr.net>
pkgname=consolekit
-pkgver=0.3.1
+pkgver=0.4.1
pkgrel=1
pkgdesc="A framework for defining and tracking users, login sessions, and seats"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/ConsoleKit"
license=('GPL')
-depends=('polkit>=0.93' 'zlib' 'libx11>=1.2.2')
+depends=('polkit>=0.94' 'zlib' 'libx11>=1.2.2')
makedepends=('pkgconfig' 'xmlto' 'docbook-xsl')
options=(!libtool)
source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-${pkgver}.tar.bz2
- pam-foreground-compat.ck
- small-fixes.patch)
-md5sums=('3ee89345f610c462806aaaae9a997683'
- 'a8a4de71d9b0549b8143e5f6c2a36fc7'
- '2ebf16e49fa4c954e89561147219dfdb')
+ pam-foreground-compat.ck)
+md5sums=('48eda4483cc97841d5f88e8e003eb6d7'
+ 'a8a4de71d9b0549b8143e5f6c2a36fc7')
build() {
cd "${srcdir}/ConsoleKit-${pkgver}"
- patch -Np1 -i "${srcdir}/small-fixes.patch" || return 1
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
Deleted: small-fixes.patch
===================================================================
--- small-fixes.patch 2009-10-20 08:57:51 UTC (rev 56199)
+++ small-fixes.patch 2009-10-20 08:59:30 UTC (rev 56200)
@@ -1,47 +0,0 @@
-diff -up ConsoleKit-0.3.1/src/ck-manager.c.small-fixes ConsoleKit-0.3.1/src/ck-manager.c
---- ConsoleKit-0.3.1/src/ck-manager.c.small-fixes 2009-07-31 22:32:32.382848777 -0400
-+++ ConsoleKit-0.3.1/src/ck-manager.c 2009-07-31 22:34:55.159597733 -0400
-@@ -810,12 +810,9 @@ check_polkit_permissions (CkManager
- AuthorizedCallback callback)
- {
- const char *sender;
-- GError *error;
- PolkitSubject *subject;
- AuthorizedCallbackData *data;
-
-- error = NULL;
--
- g_debug ("constructing polkit data");
-
- /* Check that caller is privileged */
-@@ -837,6 +834,7 @@ check_polkit_permissions (CkManager
- NULL,
- (GAsyncReadyCallback)auth_ready_callback,
- data);
-+ g_object_unref (subject);
- }
-
- static void
-@@ -873,14 +871,12 @@ get_polkit_permissions (CkManager *man
- {
- const char *sender;
- PolkitSubject *subject;
-- GError *error;
-
- g_debug ("get permissions for action %s", action);
-
- sender = dbus_g_method_get_sender (context);
- subject = polkit_system_bus_name_new (sender);
-
-- error = NULL;
- polkit_authority_check_authorization (manager->priv->pol_ctx,
- subject,
- action,
-@@ -890,7 +886,6 @@ get_polkit_permissions (CkManager *man
- (GAsyncReadyCallback) ready_cb,
- context);
- g_object_unref (subject);
--
- }
- #endif
-
More information about the arch-commits
mailing list