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
|
| Detected |
Version |
Rev |
Change |
Commit |
| Jul 15, 2026 9:21am |
|
3 |
REVISION_ONLY |
0a1cc63b |
| May 7, 2026 9:34am |
|
2 |
REVISION_ONLY |
3be65c9e |
| Apr 17, 2026 8:51am |
|
1 |
REVISION_ONLY |
f1ebee41 |
| 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 |
| Sep 4, 2024 5:38am |
|
1 |
VERSION_BUMP |
2436491a |
| Oct 18, 2023 9:55pm |
|
0 |
VERSION_BUMP |
d06957e6 |
| Sep 10, 2023 8:32pm |
|
0 |
VERSION_BUMP |
5e56164a |
| Mar 19, 2023 4:06am |
|
0 |
VERSION_BUMP |
bc19ddd5 |
| Mar 19, 2023 4:06am |
|
0 |
VERSION_BUMP |
d030d9e1 |
|