Comment 6 for bug 1378843

Revision history for this message
su_v (suv-lp) wrote :

AFAICT the patch in comment #5 is not directly related to cmake-based builds - it is also required for autotools-based trunk builds (rev >= 13466) if configured without any lcms support [1].

Without patch, a build without any lcms support fails with:

  CXX svg/svg-color.o
../../src/svg/svg-color.cpp:359:9: error: use of undeclared identifier 'sp_color_hsl_to_rgb_floatv'
        sp_color_hsl_to_rgb_floatv( rgb, h, s, l );
        ^
1 error generated.
make[3]: *** [svg/svg-color.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Patch tested successfully on OS X 10.7.5 with lp:inkscape r13748 configured with '--enable-lcms=no' (using default autotools-based build system).

--
[1[ the same issue also was mentioned on irc earlier - see log for #inkscape-devel from 2014-08-25.