diff --git a/cups-eggcups.patch b/cups-eggcups.patch index b0bc308..9467009 100644 --- a/cups-eggcups.patch +++ b/cups-eggcups.patch @@ -28,7 +28,7 @@ dnl New default port definition for IPP... --- 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-03 09:59:16.000000000 +0000 -@@ -1321,13 +1321,14 @@ +@@ -1321,13 +1321,13 @@ what = "PrinterAdded"; else if (event & CUPSD_EVENT_PRINTER_DELETED) what = "PrinterRemoved"; @@ -37,16 +37,14 @@ else if (event & CUPSD_EVENT_JOB_CREATED) what = "JobQueuedLocal"; else if ((event & CUPSD_EVENT_JOB_STATE) && job && -- job->state_value == IPP_JOB_PROCESSING) -+ job->state_value == IPP_JOB_PROCESSING && -+ dest && !strncmp (dest->device_uri, "ipp:", 4)) + job->state_value == IPP_JOB_PROCESSING) what = "JobStartedLocal"; + else if (event & (CUPSD_EVENT_PRINTER_CHANGED|CUPSD_EVENT_JOB_STATE_CHANGED)) + what = "QueueChanged"; else return; -@@ -1363,7 +1364,7 @@ +@@ -1363,7 +1363,7 @@ dbus_message_append_iter_init(message, &iter); if (dest) dbus_message_iter_append_string(&iter, &(dest->name)); diff --git a/cups.spec b/cups.spec index 734fdc5..60a71c0 100644 --- a/cups.spec +++ b/cups.spec @@ -6,7 +6,7 @@ Summary: Common Unix Printing System Name: cups Version: 1.2.5 -Release: 6%{?dist} +Release: 7%{?dist} License: GPL Group: System Environment/Daemons Source: ftp://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2 @@ -426,6 +426,9 @@ rm -rf $RPM_BUILD_ROOT %{cups_serverbin}/daemon/cups-lpd %changelog +* Mon Nov 6 2006 Tim Waugh 1:1.2.5-7 +- One more D-Bus signal fix (bug #212763). + * Fri Nov 3 2006 Tim Waugh 1:1.2.5-6 - Restore missed JobQueuedRemote D-Bus signal in ipp backend (part of bug #212763).