I want to study how its GFileInfo components works.
3 Answers
Where did you get libgio.so? On most Linux distributions, there's an automatic way of retrieving the source code of a package.
For example, on Debian, Ubuntu and derived distributions, run dpkg -S to see what package libgio.so belongs to, then apt-get source to get the source code of that package. Example ($ represents my shell prompt; on my system, the gio library is in a file called libgio-2.0.so):
$ dpkg -S libgio-2.0.so
libglib2.0-dev: /usr/lib/libgio-2.0.so
libglib2.0-0: /usr/lib/libgio-2.0.so.0
$ apt-get source libglib2.0-0
-
1Right, but you need the corresponding
deb-srclines in /etc/apt/sources.list for that to work.Faheem Mitha– Faheem Mitha2011-03-31 22:32:49 +00:00Commented Mar 31, 2011 at 22:32
The glib git repository.
-
1That repository is gone. The current version is in a subdirectory of GLib: git.gnome.org/browse/glib/tree/gioflacs– flacs2013-08-21 22:30:33 +00:00Commented Aug 21, 2013 at 22:30
GIO is part of GLib, so just download the latest GLib. The GTK+ project always has a link because it's a dependency of GTK.
http://www.gtk.org/download/linux.php
There's also gio-standalone: http://ftp.acc.umu.se/pub/gnome/sources/gio-standalone/