Difference between revisions of "Xpdf"

From CBLFS
Jump to navigationJump to search
(N32)
(64Bit)
Line 65: Line 65:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../xpdf-3.01pl2.patch
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
 
  ./configure --prefix=/usr --sysconfdir=/etc \
 
  ./configure --prefix=/usr --sysconfdir=/etc \

Revision as of 22:53, 6 March 2007

Download Source: ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02.tar.gz
Security patch: ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl2.patch

Dependencies

Recommended

Non-Multilib

Compile the package:

patch -Np1 -i ../xpdf-3.01pl2.patch
./configure --prefix=/usr --sysconfdir=/etc \
     --with-freetype2-includes=/usr/include/freetype2 &&
make

Install the package:

make install

Multilib

This package does not install any libraries so only one installation is needed.

32Bit

Compile the package:

patch -Np1 -i ../xpdf-3.01pl2.patch
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr --sysconfdir=/etc \
     --with-freetype2-includes=/usr/include/freetype2 &&
make

Install the package:

make install

N32

Compile the package:

patch -Np1 -i ../xpdf-3.01pl2.patch
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr --sysconfdir=/etc \
     --with-freetype2-includes=/usr/include/freetype2 &&
make

Install the package:

make install

64Bit

Compile the package:

patch -Np1 -i ../xpdf-3.01pl2.patch
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr --sysconfdir=/etc \
     --with-freetype2-includes=/usr/include/freetype2 &&
make

Install the package:

make install