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

Michael Sweet msweet at apple.com
Tue May 10 13:15:43 PDT 2011

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.

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=detail&atid=101537&aid=3299815&group_id=1537
> 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?bug=625925
> 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");
> Regards,
> Roger
> - ----------------------------------------------------------------------
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=101537&aid=3299815&group_id=1537
> ------- End of forwarded message -------
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Gimp-print-devel mailing list
> Gimp-print-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gimp-print-devel

Michael Sweet, Senior Printing System Engineer, PWG Chair

More information about the openicc mailing list