%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. &lfs65_checked; 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 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. --disable-static: prevent static libraries being built and installed. 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 glib-genmarshal, glib-gettextize, glib-mkenums, gobject-query, gtester and gtester-report libgio-2.0.so, libglib-2.0.so, libgobject-2.0.so, libgmodule-2.0.so, and libgthread-2.0.so /usr/include/gio-unix-2.0, /usr/include/glib-2.0, /usr/lib/gio, /usr/lib/glib-2.0, /usr/share/glib-2.0, /usr/share/gtk-doc/html/gio, /usr/share/gtk-doc/html/glib, and /usr/share/gtk-doc/html/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 GLib libraries contain a low-level core library for the GIMP Toolkit. Glib libraries