1VAPIGEN(1) User Commands VAPIGEN(1)
2
3
4
6 vapigen - generate a Vala API
7
9 vapigen SOURCE PKGBASE [OPTION]... [FILE]...
10
12 vapigen is a utility which generates Vala API (VAPI) files from GI
13 files, which may be generated using the vala-gen-introspect(1) utility.
14
15 Usage:
16 vapigen [OPTION?] FILE... - Vala API Generator
17
18 Help Options:
19 -h, --help
20 Show help options
21
22 Application Options:
23 --vapidir=DIRECTORY...
24 Look for package bindings in DIRECTORY
25
26 --girdir=DIRECTORY...
27 Look for GIR bindings in DIRECTORY
28
29 --metadatadir=DIRECTORY...
30 Look for GIR .metadata files in DIRECTORY
31
32 --nostdpkg
33 Do not include standard packages
34
35 --pkg=PACKAGE...
36 Include binding for PACKAGE
37
38 --library=NAME
39 Library name
40
41 -d, --directory=DIRECTORY
42 Output directory
43
44 --disable-warnings
45 Disable warnings
46
47 --version
48 Display version number
49
50 -q, --quiet
51 Do not print messages to the console
52
54 https://gitlab.gnome.org/GNOME/vala/issues
55
57 https://wiki.gnome.org/Projects/Vala
58
60 J??rg Billeter, Raffaele Sandrini.
61
63 After compilation, the following command generates a GI for pango:
64 vala-gen-introspect pango packages/pango
65
66 This can then be converted to a Vala API as follows:
67 vapigen --pkg cairo --vapidir . --library pango pack‐
68 ages/pango/pango.gi
69
71 vala-gen-introspect (1)
72
73
74
75Vala API Generator 0.56.1 April 2022 VAPIGEN(1)