Difference between revisions of "Xpdf"

From CBLFS
Jump to navigationJump to search
Line 8: Line 8:
 
----
 
----
  
{{|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.|http://www.foolabs.com/xpdf/|}}
+
{{Package-Introduction|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.|http://www.foolabs.com/xpdf/|}}
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 09:16, 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

Note

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

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