2 vala-gen-introspect \- generate a GI file for GObject and glib based packages
5 .B vala-gen-introspect \fIPKGNAME\fP \fIPKGBASE\fP
9 is a utility which generates GI files from GObject and glib
10 based packages. It can be used in combination with vapigen(1) to
11 generate an API for Vala, and allow it's usage in Vala for compiling
12 to native code. \fIPKGNAME\fP is the pkg-config name of the library
13 and \fIPKGBASE\fP specifies the base directory for that package.
16 After compilation, the following command generates a GI for pango:
17 .B vala-gen-introspect pango packages/pango
19 This can then be converted to a Vala API as follows:
20 .B vapigen --pkg cairo --vapidir . --library pango packages/pango/pango.gi
23 https://gitlab.gnome.org/GNOME/vala/issues
26 https://wiki.gnome.org/Projects/Vala
32 Jürg Billeter <j@bitron.ch>, Raffaele Sandrini <rasa@gmx.ch>