Page précédente Page suivante Table des matières

3. Les nouveaux fichiers

Voici le contenu des nouveaux fichiers créés pendant la manip:

/usr/src/redhat/SOURCES/ghostscript-5.10-epson.patch


diff -ur gs5.10.orig/gcc-head.mak gs5.10/gcc-head.mak
--- gs5.10.orig/gcc-head.mak  Sat Jul  4 13:48:48 1998
+++ gs5.10/gcc-head.mak Sat Jul  4 17:59:09 1998
@@ -259,7 +259,7 @@
 DEVICE_DEVS3=deskjet.dev djet500.dev laserjet.dev ljetplus.dev ljet2p.dev ljet3.dev ljet4.dev
 DEVICE_DEVS4=cdeskjet.dev cdjcolor.dev cdjmono.dev cdj550.dev pj.dev pjxl.dev pjxl300.dev
 DEVICE_DEVS5=uniprint.dev
-DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev
+DEVICE_DEVS6=bj10e.dev bj200.dev bjc600.dev bjc800.dev st800.dev stcolor.dev
 DEVICE_DEVS7=faxg3.dev faxg32d.dev faxg4.dev
 DEVICE_DEVS8=pcxmono.dev pcxgray.dev pcx16.dev pcx256.dev pcx24b.dev pcxcmyk.dev
 DEVICE_DEVS9=pbm.dev pbmraw.dev pgm.dev pgmraw.dev pgnm.dev pgnmraw.dev pnm.dev pnmraw.dev ppm.dev ppmraw.dev
diff -ur gs5.10.orig/gp_unix.c gs5.10/gp_unix.c
--- gs5.10.orig/gp_unix.c Thu Jan 16 06:51:50 1997
+++ gs5.10/gp_unix.c  Sat Jul  4 17:58:41 1998
@@ -42,7 +42,7 @@
 #  include <stdlib.h>    /* for exit and getenv */
 #else
 extern void exit(P1(int));
-extern char *getenv(P1(const char *));
+extern char *getenv __P ((__const char *__name));
 #endif
 
 /* Do platform-dependent initialization. */

/usr/src/redhat/SPECS/ghostscript-5.10-3.spec


Summary: PostScript interpreter and renderer
Name: ghostscript
Version: 5.10
Release: 3
Copyright: Alladdin (Cannot charge $ -- see /usr/doc/ghostscript-5.10/PUBLIC.)
Icon: ghost.gif
Group: Applications/Graphics
Source0: ftp://ftp.cs.wisc.edu/ghost/aladdin/ghostscript-5.10.tar.gz
Source1: ftp://ftp.cs.wisc.edu/ghost/aladdin/ghostscript-5.10jpeg.tar.gz
Patch0: ghostscript-5.10-config.patch
Patch1: ghostscript-5.10-epson.patch
Requires: ghostscript-fonts, zlib
URL: http://www.cs.wisc.edu/~ghost/index.html

%description
Ghostscript is a PostScript interpreter. It can render both PostScript
and PDF compliant files to devices which include an X window, many printer
formats (including support for color printers), and popular graphics
file formats.

Note that version is _not_ distributed under the GNU copyright, but
the more restrictive Alladdin copyright.  This software must be free
of _any_ charge.  See /usr/doc/ghostscript-5.10/PUBLIC.

%prep
%setup -n gs5.10
%setup -T -D -a 1 -n gs5.10
%patch0 -p1
%patch1 -p1
./tar_cat
ln -s unix-gcc.mak Makefile

%build
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" 

%install
make install 
# rm -f /usr/man/man1/gs.1
# install -m644 /usr/doc/ghostscript-5.03/gs.1 /usr/man/man1/gs.1
# rm -f /usr/doc/ghostscript-5.03/gs.1
ln -sf /usr/man/man1/gs.1 /usr/man/man1/ghostscript.1
ln -sf /usr/bin/gs /usr/bin/ghostscript

strip /usr/bin/gs

%changelog

* Mon Mar 03 1997 Erik Troan <ewt@redhat.com>

Made /usr/share/ghostscript/3.33/Fontmap a config file.

%changelog

* Tue Aug 19 1997 Karl O. Pinc <kop@meme.com>

Made 5.03 from 3.33 config file.
Used shared libz library.
Don't include png drivers -- bug in makefile.
Commented out the part of the install script that uses the gs.1 in the
doc dir.

%changelog

* Wed Sep 24 1997 Rene van Paassen <M.M.vanPaassen@WbMT.TUDelft.nl>

Included the new *.upp configuration files in the distribution 
(the Epson Stylus stopped printing with gs 5.03 :-( )

%changelog

* Fri Dec  5 1997 Rene van Paassen <M.M.vanPaassen@WbMT.TUDelft.nl>
Did ghostscript 5.10 based on the 5.03 stuff
I have a few files that crash on gs 5.03, exotic stuff, generated by
Sherril-Lubinsky GMS. Does 5.10 do better? Yes, seems like it works

%files
/usr/doc/ghostscript-5.10
/usr/bin/gs
/usr/bin/ghostscript
/usr/bin/gsbj
/usr/bin/gsdj
/usr/bin/gsdj500
/usr/bin/gslj
/usr/bin/gslp
/usr/bin/gsnd
/usr/bin/bdftops
/usr/bin/font2c
/usr/bin/pdf2dsc
/usr/bin/pdf2ps
/usr/bin/printafm
/usr/bin/ps2ascii
/usr/bin/ps2epsi
/usr/bin/ps2pdf
/usr/bin/wftopfa
/usr/share/ghostscript/5.10/*ps
/usr/share/ghostscript/5.10/*.upp
/usr/share/ghostscript/5.10/*.ppd
%config /usr/share/ghostscript/5.10/Fontmap
/usr/share/ghostscript/5.10/examples
/usr/man/man1/gs.1
/usr/man/man1/ghostscript.1
/usr/man/man1/pdf2dsc.1
/usr/man/man1/pdf2ps.1
/usr/man/man1/ps2ascii.1
/usr/man/man1/ps2epsi.1
/usr/man/man1/ps2pdf.1

Vous pouvez télécharger ces fichiers sous forme d'archive .tgz.


Page précédente Page suivante Table des matières