gobject-introspection
« Back to VersTracker
Description:
Generate introspection data for GObject libraries
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  @gnome  |  formulae.brew.sh
Category: Developer tools
Tags: gobject introspection bindings gnome development
Install: brew install gobject-introspection
About:
GObject Introspection is a middleware layer that allows language bindings to be generated automatically from GObject-based C libraries. It reads GObject-based library source code and annotation data to produce machine-readable API metadata (GIR files). This enables dynamic languages like Python, JavaScript, and Rust to interact with native C libraries seamlessly.
Key Features:
  • Automatic generation of API metadata from C source code
  • Supports multiple programming languages through bindings
  • Uses annotation-based system for enhanced type information
  • Generates typelibs for runtime introspection
Use Cases:
  • Creating language bindings for GTK and GLib libraries
  • Enabling Python applications to use native GNOME libraries
  • Building cross-language APIs for system libraries
Alternatives:
  • SWIG – SWIG requires manual wrapper generation, while GObject Introspection automates the process through annotations
  • cffi – cffi is Python-specific and requires manual declarations, whereas GObject Introspection provides automatic binding generation
Version History
Detected Version Rev Change Commit
Sep 13, 2025 2:04pm 0 VERSION_BUMP 3226281e
Nov 25, 2024 10:36pm 0 VERSION_BUMP b243fe3d
Sep 13, 2024 5:50pm 0 VERSION_BUMP c194933d
Sep 13, 2024 12:39pm 0 VERSION_BUMP 7ac93b22