[cups-filters/f20] Adjust filter costs so application/vnd.adobe-read-postscript input doesn't go via pstotiff (bug #100

Tim Waugh twaugh at fedoraproject.org
Tue Nov 19 13:01:56 UTC 2013


commit 8b7e0c531ca41802f5bebaa378f6e078a792b95f
Author: Tim Waugh <twaugh at redhat.com>
Date:   Tue Nov 19 11:52:56 2013 +0000

    Adjust filter costs so application/vnd.adobe-read-postscript input doesn't go via pstotiff (bug #1008166).
    
    Resolves: rhbz#1008166

 cups-filters-filter-costs.patch |   12 ++++++++++++
 cups-filters.spec               |   11 ++++++++++-
 2 files changed, 22 insertions(+), 1 deletions(-)
---
diff --git a/cups-filters-filter-costs.patch b/cups-filters-filter-costs.patch
new file mode 100644
index 0000000..bbe8c81
--- /dev/null
+++ b/cups-filters-filter-costs.patch
@@ -0,0 +1,12 @@
+diff -up cups-filters-1.0.41/mime/cupsfilters.convs.filter-costs cups-filters-1.0.41/mime/cupsfilters.convs
+--- cups-filters-1.0.41/mime/cupsfilters.convs.filter-costs	2013-11-19 11:51:06.279294346 +0000
++++ cups-filters-1.0.41/mime/cupsfilters.convs	2013-11-19 11:51:07.960301722 +0000
+@@ -85,7 +85,7 @@ application/vnd.cups-pdf	application/vnd
+ #
+ 
+ application/vnd.cups-pdf	application/vnd.cups-raster	99	gstoraster
+-application/vnd.cups-postscript	application/vnd.cups-raster	200	gstoraster
++application/vnd.cups-postscript	application/vnd.cups-raster	175	gstoraster
+ application/vnd.cups-pdf	application/vnd.cups-raster	100	pdftoraster
+ image/gif			application/vnd.cups-raster	100	imagetoraster
+ image/png			application/vnd.cups-raster	100	imagetoraster
diff --git a/cups-filters.spec b/cups-filters.spec
index 364e73b..a52e90d 100644
--- a/cups-filters.spec
+++ b/cups-filters.spec
@@ -4,7 +4,7 @@
 Summary: OpenPrinting CUPS filters and backends
 Name:    cups-filters
 Version: 1.0.41
-Release: 3%{?dist}
+Release: 4%{?dist}
 
 # For a breakdown of the licensing, see COPYING file
 # GPLv2:   filters: commandto*, imagetoraster, pdftops, rasterto*,
@@ -24,6 +24,7 @@ Source0: http://www.openprinting.org/download/cups-filters/cups-filters-%{versio
 Patch1: cups-filters-pdf-landscape.patch
 Patch2: cups-filters-dbus.patch
 Patch3: cups-filters-memory-leaks.patch
+Patch4: cups-filters-filter-costs.patch
 
 Requires: cups-filters-libs%{?_isa} = %{version}-%{release}
 
@@ -116,6 +117,10 @@ This is the development package for OpenPrinting CUPS filters and backends.
 # Fix memory leaks in cups-browsed (bug #1027317).
 %patch3 -p1 -b .memory-leaks
 
+# Adjust filter costs so application/vnd.adobe-read-postscript input
+# doesn't go via pstotiff (bug #1008166).
+%patch4 -p1 -b .filter-costs
+
 %build
 # work-around Rpath
 ./autogen.sh
@@ -230,6 +235,10 @@ fi
 %{_libdir}/libfontembed.so
 
 %changelog
+* Tue Nov 19 2013 Tim Waugh <twaugh at redhat.com> - 1.0.41-4
+- Adjust filter costs so application/vnd.adobe-read-postscript input
+  doesn't go via pstotiff (bug #1008166).
+
 * Thu Nov 14 2013 Jaromír Končický <jkoncick at redhat.com> - 1.0.41-3
 - Fix memory leaks in cups-browsed (bug #1027317).
 


More information about the scm-commits mailing list