- Use a temporary file in pstotiff to allow gs random access.
This commit is contained in:
parent
d0bc1ba9bf
commit
07f0a4bf65
@ -1,7 +1,7 @@
|
||||
diff -up hplip-3.10.2/fax/filters/pstotiff.pstotiff-is-rubbish hplip-3.10.2/fax/filters/pstotiff
|
||||
--- hplip-3.10.2/fax/filters/pstotiff.pstotiff-is-rubbish 2010-02-26 12:05:42.883265245 +0000
|
||||
+++ hplip-3.10.2/fax/filters/pstotiff 2010-02-26 12:06:06.546266294 +0000
|
||||
@@ -1,43 +1,11 @@
|
||||
--- hplip-3.10.2/fax/filters/pstotiff.pstotiff-is-rubbish 2010-02-24 23:07:09.000000000 +0000
|
||||
+++ hplip-3.10.2/fax/filters/pstotiff 2010-03-01 09:52:50.676611385 +0000
|
||||
@@ -1,43 +1,16 @@
|
||||
-#!/usr/bin/env python
|
||||
-
|
||||
-import os
|
||||
@ -52,7 +52,12 @@ diff -up hplip-3.10.2/fax/filters/pstotiff.pstotiff-is-rubbish hplip-3.10.2/fax/
|
||||
+ 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=- "$IN"
|
||||
+ -sstdout=%stderr -sOutputFile="$TMPFILE" "$IN"
|
||||
+RET=$?
|
||||
+cat "$TMPFILE"
|
||||
+rm -f "$TMPFILE"
|
||||
+exit $RET
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
Summary: HP Linux Imaging and Printing Project
|
||||
Name: hplip
|
||||
Version: 3.10.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+ and MIT
|
||||
Group: System Environment/Daemons
|
||||
Conflicts: system-config-printer < 0.6.132
|
||||
@ -362,6 +362,9 @@ fi
|
||||
/usr/bin/update-desktop-database &>/dev/null ||:
|
||||
|
||||
%changelog
|
||||
* Mon Mar 1 2010 Tim Waugh <twaugh@redhat.com> - 3.10.2-2
|
||||
- Use a temporary file in pstotiff to allow gs random access.
|
||||
|
||||
* Fri Feb 26 2010 Tim Waugh <twaugh@redhat.com> - 3.10.2-1
|
||||
- 3.10.2. No longer need preferences-crash patch.
|
||||
- The pstotiff filter is rubbish so replace it (launchpad #528394).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user