Magellan Linux

Contents of /trunk/ghostscript-gpl/patches/ghostscript-gpl-9.00-scripts.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1145 - (show annotations) (download)
Wed Sep 22 20:47:39 2010 UTC (14 years, 1 month ago) by niro
File size: 1402 byte(s)
-re-diffed patches
1 diff -Naur ghostscript-9.00/lib/dvipdf ghostscript-9.00-magellan/lib/dvipdf
2 --- ghostscript-9.00/lib/dvipdf 2010-06-03 02:32:07.000000000 +0200
3 +++ ghostscript-9.00-magellan/lib/dvipdf 2010-09-22 22:46:46.000000000 +0200
4 @@ -44,4 +44,4 @@
5
6 # We have to include the options twice because -I only takes effect if it
7 # appears before other options.
8 -exec dvips -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite -
9 +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 -
10 diff -Naur ghostscript-9.00/lib/pv.sh ghostscript-9.00-magellan/lib/pv.sh
11 --- ghostscript-9.00/lib/pv.sh 2010-06-03 02:32:07.000000000 +0200
12 +++ ghostscript-9.00-magellan/lib/pv.sh 2010-09-22 22:48:01.000000000 +0200
13 @@ -31,7 +31,7 @@
14 GS_EXECUTABLE=gs
15
16 TEMPDIR=.
17 -PAGE=$1
18 +PAGE="$1"
19 shift
20 FILE="$1"
21 shift
22 @@ -44,7 +44,7 @@
23 tmpfile="$TEMPDIR/$FILE.$$.pv"
24 fi
25 trap "rm -rf $tmpfile" 0 1 2 15
26 -#dvips -D$RESOLUTION -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile
27 -dvips -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile
28 +#dvips -R -D$RESOLUTION -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile
29 +dvips -R -p $PAGE -n 1 "$FILE" "$@" -o $tmpfile
30 $GS_EXECUTABLE -P- -dSAFER $tmpfile
31 exit 0