home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / wp_dtp / ghostscr.lha / README.AMIGA
Text File  |  1993-01-22  |  4KB  |  102 lines

  1. January 1993
  2.  
  3. Howdy!
  4.  
  5. Here is GNU ghostscript version 2.5.2 for the Amiga. I built it with
  6. gcc 2.2.2 and many support programs from folks all over the internet.
  7. I have built this version of gs to support as many devices as I thought
  8. were relevant to the land of Amiga. Some I was not sure about but
  9. threw them in anyway. Typing gs -? will give you a list of supported
  10. devices. Please see the files (*.doc) in the gs252 subdirectory for
  11. information on invoking and using gs. You might look at use.doc first.
  12.  
  13. You will most certainly want to get the ghostscript fonts to install
  14. along with this package. I excluded them in the name of archive size
  15. sanity. This package is already huge! You can get the fonts from
  16. ftp.uu.net (packages/gnu) or dec.gatekeeper.com (pub/GNU). All fonts
  17. install in usr/lib/fonts. Just drop them there, ghostscript is already
  18. configured to use them.
  19.  
  20. To install:
  21.  
  22.     You must put usr/lib/ghostscript in usr:lib/ghostscript and
  23.     ixemul.library in sys:libs. Put the executables in bin in
  24.     a bin directory (I like usr:bin myself).
  25.  
  26.     in AmigaDOS terms its:
  27.  
  28.         copy libs/ixemul.library :libs clone
  29.         copy usr/lib/ghostscript usr:lib/ghostscript all clone
  30.         copy usr/bin/#? <wherever you want> clone
  31.  
  32.     in sksh terms:
  33.  
  34.         cp -p libs/ixemul.library :libs
  35.         cp -pr usr/lib/ghostscript usr:lib/ghostscript
  36.         cp -p usr/bin/* <wherever you want them>
  37.  
  38. To build it yourself:
  39.  
  40. Surprisingly, ghostscript 2.5.2 compiled with relatively little headache
  41. on my A500. The biggest problems I had were finding programs to fill
  42. the holes. I will try and provide a list below. I had to
  43. a few .c files, the Makefile, and the shell scripts. Then I ran dmake 
  44. on it and within 4 hours, gs was built and running on my A500. Wow!
  45. It takes a long time to compile the whole package. Be patient. Also,
  46. you probably need bunches of memory.
  47.  
  48. The makefile needed to be changed to support syntax used by
  49. pdksh (e.g () to test ...) and to change a pathname /usr/include 
  50. to /gcc/include.  Also, I configured the makefile for an Amiga 
  51. like environment copied from the Unix one. You will need to edit the 
  52. Makefile to choose which devices you want to support. See make.doc and 
  53. the amiga-gcc.mak files for clues on what to do. Diff the makefile
  54. with unix-gcc.mak to see what I did to get it to work with dmake.
  55.  
  56. The shell scripts I changed now have the suffix .ami. I would use
  57. .pdksh, but since the stuff is supposed to install on MS-DOS, I
  58. think 3 char suffix may be all I can use (blech!).
  59.  
  60. I have provided a couple of files you may find useful in building
  61. this package:
  62.  
  63.     uniq.rexx -- A kludge version of uniq command. I used arexx
  64.         to do this so I could learn how to read/write stdin/stdout
  65.         with AREXX.
  66.  
  67.         You could easily make this a shell script. I also don't
  68.         think it is quite the same as Unix uniq, but it serves
  69.         the role its needed for in this build (deleting duplicate
  70.         entries from sorted input).
  71.  
  72.     etc:profile -- A profile file used by pdksh. This file provides
  73.         all the support need to talk to programs that do not
  74.         understand Unix pathnames. There are numerous functions
  75.         and aliases in here. You most certainly will need to customize 
  76.         this file to your environment. You are well advised to recompile
  77.         your pdksh program to automatically source etc:profile on
  78.         startup.
  79.  
  80.     pdksh/main.c.patch -- a patch to accomplish auto-sourcing of
  81.         etc:profile. It's a no-brainer!
  82.  
  83. OK, here is a list of stuff I used to build gs. 
  84.  
  85.     touch - amiga-fileutils-3.3
  86.     mv - amiga-fileutils-3.3
  87.     rm - amiga-fileutils-3.3
  88.     rmdir - amiga-fileutils-3.3
  89.     ar - gcc 2.2.2
  90.     dmake - gcc 2.2.2
  91.     pdksh - pdksh package
  92.     sed - GNU sed compiled by me with gcc
  93.     awk - GNU awk compiled by me with gcc
  94.     grep - GNU grep-1.6 package for the Amiga (sksh grep failed me here)
  95.     sksh - sksh v. 2.1 (cp, tee, grep, et al)
  96.     arexx - comes with AmigaDOS 2.04!
  97.  
  98. Not all of these programs are used explicitly in building gs, but
  99. all played some part. I am sure this list is incomplete, but you
  100. can see the magnitude of my gratitude to folks around the net
  101. in it's diversity.
  102.