File: gi-compile-repository.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 (112 lines) | stat: -rw-r--r-- 2,895 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
.. _gi-compile-repository(1):
.. meta::
   :copyright: Copyright 2010 Johan Dahlin
   :copyright: Copyright 2015 Ben Boeckel
   :copyright: Copyright 2013, 2015 Dieter Verfaillie
   :copyright: Copyright 2018 Emmanuele Bassi
   :copyright: Copyright 2018 Tomasz Miąsko
   :copyright: Copyright 2018 Christoph Reiter
   :copyright: Copyright 2020 Jan Tojnar
   :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: 2010 Johan Dahlin
   SPDX-FileCopyrightText: 2015 Ben Boeckel
   SPDX-FileCopyrightText: 2013, 2015 Dieter Verfaillie
   SPDX-FileCopyrightText: 2018 Emmanuele Bassi
   SPDX-FileCopyrightText: 2018 Tomasz Miąsko
   SPDX-FileCopyrightText: 2018 Christoph Reiter
   SPDX-FileCopyrightText: 2020 Jan Tojnar
   SPDX-FileCopyrightText: 2024 Collabora Ltd.
   SPDX-License-Identifier: LGPL-2.1-or-later

=====================
gi-compile-repository
=====================

----------------
Typelib compiler
----------------

:Manual section: 1


SYNOPSIS
========

**gi-compile-repository** [*OPTION*…] *GIRFILE*


DESCRIPTION
===========

gi-compile-repository converts one or more GIR files into one or more typelibs.
The output will be written to standard output unless the ``--output`` is
specified.

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

``--help``
    Show help options.

``--output`` *FILENAME*, ``-o`` *FILENAME*
    Save the resulting output in *FILENAME*.

``--verbose``
    Show verbose messages.

``--debug``
    Show debug messages.

``--includedir`` *DIRECTORY*
    Add *DIRECTORY* to the search path for GIR XML.
    This option can be used more than once.
    The first *DIRECTORY* on the command-line will be searched first
    (highest precedence).

``--shared-library`` *FILENAME*, ``-l`` *FILENAME*
    Specifies the shared library where the symbols in the typelib can be
    found. The name of the library should not contain the ending shared
    library suffix.
    This option can be used more than once, for typelibs that describe
    more than one shared library.

``--version``
    Show program’s version number and exit.


EXAMPLE
=======

::
    $ gi-compile-repository -o Gio-2.0.typelib /usr/share/gir-1.0/Gio-2.0.gir


BUGS
====

Report bugs at https://gitlab.gnome.org/GNOME/glib/-/issues


HOMEPAGE and CONTACT
====================

https://gi.readthedocs.io/


AUTHORS
=======

Matthias Clasen