.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "G-IR-INSPECT" "1" "" ""
.SH NAME
g-ir-inspect \- Typelib inspection tool
.\" This has to be duplicated from above to make it machine-readable by `reuse`:
.\" SPDX-FileCopyrightText: 2024 Collabora Ltd.
.\" SPDX-License-Identifier: LGPL-2.1-or-later
.
.SH SYNOPSIS
.nf
\fBg\-ir\-inspect\fP [\fIOPTION\fP…] \fB\-\-print\-shlibs\fP \fINAMESPACE\fP
\fBg\-ir\-inspect\fP [\fIOPTION\fP…] \fB\-\-print\-typelibs\fP \fINAMESPACE\fP
.fi
.sp
.SH DESCRIPTION
.sp
\fBg\-ir\-inspect\fP displays information about GObject\-Introspection
binary typelib files.
In GLib 2.80 and later versions, it is superseded by
 <gi\-inspect\-typelib(1)> \&.
.sp
On Debian\-derived systems, each architecture provides a version of
\fBg\-ir\-inspect\fP prefixed with the \fIDEB_HOST_GNU_TYPE\fP from
\fBdpkg\-architecture\fP(1), for example
\fBarm\-linux\-gnueabihf\-g\-ir\-inspect\fP\&.
These architecture\-prefixed names use appropriate search paths for the
given architecture, and should be used when cross\-compiling.
Please see  <file:///usr/share/doc/gobject\-introspection/README.Debian.gz> 
for more details.
.SH OPTIONS
.INDENT 0.0
.TP
.B \fB\-\-print\-shlibs\fP
Show the shared libraries that implement the \fINAMESPACE\fP\&.
.TP
.B \fB\-\-print\-typelibs\fP
Show the other typelibs that the \fINAMESPACE\fP depends on.
.TP
.B \fB\-\-version\fP \fIVERSION\fP
The version of each \fINAMESPACE\fP to inspect.
For example, the version of \fBGio\-2.0.typelib\fP is \fB2.0\fP\&.
If not specified, use the newest available version if there is more
than one installed.
.UNINDENT
.SH EXAMPLE
.sp
On Linux, the \fBGio\-2.0\fP typelib is implemented by \fBlibgio\-2.0.so.0\fP:
.INDENT 0.0
.INDENT 3.5
.sp
.EX
$ g\-ir\-inspect \-\-version 2.0 \-\-print\-shlibs Gio
shlib: libgio\-2.0.so.0
.EE
.UNINDENT
.UNINDENT
.sp
and it depends on GObject\-2.0, GLib\-2.0 and GModule\-2.0:
.INDENT 0.0
.INDENT 3.5
.sp
.EX
$ g\-ir\-inspect \-\-version 2.0 \-\-print\-typelibs Gio
typelib: GObject\-2.0
typelib: GLib\-2.0
typelib: GModule\-2.0
.EE
.UNINDENT
.UNINDENT
.\" Generated by docutils manpage writer.
.