So that it can be clear for everybody, the DBus XML spec, and the
vala-dbus-binding-tool I made, is only a temporary thing for me. I
developed this to have a quick-start Vala API to work with.
My own view of this is that, as soon as the gobject-introspection stuff
matures, we will have bindings in every language (almost Python,
Javascript, Vala, Java and C++) for free.
Gobject-Introspection (short-handed as "G-I") defines a format called
GIR (G-I repository). That format is much more complete than the DBus
XML specs or other similar formats.
In the following months, more and more libraries will have their .gir
file to describe their software APIs (and not only DBus APIs).
I currently contribute to Vala project in the following ways:
- Generate .gir files for libraries as part of their compile,
- Parsing of .gir files to generate VAPIs.
Some other people already set up binding generators for Python,
Javascript, Java and some other languages are following.
My goal would be that when the FSO's Vala APIs are good enough we use
them as a trampoline to generate a GIR file and thus regenerate bindings
for Python and other languages.
My main credo is "why reinvent the wheel". G-I people is doing a pretty
good job in defining a cross-language API description format. So let us
use that in the future.
Anyway, I'll be very cold in redoing something (moving to
yet-another|telepathy format) when I know it will surely made obsolete
when the G-I project completes.
My 2 cents.
Didier.
Michael 'Mickey' Lauer wrote:
I have reviewed the telepathy format when I started working on the
documentation of our APIs and found it overcomplicated.
If you guys (more input from different people here, please) think we should use
it and if someone comes up with a patch that
a) converts the existing documentation root files to the new format and
b) switch the build system to use the new tools required by the telepathy
format,
then I have not a strong opinion to not move.
:M:
_______________________________________________
smartphones-standards mailing list
smartphones-standards@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-standards