ConsoleKit: update to 0.4.2.

This commit is contained in:
Juan RP 2010-10-26 13:34:05 +02:00
parent 0964251cf5
commit e8b2ee2e48
5 changed files with 12 additions and 49 deletions

View file

@ -5,8 +5,6 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
revision=2
Add_dependency run libX11-devel Add_dependency run libX11-devel
Add_dependency run dbus-devel Add_dependency run dbus-devel
Add_dependency run glib-devel Add_dependency run glib-devel

View file

@ -5,8 +5,6 @@ long_desc="${long_desc}
This package contains some tools that require X libraries." This package contains some tools that require X libraries."
revision=2
Add_dependency run glibc Add_dependency run glibc
Add_dependency run glib Add_dependency run glib
Add_dependency run libX11 Add_dependency run libX11

View file

@ -0,0 +1,5 @@
/var/log/ConsoleKit/history {
missingok
notifempty
delaycompress
}

View file

@ -1,41 +0,0 @@
Fixes initialization with hal-0.5.14 through dbus, from Archlinux.
--- src/main.c.reorder-initialization 2009-12-18 14:51:38.821212946 -0500
+++ src/main.c 2009-12-18 14:52:19.246211176 -0500
@@ -294,11 +294,19 @@ main (int argc,
setup_debug_log (debug);
+ g_debug ("initializing console-kit-daemon %s", VERSION);
+
connection = get_system_bus ();
if (connection == NULL) {
goto out;
}
+ manager = ck_manager_new ();
+
+ if (manager == NULL) {
+ goto out;
+ }
+
bus_proxy = get_bus_proxy (connection);
if (bus_proxy == NULL) {
g_warning ("Could not construct bus_proxy object; bailing out");
@@ -310,16 +318,8 @@ main (int argc,
goto out;
}
- g_debug ("initializing console-kit-daemon %s", VERSION);
-
create_pid_file ();
- manager = ck_manager_new ();
-
- if (manager == NULL) {
- goto out;
- }
-
loop = g_main_loop_new (NULL, FALSE);
g_signal_connect (bus_proxy,

View file

@ -1,14 +1,13 @@
# Template file for 'ConsoleKit' # Template file for 'ConsoleKit'
pkgname=ConsoleKit pkgname=ConsoleKit
version=0.4.1 version=0.4.2
revision=4
distfiles="http://www.freedesktop.org/software/$pkgname/dist/$pkgname-$version.tar.bz2" distfiles="http://www.freedesktop.org/software/$pkgname/dist/$pkgname-$version.tar.bz2"
build_style=gnu_configure build_style=gnu_configure
configure_args="--enable-docbook-docs --enable-pam-module configure_args="--enable-docbook-docs --enable-pam-module
--localstatedir=/var" --localstatedir=/var"
short_desc="Framework for defining and tracking users, login sessions and seats" short_desc="Framework for defining and tracking users, login sessions and seats"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=f032adc6146d745034315054c5822a7a09f30e20a40d6e802221fa977354403e checksum=656f406c9c436bd105c34d87e824cb2fbae09fa672b93894059281124480fe15
long_desc=" long_desc="
ConsoleKit is a framework for keeping track of the various users, sessions, ConsoleKit is a framework for keeping track of the various users, sessions,
and seats present on a system. It provides a mechanism for software to react and seats present on a system. It provides a mechanism for software to react
@ -17,7 +16,7 @@ long_desc="
conf_files=" conf_files="
/etc/dbus-1/system.d/ConsoleKit.conf /etc/dbus-1/system.d/ConsoleKit.conf
/etc/ConsoleKit/seats.d/00-primary.seat" /etc/logrotate.d/ConsoleKit"
keep_empty_dirs=yes keep_empty_dirs=yes
subpackages="$pkgname-devel $pkgname-x11" subpackages="$pkgname-devel $pkgname-x11"
@ -29,6 +28,7 @@ Add_dependency run glib
Add_dependency run pam Add_dependency run pam
Add_dependency run polkit Add_dependency run polkit
Add_dependency run zlib Add_dependency run zlib
Add_dependency build pkg-config Add_dependency build pkg-config
Add_dependency build xmlto Add_dependency build xmlto
Add_dependency build libX11-devel Add_dependency build libX11-devel
@ -45,4 +45,7 @@ post_install()
${DESTDIR}/usr/lib/ConsoleKit/run-session.d ${DESTDIR}/usr/lib/ConsoleKit/run-session.d
install -d ${DESTDIR}/etc/ConsoleKit/run-seat.d install -d ${DESTDIR}/etc/ConsoleKit/run-seat.d
install -d ${DESTDIR}/etc/ConsoleKit/run-session.d install -d ${DESTDIR}/etc/ConsoleKit/run-session.d
install -D -m644 ${FILESDIR}/ck.logrotate \
${DESTDIR}/etc/logrotate.d/ConsoleKit
} }