I looked at this a little as I was fixing the libgda5 build failure on Ubuntu. After adding the libvala-dev and valac dependencies, the build failed so this is going to require a fair amount of work. I think we should just wait for the 13.10 series to open and upload 5.1.2 which will fix a bunch of bugs and hopefully the vapi generation will just work then.
I looked at this a little as I was fixing the libgda5 build failure on Ubuntu. After adding the libvala-dev and valac dependencies, the build failed so this is going to require a fair amount of work. I think we should just wait for the 13.10 series to open and upload 5.1.2 which will fix a bunch of bugs and hopefully the vapi generation will just work then.