FontConfig

From CBLFS
Revision as of 20:05, 2 December 2006 by Kalessin (talk | contribs) (I added the package description from BLFS.)
Jump to navigationJump to search
Download Source: http://fontconfig.org/release/fontconfig-2.4.1.tar.gz

Introduction to FontConfig

The FontConfig package is a library for configuring and customizing font access.

Dependencies

Required

Optional

If you have DocBook-utils installed and you remove the --disable-docs parameter from the configure command below, you must have PerlModule SGMLSpm and JadeTeX installed also, or the Fontconfig build will fail.

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc \
    --disable-docs --localstatedir=/var --without-add-fonts \
    --with-docdir=/usr/share/doc/fontconfig-2.4.1 &&
make

Install the package

make install &&
install -v -m644 doc/*.3 /usr/share/man/man3 &&
install -v -m644 doc/*.5 /usr/share/man/man5 &&
install -v -m755 \
        -d /usr/share/doc/fontconfig-2.4.1/fontconfig-devel &&
install -v -m644 doc/*.{html,pdf,txt} \
        /usr/share/doc/fontconfig-2.4.1 &&
install -v -m644 doc/fontconfig-devel/* \
        /usr/share/doc/fontconfig-2.4.1/fontconfig-devel

Multilib

32Bit

Compile the package:

USE_ARCH=32 CC="gcc ${BUILD32}" ./configure --prefix=/usr \
    --sysconfdir=/etc --localstatedir=/var --disable-docs --without-add-fonts \
    --with-docdir=/usr/share/doc/fontconfig-2.4.1 &&
make

Install the package

make install

N32

Compile the package:

USE_ARCH=n32 CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --sysconfdir=/etc --localstatedir=/var --disable-docs --without-add-fonts \
    --with-docdir=/usr/share/doc/fontconfig-2.4.1 \
    --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

USE_ARCH=64 CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --sysconfdir=/etc --localstatedir=/var --disable-docs --without-add-fonts \
    --with-docdir=/usr/share/doc/fontconfig-2.4.1 \
    --libdir=/usr/lib64 &&
make

Install the package

make install &&
install -v -m644 doc/*.3 /usr/share/man/man3 &&
install -v -m644 doc/*.5 /usr/share/man/man5 &&
install -v -m755 \
        -d /usr/share/doc/fontconfig-2.4.1/fontconfig-devel &&
install -v -m644 doc/*.{html,pdf,txt} \
        /usr/share/doc/fontconfig-2.4.1 &&
install -v -m644 doc/fontconfig-devel/* \
        /usr/share/doc/fontconfig-2.4.1/fontconfig-devel