Re: External dependencies, DeviceKit-power and GNOME Power Manager



Hi,

I think what Richard was trying to say it that _the_ API of the
DeviceKit projects is exactly the D-Bus interface. E.g. we're trying to
be careful to make sure that this stuff can be reimplemented if so
desired. E.g. if you wanted, you could write a Python or Java program
that implements the services org.fd.DK.Power and org.fd.DK.Disks. I
think that's what Richard meant.

Of course we'll be taking patches for FreeBSD and Solaris in the
C/GObject reference implementations that we ship in the DeviceKit
projects. It shouldn't be much work at all porting your C code from HAL
to DeviceKit; the code base should be significantly much nicer than what
you find in HAL.

The currently released DeviceKit projects ships with an API that is
currently subject to change. We need input from FreeBSD and Solaris
hackers on these D-Bus interfaces before they can be frozen.

FWIW, to be honest, this desire to make it possible for the DeviceKit
services to be reimplemented is first and foremost to ensure that we can
change our own reference implementations as we see fit. I don't expect
it to be a useful thing for people to reimplement the DeviceKit
services; it would be better if everyone worked on the same code base.

Hope this clarifies.

      David




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