mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 00:12:19 +01:00 
			
		
		
		
	g-ir- tools: Add examples to man pages
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
		| @@ -78,6 +78,13 @@ OPTIONS | ||||
|     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 | ||||
| ==== | ||||
|  | ||||
|   | ||||
| @@ -75,6 +75,20 @@ OPTIONS | ||||
|     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 | ||||
| ==== | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user