GIR-based vala bindings



Hi everyone.
I'm trying to change the method of generation of vapi files for Vala
bindings.

It should improve the Vala bindings generation, simplifing the
generation itself (no need of vala-gen-introspect, so bindings can be
generated during build) and more accurate bindings (if the GIRs are
correctly generated the .metadata files become useless).

I'm using the switch-to-gir branch of vala, which should be merged in
master soon.

For now I've only fixed the generation of GIR files (see
https://bugzilla.gnome.org/show_bug.cgi?id=635330 for informations) in
my personal clone
(http://gitorious.org/~rugginoso/libchamplain/rugginoso-clone/commits/vala-switch-to-gir).
Probably, it will need some other enhancements.

Now I'm stuck on some autoconf/automake issues (because my leak of
knowledge about them).
In particular, I need that at the moment of GIR files generation,
the .pc files in the $top_builddir are the ones that will be installed
(champlain-0.10.pc).
Another problem is that I can't set the PKG_BUILD_PATH to $top_builddir
in champlain-gtk/Makefile.am to make g-ir-scanner find the not yet
installed .pc files.

Can someone help me?

Cheers
Lorenzo



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