Bug#769058: cups: "/usr/lib/cups/filter/foomatic-rip failed" after last CUPS update
Control: tags -1 +moreinfo +patch
Le samedi, 24 octobre 2015, 23.11:44 Steve McIntyre a écrit :
> Is there any sign of this being filed/fixed upstream any time soon?
Could you test the attached patch against src:cups/jessie please? It's
basically a revert of the revert of the Debian-specific patch, that
upstream refused, but I'd be curious if it solves your issue.
> I've just had to change all of my shared printer definitions for my
> local network. Wheezy clients were working fine, jessie clients were
> just dropping compressed files on the server that it barfed on. I've
> just told all my clients explicitly to send as postscript now, and
> I've got things working again. This setup had been working fine for
> years.
Well. Bugs happen. Printing bugs are more than often
setup/network/printer specific, and therefore hard to reproduce. Sorry
for that.
Cheers,
OdyX
diff --git a/debian/changelog b/debian/changelog
index bff361e..724270a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+cups (1.7.5-11+deb8u1+bug769058) jessie; urgency=medium
+
+ * Revert "Dropped the FINAL_CONTENT_TYPE revert, stick back to upstream"
+ (Closes: #769058)
+
+ -- Didier Raboud <odyx@debian.org> Tue, 27 Oct 2015 19:49:04 +0100
+
cups (1.7.5-11+deb8u1) jessie-security; urgency=high
* Import 1.7 upstream fix for CERT VU#810572: Privilege escalation through
diff --git a/debian/patches/revert-upstream-change-to-FINAL_CONTENT_TYPE-to-fix-printing-to-remote-CUPS-servers.patch b/debian/patches/revert-upstream-change-to-FINAL_CONTENT_TYPE-to-fix-printing-to-remote-CUPS-servers.patch
new file mode 100644
index 0000000..f2179cb
--- /dev/null
+++ b/debian/patches/revert-upstream-change-to-FINAL_CONTENT_TYPE-to-fix-printing-to-remote-CUPS-servers.patch
@@ -0,0 +1,19 @@
+Description: Reverted upstream change to FINAL_CONTENT_TYPE in order to fix printing to remote CUPS servers
+Bug-RedHat: https://bugzilla.redhat.com/show_bug.cgi?id=1010580
+Last-Updated: 2013-11-28
+--- a/scheduler/job.c
++++ b/scheduler/job.c
+@@ -600,12 +600,7 @@
+
+ if (!job->printer->remote)
+ {
+- for (filter = (mime_filter_t *)cupsArrayLast(filters);
+- filter && filter->dst;
+- filter = (mime_filter_t *)cupsArrayPrev(filters))
+- if (strcmp(filter->dst->super, "printer") ||
+- strcmp(filter->dst->type, job->printer->name))
+- break;
++ filter = (mime_filter_t *)cupsArrayLast(filters);
+
+ if (filter && filter->dst)
+ {
diff --git a/debian/patches/series b/debian/patches/series
index e226189..76db8b3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -44,6 +44,7 @@ ppd-poll-with-client-conf.patch
removecvstag.patch
# Debian patches
+revert-upstream-change-to-FINAL_CONTENT_TYPE-to-fix-printing-to-remote-CUPS-servers.patch
do-not-broadcast-with-hostnames.patch
reactivate_recommended_driver.patch
add-ipp-backend-of-cups-1.4.patch
Reply to: