From: Colin Guthrie Date: Tue, 11 Jan 2011 10:09:42 +0000 (+0000) Subject: console-kit: Console Kit support is dependent on DBUS and is thus optional. X-Git-Tag: v0.99.1~311 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b545997adf46e5961ab896f92dece2ee02aee36;p=platform%2Fupstream%2Fpulseaudio.git console-kit: Console Kit support is dependent on DBUS and is thus optional. Therefore, we must reflect this in the default.pa. Several users have reported an error with consolekit when starting a self-built PA due to the default config not working properly. This works around the issue but we should include a warning on configure about the lack of DBUS and udev support as this is a common mistake. --- diff --git a/src/daemon/default.pa.in b/src/daemon/default.pa.in index f9b9ead..ace0f09 100755 --- a/src/daemon/default.pa.in +++ b/src/daemon/default.pa.in @@ -111,7 +111,9 @@ load-module module-suspend-on-idle ### If autoexit on idle is enabled we want to make sure we only quit ### when no local session needs us anymore. +.ifexists module-console-kit@PA_SOEXT@ load-module module-console-kit +.endif ### Enable positioned event sounds load-module module-position-event-sounds