- Reset status after successful ipp job (bug #548219, STR #3460).

This commit is contained in:
Tim Waugh 2010-01-15 10:40:36 +00:00
parent 15e970ec8d
commit 991b829f32
2 changed files with 20 additions and 1 deletions

14
cups-str3460.patch Normal file
View File

@ -0,0 +1,14 @@
diff -up cups-1.4.2/backend/ipp.c.str3460 cups-1.4.2/backend/ipp.c
--- cups-1.4.2/backend/ipp.c.str3460 2010-01-15 10:25:14.720258721 +0000
+++ cups-1.4.2/backend/ipp.c 2010-01-15 10:28:57.218384231 +0000
@@ -1435,7 +1435,10 @@ main(int argc, /* I - Number of comm
else if (ipp_status > IPP_OK_CONFLICT)
return (CUPS_BACKEND_FAILED);
else
+ {
+ _cupsLangPuts(stderr, _("INFO: Ready to print.\n"));
return (CUPS_BACKEND_OK);
+ }
}

View File

@ -9,7 +9,7 @@
Summary: Common Unix Printing System Summary: Common Unix Printing System
Name: cups Name: cups
Version: 1.4.2 Version: 1.4.2
Release: 21%{?dist} Release: 22%{?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 @@ Patch47: cups-str3428.patch
Patch48: cups-str3431.patch Patch48: cups-str3431.patch
Patch49: cups-gnutls-gcrypt-threads.patch Patch49: cups-gnutls-gcrypt-threads.patch
Patch50: cups-str3458.patch Patch50: cups-str3458.patch
Patch51: cups-str3460.patch
Patch100: cups-lspp.patch Patch100: cups-lspp.patch
@ -255,6 +256,7 @@ module.
%patch48 -p1 -b .str3431 %patch48 -p1 -b .str3431
%patch49 -p1 -b .gnutls-gcrypt-threads %patch49 -p1 -b .gnutls-gcrypt-threads
%patch50 -p1 -b .str3458 %patch50 -p1 -b .str3458
%patch51 -p1 -b .str3460
%if %lspp %if %lspp
%patch100 -p1 -b .lspp %patch100 -p1 -b .lspp
@ -553,6 +555,9 @@ rm -rf $RPM_BUILD_ROOT
%{php_extdir}/phpcups.so %{php_extdir}/phpcups.so
%changelog %changelog
* Fri Jan 15 2010 Tim Waugh <twaugh@redhat.com> - 1:1.4.2-22
- Reset status after successful ipp job (bug #548219, STR #3460).
* Thu Jan 14 2010 Tim Waugh <twaugh@redhat.com> - 1:1.4.2-21 * Thu Jan 14 2010 Tim Waugh <twaugh@redhat.com> - 1:1.4.2-21
- Install udev rules in correct place (bug #530378). - Install udev rules in correct place (bug #530378).