gi-compile-repository(1)
π gi-compile-repository β the Typelib Compiler bestie edition π
okay so real talk, gi-compile-repository is a General Commands Manual page and it's literally the glow-up station for GIR files β¨ it takes your GIR files and turns them into typelibs, no cap.
πΈ SYNOPSIS πΈ
gi-compile-repository [OPTIONβ¦] GIRFILE
like, you give it a GIRFILE and some options and it does its thing π
π¦ DESCRIPTION π¦
okay so here's the tea: gi-compile-repository converts one or more GIR files into one or more typelibs π«Ά that's the whole vibe. main character energy fr fr.
and where does the output go? to standard output, unless you specify --output. slay. π
β¨ OPTIONS β¨
here's the full menu, bestie, every single one, don't skip π
--helpβ shows help options. iconic. we love a helpful king π--output FILENAME,-o FILENAMEβ saves the resulting output in FILENAME. use this or it just goes to stdout, your call π--verboseβ shows verbose messages. the chatty era π¬--debugβ shows debug messages. for when you gotta see everything π--includedir DIRECTORYβ adds DIRECTORY to the search path for GIR XML. and listen β this option can be used more than once β¨ and the first DIRECTORY on the command-line gets searched first (highest precedence). order matters, bestie, iykyk π¦--shared-library FILENAME,-l FILENAMEβ specifies the shared library where the symbols in the typelib can be found π«Ά important detail: the name of the library should not contain the ending shared library suffix. and yeah, you can use this option more than once, for typelibs that describe more than one shared library. multitasking queen π--versionβ shows the program's version number and exits. bye bestie π
real talk: those two "can be used more than once" notes are not decorative, they're the whole point for bigger setups. don't @ me.
π§ EXAMPLE π§
$ gi-compile-repository -o Gio-2.0.typelib /usr/share/gir-1.0/Gio-2.0.gir
ate. no crumbs. π₯
π BUGS π
found a bug? report it at <https://gitlab.gnome.org/GNOME/glib/-/issues> β they wanna know, fr fr π
π HOMEPAGE and CONTACT π
<https://gi.readthedocs.io/> β go say hi π
β AUTHORS β
Matthias Clasen π
and that's the page, bestie π it's gi-compile-repository(1) from the General Commands Manual, source/version and date living down at the bottom of the original like a little signature β so here's the cute sign-off instead: go compile those typelibs, you absolute icon πΈπ¦π periodt.
π¦ where this page comes from
- fedora 44: glib2-devel 2.88.0-1.fc44 Β· LGPL-2.1-or-later
- fedora 44: glib2-devel 2.88.0-1.fc44 Β· LGPL-2.1-or-later
- fedora 44: glib2-devel 2.88.4-1.fc44 Β· LGPL-2.1-or-later
- fedora 44: glib2-devel 2.88.4-1.fc44 Β· LGPL-2.1-or-later
- nixos 26.05: glib 2.88.3
- π the page's license: LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms