Automic VaultAutomic Vault

brew

Install gobject-introspection with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Generate introspection data for GObject libraries. Version 1.86.0 via Homebrew; verified 2026-06-08.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gobject-introspection

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install gobject-introspection

MacPorts ports tree · gnome/gobject-introspection/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add gobject-introspection

Alpine Linux edge package indexes · gobject-introspection · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install gir1.2-freedesktop

Debian stable package indexes · gir1.2-freedesktop · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install gobject-introspection

Fedora Rawhide package metadata · gobject-introspection · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#gobject-introspection

nixpkgs package indexes · gobject-introspection · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S gobject-introspection

Arch Linux sync databases · gobject-introspection · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install girepository-1_0

openSUSE Tumbleweed package metadata · girepository-1_0 · source: download.opensuse.org

overview

Package summary

Generate introspection data for GObject libraries

Commands and aliases

  • g-ir-annotation-tool
  • g-ir-compiler
  • g-ir-doc-tool
  • g-ir-generate
  • g-ir-inspect
  • g-ir-scanner

history

Project history and usage

GObject Introspection is GNOME infrastructure that turns C libraries using GObject conventions into machine-readable metadata. It provides GIR XML, compiled typelib files, scanner/compiler tools, and libgirepository so higher-level language bindings can call C APIs without each binding maintaining its own handwritten metadata.

For package maintainers it is not just another developer tool. It is build-time and runtime plumbing that many GNOME-adjacent packages need so Python, JavaScript, Vala, Perl, Ruby, Lua, Haskell, and other bindings can consume the same library metadata.

Project history

The project grew out of GNOME's long-standing need to share binding metadata instead of duplicating hand-maintained fixes across language bindings. The official goals page frames the work as a bridge between low-level C libraries and higher-level runtimes, and as a way to keep binding metadata inside the libraries through annotations.

GNOME's source archive records the 0.5.0 tarball on September 1, 2008. By the 1.30.0 release on September 20, 2011, the project had entered the 1.x line used alongside the GNOME 3 era. The documentation describes the core toolchain as g-ir-scanner, g-ir-compiler, g-ir-generate, g-ir-annotation-tool, GIR XML, typelib files, and libgirepository.

Adoption history

GObject Introspection became a shared foundation for language bindings rather than a user-facing app. The official users page lists bindings and consumers including Vala, Genie, PyGObject, GTK-Perl/Introspection, JGIR, GJS, Seed, GirFFI, Ruby-GNOME, Guile GI, lgi, node-gir, go-gir, haskell-gi, Common Lisp, Free Pascal, Prolog, Harbour, C++, and Crystal projects.

Distribution packaging reflects that infrastructure role. Homebrew packages it as gobject-introspection with dependencies on GLib, Cairo, pkgconf, and Python, while the input package facts map it across multiple Unix packaging systems under names such as gobject-introspection, gir1.2-freedesktop, and girepository-1_0.

How it is used

Library authors enable introspection during the build, annotate APIs, and generate GIR files and typelibs. Binding authors and runtime libraries then consume those artifacts to expose the same C APIs in languages such as Python via PyGObject or JavaScript via GJS.

Package builders care about it because it can affect cross-compilation, build ordering, and split packages: GIR development metadata and compiled typelibs often need to land in different package outputs. The official documentation includes dedicated build-system integration material for Meson and Autotools, and the changelog records build-system transitions such as the end of autotools support after the 1.60 line and the later drop of autotools in the 1.61 development series.

Why package nerds care

GObject Introspection is one of the packages that explains why GNOME stacks look the way they do in package managers: many applications do not depend on it directly for a command-line interface, but their language bindings, generated metadata, and typelibs depend on it being present and correctly split.

It is also a recurring example of packaging complexity caused by generated ABI metadata. The same package participates in compiler-like scanning, documentation, runtime reflection, language bindings, and cross-build work, so small changes in it can ripple through GTK, GStreamer, GJS, PyGObject, and desktop application builds.

Timeline

  • 2008-09-01: GNOME source archive records gobject-introspection 0.5.0
  • 2011-09-20: GNOME source archive records gobject-introspection 1.30.0
  • 2018-02-08: GNOME GitLab project record created during GNOME's GitLab-hosted era
  • 2019-03-10: 1.60.0 changelog notes the final release supporting autotools
  • 2019-08-07: 1.61.1 changelog notes the autotools build system was dropped
  • 2025-09-13: 1.86.0 appears in the official changelog and GNOME source archive

Related projects

  • GLib and GObject are the underlying object-system layer whose APIs are described by introspection metadata.
  • PyGObject, GJS, Vala, Ruby-GNOME, lgi, haskell-gi, and other bindings are documented users of the introspection repository.
  • GTK and GStreamer are common examples of GObject-based libraries whose bindings and applications rely on introspection data in GNOME-oriented distributions.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for gobject-introspection. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 4 runtime dependencies.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
g-ir-annotation-toolcliglobal executable
g-ir-compilercliglobal executable
g-ir-doc-toolcliglobal executable
g-ir-generatecliglobal executable
g-ir-inspectcliglobal executable
g-ir-scannercliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.86.0
manager updated2026-06-08
local dataok
upstreamnot checked
latest detectednot detected

https://gi.readthedocs.io/en/latest/

install metadata

Package metadata

Package keybrew:gobject-introspection
Version1.86.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gobject-introspection
Homepagehttps://gi.readthedocs.io/en/latest/
Repositoryhttps://gitlab.gnome.org/GNOME/gobject-introspection
Upstream docshttps://gi.readthedocs.io/en/latest
LicenseGPL-2.0-or-later AND LGPL-2.0-or-later AND MIT
Source archivehttps://download.gnome.org/sources/gobject-introspection/1.86/gobject-introspection-1.86.0.tar.xz
Last updated2026-06-08T19:08:53-04:00
Pulseupdated
Dependenciescairo, glib, pkgconf, python@3.14
Build dependenciesbison, meson, ninja
Uses from macOSlibffi
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegobject-introspection
Version Scheme0
Revision2
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

