This is the mail archive of the cygwin-announce@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Updated: ghostscript-6.51-3


The Ghostscript package has been updated to fix a bug reported by
Greg Bond related to operation on text-mode mounts:

    http://sources.redhat.com/ml/cygwin/2001-12/msg00400.html

This release of Ghostscript is an "X-less" version (i.e. one that
doesn't require X11), and so can be used without the cygwin-xfree
packages.  The GNU 'standard' and 'other' Ghostscript font collections
are included for convenience.

Since this release is built using the unix-gcc.mak makefile, Windows
GUI support is not included.  This means that Postscript files must be
previewed indirectly (they must be rasterized to an output file first,
e.g. JPEG or PDF, and then viewed with a suitable viewer.)

For build instructions, please read:

    /usr/doc/Cygwin/ghostscript-6.51.README

The instructions have also been included at the end of this message.

I want to thank Greg Bond for submitting the text-mode mount patch,
and Chuck Wilson for help uploading the package.

================================================================

Release Notes -- GNU Ghostscript for Cygwin
Version 6.51, Release 3 (6.51-3)
(9 January, 2002)

This Cygwin version of GNU Ghostscript has been built without support
for X.  This version fixes problems seen with release 2 of 6.51
(7/5/01) when running on text-mode mounts.  (Thanks to Greg Bond,
<bond@research.att.com>, for submitting a patch to fix this problem.)

REQUIREMENTS:
------------

Previous releases required shared libraries for zlib, libpng, and
jpeg.  However, due to the very specific requirements Ghostscript has
regarding these libraries, these libraries are instead statically
linked.  As a result, Ghostscript no longer requires the use of shared
libraries.  The libraries are included in the source package, ready to
be built with Ghostscript.

BUILDING:
--------

At a minimum, you must have all the tools needed to build Cygwin
programs, i.e. make, gcc, and binutils.  You also need to fetch the
source archive, ghostscript-6.51-src.tar.gz from a Cygwin mirror site.

Once you have everything required for building, follow these steps:

1. Unpack ghostscript-6.51-src.tar.gz (the source is pre-patched to
build on Cygwin):

    $ tar xzf ghostscript-6.51-src.tar.gz

2. Build from the top-level source directory:

    $ cd ghostscript-6.51 ; make -f src/unix-gcc.mak

3. Install the entire package:

    $ make -f src/unix-gcc.mak install

4. Grab the following font compressed tar files:

    ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/gnu/fonts:

      gnu-gs-fonts-std-6.0.tar.gz  (required)
      gnu-gs-fonts-other-6.0.tar.gz  (optional, recommended)

   Unpack them into /usr/share/ghostscript/fonts (font directory
   contained within tar file):

    $ tar xzCf /usr/share/ghostscript gnu-gs-fonts-*-6.0.tar.gz

5. Once you install it, you can test it:

    $ gs -sDEVICE=jpeg -dBATCH -sOutputFile=tiger.jpg \
        /usr/share/ghostscript/6.51/examples/tiger.ps

The Cygwin patches are in CYGWIN-PATCHES, along with this file.

Have fun!

-- 
Dario Alcocer -- Sr. Software Developer, Helix Digital Inc.
alcocer@helixdigital.com -- http://www.helixdigital.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]