Introduction to GObject Introspection

The GObject Introspection is used to describe the program APIs and collect them in a uniform, machine readable format.

This package is known to build and work properly using an LFS-7.9 platform.

This package is known to build properly using the gcc-6 compiler.

Package Information


GLib-2.48.1 and Python-2.7.12


Cairo-1.14.6 (required for the tests), GTK-Doc-1.25 and Mako-1.0.4

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/gobject-introspection

Installation of GObject Introspection

Install GObject Introspection by running the following commands:

./configure --prefix=/usr --disable-static &&

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.


Installed Program: g-ir-annotation-tool, g-ir-compiler, g-ir-doc-tool, g-ir-generate, and g-ir-scanner
Installed Libraries: libgirepository-1.0.so and /usr/lib/gobject-introspection/giscanner/_giscanner.so
Installed Directories: /usr/include/gobject-introspection-1.0, /usr/lib/girepository-1.0, /usr/lib/gobject-introspection, /usr/share/gir-1.0, and /usr/share/gobject-introspection-1.0

Short Descriptions


converts one or more GIR files into one or more typelib.


generates Mallard files that can be viewed with yelp or rendered to HTML with yelp-build from yelp-tools.


is a tool which generates GIR XML files by parsing headers and introspecting GObject based libraries.


is a GIR generator using the repository API.


provides an API to access to the typelib metadata.

Last updated on 2016-06-05 22:35:53 -0500