rpms/cups/F-11 cups-str3425.patch, 1.2, 1.3 cups.spec, 1.560, 1.561 cups-delete-active-printer.patch, 1.1, NONE

Tim Waugh twaugh at fedoraproject.org
Wed Dec 23 11:18:31 UTC 2009


Author: twaugh

Update of /cvs/pkgs/rpms/cups/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27452

Modified Files:
	cups-str3425.patch cups.spec 
Removed Files:
	cups-delete-active-printer.patch 
Log Message:
* Wed Dec 23 2009 Tim Waugh <twaugh at redhat.com> - 1:1.4.2-20
- Fixed patch for STR #3425 again by adding in back-ported change from
  svn revision 8929 (bug #549899).  No longer need
  delete-active-printer patch.


cups-str3425.patch:
 job.c  |   10 ++++------
 main.c |   21 +++++++++++----------
 2 files changed, 15 insertions(+), 16 deletions(-)

Index: cups-str3425.patch
===================================================================
RCS file: /cvs/pkgs/rpms/cups/F-11/cups-str3425.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- cups-str3425.patch	19 Dec 2009 13:03:19 -0000	1.2
+++ cups-str3425.patch	23 Dec 2009 11:18:31 -0000	1.3
@@ -1,6 +1,6 @@
 diff -up cups-1.4.2/scheduler/job.c.str3425 cups-1.4.2/scheduler/job.c
---- cups-1.4.2/scheduler/job.c.str3425	2009-12-19 12:12:18.346037032 +0000
-+++ cups-1.4.2/scheduler/job.c	2009-12-19 12:12:35.806163016 +0000
+--- cups-1.4.2/scheduler/job.c.str3425	2009-12-23 11:00:06.070056898 +0000
++++ cups-1.4.2/scheduler/job.c	2009-12-23 11:02:22.889056232 +0000
 @@ -253,7 +253,7 @@ cupsdCancelJobs(const char *dest,	/* I -
        if (purge)
  	cupsdSetJobState(job, IPP_JOB_CANCELED, CUPSD_JOB_PURGE,
@@ -33,9 +33,18 @@ diff -up cups-1.4.2/scheduler/job.c.str3
  	break;
    }
  
+@@ -2507,7 +2505,7 @@ cupsdSetJobState(
+   * Finalize the job immediately if we forced things...
+   */
+ 
+-  if (action == CUPSD_JOB_FORCE)
++  if (action >= CUPSD_JOB_FORCE && job->printer)
+     finalize_job(job);
+ 
+  /*
 diff -up cups-1.4.2/scheduler/main.c.str3425 cups-1.4.2/scheduler/main.c
---- cups-1.4.2/scheduler/main.c.str3425	2009-12-19 12:12:18.221037105 +0000
-+++ cups-1.4.2/scheduler/main.c	2009-12-19 12:12:18.434038283 +0000
+--- cups-1.4.2/scheduler/main.c.str3425	2009-12-23 11:00:05.687056970 +0000
++++ cups-1.4.2/scheduler/main.c	2009-12-23 11:00:06.156057773 +0000
 @@ -389,7 +389,7 @@ main(int  argc,				/* I - Number of comm
      * parent's file descriptors to be blocking.  This is a workaround for a
      * limitation of userland libpthread on OpenBSD.


Index: cups.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cups/F-11/cups.spec,v
retrieving revision 1.560
retrieving revision 1.561
diff -u -p -r1.560 -r1.561
--- cups.spec	22 Dec 2009 17:04:19 -0000	1.560
+++ cups.spec	23 Dec 2009 11:18:31 -0000	1.561
@@ -9,7 +9,7 @@
 Summary: Common Unix Printing System
 Name: cups
 Version: 1.4.2
-Release: 19%{?dist}
+Release: 20%{?dist}
 License: GPLv2
 Group: System Environment/Daemons
 Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
@@ -74,9 +74,8 @@ Patch59: cups-str3436.patch
 Patch60: cups-str3425.patch
 Patch61: cups-str3428.patch
 Patch62: cups-str3431.patch
-Patch63: cups-delete-active-printer.patch
-Patch64: cups-gnutls-gcrypt-threads.patch
-Patch65: cups-str3458.patch
+Patch63: cups-gnutls-gcrypt-threads.patch
+Patch64: cups-str3458.patch
 
 Patch100: cups-lspp.patch
 Epoch: 1
@@ -255,9 +254,8 @@ module. 
 %patch60 -p1 -b .str3425
 %patch61 -p1 -b .str3428
 %patch62 -p1 -b .str3431
-%patch63 -p1 -b .delete-active-printer
-%patch64 -p1 -b .gnutls-gcrypt-threads
-%patch65 -p1 -b .str3458
+%patch63 -p1 -b .gnutls-gcrypt-threads
+%patch64 -p1 -b .str3458
 
 %if %lspp
 %patch100 -p1 -b .lspp
@@ -549,6 +547,11 @@ rm -rf $RPM_BUILD_ROOT
 %{php_extdir}/phpcups.so
 
 %changelog
+* Wed Dec 23 2009 Tim Waugh <twaugh at redhat.com> - 1:1.4.2-20
+- Fixed patch for STR #3425 again by adding in back-ported change from
+  svn revision 8929 (bug #549899).  No longer need
+  delete-active-printer patch.
+
 * Tue Dec 22 2009 Tim Waugh <twaugh at redhat.com> - 1:1.4.2-19
 - Fixed ipp authentication for servers requiring authentication for
   IPP-Get-Printer-Attributes (bug #548873, STR #3458).


--- cups-delete-active-printer.patch DELETED ---




More information about the scm-commits mailing list