parent
2b082bd168
commit
019a41cd01
48
cups-str3535.patch
Normal file
48
cups-str3535.patch
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
diff -up cups-1.4.6/doc/help/ref-cupsd-conf.html.in.str3535 cups-1.4.6/doc/help/ref-cupsd-conf.html.in
|
||||||
|
--- cups-1.4.6/doc/help/ref-cupsd-conf.html.in.str3535 2010-07-14 04:43:27.000000000 +0200
|
||||||
|
+++ cups-1.4.6/doc/help/ref-cupsd-conf.html.in 2011-06-03 13:53:04.711110536 +0200
|
||||||
|
@@ -2646,7 +2646,7 @@ appear inside a <A HREF="#Location"><COD
|
||||||
|
<H3>Examples</H3>
|
||||||
|
|
||||||
|
<PRE CLASS="command">
|
||||||
|
-RIPCache 8m
|
||||||
|
+RIPCache 128m
|
||||||
|
RIPCache 1g
|
||||||
|
RIPCache 2048k
|
||||||
|
</PRE>
|
||||||
|
@@ -2657,8 +2657,9 @@ RIPCache 2048k
|
||||||
|
memory cache used by Raster Image Processor ("RIP") filters such
|
||||||
|
as <CODE>imagetoraster</CODE> and <CODE>pstoraster</CODE>. The
|
||||||
|
size can be suffixed with a "k" for kilobytes, "m" for megabytes,
|
||||||
|
-or "g" for gigabytes. The default cache size is "8m", or 8
|
||||||
|
-megabytes.</P>
|
||||||
|
+or "g" for gigabytes. The default cache size is "128m", or 128
|
||||||
|
+megabytes (compare <A HREF="http://www.cups.org/str.php?L3535">
|
||||||
|
+<CODE>CUPS STR 3535</CODE></A>).</P>
|
||||||
|
|
||||||
|
|
||||||
|
<H2 CLASS="title"><SPAN CLASS="info">CUPS 1.1.16</SPAN><A NAME="RootCertDuration">RootCertDuration</A></H2>
|
||||||
|
diff -up cups-1.4.6/scheduler/conf.c.str3535 cups-1.4.6/scheduler/conf.c
|
||||||
|
--- cups-1.4.6/scheduler/conf.c.str3535 2011-06-03 13:53:04.552112524 +0200
|
||||||
|
+++ cups-1.4.6/scheduler/conf.c 2011-06-03 13:53:04.712110524 +0200
|
||||||
|
@@ -543,7 +543,7 @@ cupsdReadConfiguration(void)
|
||||||
|
|
||||||
|
cupsdClearString(&DefaultPaperSize);
|
||||||
|
|
||||||
|
- cupsdSetString(&RIPCache, "8m");
|
||||||
|
+ cupsdSetString(&RIPCache, "128m");
|
||||||
|
|
||||||
|
cupsdSetString(&TempDir, NULL);
|
||||||
|
|
||||||
|
diff -up cups-1.4.6/scheduler/cupsfilter.c.str3535 cups-1.4.6/scheduler/cupsfilter.c
|
||||||
|
--- cups-1.4.6/scheduler/cupsfilter.c.str3535 2010-03-31 00:07:33.000000000 +0200
|
||||||
|
+++ cups-1.4.6/scheduler/cupsfilter.c 2011-06-03 13:53:04.713110512 +0200
|
||||||
|
@@ -1218,7 +1218,7 @@ read_cupsd_conf(const char *filename) /*
|
||||||
|
else
|
||||||
|
set_string(&FontPath, CUPS_FONTPATH);
|
||||||
|
|
||||||
|
- set_string(&RIPCache, "8m");
|
||||||
|
+ set_string(&RIPCache, "128m");
|
||||||
|
|
||||||
|
if ((temp = getenv("CUPS_SERVERBIN")) != NULL)
|
||||||
|
set_string(&ServerBin, temp);
|
@ -13,7 +13,7 @@
|
|||||||
Summary: Common Unix Printing System
|
Summary: Common Unix Printing System
|
||||||
Name: cups
|
Name: cups
|
||||||
Version: 1.4.6
|
Version: 1.4.6
|
||||||
Release: 17%{?dist}
|
Release: 18%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
|
Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
|
||||||
@ -75,6 +75,7 @@ Patch40: cups-avahi.patch
|
|||||||
Patch41: cups-icc.patch
|
Patch41: cups-icc.patch
|
||||||
Patch42: cups-usb-parallel.patch
|
Patch42: cups-usb-parallel.patch
|
||||||
Patch43: cups-job-state-changed.patch
|
Patch43: cups-job-state-changed.patch
|
||||||
|
Patch44: cups-str3535.patch
|
||||||
|
|
||||||
Patch100: cups-lspp.patch
|
Patch100: cups-lspp.patch
|
||||||
|
|
||||||
@ -295,6 +296,8 @@ module.
|
|||||||
%patch42 -p1 -b .usb-parallel
|
%patch42 -p1 -b .usb-parallel
|
||||||
# Fixed dbus notifier support for job-state-changed.
|
# Fixed dbus notifier support for job-state-changed.
|
||||||
%patch43 -p1 -b .job-state-changed
|
%patch43 -p1 -b .job-state-changed
|
||||||
|
# Set the default RIPCache to 128m (STR #3535, bug #549901).
|
||||||
|
%patch44 -p1 -b .str3535
|
||||||
|
|
||||||
%if %lspp
|
%if %lspp
|
||||||
# LSPP support.
|
# LSPP support.
|
||||||
@ -614,6 +617,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{php_extdir}/phpcups.so
|
%{php_extdir}/phpcups.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 03 2011 Jiri Popelka <jpopelka@redhat.com> 1:1.4.6-18
|
||||||
|
- Set the default RIPCache to 128m (STR #3535, bug #549901).
|
||||||
|
|
||||||
* Wed May 18 2011 Tim Waugh <twaugh@redhat.com> 1:1.4.6-17
|
* Wed May 18 2011 Tim Waugh <twaugh@redhat.com> 1:1.4.6-17
|
||||||
- Package parallel port printer device nodes (bug #678804).
|
- Package parallel port printer device nodes (bug #678804).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user