Version: 2.5.0 (using Devel) OS: Linux the underlying libraw can use LCMS2, but libkdcraw does not check for it /var/git/kde-graphics/libkdcraw$ git grep lcms CMakeLists.txt:macro_log_feature(LCMS_FOUND "lcms" "A small-footprint color management engine" "http://ww ChangeLog: Make it to find the lcms from nonstandard places provided by user ChangeLog: --with-extra-* flags. Fixes detecting lcms installed from pkgsrc ChangeLog: no need to link with lcms. Only dcraw.c require it README:liblcms >= 1.14.x (used by libraw) http://www.littlecms.com libraw/libraw/libraw_types.h:#include <lcms.h> libraw/libraw/libraw_types.h:#include <lcms2.h> Reproducible: Always Actual Results: only uses lcms1 Expected Results: builds with lcms2 improve CMakeLists.txt to check for and use LCMS2 which is more stable and thread safe.
patch is welcome to support lcms2. note: i already tried to port all code from digiKAm from lcms to lcms2, and API are changed indeep without any guide and help to do it quickly. Gilles Caulier
Created attachment 67240 [details] lcms2 patch patch to use lcms2 instead of lcms1 the FindLCMS2.cmake file comes from the Calligra project, who have dropped support for lcms1 completely. everything builds and links ok for me using lcms2-2.3
Treeve, Thanks for you patch. On my systems (Mandriva and Mageia), LCMS2 is not yet available by default. So, LCMS must be checked first and after LCMS2, at least for transition time. Please fix your patch accordingly. Do not drop LCMS as well. Thanks in advance Gilles Caulier
Created attachment 67245 [details] alllow either lcms1 or lcms2 revised patch, now checks for either of lcms1/2 tested with all combinations installed or missing
Git commit d0e61353aeff0ec89cfa4a2de0c767286784c239 by Gilles Caulier. Committed on 30/12/2011 at 20:10. Pushed by cgilles into branch 'master'. apply patch #67240 from Treeve Jelbert to support LCMS or LCMS2 as Color Management shared lib. M +19 -7 CMakeLists.txt A +72 -0 cmake/modules/FindLCMS2.cmake http://commits.kde.org/libkdcraw/d0e61353aeff0ec89cfa4a2de0c767286784c239
Ubuntu plans to depcrecate lcms1 for 12.04 which will ship with KDE 4.8. Can this be safely cherry-picked for 4.8? I've confirmed that it builds, now the question is whether it'll work.