Re: [Lcms-user] Migrate from lcms v1 to lcms2 in Wine
An ICC-based CMM for color management
Brought to you by:
mm2
|
From: Richard H. <hug...@gm...> - 2013-05-29 10:23:25
|
On 28 May 2013 18:55, Detlef Riekenberg <win...@we...> wrote: > In preparation to the next stabele Wine release (Wine-1.6rc1 is expected for June 2013), > I took a lock to migrate to migrate WIne to lcms2. That would be brilliant, thanks. In Fedora wine is the last thing that depends on lcms(1) and it would be great to be able to retire the package in F20. > Unfortunately, lcms2 made handles private and no longer provide the include icc34.h > for the low level stuff. As I understand it, the icm defines are now lcms defines in lcms2.h, i.e. a simple sed script should fix those up. > We can copy the header, but as soon, as a lcms2 handle is no longer a pointer to the correspondent struct, Wine still exposes the handle, what are you doing with the header that requires access to the struct? I added a few setters/getters recently, and I'm sure Marti would be open for some more if there's a use-case. > Additionally, Wine uses cmsCreateLabProfile and cmsSetErrorHandler, which a no longer present in lcms2. > cmsCreateLabProfile should be replaceable with cmsCreateLab2Profile. Right. I assume WCS is a V2 only workflow, or does it do V4 too? Richard. |