Set cost for text filters to 200.
This means the paps filter gets preference for the time being (bug #988909). Resolves: rhbz#988909
This commit is contained in:
parent
bc596f54d0
commit
bd57f8fbf0
22
cups-filters-textfilters.patch
Normal file
22
cups-filters-textfilters.patch
Normal file
@ -0,0 +1,22 @@
|
||||
diff -up cups-filters-1.0.35/mime/cupsfilters.convs.textfilters cups-filters-1.0.35/mime/cupsfilters.convs
|
||||
--- cups-filters-1.0.35/mime/cupsfilters.convs.textfilters 2013-07-29 16:08:25.244864850 +0100
|
||||
+++ cups-filters-1.0.35/mime/cupsfilters.convs 2013-07-29 16:09:40.030216976 +0100
|
||||
@@ -46,12 +46,12 @@ application/postscript application/pdf
|
||||
application/vnd.adobe-reader-postscript application/vnd.cups-postscript 66 pstops
|
||||
|
||||
application/pdf application/vnd.cups-pdf 66 pdftopdf
|
||||
-application/x-cshell application/pdf 0 texttopdf
|
||||
-application/x-csource application/pdf 0 texttopdf
|
||||
-application/x-perl application/pdf 0 texttopdf
|
||||
-application/x-shell application/pdf 0 texttopdf
|
||||
-text/plain application/pdf 0 texttopdf
|
||||
-text/html application/pdf 0 texttopdf
|
||||
+application/x-cshell application/pdf 200 texttopdf
|
||||
+application/x-csource application/pdf 200 texttopdf
|
||||
+application/x-perl application/pdf 200 texttopdf
|
||||
+application/x-shell application/pdf 200 texttopdf
|
||||
+text/plain application/pdf 200 texttopdf
|
||||
+text/html application/pdf 200 texttopdf
|
||||
image/gif application/vnd.cups-pdf 33 imagetopdf
|
||||
image/png application/vnd.cups-pdf 33 imagetopdf
|
||||
image/jpeg application/vnd.cups-pdf 33 imagetopdf
|
@ -4,7 +4,7 @@
|
||||
Summary: OpenPrinting CUPS filters and backends
|
||||
Name: cups-filters
|
||||
Version: 1.0.35
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
|
||||
# For a breakdown of the licensing, see COPYING file
|
||||
# GPLv2: filters: commandto*, imagetoraster, pdftops, rasterto*,
|
||||
@ -25,6 +25,7 @@ Source1: cups-browsed.service
|
||||
Patch1: cups-filters-man.patch
|
||||
Patch2: cups-filters-lookup.patch
|
||||
Patch3: cups-filters-page-label.patch
|
||||
Patch4: cups-filters-textfilters.patch
|
||||
|
||||
Requires: cups-filters-libs%{?_isa} = %{version}-%{release}
|
||||
|
||||
@ -105,6 +106,9 @@ This is the development package for OpenPrinting CUPS filters and backends.
|
||||
# Added support for page-label (bug #987515).
|
||||
%patch3 -p1 -b .page-label
|
||||
|
||||
# Set cost for text filters to 200 (bug #988909).
|
||||
%patch4 -p1 -b .textfilters
|
||||
|
||||
%build
|
||||
# work-around Rpath
|
||||
./autogen.sh
|
||||
@ -212,6 +216,10 @@ fi
|
||||
%{_libdir}/libfontembed.so
|
||||
|
||||
%changelog
|
||||
* Tue Jul 30 2013 Tim Waugh <twaugh@redhat.com> - 1.0.35-6
|
||||
- Set cost for text filters to 200 so that the paps filter gets
|
||||
preference for the time being (bug #988909).
|
||||
|
||||
* Wed Jul 24 2013 Tim Waugh <twaugh@redhat.com> - 1.0.35-5
|
||||
- Handle page-label when printing n-up as well.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user