Ghostscript is a versatile processor for PostScript data with the ability to render PostScript to different targets. ESP Ghostscript is a customized version of GNU Ghostscript that includes an enhanced configuration script, the CUPS raster driver to support CUPS raster printer drivers, and additional patches and drivers from various Linux distributors.
Download (HTTP): http://heanet.dl.sourceforge.net/sourceforge/espgs/espgs-7.07.1rc2-source.tar.bz2
Download size: 5.1 MB
Estimated Disk space required: 116-140 MB (depends on if libgs.so is installed)
Estimated build time: 1.65-3.20 SBU
Standard fonts: http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-std-6.0.tar.gz
Other fonts: http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz
Cyrillic fonts: ftp://ftp.gnome.ru/fonts/urw/release/urw-fonts-1.0.7pre22.tar.bz2
OMNI drivers: http://keihanna.dl.sourceforge.net/sourceforge/omniprint/Omni-0.9.0.tar.gz
Optional patch: http://www.linuxfromscratch.org/patches/blfs/5.0/espgs-7.07.1rc2-gdevpng.patch
If you want to use OMNI drivers extract the source archive in Ghostscript directory:
tar xzvf ../Omni-0.9.0.tar.gz |
Otherwise you must add --without-omni switch to the configure script if you intend to install the shared library.
Install Ghostscript by running the following commands:
./configure --prefix=/usr && make && make install |
To install the shared library libgs.so you will need GTK+-1.2.10. Additionally, if you unpacked the OMNI drivers then you have to install GLib-1.2.10 and create these symlinks:
ln -s glib-1.2/glib.h /usr/include/glib.h && ln -s glib-1.2/gmodule.h /usr/include/gmodule.h && ln -s ../lib/glib/include/glibconfig.h /usr/include/glibconfig.h |
Proceed with the following commands:
patch -Np1 -i ../espgs-7.07.1rc2-gdevpng.patch && make so && make soinstall |
Remove the previously created symlinks since they are not needed any longer:
rm /usr/include/g{lib,module,libconfig}.h |
Note: The shared library is only used in external programs like GSview-4.4.
To finish the installation, unpack all fonts you've loaded to /usr/share/ghostscript.
--without-gimp-print: This switch disables the building of the GIMP print driver.
--without-ijs: This switch disables the IJS driver support.
Ghostscript comes with a lot of filters to render PostScript/PDF files back and forth. Please refer to the HTML documentation or try man gs. ESP Ghostscript provides pstoraster too.
pstoraster allows CUPS to filter output to non-PostScript printers. It is built and installed only if CUPS-1.1.19 is found.