[Openicc] [Gimp-print-devel] [noreply at sourceforge.net: [ gimp-print-Bugs-3299815 ] CUPS PPD broken on Linux]

Robert Krawitz rlk at alum.mit.edu
Tue May 10 17:50:37 PDT 2011

On Tue, 10 May 2011 13:15:43 -0700, Michael Sweet wrote:
> All these lines do for Mac OS X is ensure that we consistently use
> the same default colorspaces (sRGB or generic CMYK) since the
> defaults changed in 10.6 and the assumption on Linux was to use sRGB
> anyways. We can make these conditional for Mac OS X (__APPLE__) and
> add Gutenprint-specific profiles later as needed.

I'd like to try to find a more generic mechanism for this; conditional
compilation gives me the willies.

> On May 10, 2011, at 4:39 AM, Robert Krawitz wrote:
>> OK, it looks like we finally have to find a real solution for this
>> problem.  At the very least, how do we determine, on any given system,
>> what profiles we need to embed in the PPD file and where to find them?
>> ------- Start of forwarded message -------
>> Date: Tue, 10 May 2011 09:21:38 +0100
>> To: noreply at sourceforge.net
>> From: "SourceForge.net" <noreply at sourceforge.net>
>> Subject: [ gimp-print-Bugs-3299815 ] CUPS PPD broken on Linux
>> Content-Type: text/plain; charset="UTF-8"
>> Bugs item #3299815, was opened at 2011-05-10 09:21
>> Message generated for change (Tracker Item Submitted) made by rleigh
>> You can respond by visiting: 
>> https://sourceforge.net/tracker/?funcÞtail&atid1537&aid299815&group_id37
>> Please note that this message will contain a full copy of the comment thread,
>> including the initial issue submission, for this request,
>> not just the latest update.
>> Category: CUPS native interface
>> Group: 5.2-open
>> Status: Open
>> Resolution: None
>> Priority: 5
>> Private: No
>> Submitted By: Roger Leigh (rleigh)
>> Assigned to: Nobody/Anonymous (nobody)
>> Summary: CUPS PPD broken on Linux
>> Initial Comment:
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bugb5925
>> genppd.c hardcodes paths to ICC profiles.  These are Mac-specific,
>> and are not present on Linux systems.  With a recent version of
>> CUPS, which makes use of ICC profiles, printing breaksdue to the
>> profiles being invalid.  This has been broken since 5.2.1, but not
>> noticed because up until now CUPS was not making use of the
>> information on Linux systems.  This block of code should be made
>> conditional so that this information is only put into the PPD on
>> Mac builds, or is only used on Mac versions of CUPS if you can make
>> it conditional inside the PPD.
>>   /* Macintosh color management */
>>  gzputs(fp, "*cupsICCProfile Gray../Grayscale: \"/System/Library/ColorSync/Profiles/sRGB Profile.icc\"\n");
>>  gzputs(fp, "*cupsICCProfile RGB../Color:      \"/System/Library/ColorSync/Profiles/sRGB Profile.icc\"\n");
>>  gzputs(fp, "*cupsICCProfile CMYK../Color:     \"/System/Library/ColorSync/Profiles/Generic CMYK Profile.icc\"\n");
>>  gzputs(fp, "*APSupportsCustomColorMatching: true\n");
>>  gzputs(fp, "*APDefaultCustomColorMatchingProfile: sRGB\n");
>>  gzputs(fp, "*APCustomColorMatchingProfile: sRGB\n");

More information about the openicc mailing list