Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927137 - net-print/libcupsfilters-2.0.0: partially break printing colored data on a B/W printer using IPP Everywhere
Summary: net-print/libcupsfilters-2.0.0: partially break printing colored data on a B/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2024-03-16 11:05 UTC by Tobias Leupold
Modified: 2024-04-10 03:08 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Leupold 2024-03-16 11:05:33 UTC
Dear devs,

the recent update from net-print/cups-filters-1.28.17-r2 to net-print/cups-filters-2.0.0 broke color printing, as least for my printer (Brother HL-L2370DN).

I see the same problem on my Artix notebook, so I think this is actually an upstream issue, not a Gentoo-specific one. I already filed an upstream bug report with scans showing the problem at https://github.com/OpenPrinting/cups-filters/issues/578 .

Masking net-print/cups-filters-2.0.0 and downgrading to 1.28.17-r2 fixes the problem here.

So: Please don't remove v1.28.17-r2 from the tree until this issue is resolved ... Thanks a lot!

Cheers, Tobias
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-16 11:06:54 UTC
Thank you!
Comment 2 Tobias Leupold 2024-03-28 06:56:51 UTC
This actually has already been fixed upstream, but there's no new release yet. The issue has been moved to libcupsfilters, which do cause this.

Three patches have been mentioned there:

https://github.com/OpenPrinting/libcupsfilters/commit/c6175a2f.patch
https://github.com/OpenPrinting/libcupsfilters/commit/107091186.patch
https://github.com/OpenPrinting/libcupsfilters/commit/78cc6758.patch

For c6175a2f.patch, I had to remove the first hunk to make it work, but this was only a whitespace chance. The rest and the other two worked as-is.

After rebuilding libcupsfilters and restartting cupsd, my printer worked as before the update.

I don't know when they will do a bugfix release. But this is serious breakage. Maybe, this would be worth a -r4 ebuild from Gentoo's side?
Comment 3 Larry the Git Cow gentoo-dev 2024-04-08 16:34:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0d3a113d5842f182fb13f51e011a83bcfe791fe

commit c0d3a113d5842f182fb13f51e011a83bcfe791fe
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-04-08 16:33:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-08 16:34:19 +0000

    net-print/libcupsfilters: backport color vs. b/w fixes
    
    Closes: https://bugs.gentoo.org/927137
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/libcupsfilters-2.0.0-color-space.patch   | 254 +++++++++++++++++++++
 .../libcupsfilters-2.0.0-raster-build-fix.patch    |  28 +++
 .../files/libcupsfilters-2.0.0-raster-gray.patch   |  50 ++++
 .../libcupsfilters/libcupsfilters-2.0.0-r4.ebuild  |  77 +++++++
 4 files changed, 409 insertions(+)
Comment 4 Tobias Leupold 2024-04-08 18:08:28 UTC
Works fine. Thanks for including this :-)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-04-10 03:08:49 UTC
Thanks!