Create GIR file of libvala
Submitted by Jakub Kaszycki
Link to original bug (#791431)
Description
Created attachment 365302 One of solutions of the problem
I wanted to add a Vala completion to YouCompleteMe/ycmd. I tried to import Vala-0.40 through gi.repository. This showed that neither a GIR nor a typelib is installed by Vala.
Writing a script to generate the GIR was not hard. The only problem was merging GIR files. Because in vala/, two VAPIs are merged, the GIRs had to merged the same way. I had to use a Perl script.
I attach a patch that creates GIRs. It might not be the best one, but it definitely works.
Patch 365302, "One of solutions of the problem":
gir.diff