Bug 691951 - no unix path name delimiter
Summary: no unix path name delimiter
Status: RESOLVED WONTFIX
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: General (show other bugs)
Version: 9.00
Hardware: PC Linux
: P4 normal
Assignee: Alex Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-10 18:41 UTC by Kai-Uwe Behrmann
Modified: 2013-06-11 09:15 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.