Installing DBus interface files for services



Hi all,

I was wondering if there's any reason we typically don't install on the system DBus XML interface files for services. On my system, I can see a bunch of definitions in /usr/share/dbus-1/interfaces, but it's by no means a complete list of all the services in the system.
Standardizing such a practice would make it easier to write code that uses e.g. gdbus-codegen to automatically generate code for those interfaces; currently a lot of projects need to copy/paste the interface definition in their source tree, which is impractical and can lead to inconsistencies when one version of the interface is updated (in a backwards-compatible way) but not the other side.

Thanks,
Cosimo


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]