macOS
brew install gobject-introspectionlocal Homebrew formula metadata
sudo port install gobject-introspectionMacPorts ports tree · gnome/gobject-introspection/Portfile · source: api.github.com
brew
Generate introspection data for GObject libraries. Version 1.86.0 via Homebrew; verified 2026-06-08.
install
brew install gobject-introspectionlocal Homebrew formula metadata
sudo port install gobject-introspectionMacPorts ports tree · gnome/gobject-introspection/Portfile · source: api.github.com
sudo apk add gobject-introspectionAlpine Linux edge package indexes · gobject-introspection · source: dl-cdn.alpinelinux.org
sudo apt install gir1.2-freedesktopDebian stable package indexes · gir1.2-freedesktop · source: deb.debian.org
sudo dnf install gobject-introspectionFedora Rawhide package metadata · gobject-introspection · source: dl.fedoraproject.org
nix profile install nixpkgs#gobject-introspectionnixpkgs package indexes · gobject-introspection · source: raw.githubusercontent.com
sudo pacman -S gobject-introspectionArch Linux sync databases · gobject-introspection · source: geo.mirror.pkgbuild.com
sudo zypper install girepository-1_0openSUSE Tumbleweed package metadata · girepository-1_0 · source: download.opensuse.org
overview
Generate introspection data for GObject libraries
history
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.
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.
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.
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.
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.
security posture
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.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
g-ir-annotation-tool | cli | global executable | |
g-ir-compiler | cli | global executable | |
g-ir-doc-tool | cli | global executable | |
g-ir-generate | cli | global executable | |
g-ir-inspect | cli | global executable | |
g-ir-scanner | cli | global executable |
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.
https://gi.readthedocs.io/en/latest/
install metadata
| Package key | brew:gobject-introspection |
|---|---|
| Version | 1.86.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gobject-introspection |
| Homepage | https://gi.readthedocs.io/en/latest/ |
| Repository | https://gitlab.gnome.org/GNOME/gobject-introspection |
| Upstream docs | https://gi.readthedocs.io/en/latest |
| License | GPL-2.0-or-later AND LGPL-2.0-or-later AND MIT |
| Source archive | https://download.gnome.org/sources/gobject-introspection/1.86/gobject-introspection-1.86.0.tar.xz |
| Last updated | 2026-06-08T19:08:53-04:00 |
| Pulse | updated |
| Dependencies | cairo, glib, pkgconf, python@3.14 |
| Build dependencies | bison, meson, ninja |
| Uses from macOS | libffi |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gobject-introspection |
| Version Scheme | 0 |
| Revision | 2 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gir1.2-freedesktop 1.84.0-1
Introspection data for some FreeDesktop components
https://wiki.gnome.org/GObjectIntrospection
sudo apt install gir1.2-freedesktopgir1.2-freedesktop-dev 1.84.0-1
GIR XML for some FreeDesktop components
https://wiki.gnome.org/GObjectIntrospection
sudo apt install gir1.2-freedesktop-devgir1.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.0gir1.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-devgobject-introspection 1.84.0-1
Generate interface introspection data for GObject libraries
https://wiki.gnome.org/GObjectIntrospection
sudo apt install gobject-introspectiongobject-introspection-bin 1.84.0-1
Executables for gobject-introspection
https://wiki.gnome.org/GObjectIntrospection
sudo apt install gobject-introspection-binlibgirepository-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-1libgirepository-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-devlibgirepository1.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-devlibgirepository1.0-doc 1.84.0-1
Library for handling GObject introspection data (documentation)
https://wiki.gnome.org/GObjectIntrospection
sudo apt install libgirepository1.0-docgobject-introspection
nix profile install nixpkgs#gobject-introspectiongir1.2-freedesktop 1.80.1-1
Introspection data for some FreeDesktop components
https://wiki.gnome.org/GObjectIntrospection
sudo apt install gir1.2-freedesktopgir1.2-freedesktop-dev 1.80.1-1
GIR XML for some FreeDesktop components
https://wiki.gnome.org/GObjectIntrospection
sudo apt install gir1.2-freedesktop-devgir1.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.0gir1.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-devgobject-introspection 1.80.1-1
Generate interface introspection data for GObject libraries
https://wiki.gnome.org/GObjectIntrospection
sudo apt install gobject-introspectionsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.