Difference between revisions of "Glib2"
From CBLFS
Jump to navigationJump to search (→Optional) |
Weibullguy (talk | contribs) m |
||
(10 intermediate revisions by 5 users not shown) | |||
Line 13: | Line 13: | ||
=== Required === | === Required === | ||
* [[pkg-config]] | * [[pkg-config]] | ||
+ | |||
=== Optional === | === Optional === | ||
+ | * [[Python]] | ||
+ | * [[Pcre]] | ||
* [[Gtk-Doc]] | * [[Gtk-Doc]] | ||
− | * [[gamin]] | + | * [[gamin]] or [[Fam]] (Runtime dependencies) |
== Non-Multilib == | == Non-Multilib == | ||
Line 34: | 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 45: | 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 56: | 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 96: | 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 10:11, 25 January 2009
Download Source: | http://ftp.gnome.org/pub/GNOME/sources/glib/2.40/glib-2.40.0.tar.bz2 |
---|
Contents
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. |