ghostscript/ghostscript--P-.patch

1415 lines
59 KiB
Diff
Raw Normal View History

2010-08-25 15:06:50 +00:00
diff -up ghostscript-8.71/lib/bdftops.bat.-P- ghostscript-8.71/lib/bdftops.bat
--- ghostscript-8.71/lib/bdftops.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/bdftops.bat 2010-08-25 16:03:34.163142793 +0100
@@ -2,4 +2,4 @@
@rem $Id: bdftops.bat 6300 2005-12-28 19:56:24Z giles $
call gssetgs.bat
-%GSC% -q -dBATCH -dNODISPLAY -- bdftops.ps %1 %2 %3 %4 %5 %6 %7 %8 %9
+%GSC% -P- -dSAFER -q -dBATCH -dNODISPLAY -- bdftops.ps %1 %2 %3 %4 %5 %6 %7 %8 %9
diff -up ghostscript-8.71/lib/bdftops.-P- ghostscript-8.71/lib/bdftops
--- ghostscript-8.71/lib/bdftops.-P- 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.71/lib/bdftops 2010-08-25 16:03:34.162142408 +0100
@@ -10,4 +10,4 @@ if test ! -x "$gs"; then
fi
GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -dBATCH -dNODISPLAY -- bdftops.ps "$@"
+exec "$GS_EXECUTABLE" -q -P- -dSAFER -dBATCH -dNODISPLAY -- bdftops.ps "$@"
diff -up ghostscript-8.71/lib/bj8gc12f.upp.-P- ghostscript-8.71/lib/bj8gc12f.upp
--- ghostscript-8.71/lib/bj8gc12f.upp.-P- 2000-04-14 04:59:57.000000000 +0100
+++ ghostscript-8.71/lib/bj8gc12f.upp 2010-08-25 16:03:34.168142533 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 8200, (1200DpI)^2, glossy photo card, high quality"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYKgenerate
-dupRendering=/FSCMYK32
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bj8hg12f.upp.-P- ghostscript-8.71/lib/bj8hg12f.upp
--- ghostscript-8.71/lib/bj8hg12f.upp.-P- 2000-04-14 04:59:57.000000000 +0100
+++ ghostscript-8.71/lib/bj8hg12f.upp 2010-08-25 16:03:34.169017409 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 8200, (1200DpI)^2, high gloss photo, high quality"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYKgenerate
-dupRendering=/FSCMYK32
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bj8oh06n.upp.-P- ghostscript-8.71/lib/bj8oh06n.upp
--- ghostscript-8.71/lib/bj8oh06n.upp.-P- 2000-04-14 04:59:57.000000000 +0100
+++ ghostscript-8.71/lib/bj8oh06n.upp 2010-08-25 16:03:34.170142700 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 8200, (600DpI)^2, OHP, normal quality"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYKgenerate
-dupRendering=/FSCMYK32
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bj8pa06n.upp.-P- ghostscript-8.71/lib/bj8pa06n.upp
--- ghostscript-8.71/lib/bj8pa06n.upp.-P- 2000-04-14 04:59:57.000000000 +0100
+++ ghostscript-8.71/lib/bj8pa06n.upp 2010-08-25 16:03:34.170142700 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 8200, (600DpI)^2, plain paper, normal quality"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYKgenerate
-dupRendering=/FSCMYK32
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bj8pp12f.upp.-P- ghostscript-8.71/lib/bj8pp12f.upp
--- ghostscript-8.71/lib/bj8pp12f.upp.-P- 2000-04-14 04:59:57.000000000 +0100
+++ ghostscript-8.71/lib/bj8pp12f.upp 2010-08-25 16:03:34.171142508 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 8200, (1200DpI)^2, professional photo paper, highest quality"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYKgenerate
-dupRendering=/FSCMYK32
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bj8ts06n.upp.-P- ghostscript-8.71/lib/bj8ts06n.upp
--- ghostscript-8.71/lib/bj8ts06n.upp.-P- 2000-04-14 04:59:57.000000000 +0100
+++ ghostscript-8.71/lib/bj8ts06n.upp 2010-08-25 16:03:34.171142508 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 8200, (600DpI)^2, t-shirt transfer, normal quality"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYKgenerate
-dupRendering=/FSCMYK32
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bjc610a0.upp.-P- ghostscript-8.71/lib/bjc610a0.upp
--- ghostscript-8.71/lib/bjc610a0.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/bjc610a0.upp 2010-08-25 16:03:34.172142681 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 610, 360x360DpI, plain paper high speed, color, rendered"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bjc610a1.upp.-P- ghostscript-8.71/lib/bjc610a1.upp
--- ghostscript-8.71/lib/bjc610a1.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/bjc610a1.upp 2010-08-25 16:03:34.173142535 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 610, 360x360DpI, plain paper, color, rendered"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bjc610a2.upp.-P- ghostscript-8.71/lib/bjc610a2.upp
--- ghostscript-8.71/lib/bjc610a2.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/bjc610a2.upp 2010-08-25 16:03:34.173142535 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 610, 360x360DpI, coated paper, color, rendered"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bjc610a3.upp.-P- ghostscript-8.71/lib/bjc610a3.upp
--- ghostscript-8.71/lib/bjc610a3.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/bjc610a3.upp 2010-08-25 16:03:34.174142583 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 610, 360x360DpI, transparency film, color, rendered"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bjc610a4.upp.-P- ghostscript-8.71/lib/bjc610a4.upp
--- ghostscript-8.71/lib/bjc610a4.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/bjc610a4.upp 2010-08-25 16:03:34.174142583 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 610, 360x360DpI, back print film, color, rendered"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bjc610a5.upp.-P- ghostscript-8.71/lib/bjc610a5.upp
--- ghostscript-8.71/lib/bjc610a5.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/bjc610a5.upp 2010-08-25 16:03:34.175142075 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 610, 360x360DpI, fabric sheet, color, rendered"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bjc610a6.upp.-P- ghostscript-8.71/lib/bjc610a6.upp
--- ghostscript-8.71/lib/bjc610a6.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/bjc610a6.upp 2010-08-25 16:03:34.176017748 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 610, 360x360DpI, glossy paper, color, rendered"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bjc610a7.upp.-P- ghostscript-8.71/lib/bjc610a7.upp
--- ghostscript-8.71/lib/bjc610a7.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/bjc610a7.upp 2010-08-25 16:03:34.176017748 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 610, 360x360DpI, high gloss film, color, rendered"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bjc610a8.upp.-P- ghostscript-8.71/lib/bjc610a8.upp
--- ghostscript-8.71/lib/bjc610a8.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/bjc610a8.upp 2010-08-25 16:03:34.177019159 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 610, 360x360DpI, high resolution paper, color, rendered"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bjc610b1.upp.-P- ghostscript-8.71/lib/bjc610b1.upp
--- ghostscript-8.71/lib/bjc610b1.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/bjc610b1.upp 2010-08-25 16:03:34.178018140 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 610, 720x720DpI, plain paper, color, rendered"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bjc610b2.upp.-P- ghostscript-8.71/lib/bjc610b2.upp
--- ghostscript-8.71/lib/bjc610b2.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/bjc610b2.upp 2010-08-25 16:03:34.178018140 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 610, 720x720DpI, coated paper, color, rendered"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bjc610b3.upp.-P- ghostscript-8.71/lib/bjc610b3.upp
--- ghostscript-8.71/lib/bjc610b3.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/bjc610b3.upp 2010-08-25 16:03:34.179017923 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 610, 720x720DpI, transparency film, color, rendered"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bjc610b4.upp.-P- ghostscript-8.71/lib/bjc610b4.upp
--- ghostscript-8.71/lib/bjc610b4.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/bjc610b4.upp 2010-08-25 16:03:34.179017923 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 610, 720x720DpI, back print film, color, rendered"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bjc610b6.upp.-P- ghostscript-8.71/lib/bjc610b6.upp
--- ghostscript-8.71/lib/bjc610b6.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/bjc610b6.upp 2010-08-25 16:03:34.180018502 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 610, 720x720DpI, glossy paper, color, rendered"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bjc610b7.upp.-P- ghostscript-8.71/lib/bjc610b7.upp
--- ghostscript-8.71/lib/bjc610b7.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/bjc610b7.upp 2010-08-25 16:03:34.181017588 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 610, 720x720DpI, high gloss paper, color, rendered"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/bjc610b8.upp.-P- ghostscript-8.71/lib/bjc610b8.upp
--- ghostscript-8.71/lib/bjc610b8.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/bjc610b8.upp 2010-08-25 16:03:34.182018179 +0100
@@ -1,7 +1,7 @@
-supModel="Canon BJC 610, 720x720DpI, high resolution paper, color, rendered"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Canon
diff -up ghostscript-8.71/lib/cdj550.upp.-P- ghostscript-8.71/lib/cdj550.upp
--- ghostscript-8.71/lib/cdj550.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/cdj550.upp 2010-08-25 16:03:34.182018179 +0100
@@ -1,7 +1,7 @@
-supModel="HP Deskjet 550c, 300x300DpI, Gamma=2"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Pcl
diff -up ghostscript-8.71/lib/cdj690ec.upp.-P- ghostscript-8.71/lib/cdj690ec.upp
--- ghostscript-8.71/lib/cdj690ec.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/cdj690ec.upp 2010-08-25 16:03:34.184018135 +0100
@@ -2,7 +2,7 @@
-sDEVICE=uniprint
-sPAPERSIZE=a4
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Pcl
diff -up ghostscript-8.71/lib/cdj690.upp.-P- ghostscript-8.71/lib/cdj690.upp
--- ghostscript-8.71/lib/cdj690.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/cdj690.upp 2010-08-25 16:03:34.183017841 +0100
@@ -1,7 +1,7 @@
-supModel="HP Deskjet 690 Normal Gamma 2.0"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Pcl
diff -up ghostscript-8.71/lib/dnj750c.upp.-P- ghostscript-8.71/lib/dnj750c.upp
--- ghostscript-8.71/lib/dnj750c.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/dnj750c.upp 2010-08-25 16:03:34.184018135 +0100
@@ -1,7 +1,7 @@
-supModel="HP Designjet 750c, 300x300DpI, Gamma=2.5, CMY"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceRGB
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Pcl
diff -up ghostscript-8.71/lib/dnj750m.upp.-P- ghostscript-8.71/lib/dnj750m.upp
--- ghostscript-8.71/lib/dnj750m.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/dnj750m.upp 2010-08-25 16:03:34.185018349 +0100
@@ -1,7 +1,7 @@
-supModel="HP Designjet 750m, 600x600DpI, Gamma=2.5, CMY"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceGray
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Pcl
diff -up ghostscript-8.71/lib/dumphint.bat.-P- ghostscript-8.71/lib/dumphint.bat
--- ghostscript-8.71/lib/dumphint.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/dumphint.bat 2010-08-25 16:03:34.186018282 +0100
@@ -4,7 +4,7 @@
if %1/==/ goto usage
call gssetgs.bat
-echo -q -dNODISPLAY -dSAFER -dDELAYSAFER >_.at
+echo -q -dNODISPLAY -P- -dSAFER -dDELAYSAFER >_.at
:cp
if %2/==/ goto doit
echo %2 >>_.at
diff -up ghostscript-8.71/lib/dumphint.-P- ghostscript-8.71/lib/dumphint
--- ghostscript-8.71/lib/dumphint.-P- 2009-01-04 20:11:57.000000000 +0000
+++ ghostscript-8.71/lib/dumphint 2010-08-25 16:03:34.185018349 +0100
@@ -12,7 +12,7 @@ fi
GS_EXECUTABLE="$gs"
-OPTIONS="-dSAFER -dDELAYSAFER"
+OPTIONS="-P- -dSAFER -dDELAYSAFER"
while true
do
case "$1" in
diff -up ghostscript-8.71/lib/dvipdf.-P- ghostscript-8.71/lib/dvipdf
--- ghostscript-8.71/lib/dvipdf.-P- 2010-08-25 16:00:06.000000000 +0100
+++ ghostscript-8.71/lib/dvipdf 2010-08-25 16:04:38.795018096 +0100
@@ -44,4 +44,4 @@ fi
# We have to include the options twice because -I only takes effect if it
# appears before other options.
-exec dvips -R -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite -
+exec dvips -R -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite -
diff -up ghostscript-8.71/lib/eps2eps.bat.-P- ghostscript-8.71/lib/eps2eps.bat
--- ghostscript-8.71/lib/eps2eps.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/eps2eps.bat 2010-08-25 16:03:34.188018549 +0100
@@ -5,7 +5,7 @@
if %1/==/ goto usage
if %2/==/ goto usage
call gssetgs.bat
-echo -dNOPAUSE -dBATCH -dSAFER >_.at
+echo -dNOPAUSE -dBATCH -P- -dSAFER >_.at
rem Watcom C deletes = signs, so use # instead.
echo -dDEVICEWIDTH#250000 -dDEVICEHEIGHT#250000 >>_.at
:cp
diff -up ghostscript-8.71/lib/eps2eps.cmd.-P- ghostscript-8.71/lib/eps2eps.cmd
--- ghostscript-8.71/lib/eps2eps.cmd.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/eps2eps.cmd 2010-08-25 16:03:34.197019390 +0100
@@ -12,7 +12,7 @@ gs='@gsos2'
if params='' then call usage
-options='-dNOPAUSE -dBATCH -dSAFER'
+options='-dNOPAUSE -dBATCH -P- -dSAFER'
/* extract options from command line */
i=1
diff -up ghostscript-8.71/lib/eps2eps.-P- ghostscript-8.71/lib/eps2eps
--- ghostscript-8.71/lib/eps2eps.-P- 2009-01-10 22:11:18.000000000 +0000
+++ ghostscript-8.71/lib/eps2eps 2010-08-25 16:03:34.187017974 +0100
@@ -26,4 +26,4 @@ if [ $# -ne 2 ]; then
exit 1
fi
-exec "$GS_EXECUTABLE" -q -sDEVICE=epswrite -sstdout=%stderr "-sOutputFile=$2" -dNOPAUSE -dBATCH -dSAFER $OPTIONS "$1"
+exec "$GS_EXECUTABLE" -q -sDEVICE=epswrite -sstdout=%stderr "-sOutputFile=$2" -dNOPAUSE -dBATCH -P- -dSAFER $OPTIONS "$1"
diff -up ghostscript-8.71/lib/font2c.bat.-P- ghostscript-8.71/lib/font2c.bat
--- ghostscript-8.71/lib/font2c.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/font2c.bat 2010-08-25 16:03:34.198018501 +0100
@@ -2,4 +2,4 @@
@rem $Id: font2c.bat 6300 2005-12-28 19:56:24Z giles $
call gssetgs.bat
-%GSC% -q -dNODISPLAY -dWRITESYSTEMDICT -- font2c.ps %1 %2 %3 %4 %5 %6 %7 %8 %9
+%GSC% -P- -dSAFER -q -dNODISPLAY -dWRITESYSTEMDICT -- font2c.ps %1 %2 %3 %4 %5 %6 %7 %8 %9
diff -up ghostscript-8.71/lib/font2c.-P- ghostscript-8.71/lib/font2c
--- ghostscript-8.71/lib/font2c.-P- 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.71/lib/font2c 2010-08-25 16:03:34.198018501 +0100
@@ -10,4 +10,4 @@ if test ! -x "$gs"; then
fi
GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -dNODISPLAY -dWRITESYSTEMDICT -- font2c.ps "$@"
+exec "$GS_EXECUTABLE" -q -P- -dSAFER -dNODISPLAY -dWRITESYSTEMDICT -- font2c.ps "$@"
diff -up ghostscript-8.71/lib/gsbj.bat.-P- ghostscript-8.71/lib/gsbj.bat
--- ghostscript-8.71/lib/gsbj.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/gsbj.bat 2010-08-25 16:03:34.200020206 +0100
@@ -2,4 +2,4 @@
@rem $Id: gsbj.bat 6300 2005-12-28 19:56:24Z giles $
call gssetgs.bat
-%GSC% -q -sDEVICE=bj10e -r180 -dNOPAUSE -sPROGNAME=gsbj -- gslp.ps %1 %2 %3 %4 %5 %6 %7 %8 %9
+%GSC% -q -sDEVICE=bj10e -r180 -P- -dSAFER -dNOPAUSE -sPROGNAME=gsbj -- gslp.ps %1 %2 %3 %4 %5 %6 %7 %8 %9
diff -up ghostscript-8.71/lib/gsbj.-P- ghostscript-8.71/lib/gsbj
--- ghostscript-8.71/lib/gsbj.-P- 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.71/lib/gsbj 2010-08-25 16:03:34.199021572 +0100
@@ -10,4 +10,4 @@ if test ! -x "$gs"; then
fi
GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -sDEVICE=bj10e -r180 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
+exec "$GS_EXECUTABLE" -q -sDEVICE=bj10e -r180 -P- -dSAFER -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
diff -up ghostscript-8.71/lib/gsdj500.bat.-P- ghostscript-8.71/lib/gsdj500.bat
--- ghostscript-8.71/lib/gsdj500.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/gsdj500.bat 2010-08-25 16:03:34.202018304 +0100
@@ -2,4 +2,4 @@
@rem $Id: gsdj500.bat 6300 2005-12-28 19:56:24Z giles $
call gssetgs.bat
-%GSC% -q -sDEVICE#djet500 -r300 -dNOPAUSE -sPROGNAME=gsdj500 -- gslp.ps %1 %2 %3 %4 %5 %6 %7 %8 %9
+%GSC% -q -sDEVICE#djet500 -r300 -P- -dSAFER -dNOPAUSE -sPROGNAME=gsdj500 -- gslp.ps %1 %2 %3 %4 %5 %6 %7 %8 %9
diff -up ghostscript-8.71/lib/gsdj500.-P- ghostscript-8.71/lib/gsdj500
--- ghostscript-8.71/lib/gsdj500.-P- 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.71/lib/gsdj500 2010-08-25 16:03:34.202018304 +0100
@@ -10,4 +10,4 @@ if test ! -x "$gs"; then
fi
GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -sDEVICE=djet500 -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
+exec "$GS_EXECUTABLE" -q -sDEVICE=djet500 -r300 -P- -dSAFER -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
diff -up ghostscript-8.71/lib/gsdj.bat.-P- ghostscript-8.71/lib/gsdj.bat
--- ghostscript-8.71/lib/gsdj.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/gsdj.bat 2010-08-25 16:03:34.201018171 +0100
@@ -2,4 +2,4 @@
@rem $Id: gsdj.bat 6300 2005-12-28 19:56:24Z giles $
call gssetgs.bat
-%GSC% -q -sDEVICE=deskjet -r300 -dNOPAUSE -sPROGNAME=gsdj -- gslp.ps %1 %2 %3 %4 %5 %6 %7 %8 %9
+%GSC% -q -sDEVICE=deskjet -r300 -P- -dSAFER -dNOPAUSE -sPROGNAME=gsdj -- gslp.ps %1 %2 %3 %4 %5 %6 %7 %8 %9
diff -up ghostscript-8.71/lib/gsdj.-P- ghostscript-8.71/lib/gsdj
--- ghostscript-8.71/lib/gsdj.-P- 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.71/lib/gsdj 2010-08-25 16:03:34.201018171 +0100
@@ -10,4 +10,4 @@ if test ! -x "$gs"; then
fi
GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -sDEVICE=deskjet -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
+exec "$GS_EXECUTABLE" -q -sDEVICE=deskjet -r300 -P- -dSAFER -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
diff -up ghostscript-8.71/lib/gslj.bat.-P- ghostscript-8.71/lib/gslj.bat
--- ghostscript-8.71/lib/gslj.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/gslj.bat 2010-08-25 16:03:34.204018240 +0100
@@ -2,4 +2,4 @@
@rem $Id: gslj.bat 6300 2005-12-28 19:56:24Z giles $
call gssetgs.bat
-%GSC% -q -sDEVICE=laserjet -r300 -dNOPAUSE -sPROGNAME=gslj -- gslp.ps %1 %2 %3 %4 %5 %6 %7 %8 %9
+%GSC% -q -sDEVICE=laserjet -r300 -P- -dSAFER -dNOPAUSE -sPROGNAME=gslj -- gslp.ps %1 %2 %3 %4 %5 %6 %7 %8 %9
diff -up ghostscript-8.71/lib/gslj.-P- ghostscript-8.71/lib/gslj
--- ghostscript-8.71/lib/gslj.-P- 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.71/lib/gslj 2010-08-25 16:03:34.203018417 +0100
@@ -10,4 +10,4 @@ if test ! -x "$gs"; then
fi
GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -sDEVICE=laserjet -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
+exec "$GS_EXECUTABLE" -q -sDEVICE=laserjet -r300 -P- -dSAFER -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
diff -up ghostscript-8.71/lib/gslp.bat.-P- ghostscript-8.71/lib/gslp.bat
--- ghostscript-8.71/lib/gslp.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/gslp.bat 2010-08-25 16:03:34.205018328 +0100
@@ -2,4 +2,4 @@
@rem $Id: gslp.bat 6300 2005-12-28 19:56:24Z giles $
call gssetgs.bat
-%GSC% -q -sDEVICE=epson -r180 -dNOPAUSE -sPROGNAME=gslp -- gslp.ps %1 %2 %3 %4 %5 %6 %7 %8 %9
+%GSC% -q -sDEVICE=epson -r180 -P- -dSAFER -dNOPAUSE -sPROGNAME=gslp -- gslp.ps %1 %2 %3 %4 %5 %6 %7 %8 %9
diff -up ghostscript-8.71/lib/gslp.-P- ghostscript-8.71/lib/gslp
--- ghostscript-8.71/lib/gslp.-P- 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.71/lib/gslp 2010-08-25 16:03:34.204018240 +0100
@@ -10,4 +10,4 @@ if test ! -x "$gs"; then
fi
GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -sDEVICE=epson -r180 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
+exec "$GS_EXECUTABLE" -q -sDEVICE=epson -r180 -P- -dSAFER -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
diff -up ghostscript-8.71/lib/gsnd.bat.-P- ghostscript-8.71/lib/gsnd.bat
--- ghostscript-8.71/lib/gsnd.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/gsnd.bat 2010-08-25 16:03:34.206017926 +0100
@@ -2,4 +2,4 @@
@rem $Id: gsnd.bat 6300 2005-12-28 19:56:24Z giles $
call gssetgs.bat
-%GSC% -DNODISPLAY %1 %2 %3 %4 %5 %6 %7 %8 %9
+%GSC% -P- -dSAFER -DNODISPLAY %1 %2 %3 %4 %5 %6 %7 %8 %9
diff -up ghostscript-8.71/lib/gsnd.-P- ghostscript-8.71/lib/gsnd
--- ghostscript-8.71/lib/gsnd.-P- 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.71/lib/gsnd 2010-08-25 16:03:34.206017926 +0100
@@ -10,4 +10,4 @@ if test ! -x "$gs"; then
fi
GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -dNODISPLAY "$@"
+exec "$GS_EXECUTABLE" -P- -dSAFER -dNODISPLAY "$@"
diff -up ghostscript-8.71/lib/gsndt.bat.-P- ghostscript-8.71/lib/gsndt.bat
--- ghostscript-8.71/lib/gsndt.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/gsndt.bat 2010-08-25 16:03:34.207018084 +0100
@@ -2,4 +2,4 @@
@rem $Id: gsndt.bat 6300 2005-12-28 19:56:24Z giles $
call gssetgs.bat
-%GSC% -DNODISPLAY %1 %2 %3 %4 %5 %6 %7 %8 %9 >t
+%GSC% -P- -dSAFER -DNODISPLAY %1 %2 %3 %4 %5 %6 %7 %8 %9 >t
diff -up ghostscript-8.71/lib/lp386.bat.-P- ghostscript-8.71/lib/lp386.bat
--- ghostscript-8.71/lib/lp386.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/lp386.bat 2010-08-25 16:03:34.208018273 +0100
@@ -1,2 +1,2 @@
@rem $Id: lp386.bat 6300 2005-12-28 19:56:24Z giles $
-@gs386 -sDEVICE=djet500 -dNOPAUSE -- gslp.ps -fCourier9 %1 %2 %3 %4 %5 %6 %7 %8 %9
+@gs386 -sDEVICE=djet500 -P- -dSAFER -dNOPAUSE -- gslp.ps -fCourier9 %1 %2 %3 %4 %5 %6 %7 %8 %9
diff -up ghostscript-8.71/lib/lp386r2.bat.-P- ghostscript-8.71/lib/lp386r2.bat
--- ghostscript-8.71/lib/lp386r2.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/lp386r2.bat 2010-08-25 16:03:34.208018273 +0100
@@ -1,2 +1,2 @@
@rem $Id: lp386r2.bat 6300 2005-12-28 19:56:24Z giles $
-@gs386 -sDEVICE=djet500 -dNOPAUSE -- gslp.ps -2r %1 %2 %3 %4 %5 %6 %7 %8 %9
+@gs386 -sDEVICE=djet500 -P- -dSAFER -dNOPAUSE -- gslp.ps -2r %1 %2 %3 %4 %5 %6 %7 %8 %9
diff -up ghostscript-8.71/lib/lpgs.bat.-P- ghostscript-8.71/lib/lpgs.bat
--- ghostscript-8.71/lib/lpgs.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/lpgs.bat 2010-08-25 16:03:34.209017685 +0100
@@ -2,4 +2,4 @@
@rem $Id: lpgs.bat 6300 2005-12-28 19:56:24Z giles $
call gssetgs.bat
-%GSC% -sDEVICE#djet500 -dNOPAUSE -sPROGNAME=lpgs -- gslp.ps -fCourier9 %1 %2 %3 %4 %5 %6 %7 %8 %9
+%GSC% -sDEVICE#djet500 -P- -dSAFER -dNOPAUSE -sPROGNAME=lpgs -- gslp.ps -fCourier9 %1 %2 %3 %4 %5 %6 %7 %8 %9
diff -up ghostscript-8.71/lib/lpr2.bat.-P- ghostscript-8.71/lib/lpr2.bat
--- ghostscript-8.71/lib/lpr2.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/lpr2.bat 2010-08-25 16:03:34.210018069 +0100
@@ -2,4 +2,4 @@
@rem $Id: lpr2.bat 6300 2005-12-28 19:56:24Z giles $
call gssetgs.bat
-%GSC% -sDEVICE#djet500 -dNOPAUSE -sPROGNAME=lpr2 -- gslp.ps -2r %1 %2 %3 %4 %5 %6 %7 %8 %9
+%GSC% -sDEVICE#djet500 -P- -dSAFER -dNOPAUSE -sPROGNAME=lpr2 -- gslp.ps -2r %1 %2 %3 %4 %5 %6 %7 %8 %9
diff -up ghostscript-8.71/lib/necp2x6.upp.-P- ghostscript-8.71/lib/necp2x6.upp
--- ghostscript-8.71/lib/necp2x6.upp.-P- 2000-03-09 08:40:45.000000000 +0000
+++ ghostscript-8.71/lib/necp2x6.upp 2010-08-25 16:03:34.211018499 +0100
@@ -1,7 +1,7 @@
-supModel="NEC Prinwriter 2X, 360x360DpI, Plain Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceGray
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Epson
diff -up ghostscript-8.71/lib/necp2x.upp.-P- ghostscript-8.71/lib/necp2x.upp
--- ghostscript-8.71/lib/necp2x.upp.-P- 2000-03-09 08:40:45.000000000 +0000
+++ ghostscript-8.71/lib/necp2x.upp 2010-08-25 16:03:34.210018069 +0100
@@ -1,7 +1,7 @@
-supModel="NEC Prinwriter 2X, 360x360DpI, Plain Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceGray
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/Epson
diff -up ghostscript-8.71/lib/pdf2dsc.bat.-P- ghostscript-8.71/lib/pdf2dsc.bat
--- ghostscript-8.71/lib/pdf2dsc.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/pdf2dsc.bat 2010-08-25 16:03:34.212018342 +0100
@@ -7,7 +7,7 @@ if %2/==/ goto usage
call gssetgs.bat
rem Watcom C deletes = signs, so use # instead.
-%GSC% -q -dNODISPLAY -dSAFER -dDELAYSAFER -sPDFname#%1 -sDSCname#%2 -sOutputFile#%2 pdf2dsc.ps
+%GSC% -q -dNODISPLAY -P- -dSAFER -dDELAYSAFER -sPDFname#%1 -sDSCname#%2 -sOutputFile#%2 pdf2dsc.ps
goto end
:usage
diff -up ghostscript-8.71/lib/pdf2dsc.-P- ghostscript-8.71/lib/pdf2dsc
--- ghostscript-8.71/lib/pdf2dsc.-P- 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.71/lib/pdf2dsc 2010-08-25 16:03:34.211018499 +0100
@@ -31,5 +31,5 @@ pdffile=$1
dscfile=$2
: ${dscfile:=`echo $pdffile | sed 's,\.[^/.]*,,'`.dsc}
-exec "$GS_EXECUTABLE" -q -dNODISPLAY -dSAFER -dDELAYSAFER\
+exec "$GS_EXECUTABLE" -q -dNODISPLAY -P- -dSAFER -dDELAYSAFER\
-sPDFname="$pdffile" -sDSCname="$dscfile" pdf2dsc.ps -c quit
diff -up ghostscript-8.71/lib/pdf2ps.bat.-P- ghostscript-8.71/lib/pdf2ps.bat
--- ghostscript-8.71/lib/pdf2ps.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/pdf2ps.bat 2010-08-25 16:03:34.213018059 +0100
@@ -5,7 +5,7 @@
if %1/==/ goto usage
if %2/==/ goto usage
call gssetgs.bat
-echo -dNOPAUSE -dBATCH -dSAFER -sDEVICE#pswrite >_.at
+echo -dNOPAUSE -dBATCH -P- -dSAFER -sDEVICE#pswrite >_.at
:cp
if %3/==/ goto doit
echo %1 >>_.at
diff -up ghostscript-8.71/lib/pdf2ps.cmd.-P- ghostscript-8.71/lib/pdf2ps.cmd
--- ghostscript-8.71/lib/pdf2ps.cmd.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/pdf2ps.cmd 2010-08-25 16:03:34.214018719 +0100
@@ -14,7 +14,7 @@ outext='.ps'
if params='' then call usage
-options='-dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite'
+options='-dNOPAUSE -dBATCH -P- -dSAFER -sDEVICE=pswrite'
/* extract options from command line */
i=1
diff -up ghostscript-8.71/lib/pdf2ps.-P- ghostscript-8.71/lib/pdf2ps
--- ghostscript-8.71/lib/pdf2ps.-P- 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.71/lib/pdf2ps 2010-08-25 16:03:34.213018059 +0100
@@ -35,4 +35,4 @@ fi
# Doing an initial 'save' helps keep fonts from being flushed between pages.
# We have to include the options twice because -I only takes effect if it
# appears before other options.
-exec "$GS_EXECUTABLE" $OPTIONS -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite "-sOutputFile=$outfile" $OPTIONS -c save pop -f "$1"
+exec "$GS_EXECUTABLE" $OPTIONS -q -dNOPAUSE -dBATCH -P- -dSAFER -sDEVICE=pswrite "-sOutputFile=$outfile" $OPTIONS -c save pop -f "$1"
diff -up ghostscript-8.71/lib/pdfopt.bat.-P- ghostscript-8.71/lib/pdfopt.bat
--- ghostscript-8.71/lib/pdfopt.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/pdfopt.bat 2010-08-25 16:03:34.215018181 +0100
@@ -5,7 +5,7 @@
if %1/==/ goto usage
if %2/==/ goto usage
call gssetgs.bat
-echo -q -dNODISPLAY -dSAFER -dDELAYSAFER >_.at
+echo -q -dNODISPLAY -P- -dSAFER -dDELAYSAFER >_.at
:cp
if %3/==/ goto doit
echo %1 >>_.at
diff -up ghostscript-8.71/lib/pdfopt.-P- ghostscript-8.71/lib/pdfopt
--- ghostscript-8.71/lib/pdfopt.-P- 2008-05-25 03:17:14.000000000 +0100
+++ ghostscript-8.71/lib/pdfopt 2010-08-25 16:03:34.215018181 +0100
@@ -11,7 +11,7 @@ if test ! -x "$gs"; then
fi
GS_EXECUTABLE="$gs"
-OPTIONS="-dSAFER -dDELAYSAFER"
+OPTIONS="-P- -dSAFER -dDELAYSAFER"
while true
do
case "$1" in
diff -up ghostscript-8.71/lib/pf2afm.bat.-P- ghostscript-8.71/lib/pf2afm.bat
--- ghostscript-8.71/lib/pf2afm.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/pf2afm.bat 2010-08-25 16:03:34.216017998 +0100
@@ -6,7 +6,7 @@ if %1/==/ goto usage
if not %2/==/ goto usage
call gssetgs.bat
-%GSC% -q -dNODISPLAY -dSAFER -dDELAYSAFER -- pf2afm.ps %1
+%GSC% -q -dNODISPLAY -P- -dSAFER -dDELAYSAFER -- pf2afm.ps %1
goto end
:usage
diff -up ghostscript-8.71/lib/pf2afm.cmd.-P- ghostscript-8.71/lib/pf2afm.cmd
--- ghostscript-8.71/lib/pf2afm.cmd.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/pf2afm.cmd 2010-08-25 16:03:34.217018553 +0100
@@ -4,4 +4,4 @@
* please contact Mark Hale (mark.hale@physics.org).
*/
-@gsos2 -q -dNODISPLAY -dSAFER -dDELAYSAFER -- pf2afm.ps %1
+@gsos2 -q -dNODISPLAY -P- -dSAFER -dDELAYSAFER -- pf2afm.ps %1
diff -up ghostscript-8.71/lib/pf2afm.-P- ghostscript-8.71/lib/pf2afm
--- ghostscript-8.71/lib/pf2afm.-P- 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.71/lib/pf2afm 2010-08-25 16:03:34.216017998 +0100
@@ -14,4 +14,4 @@ if test ! -x "$gs"; then
fi
GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -dNODISPLAY -dSAFER -dDELAYSAFER -- pf2afm.ps "$@"
+exec "$GS_EXECUTABLE" -q -dNODISPLAY -P- -dSAFER -dDELAYSAFER -- pf2afm.ps "$@"
diff -up ghostscript-8.71/lib/pfbtopfa.bat.-P- ghostscript-8.71/lib/pfbtopfa.bat
--- ghostscript-8.71/lib/pfbtopfa.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/pfbtopfa.bat 2010-08-25 16:03:34.218017669 +0100
@@ -7,7 +7,7 @@ if %2/==/ goto usage
if not %3/==/ goto usage
call gssetgs.bat
-%GSC% -q -dNODISPLAY -- pfbtopfa.ps %1 %2
+%GSC% -P- -dSAFER -q -dNODISPLAY -- pfbtopfa.ps %1 %2
goto end
:usage
diff -up ghostscript-8.71/lib/pfbtopfa.-P- ghostscript-8.71/lib/pfbtopfa
--- ghostscript-8.71/lib/pfbtopfa.-P- 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.71/lib/pfbtopfa 2010-08-25 16:03:34.218017669 +0100
@@ -22,4 +22,4 @@ else
exit 1
fi
-exec "$GS_EXECUTABLE" -q -dNODISPLAY -- pfbtopfa.ps "$1" "$outfile"
+exec "$GS_EXECUTABLE" -q -P- -dSAFER -dNODISPLAY -- pfbtopfa.ps "$1" "$outfile"
diff -up ghostscript-8.71/lib/pftogsf.bat.-P- ghostscript-8.71/lib/pftogsf.bat
--- ghostscript-8.71/lib/pftogsf.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/pftogsf.bat 2010-08-25 16:03:34.219018023 +0100
@@ -11,10 +11,10 @@ echo systemdict /definefont. /definefont
echo systemdict /definefont { userdict /LFN 3 index put definefont. } bind put >>_temp_.ps
echo ARGUMENTS 0 get (r) file .loadfont LFN findfont setfont prunefont reprot >>_temp_.ps
echo ARGUMENTS 1 get (w) file dup writefont closefile quit >>_temp_.ps
-rem for %%f in (cyr cyri) do %GSC% -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps fonts\pfa\%%f.pfa fonts\%%f.gsf
-rem for %%f in (ncrr ncrb ncrri ncrbi) do %GSC% -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps fonts\pfa\%%f.pfa fonts\%%f.gsf
-rem for %%f in (bchr bchb bchri bchbi) do %GSC% -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps fonts\pfa\%%f.pfa fonts\%%f.gsf
-rem for %%f in (putr putb putri putbi) do %GSC% -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps fonts\pfa\%%f.pfa fonts\%%f.gsf
-rem for %%f in (n019003l n021003l u003043t u004006t) do %GSC% -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps fonts\%%f.gsf %%f.gsf
-for %%f in (hig_____ kak_____) do %GSC% -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps fonts\pfb\%%f.pfb %%f.gsf
-rem %GSC% -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps allfonts\baxter.pfb baxter.gsf
+rem for %%f in (cyr cyri) do %GSC% -P- -dSAFER -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps fonts\pfa\%%f.pfa fonts\%%f.gsf
+rem for %%f in (ncrr ncrb ncrri ncrbi) do %GSC% -P- -dSAFER -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps fonts\pfa\%%f.pfa fonts\%%f.gsf
+rem for %%f in (bchr bchb bchri bchbi) do %GSC% -P- -dSAFER -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps fonts\pfa\%%f.pfa fonts\%%f.gsf
+rem for %%f in (putr putb putri putbi) do %GSC% -P- -dSAFER -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps fonts\pfa\%%f.pfa fonts\%%f.gsf
+rem for %%f in (n019003l n021003l u003043t u004006t) do %GSC% -P- -dSAFER -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps fonts\%%f.gsf %%f.gsf
+for %%f in (hig_____ kak_____) do %GSC% -P- -dSAFER -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps fonts\pfb\%%f.pfb %%f.gsf
+rem %GSC% -P- -dSAFER -q -dNODISPLAY -dWRITESYSTEMDICT -- _temp_.ps allfonts\baxter.pfb baxter.gsf
diff -up ghostscript-8.71/lib/pphs.-P- ghostscript-8.71/lib/pphs
--- ghostscript-8.71/lib/pphs.-P- 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.71/lib/pphs 2010-08-25 16:03:34.222018680 +0100
@@ -13,4 +13,4 @@ if test ! -x "$gs"; then
fi
GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -dNODISPLAY -- pphs.ps "$@"
+exec "$GS_EXECUTABLE" -q -P- -dSAFER -dNODISPLAY -- pphs.ps "$@"
diff -up ghostscript-8.71/lib/printafm.-P- ghostscript-8.71/lib/printafm
--- ghostscript-8.71/lib/printafm.-P- 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.71/lib/printafm 2010-08-25 16:03:34.223018182 +0100
@@ -13,4 +13,4 @@ if test ! -x "$gs"; then
fi
GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -dNODISPLAY -- printafm.ps "$@"
+exec "$GS_EXECUTABLE" -q -P- -dSAFER -dNODISPLAY -- printafm.ps "$@"
diff -up ghostscript-8.71/lib/ps2ascii.bat.-P- ghostscript-8.71/lib/ps2ascii.bat
--- ghostscript-8.71/lib/ps2ascii.bat.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/ps2ascii.bat 2010-08-25 16:03:34.224017754 +0100
@@ -4,12 +4,12 @@
call gssetgs.bat
if '%1'=='' goto a0
if '%2'=='' goto a1
-%GSC% -q -dNODISPLAY -dSAFER -dDELAYBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps %1 -c quit >%2
+%GSC% -q -dNODISPLAY -P- -dSAFER -dDELAYBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps %1 -c quit >%2
goto x
:a0
-%GSC% -q -dNODISPLAY -dSAFER -dDELAYBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps - -c quit
+%GSC% -q -dNODISPLAY -P- -dSAFER -dDELAYBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps - -c quit
goto x
:a1
-%GSC% -q -dNODISPLAY -dSAFER -dDELAYBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps %1 -c quit
+%GSC% -q -dNODISPLAY -P- -dSAFER -dDELAYBIND -dWRITESYSTEMDICT -dSIMPLE ps2ascii.ps %1 -c quit
goto x
:x
diff -up ghostscript-8.71/lib/ps2ascii.-P- ghostscript-8.71/lib/ps2ascii
--- ghostscript-8.71/lib/ps2ascii.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/ps2ascii 2010-08-25 16:03:34.224017754 +0100
@@ -12,7 +12,7 @@ GS_EXECUTABLE=gs
trap "rm -f _temp_.err _temp_.out" 0 1 2 15
-OPTIONS="-q -dNODISPLAY -dSAFER -dDELAYBIND -dWRITESYSTEMDICT -dSIMPLE"
+OPTIONS="-q -dNODISPLAY -P- -dSAFER -dDELAYBIND -dWRITESYSTEMDICT -dSIMPLE"
if ( test $# -eq 0 ) then
$GS_EXECUTABLE $OPTIONS -c save -f ps2ascii.ps - -c quit
elif ( test $# -eq 1 ) then
diff -up ghostscript-8.71/lib/ps2epsi.bat.-P- ghostscript-8.71/lib/ps2epsi.bat
--- ghostscript-8.71/lib/ps2epsi.bat.-P- 2009-04-07 11:20:02.000000000 +0100
+++ ghostscript-8.71/lib/ps2epsi.bat 2010-08-25 16:03:34.226018106 +0100
@@ -10,10 +10,10 @@ set outfile=%2
rem First we need to determine the bounding box. ps2epsi.ps below will pick
rem the result up from %outfile%
-%GSC% -q -dNOPAUSE -dBATCH -dSAFER -dDELAYSAFER -sDEVICE=bbox -sOutputFile=NUL %infile% 2> %outfile%
+%GSC% -q -dNOPAUSE -dBATCH -P- -dSAFER -dDELAYSAFER -sDEVICE=bbox -sOutputFile=NUL %infile% 2> %outfile%
rem Ghostscript uses %outfile% to define the output file
-%GSC% -q -dNOPAUSE -dSAFER -dDELAYSAFER -sDEVICE=bit -sOutputFile=NUL ps2epsi.ps < %infile%
+%GSC% -q -dNOPAUSE -P- -dSAFER -dDELAYSAFER -sDEVICE=bit -sOutputFile=NUL ps2epsi.ps < %infile%
rem We bracket the actual file with a few commands to help encapsulation
echo %%%%Page: 1 1 >> %outfile%
@@ -23,7 +23,7 @@ echo userdict /setpagedevice /pop load p
rem Append the original onto the preview header
rem cat.ps uses the %infile% and %outfile% environment variables for the filenames
-%GSC% -q -dNOPAUSE -dBATCH -dSAFER -dDELAYSAFER -sDEVICE=bit -sOutputFile=NUL cat.ps
+%GSC% -q -dNOPAUSE -dBATCH -P- -dSAFER -dDELAYSAFER -sDEVICE=bit -sOutputFile=NUL cat.ps
echo %%%%EndDocument >> %outfile%
diff -up ghostscript-8.71/lib/ps2epsi.cmd.-P- ghostscript-8.71/lib/ps2epsi.cmd
--- ghostscript-8.71/lib/ps2epsi.cmd.-P- 2009-04-07 11:20:02.000000000 +0100
+++ ghostscript-8.71/lib/ps2epsi.cmd 2010-08-25 16:03:34.226018106 +0100
@@ -13,10 +13,10 @@ set outfile=%2
rem First we need to determine the bounding box. ps2epsi.ps below will pick
rem the result up from %outfile%
-gsos2 -q -dNOPAUSE -dBATCH -dSAFER -dDELAYSAFER -sDEVICE=bbox -sOutputFile=NUL %infile% 2> %outfile%
+gsos2 -q -dNOPAUSE -dBATCH -P- -dSAFER -dDELAYSAFER -sDEVICE=bbox -sOutputFile=NUL %infile% 2> %outfile%
rem Ghostscript uses %outfile% to define the output file
-gsos2 -q -dNOPAUSE -dSAFER -dDELAYSAFER -sDEVICE=bit -sOutputFile=NUL ps2epsi.ps < %infile%
+gsos2 -q -dNOPAUSE -P- -dSAFER -dDELAYSAFER -sDEVICE=bit -sOutputFile=NUL ps2epsi.ps < %infile%
rem We bracket the actual file with a few commands to help encapsulation
echo %%%%Page: 1 1 >> %outfile%
diff -up ghostscript-8.71/lib/ps2epsi.-P- ghostscript-8.71/lib/ps2epsi
--- ghostscript-8.71/lib/ps2epsi.-P- 2009-04-07 11:20:02.000000000 +0100
+++ ghostscript-8.71/lib/ps2epsi 2010-08-25 16:03:34.225018313 +0100
@@ -50,7 +50,7 @@ else
outfile=$2
fi
-"$GS_EXECUTABLE" -q -dBATCH -dNOPAUSE -dSAFER -dDELAYSAFER -sDEVICE=bbox -sOutputFile=/dev/null "${infile}" 2>${outfile}
+"$GS_EXECUTABLE" -q -dBATCH -dNOPAUSE -P- -dSAFER -dDELAYSAFER -sDEVICE=bbox -sOutputFile=/dev/null "${infile}" 2>${outfile}
ls -l "${infile}" |
awk 'F==1 {
@@ -92,7 +92,7 @@ awk 'F==1 {
}
' F=1 - F=2 "${outfile}" >>"$tmpfile"
-"$GS_EXECUTABLE" -q -dNOPAUSE -dSAFER -dDELAYSAFER -r72 -sDEVICE=bit -sOutputFile=/dev/null "$tmpfile" ps2epsi.ps "$tmpfile" <"${infile}" 1>&2
+"$GS_EXECUTABLE" -q -dNOPAUSE -P- -dSAFER -dDELAYSAFER -r72 -sDEVICE=bit -sOutputFile=/dev/null "$tmpfile" ps2epsi.ps "$tmpfile" <"${infile}" 1>&2
rm -f "$tmpfile"
rm -rf "$tmpdir"
diff -up ghostscript-8.71/lib/ps2pdf.cmd.-P- ghostscript-8.71/lib/ps2pdf.cmd
--- ghostscript-8.71/lib/ps2pdf.cmd.-P- 2007-09-18 20:01:34.000000000 +0100
+++ ghostscript-8.71/lib/ps2pdf.cmd 2010-08-25 16:03:34.227017613 +0100
@@ -35,7 +35,7 @@ if outfile='' then do
infile=infile''inext
end
-gs options '-q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile='outfile options '-c save pop -f' infile
+gs options '-q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile='outfile options '-c save pop -f' infile
exit
usage:
diff -up ghostscript-8.71/lib/ps2pdfwr.-P- ghostscript-8.71/lib/ps2pdfwr
--- ghostscript-8.71/lib/ps2pdfwr.-P- 2009-01-10 22:11:18.000000000 +0000
+++ ghostscript-8.71/lib/ps2pdfwr 2010-08-25 16:03:34.228018634 +0100
@@ -11,7 +11,7 @@ if test ! -x "$gs"; then
fi
GS_EXECUTABLE="$gs"
-OPTIONS="-dSAFER"
+OPTIONS="-P- -dSAFER"
while true
do
case "$1" in
@@ -42,4 +42,4 @@ fi
# We have to include the options twice because -I only takes effect if it
# appears before other options.
-exec "$GS_EXECUTABLE" $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr "-sOutputFile=$outfile" $OPTIONS -c .setpdfwrite -f "$infile"
+exec "$GS_EXECUTABLE" $OPTIONS -q -P- -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr "-sOutputFile=$outfile" $OPTIONS -c .setpdfwrite -f "$infile"
diff -up ghostscript-8.71/lib/ps2pdfxx.bat.-P- ghostscript-8.71/lib/ps2pdfxx.bat
--- ghostscript-8.71/lib/ps2pdfxx.bat.-P- 2008-02-25 16:10:43.000000000 +0000
+++ ghostscript-8.71/lib/ps2pdfxx.bat 2010-08-25 16:03:34.228018634 +0100
@@ -7,7 +7,7 @@ rem options into _.at, and then pass the
rem to this file.
call gssetgs.bat
-echo -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE#pdfwrite >_.at2
+echo -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE#pdfwrite >_.at2
if "%OS%"=="Windows_NT" goto nt
diff -up ghostscript-8.71/lib/ps2ps2.bat.-P- ghostscript-8.71/lib/ps2ps2.bat
--- ghostscript-8.71/lib/ps2ps2.bat.-P- 2005-12-29 01:11:43.000000000 +0000
+++ ghostscript-8.71/lib/ps2ps2.bat 2010-08-25 16:03:34.232018321 +0100
@@ -5,7 +5,7 @@
if %1/==/ goto usage
if %2/==/ goto usage
call gssetgs.bat
-echo -dNOPAUSE -dSAFER -dBATCH >_.at
+echo -dNOPAUSE -P- -dSAFER -dBATCH >_.at
:cp
if %3/==/ goto doit
echo %1 >>_.at
diff -up ghostscript-8.71/lib/ps2ps2.cmd.-P- ghostscript-8.71/lib/ps2ps2.cmd
--- ghostscript-8.71/lib/ps2ps2.cmd.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/ps2ps2.cmd 2010-08-25 16:03:34.232018321 +0100
@@ -12,7 +12,7 @@ gs='@gsos2'
if params='' then call usage
-options='-dNOPAUSE -dBATCH'
+options='-P- -dSAFER -dNOPAUSE -dBATCH'
/* extract options from command line */
i=1
diff -up ghostscript-8.71/lib/ps2ps2.-P- ghostscript-8.71/lib/ps2ps2
--- ghostscript-8.71/lib/ps2ps2.-P- 2009-01-10 22:11:18.000000000 +0000
+++ ghostscript-8.71/lib/ps2ps2 2010-08-25 16:03:34.231018659 +0100
@@ -8,7 +8,7 @@
# executable name set in the makefile
GS_EXECUTABLE=gs
-OPTIONS="-dSAFER"
+OPTIONS="-P- -dSAFER"
while true
do
case "$1" in
diff -up ghostscript-8.71/lib/ps2ps.bat.-P- ghostscript-8.71/lib/ps2ps.bat
--- ghostscript-8.71/lib/ps2ps.bat.-P- 2005-12-29 01:11:43.000000000 +0000
+++ ghostscript-8.71/lib/ps2ps.bat 2010-08-25 16:03:34.230018170 +0100
@@ -5,7 +5,7 @@
if %1/==/ goto usage
if %2/==/ goto usage
call gssetgs.bat
-echo -dNOPAUSE -dSAFER -dBATCH >_.at
+echo -dNOPAUSE -P- -dSAFER -dBATCH >_.at
:cp
if %3/==/ goto doit
echo %1 >>_.at
diff -up ghostscript-8.71/lib/ps2ps.cmd.-P- ghostscript-8.71/lib/ps2ps.cmd
--- ghostscript-8.71/lib/ps2ps.cmd.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/ps2ps.cmd 2010-08-25 16:03:34.230018170 +0100
@@ -12,7 +12,7 @@ gs='@gsos2'
if params='' then call usage
-options='-dNOPAUSE -dBATCH'
+options='-P- -dSAFER -dNOPAUSE -dBATCH'
/* extract options from command line */
i=1
diff -up ghostscript-8.71/lib/ps2ps.-P- ghostscript-8.71/lib/ps2ps
--- ghostscript-8.71/lib/ps2ps.-P- 2009-01-10 22:11:18.000000000 +0000
+++ ghostscript-8.71/lib/ps2ps 2010-08-25 16:03:34.229018406 +0100
@@ -11,7 +11,7 @@ if test ! -x "$gs"; then
fi
GS_EXECUTABLE="$gs"
-OPTIONS="-dSAFER"
+OPTIONS="-P- -dSAFER"
while true
do
case "$1" in
diff -up ghostscript-8.71/lib/pv.sh.-P- ghostscript-8.71/lib/pv.sh
--- ghostscript-8.71/lib/pv.sh.-P- 2010-08-25 16:00:06.000000000 +0100
+++ ghostscript-8.71/lib/pv.sh 2010-08-25 16:05:04.273017706 +0100
@@ -46,5 +46,5 @@ fi
trap "rm -rf $tmpfile" 0 1 2 15
#dvips -R -D$RESOLUTION -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile
dvips -R -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile
-$GS_EXECUTABLE $tmpfile
+$GS_EXECUTABLE -P- -dSAFER $tmpfile
exit 0
diff -up ghostscript-8.71/lib/ras1.upp.-P- ghostscript-8.71/lib/ras1.upp
--- ghostscript-8.71/lib/ras1.upp.-P- 2000-03-09 08:40:45.000000000 +0000
+++ ghostscript-8.71/lib/ras1.upp 2010-08-25 16:03:34.234018142 +0100
@@ -1,7 +1,7 @@
-supModel="SUN rasterfile, 1 Bit, 2 Colors (Ghostscript-Rendering)"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceGray
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/SunRaster
diff -up ghostscript-8.71/lib/ras24.upp.-P- ghostscript-8.71/lib/ras24.upp
--- ghostscript-8.71/lib/ras24.upp.-P- 2000-03-09 08:40:45.000000000 +0000
+++ ghostscript-8.71/lib/ras24.upp 2010-08-25 16:03:34.234018142 +0100
@@ -1,7 +1,7 @@
-supModel="SUN rasterfile, 24 Bit, 7 Colors (RGB-Error-Diffusion)"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceRGB
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/SunRaster
diff -up ghostscript-8.71/lib/ras32.upp.-P- ghostscript-8.71/lib/ras32.upp
--- ghostscript-8.71/lib/ras32.upp.-P- 2000-03-16 02:01:36.000000000 +0000
+++ ghostscript-8.71/lib/ras32.upp 2010-08-25 16:03:34.235018005 +0100
@@ -1,7 +1,7 @@
-supModel="SUN rasterfile, 32 Bit, 6+1 Colors (CMYK-Error-Diffusion)"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/SunRaster
diff -up ghostscript-8.71/lib/ras3.upp.-P- ghostscript-8.71/lib/ras3.upp
--- ghostscript-8.71/lib/ras3.upp.-P- 2000-03-09 08:40:45.000000000 +0000
+++ ghostscript-8.71/lib/ras3.upp 2010-08-25 16:03:34.235018005 +0100
@@ -1,7 +1,7 @@
-supModel="SUN rasterfile, 3 Bit, 7 Colors (RGB-Ghostscript)"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceRGB
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/SunRaster
diff -up ghostscript-8.71/lib/ras4.upp.-P- ghostscript-8.71/lib/ras4.upp
--- ghostscript-8.71/lib/ras4.upp.-P- 2000-03-09 08:40:45.000000000 +0000
+++ ghostscript-8.71/lib/ras4.upp 2010-08-25 16:03:34.236018595 +0100
@@ -1,7 +1,7 @@
-supModel="SUN rasterfile, 4 Bit, 6+1 Colors (CMYK-Ghostscript)"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/SunRaster
diff -up ghostscript-8.71/lib/ras8m.upp.-P- ghostscript-8.71/lib/ras8m.upp
--- ghostscript-8.71/lib/ras8m.upp.-P- 2000-03-09 08:40:45.000000000 +0000
+++ ghostscript-8.71/lib/ras8m.upp 2010-08-25 16:03:34.237018347 +0100
@@ -1,7 +1,7 @@
-supModel="SUN rasterfile, 8 Bit, 2 Colors (Error-Diffusion)"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceGray
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/SunRaster
diff -up ghostscript-8.71/lib/st640ihg.upp.-P- ghostscript-8.71/lib/st640ihg.upp
--- ghostscript-8.71/lib/st640ihg.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/st640ihg.upp 2010-08-25 16:03:34.238017934 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 640, 1440x720DpI, Grayscale, Inkjet Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceGray
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2XY
diff -up ghostscript-8.71/lib/st640ih.upp.-P- ghostscript-8.71/lib/st640ih.upp
--- ghostscript-8.71/lib/st640ih.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/st640ih.upp 2010-08-25 16:03:34.238017934 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 640, 1440x720DpI, Inkjet Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYKgenerate
-dupRendering=/FSCMYK32
-dupOutputFormat=/EscP2XY
diff -up ghostscript-8.71/lib/st640pg.upp.-P- ghostscript-8.71/lib/st640pg.upp
--- ghostscript-8.71/lib/st640pg.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/st640pg.upp 2010-08-25 16:03:34.240018217 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 640, 720x720DpI, Grayscale, Plain Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceGray
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2
diff -up ghostscript-8.71/lib/st640plg.upp.-P- ghostscript-8.71/lib/st640plg.upp
--- ghostscript-8.71/lib/st640plg.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/st640plg.upp 2010-08-25 16:03:34.241017825 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 640, 360x360DpI, Grayscale, Plain Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceGray
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2
diff -up ghostscript-8.71/lib/st640pl.upp.-P- ghostscript-8.71/lib/st640pl.upp
--- ghostscript-8.71/lib/st640pl.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/st640pl.upp 2010-08-25 16:03:34.240018217 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 640, 360x360DpI, Plain Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYKgenerate
-dupRendering=/FSCMYK32
-dupOutputFormat=/EscP2
diff -up ghostscript-8.71/lib/st640p.upp.-P- ghostscript-8.71/lib/st640p.upp
--- ghostscript-8.71/lib/st640p.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/st640p.upp 2010-08-25 16:03:34.239021116 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 640, 720x720DpI, Plain Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYKgenerate
-dupRendering=/FSCMYK32
-dupOutputFormat=/EscP2
diff -up ghostscript-8.71/lib/stc1520h.upp.-P- ghostscript-8.71/lib/stc1520h.upp
--- ghostscript-8.71/lib/stc1520h.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc1520h.upp 2010-08-25 16:03:34.242018088 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 1520, 1440x720DpI, Inkjet Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2XY
diff -up ghostscript-8.71/lib/stc200_h.upp.-P- ghostscript-8.71/lib/stc200_h.upp
--- ghostscript-8.71/lib/stc200_h.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc200_h.upp 2010-08-25 16:03:34.243017956 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 200 , 360x720DpI"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2XY
diff -up ghostscript-8.71/lib/stc2_h.upp.-P- ghostscript-8.71/lib/stc2_h.upp
--- ghostscript-8.71/lib/stc2_h.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc2_h.upp 2010-08-25 16:03:34.244018330 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color II, 720x720DpI, Special Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2
diff -up ghostscript-8.71/lib/stc2s_h.upp.-P- ghostscript-8.71/lib/stc2s_h.upp
--- ghostscript-8.71/lib/stc2s_h.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc2s_h.upp 2010-08-25 16:03:34.245018073 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color IIs, 720x720DpI, Special Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2XY
diff -up ghostscript-8.71/lib/stc2.upp.-P- ghostscript-8.71/lib/stc2.upp
--- ghostscript-8.71/lib/stc2.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc2.upp 2010-08-25 16:03:34.243017956 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color II / IIs, 360x360DpI, Plain Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2
diff -up ghostscript-8.71/lib/stc300bl.upp.-P- ghostscript-8.71/lib/stc300bl.upp
--- ghostscript-8.71/lib/stc300bl.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc300bl.upp 2010-08-25 16:03:34.246020372 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 300, 180x180 dpi, black only, Plain Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceGray
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscNozzleMap
diff -up ghostscript-8.71/lib/stc300bm.upp.-P- ghostscript-8.71/lib/stc300bm.upp
--- ghostscript-8.71/lib/stc300bm.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc300bm.upp 2010-08-25 16:03:34.247017939 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 300, 360x360 dpi, black only, Plain Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceGray
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscNozzleMap
diff -up ghostscript-8.71/lib/stc300.upp.-P- ghostscript-8.71/lib/stc300.upp
--- ghostscript-8.71/lib/stc300.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc300.upp 2010-08-25 16:03:34.245018073 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 300, 360x360 dpi, colour, Plain Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscNozzleMap
diff -up ghostscript-8.71/lib/stc500ph.upp.-P- ghostscript-8.71/lib/stc500ph.upp
--- ghostscript-8.71/lib/stc500ph.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc500ph.upp 2010-08-25 16:03:34.248017766 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 500, 720x720DpI, not Weaved, Plain Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2
diff -up ghostscript-8.71/lib/stc500p.upp.-P- ghostscript-8.71/lib/stc500p.upp
--- ghostscript-8.71/lib/stc500p.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc500p.upp 2010-08-25 16:03:34.247017939 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 500, 360x360DpI, not Weaved, Plain Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2
diff -up ghostscript-8.71/lib/stc600ih.upp.-P- ghostscript-8.71/lib/stc600ih.upp
--- ghostscript-8.71/lib/stc600ih.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc600ih.upp 2010-08-25 16:03:34.248017766 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 600, 1440x720DpI, Inkjet Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2XY
diff -up ghostscript-8.71/lib/stc600pl.upp.-P- ghostscript-8.71/lib/stc600pl.upp
--- ghostscript-8.71/lib/stc600pl.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc600pl.upp 2010-08-25 16:03:34.252018512 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 600, 360x360DpI, Plain Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2
diff -up ghostscript-8.71/lib/stc600p.upp.-P- ghostscript-8.71/lib/stc600p.upp
--- ghostscript-8.71/lib/stc600p.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc600p.upp 2010-08-25 16:03:34.249017816 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 600, 720x720DpI, Plain Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2
diff -up ghostscript-8.71/lib/stc640p.upp.-P- ghostscript-8.71/lib/stc640p.upp
--- ghostscript-8.71/lib/stc640p.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc640p.upp 2010-08-25 16:03:34.253018831 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 640, 720x720DpI, Inkjet Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2
diff -up ghostscript-8.71/lib/stc800ih.upp.-P- ghostscript-8.71/lib/stc800ih.upp
--- ghostscript-8.71/lib/stc800ih.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc800ih.upp 2010-08-25 16:03:34.254017666 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 800, 1440x720DpI, Inkjet Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2XY
diff -up ghostscript-8.71/lib/stc800pl.upp.-P- ghostscript-8.71/lib/stc800pl.upp
--- ghostscript-8.71/lib/stc800pl.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc800pl.upp 2010-08-25 16:03:34.255017709 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 800, 360x360DpI, Plain Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2
diff -up ghostscript-8.71/lib/stc800p.upp.-P- ghostscript-8.71/lib/stc800p.upp
--- ghostscript-8.71/lib/stc800p.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc800p.upp 2010-08-25 16:03:34.255017709 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color 800, 720x720DpI, Plain Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2
diff -up ghostscript-8.71/lib/stcany_h.upp.-P- ghostscript-8.71/lib/stcany_h.upp
--- ghostscript-8.71/lib/stcany_h.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stcany_h.upp 2010-08-25 16:03:34.258017830 +0100
@@ -1,7 +1,7 @@
-supModel="Any Epson Stylus Color, 720x720DpI"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYKgenerate
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2
diff -up ghostscript-8.71/lib/stcany.upp.-P- ghostscript-8.71/lib/stcany.upp
--- ghostscript-8.71/lib/stcany.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stcany.upp 2010-08-25 16:03:34.257018062 +0100
@@ -1,7 +1,7 @@
-supModel="Any Epson Stylus Color, 360x360DpI"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2
diff -up ghostscript-8.71/lib/stc_h.upp.-P- ghostscript-8.71/lib/stc_h.upp
--- ghostscript-8.71/lib/stc_h.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc_h.upp 2010-08-25 16:03:34.256017873 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color I (and PRO Series), 720x720DpI, Special Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2
diff -up ghostscript-8.71/lib/stc_l.upp.-P- ghostscript-8.71/lib/stc_l.upp
--- ghostscript-8.71/lib/stc_l.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc_l.upp 2010-08-25 16:03:34.257018062 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color I (and PRO Series), 360x360DpI, noWeave"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2
diff -up ghostscript-8.71/lib/stc.upp.-P- ghostscript-8.71/lib/stc.upp
--- ghostscript-8.71/lib/stc.upp.-P- 2002-05-08 07:26:56.000000000 +0100
+++ ghostscript-8.71/lib/stc.upp 2010-08-25 16:03:34.241017825 +0100
@@ -1,7 +1,7 @@
-supModel="Epson Stylus Color I (and PRO Series), 360x360DpI, Plain Paper"
-sDEVICE=uniprint
-dNOPAUSE
--dSAFER
+-P- -dSAFER
-dupColorModel=/DeviceCMYK
-dupRendering=/ErrorDiffusion
-dupOutputFormat=/EscP2
diff -up ghostscript-8.71/lib/unix-lpr.sh.-P- ghostscript-8.71/lib/unix-lpr.sh
--- ghostscript-8.71/lib/unix-lpr.sh.-P- 2005-12-28 19:56:24.000000000 +0000
+++ ghostscript-8.71/lib/unix-lpr.sh 2010-08-25 16:03:34.259018034 +0100
@@ -153,7 +153,7 @@ echo "\
} { pop } ifelse
} if
quit"
-) | $GS_EXECUTABLE -q -dNOPAUSE -sDEVICE=${device} \
+) | $GS_EXECUTABLE -q -P- -dSAFER -dNOPAUSE -sDEVICE=${device} \
-dBitsPerPixel=${bpp} $colorspec \
-sOutputFile=\|"${gsoutput}" -
# -sOutputFile=${gspipe} -
diff -up ghostscript-8.71/lib/wftopfa.-P- ghostscript-8.71/lib/wftopfa
--- ghostscript-8.71/lib/wftopfa.-P- 2007-07-05 20:04:29.000000000 +0100
+++ ghostscript-8.71/lib/wftopfa 2010-08-25 16:03:34.259018034 +0100
@@ -10,4 +10,4 @@ if test ! -x "$gs"; then
fi
GS_EXECUTABLE="$gs"
-exec "$GS_EXECUTABLE" -q -dNODISPLAY -- wftopfa.ps "$@"
+exec "$GS_EXECUTABLE" -q -P- -dSAFER -dNODISPLAY -- wftopfa.ps "$@"