rpms/hplip/F-12 hplip-pstotiff-is-rubbish.patch,1.2,1.3
Jiří Popelka
jpopelka at fedoraproject.org
Mon May 17 14:34:14 UTC 2010
Author: jpopelka
Update of /cvs/pkgs/rpms/hplip/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv21483
Modified Files:
hplip-pstotiff-is-rubbish.patch
Log Message:
fix pstotiff-is-rubbish.patch
hplip-pstotiff-is-rubbish.patch:
pstotiff | 51 +++++++++++----------------------------------------
1 file changed, 11 insertions(+), 40 deletions(-)
Index: hplip-pstotiff-is-rubbish.patch
===================================================================
RCS file: /cvs/pkgs/rpms/hplip/F-12/hplip-pstotiff-is-rubbish.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- hplip-pstotiff-is-rubbish.patch 17 May 2010 14:23:06 -0000 1.2
+++ hplip-pstotiff-is-rubbish.patch 17 May 2010 14:34:14 -0000 1.3
@@ -1,7 +1,7 @@
diff -up hplip-3.10.5/fax/filters/pstotiff.pstotiff-is-rubbish hplip-3.10.5/fax/filters/pstotiff
--- hplip-3.10.5/fax/filters/pstotiff.pstotiff-is-rubbish 2010-05-13 01:44:57.000000000 +0200
+++ hplip-3.10.5/fax/filters/pstotiff 2010-05-17 14:39:55.000000000 +0200
-@@ -1,40 +1,16 @@
+@@ -1,40 +1,11 @@
-#!/usr/bin/env python
-
-import os
@@ -49,12 +49,7 @@ diff -up hplip-3.10.5/fax/filters/pstoti
+ IN="$6"
+fi
+
-+TMPFILE=`mktemp /tmp/pstotiff.XXXXXX` || exit 1
+gs -I/usr/share/cups/fonts -sDEVICE=tiffg4 -dNOPAUSE -dBATCH \
+ -dSAFER -dPARANOIDSAFER \
+ -dSHORTERRORS -dWRITESYSTEMDICT -dGHOSTSCRIPT \
-+ -sstdout=%stderr -sOutputFile="$TMPFILE" "$IN"
-+RET=$?
-+cat "$TMPFILE"
-+rm -f "$TMPFILE"
-+exit $RET
++ -sstdout=%stderr -sOutputFile=- "$IN"
More information about the scm-commits
mailing list