Difference between revisions of "Xpdf"

From CBLFS
Jump to navigationJump to search
(Fix the build, do not add confusing notes.)
Line 11: Line 11:
  
 
== Dependencies ==
 
== 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 ===
 
=== Highly Recommended ===

Revision as of 18:29, 29 May 2007

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

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
Retrieved from "?title=Xpdf&oldid=10108"