Difference between revisions of "GPL Ghostscript"

From CBLFS
Jump to navigationJump to search
(Format text, remove a useless sed.)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/ghostscript/ghostscript-{{GPL Ghostscript-Version}}-gpl.tar.bz2
+
| http://downloads.sourceforge.net/ghostscript/ghostscript-{{GPL Ghostscript-Version}}-gpl.tar.bz2
 
|}
 
|}
  
Line 19: Line 19:
 
Compile the package:
 
Compile the package:
  
sed -i 's/lfontconfg/lfontconfig/' ./{configure,configure.ac,src/configure.ac}
 
 
  ./configure --prefix=/usr  &&
 
  ./configure --prefix=/usr  &&
 
  make
 
  make
Line 33: Line 32:
 
Compile the package:
 
Compile the package:
  
sed -i 's/lfontconfg/lfontconfig/' ./{configure,configure.ac,src/configure.ac}
+
  CC="gcc ${BUILD32}" LDFLAGS="-L/usr/lib" \
  CC="gcc -m32" LDFLAGS="-L/usr/lib" PKG_CONFIG_PATCH="${PKG_CONFIG_PATH32}" ./configure --prefix=/usr
+
PKG_CONFIG_PATCH="${PKG_CONFIG_PATH32}" \
 +
./configure --prefix=/usr &&
 
  make
 
  make
  
Line 49: Line 49:
 
Compile the package:
 
Compile the package:
  
sed -i 's/lfontconfg/lfontconfig/' ./{configure,configure.ac,src/configure.ac}
+
  CC="gcc ${BUILD64}" LDFLAGS="-L/usr/lib64" \
  CC="gcc ${BUILD64}" PKG_CONFIG_PATCH="${PKG_CONFIG_PATH64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
+
PKG_CONFIG_PATCH="${PKG_CONFIG_PATH64}" \
 +
./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  make
 
  make
  

Revision as of 00:11, 29 December 2007

Download Source: http://downloads.sourceforge.net/ghostscript/ghostscript-8.62.0-gpl.tar.bz2

Introduction to GPL Ghostscript

The GPL Ghostscript package provides an interpreter for the PostScript language and the PDF file format, a set of C procedures (the Ghostscript library) that implement the graphics capabilities that appear as primitive operations in the PostScript language, and a wide variety of output drivers for various file formats and printers.

Project Homepage: http://www.gnu.org/software/ghostscript/ghostscript.html

Dependencies

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr  &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" LDFLAGS="-L/usr/lib" \
PKG_CONFIG_PATCH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr &&
make

Install the package

make install

N32

TO DO!

64Bit

Compile the package:

CC="gcc ${BUILD64}" LDFLAGS="-L/usr/lib64" \
PKG_CONFIG_PATCH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install