Difference between revisions of "FontConfig"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
(I added the "Contents" section from BLFS.)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
 
| http://fontconfig.org/release/fontconfig-2.4.1.tar.gz
 
| http://fontconfig.org/release/fontconfig-2.4.1.tar.gz
Line 41: Line 41:
 
  install -v -m644 doc/fontconfig-devel/* \
 
  install -v -m644 doc/fontconfig-devel/* \
 
         /usr/share/doc/fontconfig-2.4.1/fontconfig-devel
 
         /usr/share/doc/fontconfig-2.4.1/fontconfig-devel
 +
 +
=== Command Explanations ===
 +
 +
--disable-docs: This switch avoids building the documentation (the release tarball includes pre-generated documentation).
 +
 +
--without-add-fonts: This switch disables the automatic search for X Window System fonts which, if found, may confuse some applications.
 +
 +
--with-docdir=/usr/share/doc/fontconfig-2.3.2: Though this parameter seems counter-intuitive following the preceding parameter to the '''configure''' command, it is used so that if the builder removes the --disable-docs parameter, the documentation will be installed in a versioned directory name instead of the default /usr/share/doc/fontconfig.
  
 
== Multilib ==
 
== Multilib ==
Line 92: Line 100:
 
  install -v -m644 doc/fontconfig-devel/* \
 
  install -v -m644 doc/fontconfig-devel/* \
 
         /usr/share/doc/fontconfig-2.4.1/fontconfig-devel
 
         /usr/share/doc/fontconfig-2.4.1/fontconfig-devel
 +
 +
= Contents =
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
| fc-cache, fc-list, and fc-match
 +
|-valign="top"
 +
! Installed Libraries:
 +
| libfontconfig.{so,a}
 +
|-valign="top"
 +
! Installed Directories:
 +
| /etc/fonts, /usr/include/fontconfig and /usr/share/doc/fontconfig-2.4.1
 +
|}
 +
 +
=== Short Descriptions ===
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! fc-cache
 +
| is used to create font information caches.
 +
|-valign="top"
 +
! fc-list
 +
| is used to create font lists.
 +
|-valign="top"
 +
! fc-match
 +
| is used to match available fonts, or find fonts that match a given pattern.
 +
|-valign="top"
 +
! libfontconfig.{so,a}
 +
| contains functions used by the Fontconfig programs and also by other programs to configure or customize font access.
 +
|}

Revision as of 21:41, 10 December 2006

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

Command Explanations

--disable-docs: This switch avoids building the documentation (the release tarball includes pre-generated documentation).

--without-add-fonts: This switch disables the automatic search for X Window System fonts which, if found, may confuse some applications.

--with-docdir=/usr/share/doc/fontconfig-2.3.2: Though this parameter seems counter-intuitive following the preceding parameter to the configure command, it is used so that if the builder removes the --disable-docs parameter, the documentation will be installed in a versioned directory name instead of the default /usr/share/doc/fontconfig.

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

Contents

Installed Programs: fc-cache, fc-list, and fc-match
Installed Libraries: libfontconfig.{so,a}
Installed Directories: /etc/fonts, /usr/include/fontconfig and /usr/share/doc/fontconfig-2.4.1

Short Descriptions

fc-cache is used to create font information caches.
fc-list is used to create font lists.
fc-match is used to match available fonts, or find fonts that match a given pattern.
libfontconfig.{so,a} contains functions used by the Fontconfig programs and also by other programs to configure or customize font access.