Difference between revisions of "FontConfig"

From CBLFS
Jump to navigationJump to search
 
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://fontconfig.org/release/fontconfig-2.3.2.tar.gz
+
| http://fontconfig.org/release/fontconfig-2.4.1.tar.gz
 
|}
 
|}
  
Line 23: Line 23:
 
  ./configure --prefix=/usr --sysconfdir=/etc \
 
  ./configure --prefix=/usr --sysconfdir=/etc \
 
     --disable-docs --without-add-fonts \
 
     --disable-docs --without-add-fonts \
     --with-docdir=/usr/share/doc/fontconfig-2.3.2 &&
+
     --with-docdir=/usr/share/doc/fontconfig-2.4.1 &&
 
  make
 
  make
  
Line 32: Line 32:
 
  install -v -m644 doc/*.5 /usr/share/man/man5 &&
 
  install -v -m644 doc/*.5 /usr/share/man/man5 &&
 
  install -v -m755 \
 
  install -v -m755 \
         -d /usr/share/doc/fontconfig-2.3.2/fontconfig-devel &&
+
         -d /usr/share/doc/fontconfig-2.4.1/fontconfig-devel &&
 
  install -v -m644 doc/*.{html,pdf,txt} \
 
  install -v -m644 doc/*.{html,pdf,txt} \
         /usr/share/doc/fontconfig-2.3.2 &&
+
         /usr/share/doc/fontconfig-2.4.1 &&
 
  install -v -m644 doc/fontconfig-devel/* \
 
  install -v -m644 doc/fontconfig-devel/* \
         /usr/share/doc/fontconfig-2.3.2/fontconfig-devel
+
         /usr/share/doc/fontconfig-2.4.1/fontconfig-devel
  
 
== Multilib ==
 
== Multilib ==
Line 46: Line 46:
 
  USE_ARCH=32 CC="gcc ${BUILD32}" ./configure --prefix=/usr \
 
  USE_ARCH=32 CC="gcc ${BUILD32}" ./configure --prefix=/usr \
 
     --sysconfdir=/etc --disable-docs --without-add-fonts \
 
     --sysconfdir=/etc --disable-docs --without-add-fonts \
     --with-docdir=/usr/share/doc/fontconfig-2.3.2 &&
+
     --with-docdir=/usr/share/doc/fontconfig-2.4.1 &&
 
  make
 
  make
  
Line 59: Line 59:
 
  USE_ARCH=n32 CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
 
  USE_ARCH=n32 CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
 
     --sysconfdir=/etc --disable-docs --without-add-fonts \
 
     --sysconfdir=/etc --disable-docs --without-add-fonts \
     --with-docdir=/usr/share/doc/fontconfig-2.3.2 \
+
     --with-docdir=/usr/share/doc/fontconfig-2.4.1 \
 
     --libdir=/usr/lib32 &&
 
     --libdir=/usr/lib32 &&
 
  make
 
  make
Line 73: Line 73:
 
  USE_ARCH=64 CC="gcc ${BUILD64}" ./configure --prefix=/usr \
 
  USE_ARCH=64 CC="gcc ${BUILD64}" ./configure --prefix=/usr \
 
     --sysconfdir=/etc --disable-docs --without-add-fonts \
 
     --sysconfdir=/etc --disable-docs --without-add-fonts \
     --with-docdir=/usr/share/doc/fontconfig-2.3.2 \
+
     --with-docdir=/usr/share/doc/fontconfig-2.4.1 \
 
     --libdir=/usr/lib64 &&
 
     --libdir=/usr/lib64 &&
 
  make
 
  make
Line 83: Line 83:
 
  install -v -m644 doc/*.5 /usr/share/man/man5 &&
 
  install -v -m644 doc/*.5 /usr/share/man/man5 &&
 
  install -v -m755 \
 
  install -v -m755 \
         -d /usr/share/doc/fontconfig-2.3.2/fontconfig-devel &&
+
         -d /usr/share/doc/fontconfig-2.4.1/fontconfig-devel &&
 
  install -v -m644 doc/*.{html,pdf,txt} \
 
  install -v -m644 doc/*.{html,pdf,txt} \
         /usr/share/doc/fontconfig-2.3.2 &&
+
         /usr/share/doc/fontconfig-2.4.1 &&
 
  install -v -m644 doc/fontconfig-devel/* \
 
  install -v -m644 doc/fontconfig-devel/* \
         /usr/share/doc/fontconfig-2.3.2/fontconfig-devel
+
         /usr/share/doc/fontconfig-2.4.1/fontconfig-devel

Revision as of 00:37, 10 October 2006

Download Source: http://fontconfig.org/release/fontconfig-2.4.1.tar.gz

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 --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 --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 --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 --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