- Send QueueChanged D-Bus signal on all job state changes.

This commit is contained in:
Tim Waugh 2006-11-01 17:44:50 +00:00
parent 3b8dbccd7e
commit 188c36554c
2 changed files with 16 additions and 0 deletions

11
cups-eggcups.patch Normal file
View File

@ -0,0 +1,11 @@
--- cups-1.2.5/scheduler/subscriptions.c.eggcups 2006-09-29 03:26:29.000000000 +0100
+++ cups-1.2.5/scheduler/subscriptions.c 2006-11-01 17:32:33.000000000 +0000
@@ -1321,7 +1321,7 @@
what = "PrinterAdded";
else if (event & CUPSD_EVENT_PRINTER_DELETED)
what = "PrinterRemoved";
- else if (event & CUPSD_EVENT_PRINTER_CHANGED)
+ else if (event & (CUPSD_EVENT_PRINTER_CHANGED|CUPSD_EVENT_JOB_STATE_CHANGED))
what = "QueueChanged";
else if (event & CUPSD_EVENT_JOB_CREATED)
what = "JobQueuedLocal";

View File

@ -44,6 +44,7 @@ Patch17: cups-relro.patch
Patch18: cups-directed-broadcast.patch Patch18: cups-directed-broadcast.patch
Patch19: cups-str2056.patch Patch19: cups-str2056.patch
Patch20: cups-str2061.patch Patch20: cups-str2061.patch
Patch21: cups-eggcups.patch
Patch100: cups-lspp.patch Patch100: cups-lspp.patch
Epoch: 1 Epoch: 1
Url: http://www.cups.org/ Url: http://www.cups.org/
@ -146,6 +147,7 @@ lpd emulation.
%patch18 -p1 -b .directed-broadcast %patch18 -p1 -b .directed-broadcast
%patch19 -p1 -b .str2056 %patch19 -p1 -b .str2056
%patch20 -p1 -b .str2061 %patch20 -p1 -b .str2061
%patch21 -p1 -b .eggcups
%if %lspp %if %lspp
%patch100 -p1 -b .lspp %patch100 -p1 -b .lspp
@ -424,6 +426,9 @@ rm -rf $RPM_BUILD_ROOT
%{cups_serverbin}/daemon/cups-lpd %{cups_serverbin}/daemon/cups-lpd
%changelog %changelog
* Wed Nov 1 2006 Tim Waugh <twaugh@redhat.com>
- Send QueueChanged D-Bus signal on all job state changes.
* Tue Oct 31 2006 Tim Waugh <twaugh@redhat.com> * Tue Oct 31 2006 Tim Waugh <twaugh@redhat.com>
- Added filter and PPD for text-only printer (bug #213030). - Added filter and PPD for text-only printer (bug #213030).