gir1.2-freedesktop 1.84.0-1

Introspection data for some FreeDesktop components

https://wiki.gnome.org/GObjectIntrospection

sudo apt install gir1.2-freedesktop
  • Section: introspection
  • Architecture: amd64
  • Source Package: gobject-introspection
  • 2 dependencies
  • 12 provides
  • normalized package name match
  • Matched by: Gobject Introspection
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gir1.2-freedesktop from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gir1.2-freedesktop-dev 1.84.0-1

GIR XML for some FreeDesktop components

https://wiki.gnome.org/GObjectIntrospection

sudo apt install gir1.2-freedesktop-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gobject-introspection
  • 2 dependencies
  • 12 provides
  • normalized package name match
  • Matched by: Gobject Introspection
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gir1.2-freedesktop-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gir1.2-girepository-2.0 1.84.0-1

Introspection data for GIRepository library

https://wiki.gnome.org/GObjectIntrospection

sudo apt install gir1.2-girepository-2.0
  • Section: introspection
  • Architecture: amd64
  • Source Package: gobject-introspection
  • 2 dependencies
  • normalized package name match
  • Matched by: Gobject Introspection
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gir1.2-girepository-2.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gir1.2-girepository-2.0-dev 1.84.0-1

GIR XML for GIRepository library

https://wiki.gnome.org/GObjectIntrospection

sudo apt install gir1.2-girepository-2.0-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gobject-introspection
  • 2 dependencies
  • normalized package name match
  • Matched by: Gobject Introspection
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gir1.2-girepository-2.0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gobject-introspection 1.84.0-1

Generate interface introspection data for GObject libraries

https://wiki.gnome.org/GObjectIntrospection

sudo apt install gobject-introspection
  • Section: devel
  • Architecture: amd64
  • 14 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gobject Introspection
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gobject-introspection from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gobject-introspection-bin 1.84.0-1

Executables for gobject-introspection

https://wiki.gnome.org/GObjectIntrospection

sudo apt install gobject-introspection-bin
  • Section: devel
  • Architecture: amd64
  • Source Package: gobject-introspection
  • 11 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gobject Introspection
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gobject-introspection-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgirepository-1.0-1 1.84.0-1

Library for handling GObject introspection data (runtime library)

https://wiki.gnome.org/GObjectIntrospection

sudo apt install libgirepository-1.0-1
  • Section: libs
  • Architecture: amd64
  • Source Package: gobject-introspection
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gobject Introspection
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgirepository-1.0-1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgirepository-1.0-dev 1.84.0-1

Library for handling GObject introspection data (development files)

https://wiki.gnome.org/GObjectIntrospection

sudo apt install libgirepository-1.0-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gobject-introspection
  • 4 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Gobject Introspection
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgirepository-1.0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgirepository1.0-dev 1.84.0-1

Library for handling GObject introspection data (complete development files)

https://wiki.gnome.org/GObjectIntrospection

sudo apt install libgirepository1.0-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gobject-introspection
  • 11 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Gobject Introspection
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgirepository1.0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgirepository1.0-doc 1.84.0-1

Library for handling GObject introspection data (documentation)

https://wiki.gnome.org/GObjectIntrospection

sudo apt install libgirepository1.0-doc
  • Section: doc
  • Architecture: all
  • Source Package: gobject-introspection
  • 1 optional deps
  • normalized package name match
  • Matched by: Gobject Introspection
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgirepository1.0-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gobject-introspection

nix profile install nixpkgs#gobject-introspection
  • normalized package name match
  • Matched by: Gobject Introspection
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: gobject-introspection from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

gir1.2-freedesktop 1.80.1-1

Introspection data for some FreeDesktop components

https://wiki.gnome.org/GObjectIntrospection

sudo apt install gir1.2-freedesktop
  • Section: introspection
  • Architecture: amd64
  • Source Package: gobject-introspection
  • 2 dependencies
  • 12 provides
  • normalized package name match
  • Matched by: Gobject Introspection
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gir1.2-freedesktop from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

gir1.2-freedesktop-dev 1.80.1-1

GIR XML for some FreeDesktop components

https://wiki.gnome.org/GObjectIntrospection

sudo apt install gir1.2-freedesktop-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gobject-introspection
  • 2 dependencies
  • 12 provides
  • normalized package name match
  • Matched by: Gobject Introspection
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gir1.2-freedesktop-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

gir1.2-girepository-2.0 1.80.1-1

Introspection data for GIRepository library

https://wiki.gnome.org/GObjectIntrospection

sudo apt install gir1.2-girepository-2.0
  • Section: introspection
  • Architecture: amd64
  • Source Package: gobject-introspection
  • 2 dependencies
  • normalized package name match
  • Matched by: Gobject Introspection
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gir1.2-girepository-2.0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

gir1.2-girepository-2.0-dev 1.80.1-1

GIR XML for GIRepository library

https://wiki.gnome.org/GObjectIntrospection

sudo apt install gir1.2-girepository-2.0-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gobject-introspection
  • 2 dependencies
  • normalized package name match
  • Matched by: Gobject Introspection
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gir1.2-girepository-2.0-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

gobject-introspection 1.80.1-1

Generate interface introspection data for GObject libraries

https://wiki.gnome.org/GObjectIntrospection

sudo apt install gobject-introspection
  • Section: devel
  • Architecture: amd64
  • 14 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gobject Introspection
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gobject-introspection from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment