Bug 691951

Summary: no unix path name delimiter
Product: Ghostscript Reporter: Kai-Uwe Behrmann <ku.b>
Component: GeneralAssignee: Alex Cherepanov <alex>
Status: RESOLVED WONTFIX    
Severity: normal CC: henry.stiles
Priority: P4    
Version: 9.00   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---

Description Kai-Uwe Behrmann 2011-02-10 18:41:15 UTC
Unix users expect the double point ':' path name delimiter to be used
as for most environment variables like PATH, MAN_PATH or LD_LIBRARY_PATH.
All these use ':'.

reproduce:
The -sICCProfilesDir= argument does not use all path names separated by ':'

expected behaviour:
  -sICCProfilesDir=/opt/local/share/color/icc/OpenICC/:/opt/local/share/color/icc/Oyranos/:/opt/local/share/color/icc/lcms/:/opt/local/share/color/icc/basICColor/
should work
Comment 1 Henry Stiles 2011-02-10 18:51:37 UTC
Alex can you look at this one?   Michael has a full plate, probably we aren't using gp_file_name_list_separator.
Comment 2 Alex Cherepanov 2011-02-15 06:43:04 UTC
Ghostscript works as it was designed.
Every procedure in gsicc_manage.c assumes that ICCProfilesDir is a single
directory that can be used directly.
Comment 3 Kai-Uwe Behrmann 2011-02-15 06:55:49 UTC
(In reply to comment #2)
> Ghostscript works as it was designed.
> Every procedure in gsicc_manage.c assumes that ICCProfilesDir is a single
> directory that can be used directly.

Thanks for confirming.

On Linux exist, like on most other platforms, many paths that must often be used at once. E.g. /usr/share/color/icc/OpenICC/sRGB.icc /usr/share/color/icc/basICColor/ISOcoated_v2_bas.ICC

Currently users are forced to specify ICC profiles with absolute names.
Comment 4 Ken Sharp 2013-06-11 09:15:50 UTC
I'm going to close this, I don't believe that the user needs to specify absolute names for profiles unless they reside in different directories. If the user wants to use profiles from multiple places then they should simply copy them to a single location and point Ghostscript at that single location.

If I am mis-understaning the issue please feel free to reopen it.