Cairo

From CBLFS
Revision as of 13:57, 16 September 2006 by Jciccone (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://cairographics.org/releases/cairo-1.2.4.tar.gz

Dependencies

Required

Optional

Non-Multilib

Compile the package:

sed -i -e 's/type == GLITZ/color.fourcc == GLITZ/' \
       -e 's/FORMAT_TYPE_COLOR/FOURCC_RGB/' \
    src/cairo-glitz-surface.c &&
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

sed -i -e 's/type == GLITZ/color.fourcc == GLITZ/' \
       -e 's/FORMAT_TYPE_COLOR/FOURCC_RGB/' \
    src/cairo-glitz-surface.c &&
CC="gcc ${BUILD32}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH32 \
    ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

sed -i -e 's/type == GLITZ/color.fourcc == GLITZ/' \
       -e 's/FORMAT_TYPE_COLOR/FOURCC_RGB/' \
    src/cairo-glitz-surface.c &&
CC="gcc ${BUILDN32}" PKG_CONFIG_PATH=$PKG_CONFIG_PATHN32 \
    ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

sed -i -e 's/type == GLITZ/color.fourcc == GLITZ/' \
       -e 's/FORMAT_TYPE_COLOR/FOURCC_RGB/' \
    src/cairo-glitz-surface.c &&
CC="gcc ${BUILD64}" PKG_CONFIG_PATH=$PKG_CONFIG_PATH64 \
    ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install