- Require paps and use it for printing text (bug #197214).

This commit is contained in:
Tim Waugh 2006-06-29 11:53:08 +00:00
parent 99b3aeaa68
commit 3fcd028d7d
2 changed files with 30 additions and 1 deletions

21
cups-paps.patch Normal file
View File

@ -0,0 +1,21 @@
--- cups-1.2.1/conf/mime.convs.paps 2006-06-29 12:51:14.000000000 +0100
+++ cups-1.2.1/conf/mime.convs 2006-06-29 12:51:54.000000000 +0100
@@ -46,12 +46,12 @@
application/pdf application/postscript 33 pdftops
application/postscript application/vnd.cups-postscript 66 pstops
application/vnd.hp-HPGL application/postscript 66 hpgltops
-application/x-cshell application/postscript 33 texttops
-application/x-csource application/postscript 33 texttops
-application/x-perl application/postscript 33 texttops
-application/x-shell application/postscript 33 texttops
-text/plain application/postscript 33 texttops
-text/html application/postscript 33 texttops
+application/x-cshell application/postscript 33 texttopaps
+application/x-csource application/postscript 33 texttopaps
+application/x-perl application/postscript 33 texttopaps
+application/x-shell application/postscript 33 texttopaps
+text/plain application/postscript 33 texttopaps
+text/html application/postscript 33 texttopaps
image/gif application/vnd.cups-postscript 66 imagetops
image/png application/vnd.cups-postscript 66 imagetops
image/jpeg application/vnd.cups-postscript 66 imagetops

View File

@ -5,7 +5,7 @@
Summary: Common Unix Printing System Summary: Common Unix Printing System
Name: cups Name: cups
Version: 1.2.1 Version: 1.2.1
Release: 14 Release: 15
License: GPL License: GPL
Group: System Environment/Daemons Group: System Environment/Daemons
Source: ftp://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2 Source: ftp://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
@ -36,6 +36,7 @@ Patch13: cups-str1758.patch
Patch14: cups-str1736.patch Patch14: cups-str1736.patch
Patch15: cups-str1776.patch Patch15: cups-str1776.patch
Patch16: cups-no-export-ssllibs.patch Patch16: cups-no-export-ssllibs.patch
Patch17: cups-paps.patch
Patch18: cups-language.patch Patch18: cups-language.patch
Patch20: cups-direct-usb.patch Patch20: cups-direct-usb.patch
Patch22: cups-dest-cache-v2.patch Patch22: cups-dest-cache-v2.patch
@ -74,6 +75,9 @@ BuildRequires: gcc >= 4.0.1
BuildPrereq: dbus-devel >= 0.60 BuildPrereq: dbus-devel >= 0.60
Requires: dbus >= 0.60 Requires: dbus >= 0.60
# The paps package uses pango to render UTF-8 text to PostScript.
Requires: paps >= 0.6.6-8.fc6
%package devel %package devel
Summary: Common Unix Printing System - development environment Summary: Common Unix Printing System - development environment
Group: Development/Libraries Group: Development/Libraries
@ -131,6 +135,7 @@ lpd emulation.
%patch14 -p1 -b .str1736 %patch14 -p1 -b .str1736
%patch15 -p1 -b .str1776 %patch15 -p1 -b .str1776
%patch16 -p1 -b .no-export-ssllibs %patch16 -p1 -b .no-export-ssllibs
%patch17 -p1 -b .paps
%patch18 -p1 -b .language %patch18 -p1 -b .language
%patch20 -p1 -b .direct-usb %patch20 -p1 -b .direct-usb
%patch22 -p1 -b .dest-cache-v2 %patch22 -p1 -b .dest-cache-v2
@ -396,6 +401,9 @@ rm -rf $RPM_BUILD_ROOT
%{cups_serverbin}/daemon/cups-lpd %{cups_serverbin}/daemon/cups-lpd
%changelog %changelog
* Thu Jun 29 2006 Tim Waugh <twaugh@redhat.com> 1:1.2.1-15
- Require paps and use it for printing text (bug #197214).
* Thu Jun 15 2006 Tim Waugh <twaugh@redhat.com> 1:1.2.1-14 * Thu Jun 15 2006 Tim Waugh <twaugh@redhat.com> 1:1.2.1-14
- Don't export in SSLLIBS to cups-config. - Don't export in SSLLIBS to cups-config.