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:
parent
af64aeb120
commit
8b7e0c531c
12
cups-filters-filter-costs.patch
Normal file
12
cups-filters-filter-costs.patch
Normal 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
|
@ -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).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user