Generate a gi file for gobject and glib based packages
vala-gen-introspect PKGNAME PKGBASE
vala-gen-introspect is a utility which generates GI files from GObject and glib based packages. It can be used in combination with vapigen(1) to generate an API for Vala, and allow it's usage in Vala for compiling to native code. PKGNAME is the pkg-config name of the library and PKGBASE specifies the base directory for that package.
After compilation, the following command generates a GI for pango:
vala-gen-introspect pango packages/pango
This command currently takes no command line options.
vapigen(1)
vala-gen-introspect for Vala was written by Juerg Billeter <[email protected]> and Raffaele Sandrini <[email protected]>.
This manual page was written by Kumar Appaiah <[email protected]>, for the Debian project (but may be used by others).