rpms/ConsoleKit/devel reorder-initialization.patch, NONE, 1.1 ConsoleKit.spec, 1.52, 1.53
Ray Strode
rstrode at fedoraproject.org
Wed Jan 20 15:10:12 UTC 2010
Author: rstrode
Update of /cvs/pkgs/rpms/ConsoleKit/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4385
Modified Files:
ConsoleKit.spec
Added Files:
reorder-initialization.patch
Log Message:
- Register object methods with dbus-glib before taking bus name
(fix 545267)
reorder-initialization.patch:
main.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
--- NEW FILE reorder-initialization.patch ---
diff -up ConsoleKit-0.4.1/src/main.c.reorder-initialization ConsoleKit-0.4.1/src/main.c
--- ConsoleKit-0.4.1/src/main.c.reorder-initialization 2009-12-18 14:51:38.821212946 -0500
+++ ConsoleKit-0.4.1/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,
Index: ConsoleKit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ConsoleKit/devel/ConsoleKit.spec,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -p -r1.52 -r1.53
--- ConsoleKit.spec 15 Dec 2009 18:38:07 -0000 1.52
+++ ConsoleKit.spec 20 Jan 2010 15:10:12 -0000 1.53
@@ -6,7 +6,7 @@
Summary: System daemon for tracking users, sessions and seats
Name: ConsoleKit
Version: 0.4.1
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://www.freedesktop.org/wiki/Software/ConsoleKit
@@ -175,6 +175,10 @@ fi
%doc %{_datadir}/doc/%{name}-%{version}/spec/*
%changelog
+* Wed Jan 20 2010 Ray Strode <rstrode at redhat.com> 0.4.1-4
+- Register object methods with dbus-glib before taking bus name
+ (fix 545267)
+
* Tue Dec 15 2009 Matthias Clasen <mclasen at redhat.com> 0.4.1-3
- Don't daemonize when activated
More information about the scm-commits
mailing list