On Wed, 1 Jul 2015, Helmut Jarausch wrote:

> I have an application which needs lcms-1 but I have only lcms-2 available on 
> my Gentoo system.
> Is there some documentation on how to do such an upgrade.

Are you talking about source code level modifications for your 
application?

The API for lcms 2 is different (much improved), but with some work 
there is a clear path.

I just stripped lcms 1 support out of GraphicsMagick this past weekend 
since no one should be using it any more and because it complicates 
the code in a way which makes it difficult to take advantage of the 
improved features of lcms 2.  When lcms 2 appeared, I took the 
approach to update the code to use lcms 2 and then back-port to still 
work with lcms 1.

The reverse-patch at 
"http://hg.code.sf.net/p/graphicsmagick/code/diff/f11c2c4e798c/magick/profile.c";
 
should provide some idea of what was necessary in GraphicsMagick to 
provide a lcms 2 compliant implementation which still compiled and 
worked with lcms 1.  The whole changeset (to take it out) is at 
"http://hg.code.sf.net/p/graphicsmagick/code/rev/f11c2c4e798c";.

What you need to do for your application depends on what it uses lcms 
for.

Bob
-- 
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to