Also generate .deps file when generating a .vapi.
Submitted by Jan Hudec
Link to original bug (#597606)
Description
Created attachment 144914 Proposed implementation
The attached patch implements generating a .deps file in addition to the .vapi file, so one does not have to write it manually. The generation is automatic whenever a .vapi output is requested and is specified with proper .vapi suffix.
The .deps file is generated to only include actually used dependencies. If you declare dependence on a package, but your .vapi file does not use any symbols (types -- API can't use other extern symbols than types) from given package, that package won't be listed. On the other hand it does include the implicit dependencies, so .vapi generated in posix profile will pull in posix in gobject profile and vice versa.
Patch 144914, "Proposed implementation":
0001-Also-generate-.deps-file-when-generating-a-.vapi.patch
Version: 0.7.x