%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. &lfs71_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 Required and Recommended (built with unicode properties) Optional , (required to run the tests), and Gamin requires GLib in order to compile; therefore, you must first install GLib, then compile Gamin, and recompile GLib against it. 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: PCRE_LIBS=-lpcre PCRE_CFLAGS=" " \ LIBFFI_LIBS=-lffi LIBFFI_CFLAGS=" " \ ./configure --prefix=/usr --sysconfdir=/etc --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 && ln -v -sfn ../../lib/glib-2.0/include/glibconfig.h /usr/include/glib-2.0/glibconfig.h You should now install and proceed to run the test suite. To test the results, issue: make check. Command Explanations PCRE_* and LIBFFI_*: Glib is a prerequsite for pkg_config, but it wants to use pkg_config during the build process. These environment variables work around not having pkg_config available. ln -v -sfn ... glibconfig.h: Place a link to an architecture dependent header file where programs can find it. --with-pcre=system: This parameter causes the build to use a system-provided version of the PCRE library instead of an internal version. Contents Installed Programs Installed Libraries Installed Directories gdbus, gdbus-codegen, gio-querymodules, glib-compile-resources, glib-compile-schemas, glib-genmarshal, glib-gettextize, glib-mkenums, gobject-query, gresource, gsettings, gtester and gtester-report libgio-2.0.so, libglib-2.0.so, libgmodule-2.0.so, libgobject-2.0.so, libgthread-2.0.so and libgiofam.so /usr/include/{gio-unix-2.0,glib-2.0}, /usr/lib/{gdbus-2.0,gio,glib-2.0}, /usr/share/glib-2.0 and /usr/share/gtk-doc/html/{gio,glib,gobject} Short Descriptions gdbus is a simple tool for working with D-Bus objects. gdbus gdbus-codegen is used to generate code and/or documentation for one or more D-Bus interfaces. gdbus-codegen gio-querymodules is used to create a giomodule.cache file in the listed directories. This file lists the implemented extension points for each module that has been found. gio-querymodules glib-compile-resources is used to read the resource description from file and the files that it references to create a binary resource bundle that is suitable for use with the GResource API. glib-compile-resources glib-compile-schemas is used to compile all the GSettings XML schema files in directory into a binary file with the name gschemas.compiled that can be used by GSettings. glib-compile-schemas 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 gresource offers a simple commandline interface to GResource. gresource gsettings offers a simple commandline interface to GSettings. gsettings 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