1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
This is Debian/GNU Linux's prepackaged version of the GNU ghostscript
package.
======================================================================
This package was put together by me, Marco Pistore <pistore@di.unipi.it>,
the actual maintainer. I downloaded the Ghostscript source from
ftp://ftp.cs.wisc.edu/ghost/gnu/gs510/ghostscript-5.10.tar.gz
I included the hpdj driver by Martin Lottermoser, that i
downloaded from
ftp://ftp.pdb.sni.de/pub/utilities/misc/hpdj-2.5.tar.gz
(in /usr/share/doc/gs/README.hpdj you can find further informations on
this driver).
I included also the hp8xx driver by Uli Wortmann, that i
downloaded from
http://www.erdw.ethz.ch/~bonk/ftp/gs-driver-distrib/hp8xxs13.zip
(in /usr/share/doc/gs/README.hp8xx you can find further informations on
this driver).
Finally, I also included the patchs provided by Taketoshi Sano
<sano@debian.org> that add support for Japanese fonts and popular
printers (in /usr/share/doc/gs/READMEs-kanji/ and
/usr/share/doc/gs/READMEs-jpdrivers you can find further informations
on the Japanese support).
======================================================================
In order to obtain the debian package, i have done the following changes
in the source:
- set compilation and installation parameters in unix-head.mak
- for ghostscript to be able to access the linux vga console (using
svgalib), it needs to run as root (or be setuid root), since root
privileges are required to initialize the console.
But, as one can open files in read AND write mode in gs, this
will make a mockery of security (please refer to file
/usr/doc/gs/setuid.Debian.gz).
To avoid security holes, the root privileges are given up
as soon as possible (in file imainarg.c, function
gs_main_init_with_args) and re-obtained only if the svgalib has to be
initialized (file gdevl256.c, function lvga256_open).
- by default gs uses the x11 device (since it is first in the list of
devices); i have patched the program so that if $DISPLAY is undefined
in the environment and there is support for SVGALIB,
then "-sDEVICE=lvga256" is added to the command line
options, and the lvga256 device is used as the default one in this case.
This is done in function gs_main_init_with_args in file imainarg.c;
in previous releases this was done in a wrapper file.
- the "-dPAPERSIZE=xxx" option is added to the command line,
where xxx is the system paper, as reported by the libpaper library.
This is done in function gs_main_init_with_args in file imainarg.c;
in previous releases this was done in a wrapper file.
- applied small patches to many files (see /usr/doc/gs/changelog.Debian).
- added some man pages.
-- Marco Pistore <pistore@di.unipi.it>
|