Difference between revisions of "ESP Ghostscript"
Weibullguy (talk | contribs) m |
|||
(10 intermediate revisions by 5 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://ftp.easysw.com/pub/ghostscript/ | + | | http://ftp.easysw.com/pub/ghostscript/{{ESP Ghostscript-Version}}/espgs-{{ESP Ghostscript-Version}}-source.tar.bz2 |
|- | |- | ||
!Standard Fonts: | !Standard Fonts: | ||
− | | | + | | http://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-{{Ghostscript-Fonts-Std-Version}}.tar.gz |
|- | |- | ||
!Other Fonts: | !Other Fonts: | ||
− | | http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other- | + | | http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-{{GNU-GS-Fonts-Version}}.tar.gz |
|} | |} | ||
---- | ---- | ||
+ | |||
+ | {{Package-Introduction|ESP Ghostscript is [http://www.easysw.com/ Easy Software Product]'s fork of [[GPL Ghostscript]] ([http://www.easysw.com/ ESP] also develops [[CUPS]]). It came about because the [[CUPS]] developers were using a customized version of [[GPL Ghostscript]] that included support for non-postscript printers and the various Linux distributions wanted a single, standard version of [[GPL Ghostscript]] that included all of [[CUPS]]' changes.|http://www.cups.org/espgs/index.php}} | ||
== Dependencies == | == Dependencies == | ||
Line 22: | Line 24: | ||
* [[Gtk1]] | * [[Gtk1]] | ||
* [[jbig2dec]] | * [[jbig2dec]] | ||
+ | |||
+ | == Configuration Information == | ||
+ | |||
+ | {|style="text-align: left" | ||
+ | |- | ||
+ | |<i>--enable-cups</i>: To ensure that [[CUPS]] support is enabled. | ||
+ | |} | ||
== Non-Multilib == | == Non-Multilib == | ||
Line 34: | Line 43: | ||
make install && | make install && | ||
− | install -d /usr/share/doc/espgs- | + | install -d /usr/share/doc/espgs-{{ESP Ghostscript-Version}} |
− | ln -v -s ../../ghostscript/ | + | ln -v -s ../../ghostscript/{{ESP Ghostscript-Version2}}/doc /usr/share/doc/espgs-{{ESP Ghostscript-Version}}&& |
for INSTFILE in `ls doc` | for INSTFILE in `ls doc` | ||
do | do | ||
− | if [ ! -f /usr/share/doc/espgs- | + | if [ ! -f /usr/share/doc/espgs-{{ESP Ghostscript-Version}}/$INSTFILE ]; then |
− | install -v -m644 doc/$INSTFILE /usr/share/doc/espgs- | + | install -v -m644 doc/$INSTFILE /usr/share/doc/espgs-{{ESP Ghostscript-Version}}/ |
fi | fi | ||
done | done | ||
− | To install the shared library libgs.so you will need [[ | + | To install the shared library libgs.so you will need [[Gtk1]]. Note that the shared library is only used in external programs. |
make CFLAGS_SO='-fPIC $(ACDEFS)' so | make CFLAGS_SO='-fPIC $(ACDEFS)' so | ||
Line 69: | Line 78: | ||
make install | make install | ||
− | To install the shared library libgs.so you will need [[ | + | To install the shared library libgs.so you will need [[Gtk1]]. Note that the shared library is only used in external programs. |
USE_ARCH=32 make CFLAGS_SO='-fPIC $(ACDEFS)' so | USE_ARCH=32 make CFLAGS_SO='-fPIC $(ACDEFS)' so | ||
Line 90: | Line 99: | ||
make install | make install | ||
− | To install the shared library libgs.so you will need [[ | + | To install the shared library libgs.so you will need [[Gtk1]]. Note that the shared library is only used in external programs. |
USE_ARCH=n32 make CFLAGS_SO='-fPIC $(ACDEFS)' so | USE_ARCH=n32 make CFLAGS_SO='-fPIC $(ACDEFS)' so | ||
Line 109: | Line 118: | ||
Install the package | Install the package | ||
− | make install | + | make install && |
+ | install -d /usr/share/doc/espgs-{{ESP Ghostscript-Version}} | ||
+ | ln -v -s ../../ghostscript/{{ESP Ghostscript-Version2}}/doc /usr/share/doc/espgs-{{ESP Ghostscript-Version}} && | ||
+ | for INSTFILE in `ls doc` | ||
+ | do | ||
+ | if [ ! -f /usr/share/doc/espgs-{{ESP Ghostscript-Version}}/$INSTFILE ]; then | ||
+ | install -v -m644 doc/$INSTFILE /usr/share/doc/espgs-{{ESP Ghostscript-Version}}/ | ||
+ | fi | ||
+ | done | ||
− | To install the shared library libgs.so you will need [[ | + | To install the shared library libgs.so you will need [[Gtk1]]. Note that the shared library is only used in external programs. |
USE_ARCH=64 make CFLAGS_SO='-fPIC $(ACDEFS)' so | USE_ARCH=64 make CFLAGS_SO='-fPIC $(ACDEFS)' so | ||
Line 117: | Line 134: | ||
Install the shared library: | Install the shared library: | ||
− | make soinstall | + | make soinstall && |
+ | install -v -d -m755 /usr/include/ps && | ||
+ | install -v -m644 src/*.h /usr/include/ps && | ||
+ | ln -v -s ps /usr/include/ghostscript | ||
== Configuring == | == Configuring == | ||
Line 125: | Line 145: | ||
To finish the installation, unpack all fonts you've downloaded to /usr/share/ghostscript | To finish the installation, unpack all fonts you've downloaded to /usr/share/ghostscript | ||
− | tar -xvf ../ghostscript-fonts-std- | + | tar -xvf ../ghostscript-fonts-std-{{Ghostscript-Fonts-Std-Version}}.tar.gz -C /usr/share/ghostscript |
− | + | tar -xvf ../gnu-gs-fonts-other-{{GNU-GS-Fonts-Version}}.tar.gz -C /usr/share/ghostscript | |
− | tar -xvf ../gnu-gs-fonts-other- | ||
Ensure the ownerships of the files are root:root: | Ensure the ownerships of the files are root:root: | ||
chown -v root:root /usr/share/ghostscript/fonts/* | chown -v root:root /usr/share/ghostscript/fonts/* |
Latest revision as of 18:46, 14 December 2007
Contents
Introduction to ESP Ghostscript
ESP Ghostscript is Easy Software Product's fork of GPL Ghostscript (ESP also develops CUPS). It came about because the CUPS developers were using a customized version of GPL Ghostscript that included support for non-postscript printers and the various Linux distributions wanted a single, standard version of GPL Ghostscript that included all of CUPS' changes.
Project Homepage: http://www.cups.org/espgs/index.php
Dependencies
Optional
Configuration Information
--enable-cups: To ensure that CUPS support is enabled. |
Non-Multilib
Compile the package:
sed -i "s/bbox.dev$/x11.dev/" Makefile.in && ./configure --prefix=/usr --enable-threads --without-omni && make
Install the package
make install && install -d /usr/share/doc/espgs-8.15.4 ln -v -s ../../ghostscript/8.15/doc /usr/share/doc/espgs-8.15.4&& for INSTFILE in `ls doc` do if [ ! -f /usr/share/doc/espgs-8.15.4/$INSTFILE ]; then install -v -m644 doc/$INSTFILE /usr/share/doc/espgs-8.15.4/ fi done
To install the shared library libgs.so you will need Gtk1. Note that the shared library is only used in external programs.
make CFLAGS_SO='-fPIC $(ACDEFS)' so
Install the shared library:
make soinstall && install -v -d -m755 /usr/include/ps && install -v -m644 src/*.h /usr/include/ps && ln -v -s ps /usr/include/ghostscript
Multilib
32Bit
Compile the package:
sed -i "s/bbox.dev$/x11.dev/" Makefile.in && CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ ./configure --prefix=/usr --enable-threads --without-omni && make
Install the package
make install
To install the shared library libgs.so you will need Gtk1. Note that the shared library is only used in external programs.
USE_ARCH=32 make CFLAGS_SO='-fPIC $(ACDEFS)' so
Install the shared library:
make soinstall
N32
Compile the package:
sed -i "s/bbox.dev$/x11.dev/" Makefile.in && CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \ ./configure --prefix=/usr --enable-threads --without-omni --libdir=/usr/lib32 && make
Install the package
make install
To install the shared library libgs.so you will need Gtk1. Note that the shared library is only used in external programs.
USE_ARCH=n32 make CFLAGS_SO='-fPIC $(ACDEFS)' so
Install the shared library:
make soinstall
64Bit
Compile the package:
sed -i "s/bbox.dev$/x11.dev/" Makefile.in && CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ ./configure --prefix=/usr --enable-threads --without-omni --libdir=/usr/lib64 && make
Install the package
make install && install -d /usr/share/doc/espgs-8.15.4 ln -v -s ../../ghostscript/8.15/doc /usr/share/doc/espgs-8.15.4 && for INSTFILE in `ls doc` do if [ ! -f /usr/share/doc/espgs-8.15.4/$INSTFILE ]; then install -v -m644 doc/$INSTFILE /usr/share/doc/espgs-8.15.4/ fi done
To install the shared library libgs.so you will need Gtk1. Note that the shared library is only used in external programs.
USE_ARCH=64 make CFLAGS_SO='-fPIC $(ACDEFS)' so
Install the shared library:
make soinstall && install -v -d -m755 /usr/include/ps && install -v -m644 src/*.h /usr/include/ps && ln -v -s ps /usr/include/ghostscript
Configuring
Fonts
To finish the installation, unpack all fonts you've downloaded to /usr/share/ghostscript
tar -xvf ../ghostscript-fonts-std-8.11.tar.gz -C /usr/share/ghostscript tar -xvf ../gnu-gs-fonts-other-6.0.tar.gz -C /usr/share/ghostscript
Ensure the ownerships of the files are root:root:
chown -v root:root /usr/share/ghostscript/fonts/*