Bug 271163 - print/cups: unable to change print color
Summary: print/cups: unable to change print color
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tijl Coosemans
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-01 08:53 UTC by chuanwei.foo
Modified: 2023-05-01 13:30 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (tijl)


Attachments
Patch for print/cups (5.00 KB, patch)
2023-05-01 08:53 UTC, chuanwei.foo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description chuanwei.foo 2023-05-01 08:53:29 UTC
Created attachment 241899 [details]
Patch for print/cups

Some users are stuck with grayscale printing because CUPS ignores the "ColorModel" option set by users.

The bug has been fixed upstream:

* https://github.com/OpenPrinting/cups/pull/417/commits/b0f1a00a02e9f92f8a3c42ec90806ba4e4e532ec
    "Don't override color settings from print dialog"

* https://github.com/OpenPrinting/cups/pull/451/commits/c114e3c9827af77e4574ec92f46ed4688b0a3059
    "scheduler/ipp.c: Convert incoming ColorModel attribute"

I have attached a patch that contains the two commits above.
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-05-01 12:56:28 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=61428d4580e26bfceed1d8fafaa55952510cc07c

commit 61428d4580e26bfceed1d8fafaa55952510cc07c
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2023-05-01 12:39:24 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2023-05-01 12:50:50 +0000

    print/cups: Fix issues with color printing

    PR:             271163

 print/cups/Makefile | 6 ++++++
 print/cups/distinfo | 8 +++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-05-01 13:07:31 UTC
A commit in branch 2023Q2 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a3b2aee9cebf83154300c3859764588e0f708dcf

commit a3b2aee9cebf83154300c3859764588e0f708dcf
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2023-05-01 12:39:24 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2023-05-01 13:05:29 +0000

    print/cups: Fix issues with color printing

    PR:             271163
    (cherry picked from commit 61428d4580e26bfceed1d8fafaa55952510cc07c)

 print/cups/Makefile | 6 ++++++
 print/cups/distinfo | 8 +++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)