Difference between revisions of "Xpdf"

From CBLFS
Jump to navigationJump to search
Line 14: Line 14:
 
== Note ==
 
== 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  
+
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
  
 
=== Recommended ===
 
=== Recommended ===
Line 20: Line 20:
 
* [[FreeType]]
 
* [[FreeType]]
 
* [[X Window System]]
 
* [[X Window System]]
 +
* [[t1lib]]
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 25: Line 26:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../xpdf-3.01pl2.patch
 
 
  ./configure --prefix=/usr --sysconfdir=/etc \
 
  ./configure --prefix=/usr --sysconfdir=/etc \
 
       --with-freetype2-includes=/usr/include/freetype2 &&
 
       --with-freetype2-includes=/usr/include/freetype2 &&
Line 41: Line 41:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../xpdf-3.01pl2.patch
 
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
 
  ./configure --prefix=/usr --sysconfdir=/etc \
 
  ./configure --prefix=/usr --sysconfdir=/etc \
Line 55: Line 54:
 
Compile the package:
 
Compile the package:
  
patch -Np1 -i ../xpdf-3.01pl2.patch
 
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
 
  ./configure --prefix=/usr --sysconfdir=/etc \
 
  ./configure --prefix=/usr --sysconfdir=/etc \
Line 69: Line 67:
 
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 09:19, 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

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

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