Difference between revisions of "Glib2"

From CBLFS
Jump to navigationJump to search
m
 
(16 intermediate revisions by 8 users not shown)
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| ftp://ftp.gtk.org/pub/glib/{{Glib2-Version}}/glib-{{Glib2-Version2}}.tar.bz2
+
| http://ftp.gnome.org/pub/GNOME/sources/glib/{{Glib2-Version}}/glib-{{Glib2-Version2}}.tar.bz2  
 
|}
 
|}
  
 
----
 
----
  
== Introduction to GLib 2 ==
+
{{Package-Introduction|GLib is the low-level core library that forms the basis of GTK+ ([[Gtk2]]) and [[Gnome]]. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system.|http://www.gtk.org/}}
 
 
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 ==
 
== Dependencies ==
Line 15: Line 13:
 
=== Required ===
 
=== Required ===
 
* [[pkg-config]]
 
* [[pkg-config]]
 +
 
=== Optional ===
 
=== Optional ===
 +
* [[Python]]
 +
* [[Pcre]]
 
* [[Gtk-Doc]]
 
* [[Gtk-Doc]]
 +
* [[gamin]] or [[Fam]] (Runtime dependencies)
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 35: Line 37:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --host=${CLFS_TARGET32} &&
+
  USE_ARCH=32 NM=nm CC="gcc ${BUILD32}" ./configure --prefix=/usr --host=${CLFS_TARGET32} &&
 
  make
 
  make
  
Line 46: Line 48:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
+
  USE_ARCH=n32 NM=nm CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  make
 
  make
  
Line 57: Line 59:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
+
  USE_ARCH=64 NM=nm CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  make
 
  make
  
Line 72: Line 74:
 
|-valign="top"
 
|-valign="top"
 
! Installed Libraries:
 
! Installed Libraries:
| libglib-2.0.so, libgobject-2.0.so, libgmodule-2.0.so, and libgthread-2.0.so
+
| libglib-2.0.{la,so}, libgobject-2.0.{la,so}, libgmodule-2.0.{la,so} and libgthread-2.0.{la,so}
 
|-valign="top"
 
|-valign="top"
 
! Installed Directories:
 
! Installed Directories:
Line 97: Line 99:
 
| contain a low-level core library for the GIMP Toolkit.
 
| contain a low-level core library for the GIMP Toolkit.
 
|}
 
|}
 +
 +
[[Category:General Libs]]

Latest revision as of 11:11, 25 January 2009

Download Source: http://ftp.gnome.org/pub/GNOME/sources/glib/2.40/glib-2.40.0.tar.bz2

Introduction to Glib2

GLib is the low-level core library that forms the basis of GTK+ (Gtk2) and Gnome. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system.

Project Homepage: http://www.gtk.org/

Dependencies

Required

Optional

Non-Multilib

Compile the package:

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

Install the package

make install

Multilib

32Bit

Compile the package:

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

Install the package

make install

N32

Compile the package:

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

Install the package

make install

64Bit

Compile the package:

USE_ARCH=64 NM=nm 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.{la,so}, libgobject-2.0.{la,so}, libgmodule-2.0.{la,so} and libgthread-2.0.{la,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.