Short:    Ghostscript3.53 Amiga specific sources
Author:   GS(Aladdin)/Amiga(Olaf Barthel)/Port(me)
Uploader: Joop.vandeWege@Medew.ENTO.WAU.NL
Type:     gfx/show

This is the Amiga port of Ghostscript3.53 containing the Amiga specific
sources, if you want to recompile GS then you'll have to get
'gs353src.lha' and 'gs353jpeg6.lha' too. For more details see below. 

Ghostscript is a Postscript interpreter with support for Level 2 PS and
PDF. This release includes *only* the Amiga display driver and the
fileformat PNG. This is only a *small* part of the available device
drivers and is a trade off between size and usability. The source is
available from the same place you got the binary (is it?) so you can
recompile to fit it to your needs.

Comments/Suggestions/Bugs to:
Joop.vandeWege@medew.ento.wau.nl
Please use a Subject field with the name 'GS353' in it.
Please direct all mail to me except when you're 100% sure it is a GS
problem then you can use the Aladdin email address.

Joop van de Wege


Recompiling GS:
Steps needed to be done to recompile GS from scratch using GCC2.63/2.70:
Get gs353src.lha
Get gs353amiga.lha
Get gs353jpeg6.lha
Get gs353zlib.lha
Get gs353png.lha

Unpack gs353src to HD, a directory 'gs3.53' will be created.
Unpack *in* this directory:
- gs353amiga.lha, overwriting some files. This is OK
  gs353amiga.lha contains:
  - gdevamiga.c, the amiga device driver from Olaf Barthel
  - gdevpipe.c, patched for use with Libnix
  - gdevpng.c, bugfixed PNG device driver
  - geninit.c, bugfixed geninit
  - gp_amiga.c, platform dependant stuff for the Amiga
  - gsmisc.c, fixed wrong external declaration
  - makefile, how to recreate GS (this distribution rebuilds in the
    source directory, the upcoming ADE (Fred Fish) one will have a
    configure script)

- gs353jpeg6 which creates the 'jpeg-6' directory
- gs353zlib which creates the 'zlib' directory
- gs353png which creates the 'pnglib' directory
The last two archives are not needed when you don't intend to rebuild GS
with PNG support.
Edit the makefile and activate/deactivate the devices you want or adjust
the paths. Read the comments in the makefile for directions.
cd to drive:gs3.53 and type 'make' followed by 'make install'
If you haven't forgotten to set the stack to a reasonable amount (~50K),
you can sit back and have a cup of coffee. On my A3000 it takes about 2.5h
to compile with the current device driver set and the file 'gdevamiga.c'
needs about 7-8Mb when -O2 is on. It needs less if you don't optimize :)
Make itself takes another 2Mb so in case of problems just compile
gdevamiga.c on its own and let make resume after that. GCC2.7.0 (Aminet)
works with VMM3.3 (on Aminet too).


============================= Archive contents =============================

Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
  113112   25425 77.5% 18-Jan-96 18:32:12  gdevamiga.c
    2828    1118 60.4% 18-Jan-96 18:32:20  gdevpipe.c
    8004    2650 66.8% 19-Jan-96 22:38:06  gdevpng.c
    6076    2258 62.8% 18-Jan-96 18:33:26  geninit.c
   13333    4751 64.3% 18-Jan-96 18:33:40  gp_amiga.c
   15828    6014 62.0% 18-Jan-96 18:33:48  gsmisc.c
  158387   44954 71.6% 20-Jan-96 20:18:34  makefile
    5757    2740 52.4% 21-Jan-96 21:44:14  README
-------- ------- ----- --------- --------
  323325   89910 72.1% 23-Jan-96 03:11:38   8 files
