Glib1

From CBLFS
Revision as of 09:21, 16 September 2006 by Jciccone (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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

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 -v 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 -v 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 -v 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 -v 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
Retrieved from "?title=Glib1&oldid=1732"