[cups.development] [RFE] STR #3808: [patch] CUPS does not support the colord color management framework on Linux

Richard Hughes hughsient at gmail.com
Wed Mar 2 03:18:32 PST 2011


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

A daemon called colord[1] now provides a system color management policy
service on Linux (not unlike some aspects of ColorSync) which interfaces
with the session for settings. GNOME Color Manager currently uses colord
to get the policy for display correction on Linux.

Myself and Tim Waugh have been working on CUPS to allow it to register
devices and profiles with colord, much like ColorSync.

Till Kamppeter has recently merged my patch to the CUPS ghostscript
filters that now query colord for the default ICC profile to use when
using Linux. I have sent other patches to Till for the foomatic filter
also.

With the attached patch to CUPS, the cupsd daemon adds devices and
profiles to colord, which can then have priorities or match rules (we call
these 'qualifiers') so that the user can manually assign a manufacturer
supplied profile, or even generate a profile themselves using tools like
argyllcms.

I've used a local git-svn mirror to generate the patch against svn trunk,
although if should apply fine if you use the patch -p1 option.

To test, you need to have colord installed. If colord isn't present then
no devices or profiles are added and we continue like normal without
errors.

The obvious next step would be to move all the ColorSync-specific code
from ipp.c to a new colorsync.c and then call the code in colorsync.c from
the new cupsdCmsRegisterPrinter() hooks in printer.c

I could make a patch for this change if required, although it might be
better if my patch was merged first from a diffstat size point of view.
The current minimal patch also appears to apply against 1.4.

I'm happy to rework the code as required, and can contribute the code
under any license required. I'm also happy to maintain the colord specific
code if this is required.

Thanks.

Richard Hughes

Link: http://www.cups.org/str.php?L3808
Version:  -feature
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Add-colord-support-to-CUPS-which-allows-Linux-printe.patch
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20110302/16d90923/attachment.ksh>


More information about the cups-devel mailing list