Re: GIR-based vala bindings
- From: Jiří Techet <techet gmail com>
- To: Lorenzo Masini <lorenxo86 gmail com>
- Cc: libchamplain-list gnome org
- Subject: Re: GIR-based vala bindings
- Date: Wed, 16 Mar 2011 23:26:14 +0100
Hi Lorenzo,
thanks a lot for looking into this! I wasn't aware of the possibility
to generate vala bindings from girs (well, I don't use vala by myself)
- this will simplify things like making identical overrides separately
for vala and girs and the annoying renaming of all the vala files
after every release to have the correct -0.version suffix. Perfect!
On Sun, Mar 13, 2011 at 17:10, Lorenzo Masini <lorenxo86 gmail com> wrote:
> 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).
Aren't they? They should be generated when you run ./configure and
should exist all the time during make. What's the problem?
> 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.
What happens? Could you post here what you're putting into the
makefiles to see what you are trying to achieve?
Thanks,
Jiri
>
> Can someone help me?
>
> Cheers
> Lorenzo
>
> _______________________________________________
> libchamplain-list mailing list
> libchamplain-list gnome org
> http://mail.gnome.org/mailman/listinfo/libchamplain-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]