- Don't strip foomatic recommended strings from make/model names.
This commit is contained in:
parent
b9cdd79528
commit
8005b00b69
27
cups-foomatic-recommended.patch
Normal file
27
cups-foomatic-recommended.patch
Normal file
@ -0,0 +1,27 @@
|
||||
diff -up cups-1.3.2/scheduler/cups-driverd.c.foomatic-recommended cups-1.3.2/scheduler/cups-driverd.c
|
||||
--- cups-1.3.2/scheduler/cups-driverd.c.foomatic-recommended 2007-09-25 10:33:29.000000000 +0100
|
||||
+++ cups-1.3.2/scheduler/cups-driverd.c 2007-09-25 10:34:03.000000000 +0100
|
||||
@@ -180,7 +180,6 @@ add_ppd(const char *name, /* I - PPD na
|
||||
int type) /* I - Driver type */
|
||||
{
|
||||
ppd_info_t *ppd; /* PPD */
|
||||
- char *recommended; /* Foomatic driver string */
|
||||
|
||||
|
||||
/*
|
||||
@@ -238,15 +237,6 @@ add_ppd(const char *name, /* I - PPD na
|
||||
strlcpy(ppd->record.device_id, device_id, sizeof(ppd->record.device_id));
|
||||
|
||||
/*
|
||||
- * Strip confusing (and often wrong) "recommended" suffix added by
|
||||
- * Foomatic drivers...
|
||||
- */
|
||||
-
|
||||
- if ((recommended = strstr(ppd->record.make_and_model,
|
||||
- " (recommended)")) != NULL)
|
||||
- *recommended = '\0';
|
||||
-
|
||||
- /*
|
||||
* Return the new PPD pointer...
|
||||
*/
|
||||
|
@ -6,7 +6,7 @@
|
||||
Summary: Common Unix Printing System
|
||||
Name: cups
|
||||
Version: 1.3.2
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: GPLv2
|
||||
Group: System Environment/Daemons
|
||||
Source: ftp://ftp.easysw.com/pub/cups/test//cups-%{version}-source.tar.bz2
|
||||
@ -40,6 +40,7 @@ Patch13: cups-direct-usb.patch
|
||||
Patch14: cups-lpr-help.patch
|
||||
Patch15: cups-str2512.patch
|
||||
Patch16: cups-pid.patch
|
||||
Patch17: cups-foomatic-recommended.patch
|
||||
Patch19: cups-eggcups.patch
|
||||
Patch20: cups-getpass.patch
|
||||
Patch21: cups-driverd-timeout.patch
|
||||
@ -150,6 +151,7 @@ lpd emulation.
|
||||
%patch14 -p1 -b .lpr-help
|
||||
%patch15 -p1 -b .str2512
|
||||
%patch16 -p1 -b .pid
|
||||
%patch17 -p1 -b .foomatic-recommended
|
||||
%patch19 -p1 -b .eggcups
|
||||
%patch20 -p1 -b .getpass
|
||||
%patch21 -p1 -b .driverd-timeout
|
||||
@ -445,6 +447,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{cups_serverbin}/daemon/cups-lpd
|
||||
|
||||
%changelog
|
||||
* Tue Sep 25 2007 Tim Waugh <twaugh@redhat.com> 1:1.3.2-3
|
||||
- Don't strip foomatic recommended strings from make/model names.
|
||||
|
||||
* Fri Sep 21 2007 Tim Waugh <twaugh@redhat.com> 1:1.3.2-2
|
||||
- Write printcap when remote printers have timed out (bug #290831).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user