Starting D-BUS

Ralf Habacker ralf.habacker at freenet.de
Thu Nov 9 16:28:40 CET 2006


Stephan Kulow schrieb:
> Am Donnerstag, 9. November 2006 15:28 schrieb Peter Kümmel:
>   
>> Hi Paulo,
>> does this patch help?
>>
>>
>> $ svn diff cmake
>> Index: cmake/dbus-launch.bat.cmake
>> ===================================================================
>> --- cmake/dbus-launch.bat.cmake (revision 364)
>> +++ cmake/dbus-launch.bat.cmake (working copy)
>> @@ -12,5 +12,5 @@
>>         start bin\dbus-daemon --config-file=bus\build-session.conf
>>  ) else (
>>    @echo "starting global dbus daemon"
>> -       start c:/Programme/dbus/bin/dbus-daemon --session
>> +       start %PROGRAMFILES%/dbus/bin/dbus-daemon --session
>>  )
>>     
>
> It won't - it will complain it can't find c:\programme\dbus\etc\session.conf. 
> I fixed it for me in replacing --session 
> with --config-file %DBUSDIR%\etc\session.conf - but I still could not attack 
> KDE programs to that dbus daemon
>   
which means to init the environment in the following way.

set DBUSDIR=<dbus-location>
set PATH=%DBUSDIR%\bin;%PATH%

The real problem is that the installation path in defined on
configuretime by cmake and hardcoded into config.h

config.h
<snip>
#define DBUS_SYSTEM_CONFIG_FILE  "C:/Programme/dbus/etc/system.conf"
#define DBUS_SESSION_CONFIG_FILE "C:/Programme/dbus/etc/session.conf"
</snip>

Installing into another location which will happens on windows (english
version program installation path: C:\Program Files\ german version
installation path c:\Programme) will not work at now.

One possible solution may be to locate the session and system bus config
file for --session and --system options may be relative to dbus-daemon
path in main.c. Are the other solutions known ?

Ralf





> Greetings, Stephan
> _______________________________________________
> Kde-windows mailing list
> Kde-windows at kde.org
> https://mail.kde.org/mailman/listinfo/kde-windows
>   




More information about the Kde-windows mailing list