Bug 138260 - inkscape 0.44 fails to build with media-libs/lcms-1.13-r1
Bug#: 138260 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: zypher@gentoo.org Reported By: jackdoozer@yahoo.com
Component: Ebuilds
URL: 
Summary: inkscape 0.44 fails to build with media-libs/lcms-1.13-r1
Keywords:  
Status Whiteboard: 
Opened: 2006-06-27 12:53 0000
Description:   Opened: 2006-06-27 12:53 0000
inkscape 0.44 fails to build with media-libs/lcms-1.13-r1 if lcms use flag on
with the error below. Updating to media-libs/lcms-1.14-r1 fixed the problem.

In file included from color-profile.cpp:4:
color-profile.h:11:18: lcms.h: No such file or directory
In file included from color-profile.cpp:4:
color-profile.h:33: error: 'cmsHPROFILE' is used as a type, but is not defined
   as a type.
In file included from color-profile.cpp:5:
color-profile-fns.h:11:18: lcms.h: No such file or directory
In file included from color-profile.cpp:5:
color-profile-fns.h:28: error: syntax error before `*' token
color-profile.cpp: In function `void
   Inkscape::colorprofile_init(Inkscape::ColorProfile*)':
color-profile.cpp:112: error: 'struct Inkscape::ColorProfile' has no member
   named 'profHandle'
color-profile.cpp: In function `void Inkscape::colorprofile_release(SPObject*)
   ':
color-profile.cpp:143: error: 'struct Inkscape::ColorProfile' has no member
   named 'profHandle'
color-profile.cpp:144: error: 'struct Inkscape::ColorProfile' has no member
   named 'profHandle'
color-profile.cpp:144: error: `cmsCloseProfile' undeclared (first use this
   function)
color-profile.cpp:144: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
color-profile.cpp:145: error: 'struct Inkscape::ColorProfile' has no member
   named 'profHandle'
color-profile.cpp: In function `void Inkscape::colorprofile_set(SPObject*,
   unsigned int, const gchar*)':
color-profile.cpp:187: error: `LCMS_ERROR_SHOW' undeclared (first use this
   function)
color-profile.cpp:187: error: `cmsErrorAction' undeclared (first use this
   function)
color-profile.cpp:214: error: 'struct Inkscape::ColorProfile' has no member
   named 'profHandle'
color-profile.cpp:214: error: `cmsOpenProfileFromFile' undeclared (first use
   this function)
color-profile.cpp: At global scope:
color-profile.cpp:349: error: syntax error before `::' token
color-profile.cpp:353: error: `document' was not declared in this scope
color-profile.cpp:354: error: `name' was not declared in this scope
color-profile.cpp:355: error: syntax error before `if'
make[2]: *** [color-profile.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/inkscape-0.44/work/inkscape-0.44/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/inkscape-0.44/work/inkscape-0.44'
make: *** [all] Error 2

------- Comment #1 From Luca Barbato 2006-06-27 14:10:20 0000 -------
Fixed, thank you.