[systemd-devel] systemd build dependency on dbus

Lennart Poettering lennart at poettering.net
Wed Oct 22 11:07:56 PDT 2014


On Mon, 25.08.14 21:58, Filipe Brandenburger (filbranden at google.com) wrote:

> 
> On Wed, Aug 20, 2014 at 3:27 PM, Lennart Poettering
> <lennart at poettering.net> wrote:
> > Well, we have our own dbus library implementation since a while
> > ("sd-bus") that supports both dbus1 and kdbus as transport. We only link
> > against libdbus1 in a test to validate our marshalling against the dbus1
> > one.
> 
> That's interesting.
> 
> Indeed it would be good to clarify that libdbus is not required at
> build time (except for the test case, and maybe it can be made
> optional or dynamic loaded in that one?) There seems to be other
> configurations that are pulled from dbus, like the dbuspolicydir,
> dbussessionservicedir, etc.

The current configure.ac logic is actually broken. We pretend that
dbus was optional, but we use it's pkg-config file to derive the
default paths you point out. 

We should fix that. Happy to take a patch. Also added a TODO list item
for this.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list