Xpdf

From CBLFS
Revision as of 09:23, 29 May 2007 by 71.224.57.6 (talk)
Jump to navigationJump to search
Download Source: ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02.tar.gz

Introduction to Xpdf

According to Xpdf's readme, Xpdf is an open source viewer for Portable Document Format (PDF) files. (These are also sometimes also called 'Acrobat' files, from the name of Adobe's PDF software.) The Xpdf project also includes a PDF text extractor, PDF-to-PostScript converter, and various other utilities.

Project Homepage: http://www.foolabs.com/xpdf/

Dependencies

Note

With Xpdf v3.02, you may have to link ${FREETYPE2_PREFIX}/include/ft2build.h to ${FREETYPE2_PREFIX}/include/freetype2/ft2build.h and/or ${FREETYPE2_PREFIX}/include/freetype2/freetype/ft2build.h

Highly Recommended

Recommended

Non-Multilib

Compile the package:

./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:

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:

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:

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