From 188c36554c9967c753950564542ddad59175491d Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Wed, 1 Nov 2006 17:44:50 +0000 Subject: [PATCH] - Send QueueChanged D-Bus signal on all job state changes. --- cups-eggcups.patch | 11 +++++++++++ cups.spec | 5 +++++ 2 files changed, 16 insertions(+) create mode 100644 cups-eggcups.patch diff --git a/cups-eggcups.patch b/cups-eggcups.patch new file mode 100644 index 0000000..09920c7 --- /dev/null +++ b/cups-eggcups.patch @@ -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"; diff --git a/cups.spec b/cups.spec index 6b2b961..caf61a4 100644 --- a/cups.spec +++ b/cups.spec @@ -44,6 +44,7 @@ Patch17: cups-relro.patch Patch18: cups-directed-broadcast.patch Patch19: cups-str2056.patch Patch20: cups-str2061.patch +Patch21: cups-eggcups.patch Patch100: cups-lspp.patch Epoch: 1 Url: http://www.cups.org/ @@ -146,6 +147,7 @@ lpd emulation. %patch18 -p1 -b .directed-broadcast %patch19 -p1 -b .str2056 %patch20 -p1 -b .str2061 +%patch21 -p1 -b .eggcups %if %lspp %patch100 -p1 -b .lspp @@ -424,6 +426,9 @@ rm -rf $RPM_BUILD_ROOT %{cups_serverbin}/daemon/cups-lpd %changelog +* Wed Nov 1 2006 Tim Waugh +- Send QueueChanged D-Bus signal on all job state changes. + * Tue Oct 31 2006 Tim Waugh - Added filter and PPD for text-only printer (bug #213030).