How to test for a D-Bus run-time dependency?

Friedrich W. H. Kossebau kossebau at
Tue Aug 17 23:59:34 CEST 2010


I want to add a check for the existance of the proper version of cagibi to the 
buildsystem. cagibi is used by the network:/ kio-slave (well, its kded-module) 
to get the list of UPnP devices on the local network, via D-Bus calls.

Just, the D-Bus calls are implemented manually in the network:/ kded module, 
not relying on any cagibi files which would be needed to be installed. Only at 
run-time the existance of the cagibi daemon is checked, by success of D-Bus 
call to the cagibi service. The version of the API is planned to be controlled 
by an number postfix to the service/object path name.

So what could I do to test at build-time the correct version of cagibi, so 
cagibi can be listed as usual as (missing) dependency?
Is there some similar case of a run-time-only (D-Bus) dependency?

KDE Okteta - a simple hex editor -

More information about the Kde-buildsystem mailing list