Difference between revisions of "Glib2"

From CBLFS
Jump to navigationJump to search
 
m
 
(23 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://ftp.gnome.org/pub/gnome/sources/glib/2.10/glib-2.10.3.tar.bz2
+
| http://ftp.gnome.org/pub/GNOME/sources/glib/{{Glib2-Version}}/glib-{{Glib2-Version2}}.tar.bz2  
 
|}
 
|}
  
 
----
 
----
 +
 +
{{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/}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 11: 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 31: Line 37:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --host=${CLFS_HOST32}} &&
+
  USE_ARCH=32 NM=nm CC="gcc ${BUILD32}" ./configure --prefix=/usr --host=${CLFS_TARGET32} &&
 
  make
 
  make
  
Line 42: 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 53: 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 59: Line 65:
  
 
  make install
 
  make install
 +
 +
= Contents =
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
| glib-genmarshal, glib-gettextize, glib-mkenums, and gobject-query
 +
|-valign="top"
 +
! Installed Libraries:
 +
| libglib-2.0.{la,so}, libgobject-2.0.{la,so}, libgmodule-2.0.{la,so} and libgthread-2.0.{la,so}
 +
|-valign="top"
 +
! 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 ===
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! glib-genmarshal
 +
| is a C code marshaller generation utility for GLib closures.
 +
|-valign="top"
 +
! glib-gettextize
 +
| is a variant of the gettext internationalization utility.
 +
|-valign="top"
 +
! glib-mkenums
 +
| is a C language enum description generation utility.
 +
|-valign="top"
 +
! gobject-query
 +
| is a small utility that draws a tree of types.
 +
|-valign="top"
 +
! GLib libraries
 +
| contain a low-level core library for the GIMP Toolkit.
 +
|}
 +
 +
[[Category:General Libs]]

Latest revision as of 10: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.
Retrieved from "?title=Glib2&oldid=16712"