logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gi-compile-repository - Typelib compiler

Authors

       Matthias Clasen

                                                                                        GI-COMPILE-REPOSITORY(1)

Bugs

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

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.

Example

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

Homepage And Contact

        <https://gi.readthedocs.io/>

Name

       gi-compile-repository - Typelib compiler

Options

--help Show help options.

       --outputFILENAME,-oFILENAME
              Save the resulting output in FILENAME.

       --verbose
              Show verbose messages.

       --debug
              Show debug messages.

       --includedirDIRECTORY
              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-libraryFILENAME,-lFILENAME
              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.

Synopsis

gi-compile-repository [OPTION…] GIRFILE

See Also