gobject-introspection-1.58.3

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 9. General Libraries

- Prev

  GMime-3.2.3

- Next

  Grantlee-5.1.0

- Up
- Home

# gobject-introspection-1.58.3

## 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-8.4 platform.

### Package Information

- Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/gobject-introspection/1.58/gobject-introspection-1.58.3.tar.xz

- Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/gobject-introspection/1.58/gobject-introspection-1.58.3.tar.xz

- Download MD5 sum: 182432c1f33886be8f4da073218b597d

- Download size: 1.3 MB

- Estimated disk space required: 38 MB (add 7 MB for tests)

- Estimated build time: 0.3 SBU (add 0.3 SBU for tests)

#### Required

GLib-2.58.3

#### Recommended

Which-2.21

#### Optional

Cairo-1.16.0 (required for the tests), Gjs-1.54.3 (to satisfy one of the tests), GTK-Doc-1.29, Mako-1.0.7, Python-2.7.15, and Markdown

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 \
                --with-python=/usr/bin/python3 &&
    make

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.

`--with-python=/usr/bin/python3`: ensure the Python-3.x interpreter is used instead of Python-2.x if installed.

## Contents

Installed Program: g-ir-annotation-tool, g-ir-compiler, g-ir-doc-tool, g-ir-inspect, 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

g-ir-annotation-tool | creates or extracts annotation data from GI typelibs.
g-ir-compiler | converts one or more GIR files into one or more typelib.
g-ir-doc-tool | generates Mallard files that can be viewed with yelp or rendered to HTML with yelp-build from yelp-tools.
g-ir-inspect | is a utility that gives information about a GI typelib.
g-ir-scanner | is a tool which generates GIR XML files by parsing headers and introspecting GObject based libraries.
g-ir-generate | is a GIR generator that uses the repository API.
`libgirepository-1.0.so` | provides an API to access the typelib metadata.

Last updated on 2019-02-15 15:01:29 -0600

- Prev

  GMime-3.2.3

- Next

  Grantlee-5.1.0

- Up
- Home