Difference between revisions of "Glib1"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
m
 
(7 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz
+
| ftp://ftp.gtk.org/pub/gtk/v{{Glib1-Version}}/glib-{{Glib1-Version2}}.tar.gz
 
|-
 
|-
 
!Required Patch:
 
!Required Patch:
| http://svn.cross-lfs.org/svn/repos/patches/glib/glib-1.2.10-fixes-1.patch
+
| http://svn.cross-lfs.org/svn/repos/patches/glib/glib-{{Glib1-Version2}}-fixes-1.patch
 
|-
 
|-
 
!Required Patch:
 
!Required Patch:
| http://svn.cross-lfs.org/svn/repos/patches/glib/glib-1.2.10-config_update-1.patch
+
| http://svn.cross-lfs.org/svn/repos/patches/glib/glib-{{Glib1-Version2}}-config_update-1.patch
 
|}
 
|}
  
 
----
 
----
  
== Introduction to GLib 1 ==
+
{{Package-Introduction|GLib is the low-level core library that forms the basis of GTK+ ([[Gtk1]]) 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 23: Line 21:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../glib-1.2.10-fixes-1.patch &&
+
  patch -Np1 -i ../glib-{{Glib1-Version2}}-fixes-1.patch &&
  patch -Np1 -i ../glib-1.2.10-config_update-1.patch &&
+
  patch -Np1 -i ../glib-{{Glib1-Version2}}-config_update-1.patch &&
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 31: Line 29:
  
 
  make install &&
 
  make install &&
  chmod -v 755 /usr/lib/libgmodule-1.2.so.0.0.10
+
  chmod 755 /usr/lib/libgmodule-1.2.so.0.0.10
 +
 
  
 
== Multilib ==
 
== Multilib ==
Line 39: Line 38:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../glib-1.2.10-fixes-1.patch &&
+
  patch -Np1 -i ../glib-{{Glib1-Version2}}-fixes-1.patch &&
  patch -Np1 -i ../glib-1.2.10-config_update-1.patch &&
+
  patch -Np1 -i ../glib-{{Glib1-Version2}}-config_update-1.patch &&
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --host=${CLFS_TARGET32} &&
 
  CC="gcc ${BUILD32}" ./configure --prefix=/usr --host=${CLFS_TARGET32} &&
 
  make
 
  make
Line 47: Line 46:
  
 
  make install &&
 
  make install &&
  chmod -v 755 /usr/lib/libgmodule-1.2.so.0.0.10 &&
+
  chmod 755 /usr/lib/libgmodule-1.2.so.0.0.10 &&
 
  mv -v /usr/bin/glib-config{,-32}
 
  mv -v /usr/bin/glib-config{,-32}
  
Line 55: Line 54:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../glib-1.2.10-fixes-1.patch &&
+
  patch -Np1 -i ../glib-{{Glib1-Version2}}-fixes-1.patch &&
  patch -Np1 -i ../glib-1.2.10-config_update-1.patch &&
+
  patch -Np1 -i ../glib-{{Glib1-Version2}}-config_update-1.patch &&
 
  CC="gcc ${BUILDN32}"./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  CC="gcc ${BUILDN32}"./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  make
 
  make
Line 63: Line 62:
  
 
  make install &&
 
  make install &&
  chmod -v 755 /usr/lib32/libgmodule-1.2.so.0.0.10 &&
+
  chmod 755 /usr/lib32/libgmodule-1.2.so.0.0.10 &&
 
  mv -v /usr/bin/glib-config{,-n32}
 
  mv -v /usr/bin/glib-config{,-n32}
  
Line 71: Line 70:
 
Compile the package:
 
Compile the package:
  
  patch -Np1 -i ../glib-1.2.10-fixes-1.patch &&
+
  patch -Np1 -i ../glib-{{Glib1-Version2}}-fixes-1.patch &&
  patch -Np1 -i ../glib-1.2.10-config_update-1.patch &&
+
  patch -Np1 -i ../glib-{{Glib1-Version2}}-config_update-1.patch &&
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  make
 
  make
Line 79: Line 78:
  
 
  make install &&
 
  make install &&
  chmod -v 755 /usr/lib64/libgmodule-1.2.so.0.0.10 &&
+
  chmod 755 /usr/lib64/libgmodule-1.2.so.0.0.10 &&
 
  mv -v /usr/bin/glib-config{,-64} &&
 
  mv -v /usr/bin/glib-config{,-64} &&
 
  ln -sfv multiarch_wrapper /usr/bin/glib-config
 
  ln -sfv multiarch_wrapper /usr/bin/glib-config
 +
 +
= Contents =
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
| glib-config
 +
|-valign="top"
 +
! Installed Libraries:
 +
| libglib.{so,a}, libgmodule.{so,a} and libgthread.{so,a}
 +
|-valign="top"
 +
! Installed Directories:
 +
| /usr/include/glib-1.2 and /usr/lib/glib
 +
|}
 +
 +
=== Short Descriptions ===
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! glib-config
 +
| is a tool that is used by '''configure''' scripts to determine the compiler and linker flags that should be used to compile and link programs that use GLib.
 +
|-valign="top"
 +
! libglib.{so,a}
 +
| libraries contain a low-level core library for the GIMP Toolkit.
 +
|}
 +
 +
[[Category:General Libs]]

Latest revision as of 10:10, 25 January 2009

Download Source: ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/glib/glib-1.2.10-fixes-1.patch
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/glib/glib-1.2.10-config_update-1.patch

Introduction to Glib1

GLib is the low-level core library that forms the basis of GTK+ (Gtk1) 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

Non-Multilib

Compile the package:

patch -Np1 -i ../glib-1.2.10-fixes-1.patch &&
patch -Np1 -i ../glib-1.2.10-config_update-1.patch &&
./configure --prefix=/usr &&
make

Install the package

make install &&
chmod 755 /usr/lib/libgmodule-1.2.so.0.0.10


Multilib

32Bit

Compile the package:

patch -Np1 -i ../glib-1.2.10-fixes-1.patch &&
patch -Np1 -i ../glib-1.2.10-config_update-1.patch &&
CC="gcc ${BUILD32}" ./configure --prefix=/usr --host=${CLFS_TARGET32} &&
make

Install the package

make install &&
chmod 755 /usr/lib/libgmodule-1.2.so.0.0.10 &&
mv -v /usr/bin/glib-config{,-32}

N32

Compile the package:

patch -Np1 -i ../glib-1.2.10-fixes-1.patch &&
patch -Np1 -i ../glib-1.2.10-config_update-1.patch &&
CC="gcc ${BUILDN32}"./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install &&
chmod 755 /usr/lib32/libgmodule-1.2.so.0.0.10 &&
mv -v /usr/bin/glib-config{,-n32}

64Bit

Compile the package:

patch -Np1 -i ../glib-1.2.10-fixes-1.patch &&
patch -Np1 -i ../glib-1.2.10-config_update-1.patch &&
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install &&
chmod 755 /usr/lib64/libgmodule-1.2.so.0.0.10 &&
mv -v /usr/bin/glib-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/glib-config

Contents

Installed Programs: glib-config
Installed Libraries: libglib.{so,a}, libgmodule.{so,a} and libgthread.{so,a}
Installed Directories: /usr/include/glib-1.2 and /usr/lib/glib

Short Descriptions

glib-config is a tool that is used by configure scripts to determine the compiler and linker flags that should be used to compile and link programs that use GLib.
libglib.{so,a} libraries contain a low-level core library for the GIMP Toolkit.
Retrieved from "?title=Glib1&oldid=16711"