mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 13:06:14 +01:00
g-ir- tools: Add examples to man pages
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
d0cb89538a
commit
66fda286e1
@ -78,6 +78,13 @@ OPTIONS
|
|||||||
Show program’s version number and exit.
|
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
|
BUGS
|
||||||
====
|
====
|
||||||
|
|
||||||
|
@ -75,6 +75,20 @@ OPTIONS
|
|||||||
Show program’s version number and exit.
|
Show program’s version number and exit.
|
||||||
|
|
||||||
|
|
||||||
|
EXAMPLE
|
||||||
|
=======
|
||||||
|
|
||||||
|
::
|
||||||
|
$ libdir=/usr/lib/x86_64-linux-gnu # or /usr/lib64 or similar
|
||||||
|
$ gi-decompile-typelib -o Gio-2.0.gir \
|
||||||
|
$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.
|
||||||
|
|
||||||
|
|
||||||
BUGS
|
BUGS
|
||||||
====
|
====
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user