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

Resolves: rhbz#1008166
This commit is contained in:
Tim Waugh 2013-11-19 11:52:56 +00:00
parent af64aeb120
commit 8b7e0c531c
2 changed files with 22 additions and 1 deletions

View File

@ -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

View File

@ -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@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@redhat.com> - 1.0.41-3
- Fix memory leaks in cups-browsed (bug #1027317).