Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I want to study how its GFileInfo components works.

share|improve this question
add comment

3 Answers 3

up vote 4 down vote accepted

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
share|improve this answer
    
Right, but you need the corresponding deb-src lines in /etc/apt/sources.list for that to work. –  Faheem Mitha Mar 31 '11 at 22:32
add comment

The gio git repository

share|improve this answer
    
That repository is gone. The current version is in a subdirectory of GLib: git.gnome.org/browse/glib/tree/gio –  Tilka Aug 21 '13 at 22:30
add comment

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/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.