Difference between revisions of "Pango"

From CBLFS
Jump to navigationJump to search
Line 45: Line 45:
  
 
  CC="gcc ${BUILD32}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH32 \
 
  CC="gcc ${BUILD32}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH32 \
     ./configure --prefix=/usr --sysconfdir=/etc &&
+
     ./configure --prefix=/usr --sysconfdir=/etc \
 +
    --x-libraries=$XORG_PREFIX/lib &&
 
  make
 
  make
  
Line 65: Line 66:
  
 
  CC="gcc ${BUILDN32}" PKG_CONFIG_PATH=$PKG_CONFIG_PATHN32 \
 
  CC="gcc ${BUILDN32}" PKG_CONFIG_PATH=$PKG_CONFIG_PATHN32 \
     ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32 &&
+
     ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32 \
 +
    --x-libraries=$XORG_PREFIX/lib32 &&
 
  make
 
  make
  
Line 84: Line 86:
  
 
  CC="gcc ${BUILD64}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH64 \
 
  CC="gcc ${BUILD64}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH64 \
     ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 &&
+
     ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 \
 +
    --x-libraries=$XORG_PREFIX/lib64 &&
 
  make
 
  make
  

Revision as of 14:38, 16 September 2006

Download Source: http://ftp.acc.umu.se/pub/gnome/sources/pango/1.14/pango-1.14.4.tar.bz2
Required Patch (For Multilib): http://svn.cross-lfs.org/svn/repos/patches/pango/pango-1.14.4-multilib-1.patch

Dependencies

Required

Optional

Non-Multilib

Compile the package:

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

Install the package

make install

Multilib

32Bit

The following commands make pango put it's configuration information in /etc/pango-32:

patch -Np1 -i ../pango-1.14.4-multilib-1.patch
sed -i "s/BUILDENV/32/" pango/pango-utils.c \
    modules/Makefile.am modules/Makefile.in \
    pango/Makefile.am pango/Makefile.in

Compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH32 \
    ./configure --prefix=/usr --sysconfdir=/etc \
    --x-libraries=$XORG_PREFIX/lib &&
make

Install the package

make install

N32

The following commands make pango put it's configuration information in /etc/pango-n32:

patch -Np1 -i ../pango-1.14.4-multilib-1.patch
sed -i "s/BUILDENV/n32/" pango/pango-utils.c \
    modules/Makefile.am modules/Makefile.in \
    pango/Makefile.am pango/Makefile.in

Compile the package:

CC="gcc ${BUILDN32}" PKG_CONFIG_PATH=$PKG_CONFIG_PATHN32 \
    ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32 \
    --x-libraries=$XORG_PREFIX/lib32 &&
make

Install the package

make install

64Bit

The following commands make pango put it's configuration information in /etc/pango-64:

patch -Np1 -i ../pango-1.14.4-multilib-1.patch
sed -i "s/BUILDENV/64/" pango/pango-utils.c \
    modules/Makefile.am modules/Makefile.in \
    pango/Makefile.am pango/Makefile.in

Compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH64 \
    ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 \
    --x-libraries=$XORG_PREFIX/lib64 &&
make

Install the package

make install