[Digikam-devel] compatibleWithAdobeRGB1998.icc not getting installed

bradford powell bradford.powell at gmail.com
Tue Nov 19 20:41:24 GMT 2013

I think compatibleWithAdobeRGB1998.icc is supposed to be installed
in /usr/share/kde4/apps/libkdcraw/profiles/ when digikam is installed.

core/libs/dimg/filters/icc/iccprofile.cpp looks for it there (if there is
not the official AdobeRGB1998 profile somewhere?), and when it doesn't find
it, files with AdobeRGB colorspace are treated as though there is no
colorspace encoded in the file (ans they look desaturated)

I'm not sure if the digikam-libkdcraw should be changed so that this file
is installed, or if iccprofile.cpp should be changed to look elsewhere for
an AdobeRGB (or compatible) profile.

CMakeLists in extra/libkdcraw/profiles only installs files that match
*.icm, I suggest the following:

diff --git a/profiles/CMakeLists.txt b/profiles/CMakeLists.txt
index 7767115..4af3222 100644
--- a/profiles/CMakeLists.txt
+++ b/profiles/CMakeLists.txt
@@ -23,6 +23,7 @@
 # ============================================================

 FILE(GLOB icmfiles *.icm)
+FILE(GLOB iccfiles *.icc)

-INSTALL(FILES  ${icmfiles}
+INSTALL(FILES  ${icmfiles} ${iccfiles}
         DESTINATION ${DATA_INSTALL_DIR}/libkdcraw/profiles )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20131119/22e6bc83/attachment.html>

More information about the Digikam-devel mailing list