Page MenuHomeSolus

Update cups-filters to 1.27.0
ClosedPublic

Authored by kyrios123 on Jan 30 2020, 8:39 PM.

Details

Summary
  • cups-browsed: Eliminate the use of the local CUPS daemon's (the CUPS we are attached to) port number completely, so that for attaching to an arbitrary local CUPS daemon listening on an arbitrary port (or even not listening on localhost at all) it is enough to tell cups-browsed the domain socket the CUPS daemon is listening on.
  • cups-browsed, libcupsfilters: Identify DNS-SD-reported printers as of the local CUPS daemon via UUID and not via the port on which the local CUPS is listening, as we do not always have this port available.
  • cups-browsed: Leave the port for legacy CUPS browsing and broadcasting on 631, do not use a possible alternative port of the CUPS we are attached to. The legacy CUPS servers we communicate with are always remote ones.
  • libcupsfilters: in the PPD generator prioritize print-color-mode-supported against pwg-raster-document-type-supported
  • rastertopdf, rastertops, texttopdf, pdftoraster, mupdftoraster: Handle zero page jobs, corrections on zero-page job handling
  • cups-browsed: When restarting after a crash make sure that local queue names have same upper/lower case as before.
  • cups-browsed: Small code improvements to reduce crash probability.

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan

Unit tests are OK

Diff Detail

Repository
R576 cups-filters
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

kyrios123 created this revision.Jan 30 2020, 8:39 PM
kyrios123 requested review of this revision.Jan 30 2020, 8:39 PM

Tested it with my two printers Brother and HP and they are still working

kyrios123 edited the test plan for this revision. (Show Details)Feb 6 2020, 8:22 PM
DataDrake accepted this revision.Feb 6 2020, 8:22 PM
DataDrake added a subscriber: DataDrake.

LGTM. Thanks!

This revision is now accepted and ready to land.Feb 6 2020, 8:22 PM
This revision was automatically updated to reflect the committed changes.