GI-INSPECT-TYPELIB(1)

πŸ’… NAME πŸ’…

okay so literally welcome to gi-inspect-typelib β€” the typelib inspection tool, bestie. it's section 1 of the manual, and it's here to spill the tea on your typelibs ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

gi-inspect-typelib [OPTION…] --print-shlibs NAMESPACE
gi-inspect-typelib [OPTION…] --print-typelibs NAMESPACE

like, pick one of those two vibes, you can't have both at once πŸ‘‘


🌸 DESCRIPTION 🌸

gi-inspect-typelib displays information about GObject-Introspection binary typelib files. that's it, that's the whole personality. it looks at those binary typelib files and tells you what's inside πŸŽ€


✨ OPTIONS ✨

  • --print-shlibs β€” shows you the shared libraries that implement the NAMESPACE. the actual muscle behind the vibes πŸ’ͺ
  • --print-typelibs β€” shows you the other typelibs that the NAMESPACE depends on. its little support system 🫢
  • --typelib-version β€” the version of each NAMESPACE to inspect. for example, the version of Gio-2.0.typelib is 2.0. if you don't specify it, it just uses the newest available version if there's more than one installed. main character energy, always grabbing the latest πŸ’…

πŸ”₯ EXAMPLE πŸ”₯

on Linux, the Gio-2.0 typelib is implemented by libgio-2.0.so.0:

$ gi-inspect-typelib --typelib-version 2.0 --print-shlibs Gio
shlib: libgio-2.0.so.0

and it depends on GObject-2.0, GLib-2.0 and GModule-2.0:

$ gi-inspect-typelib --typelib-version 2.0 --print-typelibs Gio
typelib: GObject-2.0
typelib: GLib-2.0
typelib: GModule-2.0

see how clean that is?? no cap, that output ate 🌈


and that's the whole page, bestie πŸ’– no wild version stamp or date drama on this one, just gi-inspect-typelib in the manual, top and bottom, matching like a cute little set. go inspect some typelibs, you got this πŸ‘‘β­

πŸ“¦ where this page comes from