Difference between revisions of "Glib2"

From CBLFS
Jump to navigationJump to search
(I added the "Contents" section from BLFS.)
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| ftp://ftp.gtk.org/pub/glib/2.12/glib-2.12.4.tar.bz2
+
| ftp://ftp.gtk.org/pub/glib/{{Glib2-Version}}/glib-{{Glib2-Version2}}.tar.bz2
 
|}
 
|}
  

Revision as of 15:21, 16 December 2006

Download Source: ftp://ftp.gtk.org/pub/glib/2.40/glib-2.40.0.tar.bz2

Introduction to GLib 2

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.

Dependencies

Required

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr --host=${CLFS_TARGET32} &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install

Contents

Installed Programs: glib-genmarshal, glib-gettextize, glib-mkenums, and gobject-query
Installed Libraries: libglib-2.0.so, libgobject-2.0.so, libgmodule-2.0.so, and libgthread-2.0.so
Installed Directories: /usr/include/glib-2.0, /usr/lib/glib-2.0, /usr/share/glib-2.0, /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-gettextize is a variant of the gettext internationalization utility.
glib-mkenums is a C language enum description generation utility.
gobject-query is a small utility that draws a tree of types.
GLib libraries contain a low-level core library for the GIMP Toolkit.