%general-entities; ]> $LastChangedBy$ $Date$ GLib-&glib2-version; GLib2 Introduction to GLib The GLib package contains a low-level core library. This is useful for providing data structure handling for C, portability wrappers and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system. Package Information Download (HTTP): Download (FTP): Download MD5 sum: &glib2-md5sum; Download size: &glib2-size; Estimated disk space required: &glib2-buildsize; Estimated build time: &glib2-time; GLib Dependencies Recommended (built with unicode properties) Optional , , and Gamin requires GLib in order to compile; therefore, you must first install GLib, then compile Gamin, and recompile GLib against it. Optional Runtime Dependency for the gtester-report program Additional Runtime Dependencies Quoted directly from the INSTALL file; Some of the mimetype-related functionality in GIO requires the update-mime-database and update-desktop-database utilities, which are part of and , respectively. User Notes: Installation of GLib Install GLib by running the following commands: ./configure --prefix=/usr \ --with-pcre=system && make The GLib test suite requires desktop-file-utils in order to run. However, desktop-file-utils requires GLib in order to compile; therefore, you must first install GLib and then run the test suite. Now, as the root user: make install && chmod -v 755 /usr/bin/gtester-report You should now install and proceed to run the test suite. To test the results, issue: make check. Command Explanations --with-pcre=system: This parameter causes the build to use a system-provided version of the PCRE library instead of an internal version. Configuring GLib Configuration Information By default, GLib assumes that all filenames are in the UTF-8 charset. See the section of the page for more details on this kind of issue. In order to tell GLib and applications that use it that filenames are in the default locale encoding, set the variable G_FILENAME_ENCODING to the value "@locale": cat > /etc/profile.d/glib2-locale.sh << "EOF" # Use the current locale charset for filenames # in applications using GLib export G_FILENAME_ENCODING=@locale EOF Contents Installed Programs Installed Libraries Installed Directories gio-querymodules, glib-genmarshal, glib-gettextize, glib-mkenums, gobject-query, gtester and gtester-report libgio-2.0.so, libglib-2.0.so, libgmodule-2.0.so, libgobject-2.0.so, and libgthread-2.0.so /usr/{include/{gio-unix-2.0/gio,glib-2.0/{gio,glib,gobject}}, lib/{gio/modules,glib-2.0/include},share/{gdb/auto-load,glib-2.0/{gdb, gettext/po},gtk-doc/html/{gio,glib,gobject}}} Short Descriptions glib-genmarshal is a C code marshaller generation utility for GLib closures. glib-genmarshal glib-gettextize is a variant of the gettext internationalization utility. glib-gettextize glib-mkenums is a C language enum description generation utility. glib-mkenums gobject-query is a small utility that draws a tree of types. gobject-query gtester is a test running utility. gtester gtester-report is a test report formatting utility. gtester-report GLib libraries contain a low-level core library for the GIMP Toolkit. Glib libraries