I've noticed that several other projects have to bundle parts of lcms because they seem not to be exposed in the headers and shared libraries installed by lcms.

The parts in question are utils/jpgicc/iccjpeg.{c,h} files.

For reference how they are used, please see:

http://trac.webkit.org/browser/trunk/Source/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp?rev=137525
http://hg.mozilla.org/mozilla-central/file/3d6eb774184a/image/decoders/nsJPEGDecoder.cpp

It would be great to make it possible for these projects to just use lcms library installed on the system.

Feedback is welcome!

PaweĊ‚ Hajdan, Jr.