[OS X] search path for color profiles doesn't include '/System/Library/ColorSync/Profiles'

Bug #494932 reported by su_v on 2009-12-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Medium
Jon A. Cruz

Bug Description

the function 'ColorProfile::getProfileDirs()' to add default locations on OS X for color profiles in 'src/color-profile.cpp' only adds
  /Library/ColorSync/Profiles
but misses those installed in
  /System/Library/ColorSync/Profiles

Searched directories for color profiles:
 /Users/suv/.local/share/color/icc
 /path/to/Inkscape.app/Contents/Resources/share/color/icc
 /Library/ColorSync/Profiles

Links:
<http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/annotate/head%3A/src/color-profile.cpp#L646>

System info:
Mac OS X 10.5.8 (9L30)
XQuartz 2.4.0 (xorg-server 1.5.3-apple14)
Hardware:
  Model Identifier: MacBookPro5,1

A) Inkscape 0.47 r22583, built Nov 24 2009
Inkscape Preferences > Misc > System info:
User config: /Users/suv/.config
User data: /Users/suv/.local/share
User cache: /Users/suv/.cache
System config: /etc/xdg
System data: /Volumes/blue/src/Inkscape/Inkscape-0.47-1.LEOPARD+/Inkscape-047-1.app/Contents/Resources/share
PIXMAP: Contents/Resources/icons
DATA: /Users/mjwybrow/tmp/ink-x11/inkinstall/share
UI: Contents/Resources/ui
Icon theme: /Users/suv/.icons
  /Users/suv/.local/share/icons
  /Volumes/blue/src/Inkscape/Inkscape-0.47-1.LEOPARD+/Inkscape-047-1.app/Contents/Resources/share/icons
  /Volumes/blue/src/Inkscape/Inkscape-0.47-1.LEOPARD+/Inkscape-047-1.app/Contents/Resources/share/pixmaps
  /Users/suv/.local/share/inkscape/icons
  /Volumes/blue/src/Inkscape/Inkscape-0.47-1.LEOPARD+/Inkscape-047-1.app/Contents/Resources/share/inkscape/icons
  /Users/suv/.config/inkscape/icons
  Contents/Resources/icons

B) Inkscape 0.46+devel, built Dec 8 2009 (r8878)
Inkscape Preferences > Misc > System info:
User config: /Users/suv/.config
User data: /Users/suv/.local/share
User cache: /Users/suv/.cache
System config: /etc/xdg
System data: /Volumes/blue/src/Inkscape/Inkscape-BZR/Inkscape.app/Contents/Resources/share
PIXMAP: Contents/Resources/icons
DATA: /Volumes/blue/src/Inkscape/src/inkscape-bzr/packaging/macosx/../../Build/share
UI: Contents/Resources/ui
Icon theme: /Users/suv/.icons
  /Users/suv/.local/share/icons
  /Volumes/blue/src/Inkscape/Inkscape-BZR/Inkscape.app/Contents/Resources/share/icons
  /Volumes/blue/src/Inkscape/Inkscape-BZR/Inkscape.app/Contents/Resources/share/pixmaps
  /Users/suv/.local/share/inkscape/icons
  /Volumes/blue/src/Inkscape/Inkscape-BZR/Inkscape.app/Contents/Resources/share/inkscape/icons
  /Users/suv/.config/inkscape/icons
  Contents/Resources/icons

Note: System data ($XDG_DATA_DIRS) is set in the bundled launcher script
<http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/8094>

su_v (suv-lp) on 2009-12-10
tags: added: osx
su_v (suv-lp) wrote :

see also follow-up report:
Bug #494940 “Crash on quit after adding wrong links in $XDG_DATA_HOME/color/icc ”:
<https://bugs.launchpad.net/inkscape/+bug/494940>

description: updated
su_v (suv-lp) wrote :

After linking
  /System/Library/ColorSync/Profiles
to
  ~/.local/share/color/icc/Profiles
these are the available color profiles in the profile search path of Inkscape:

LeWitt:~ suv$ ls -1 /Library/ColorSync/Profiles/
 Black & White.icc
 Blue Tone.icc
 Displays/
 Gray Tone.icc
 Lightness Decrease.icc
 Lightness Increase.icc
 Sepia Tone.icc
 WebSafeColors.icc
LeWitt:~ suv$ ls -1 /Library/ColorSync/Profiles/Displays/
 Color LCD-4272102.icc
LeWitt:~ suv$ ls -1 ~/.local/share/color/icc/Profiles/
 AdobeRGB1998.icc
 Generic CMYK Profile.icc
 Generic Gray Profile.icc
 Generic Lab Profile.icc
 Generic RGB Profile.icc
 Generic XYZ Profile.icc
 sRGB Profile.icc
LeWitt:~ suv$

in Inkscape I can choose these:
a) Preferences > CM > Display profile:
- Adobe RGB (1998)
- Generic RGB Profile
- sRGB IEC61966-2.1
- Color LCD
b) Preferences > CM > Device profile:
- Generic CMYK Profile
  (no <None> choice available once CMYK is selected)
c) Document Properties > CM > Available Color Profiles:
- Black & White
- Blue Tone
- Gray Tone
- Lightness Decrease
- Lightness Increase
- Sepia
- Web Safe Colors

These profiles are not selectable anywhere:
 Generic Gray Profile.icc
 Generic Lab Profile.icc
 Generic XYZ Profile.icc

Is this correct and expected or should they be available as either display or device profile as well?

System info: Inkscape r8878 on OS X 10.5.8, new preferences file

summary: - [osx] search path for color profiles doesn't include
+ [OS X] search path for color profiles doesn't include
'/System/Library/ColorSync/Profiles'
su_v (suv-lp) on 2009-12-10
description: updated
su_v (suv-lp) wrote :

standard locations for ColorSync profiles on Mac OS X:
 System profiles: /System/Library/ColorSync/Profiles/
 Computer profiles: /Library/ColorSync/Profiles/
 User Profiles: ~/Library/ColorSync/Profiles/
 Network profiles: /Network/Library/ColorSync/Profiles/

Color Management Modules (CMMs) are located here:
 /Library/ColorSync/CMMs/

References:
Mac OS X 10.4 Help: Where are ColorSync profiles located?:
<http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh820.html>
Mac OS X 10.5 Help: Where are ColorSync profiles located?:
<http://docs.info.apple.com/article.html?path=Mac/10.5/en/8483.html>
Mac OS X 10.6 Help: Where are ColorSync profiles located?:
<http://docs.info.apple.com/article.html?path=Mac/10.6/en/8483.html>

Changed in inkscape:
status: New → Confirmed
Changed in inkscape:
importance: Undecided → Medium
status: Confirmed → In Progress
Changed in inkscape:
status: In Progress → Fix Committed
su_v (suv-lp) wrote :

 trunk: r9834
0.48.x: r9689

Changed in inkscape:
milestone: none → 0.48.1
jazzynico (jazzynico) on 2011-03-05
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers