GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GI-DECOMPILE-TYPELIB(1) FreeBSD General Commands Manual GI-DECOMPILE-TYPELIB(1)

gi-decompile-typelib - Typelib decompiler

gi-decompile-typelib [OPTION…] TYPELIB [TYPELIB…]

gi-decompile-typelib is a GIR decompiler, using the repository API. It generates GIR XML files from the compiled binary typelib format. The output will be written to standard output unless the --output is specified.

The binary typelib format stores a subset of the information available in GIR XML, so not all typelibs can be decompiled in this way, and the resulting GIR XML might be incomplete.

Normally, GIR XML should be generated from source code, headers and shared libraries using <g-ir-scanner(1)> instead of using this tool.

Show help options.
Save the resulting output in FILENAME.
Add DIRECTORY to the search path for typelibs. This option can be used more than once. The first DIRECTORY on the command-line will be searched first (highest precedence).
Show all available information.
Show program’s version number and exit.

::
$ libdir=/usr/lib/x86_64-linux-gnu # or /usr/lib64 or similar $ gi-decompile-typelib -o Gio-2.0.gir
Unexpected indentation.
$libdir/girepository-1.0/Gio-2.0.typelib


$ diff -u /usr/share/gir-1.0/Gio-2.0.gir Gio-2.0.gir


You will see that the original GIR XML contains much more information than the decompiled typelib.

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


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

Matthias Clasen


Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.