File: gi-inspect-typelib.rst

package info (click to toggle)
glib2.0 2.84.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 66,112 kB
  • sloc: ansic: 538,924; python: 9,661; sh: 1,612; xml: 1,482; perl: 1,222; cpp: 535; makefile: 321; javascript: 11
file content (67 lines) | stat: -rw-r--r-- 1,930 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.. _gio(1):
.. meta::
   :copyright: Copyright 2024 Collabora Ltd.
   :license: LGPL-2.1-or-later
..
   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

==================
gi-inspect-typelib
==================

-----------------------
Typelib inspection tool
-----------------------

SYNOPSIS
--------

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

DESCRIPTION
-----------

**gi-inspect-typelib** displays information about GObject-Introspection
binary typelib files.

On Debian-derived systems, each architecture provides a version of
**gi-inspect-typelib** prefixed with the *DEB_HOST_GNU_TYPE* from
**dpkg-architecture**\ (1), for example
**arm-linux-gnueabihf-gi-inspect-typelib**.
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.

OPTIONS
-------

``--print-shlibs``
    Show the shared libraries that implement the *NAMESPACE*.

``--print-typelibs``
    Show the other typelibs that the *NAMESPACE* depends on.

``--typelib-version``
    The version of each *NAMESPACE* to inspect.
    For example, the version of ``Gio-2.0.typelib`` is ``2.0``.
    If not specified, use the newest available version if there is more
    than one installed.

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