- cups-1.4.4-set_default_RIPCache_128m.patch enlarges

the CUPS upstream default RIPCache from 8m to 128m
  to avoid various kind of printout failures
  (STR #3535, and Novell/openSUSE Bugzilla bnc#628233).

OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=221
This commit is contained in:
Johannes Meixner 2011-09-29 09:35:35 +00:00 committed by Git OBS Bridge
parent b9e308554a
commit 101e4da859
3 changed files with 66 additions and 3 deletions

View File

@ -0,0 +1,45 @@
--- scheduler/conf.c.orig 2010-09-15 12:37:30.000000000 +0200
+++ scheduler/conf.c 2010-04-23 20:56:34.000000000 +0200
@@ -540,7 +540,7 @@ cupsdReadConfiguration(void)
cupsdClearString(&DefaultPaperSize);
- cupsdSetString(&RIPCache, "8m");
+ cupsdSetString(&RIPCache, "128m");
cupsdSetString(&TempDir, NULL);
--- scheduler/cupsfilter.c.orig 2010-03-31 00:07:33.000000000 +0200
+++ scheduler/cupsfilter.c 2010-09-15 12:39:14.000000000 +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);
--- doc/help/ref-cupsd-conf.html.in.orig 2010-04-23 20:56:34.000000000 +0200
+++ doc/help/ref-cupsd-conf.html.in 2010-09-15 12:45:44.000000000 +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>

View File

@ -1,18 +1,30 @@
-------------------------------------------------------------------
Thu Sep 29 11:20:00 CEST 2011 - jsmeix@suse.de
- cups-1.4.4-set_default_RIPCache_128m.patch enlarges
the CUPS upstream default RIPCache from 8m to 128m
to avoid various kind of printout failures
(STR #3535, and Novell/openSUSE Bugzilla bnc#628233).
-------------------------------------------------------------------
Fri Sep 23 09:54:39 CEST 2011 - meissner@suse.de
- cups-devel baselibs package for Wine 32bit on 64bit building.
- cups-devel baselibs package for Wine 32bit on 64bit building
(added "cups-devel requires cups-libs..." to baselibs.conf).
-------------------------------------------------------------------
Sun Sep 18 00:09:02 UTC 2011 - jengelh@medozas.de
- Remove redundant tags/sections from specfile
(removed "norootforbuild" and the "clean" section).
-------------------------------------------------------------------
Mon Jul 25 12:08:35 CEST 2011 - meissner@suse.de
- "no" locale is "nb" (norwegian bokmal) these days
- "zh" is probably meant as "zh_CN", as "zh_TW" exists.
(move /usr/share/locale/no to /usr/share/locale/nb).
- "zh" is probably meant as "zh_CN", as "zh_TW" exists
(move /usr/share/locale/zh to /usr/share/locale/zh_CN).
-------------------------------------------------------------------
Thu Feb 10 11:51:56 CET 2011 - jsmeix@suse.de
@ -38,7 +50,7 @@ Fri Jan 14 14:25:39 CET 2011 - jsmeix@suse.de
-------------------------------------------------------------------
Thu Dec 9 13:26:06 CET 2010 - jsmeix@suse.de
- Fixing coolo's quick and ditry unconditioned
- Fixed coolo's quick and ditry unconditioned
"PreReq: sysvinit(syslog)" stuff from below because build fails
everywhere except openSUSE:Factory (i.e. openSUSE 11.4)
because sysvinit(syslog) is nowhere else provided.

View File

@ -108,6 +108,10 @@ Patch104: cups-1.4-additional_policies.patch
# Patch105 reverts changes by CUPS STR #3461 as band-aid workaround
# to avoid https://bugzilla.novell.com/show_bug.cgi?id=617026 for now:
Patch105: cups-1.4.4-str3461-1.4.reverted.patch
# Patch106 enlarges the CUPS upstream default RIPCache from 8m to 128m
# to avoid various kind of printout failures
# see https://bugzilla.novell.com/show_bug.cgi?id=628233
Patch106: cups-1.4.4-set_default_RIPCache_128m.patch
# Install into this non-root directory (required when norootforbuild is used):
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -229,6 +233,8 @@ http://www.cups.org
# Patch105 reverts changes by CUPS STR #3461 as band-aid workaround
# to avoid https://bugzilla.novell.com/show_bug.cgi?id=617026 for now:
%patch105 -p1
# Patch106 enlarges the CUPS upstream default RIPCache from 8m to 128m:
%patch106
%build
# Disable SILENT run of make so that make runs verbose as usual: