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