this brings LCMS, the color management system used by e.g. ufraw, up to
version 1.17. tested with ufraw and the gimp.
comments? ok?
Index: graphics/lcms/Makefile
===================================================================
RCS file: /cvs/ports/graphics/lcms/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- graphics/lcms/Makefile 16 Mar 2006 11:03:07 -0000 1.12
+++ graphics/lcms/Makefile 31 Jul 2007 12:54:22 -0000
@@ -2,9 +2,9 @@
COMMENT= "color management library"
-DISTNAME= lcms-1.15
+DISTNAME= lcms-1.17
PKGNAME= ${DISTNAME}
-SHARED_LIBS= lcms 1.15
+SHARED_LIBS= lcms 2.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lcms/}
Index: graphics/lcms/distinfo
===================================================================
RCS file: /cvs/ports/graphics/lcms/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- graphics/lcms/distinfo 5 Apr 2007 16:19:56 -0000 1.7
+++ graphics/lcms/distinfo 31 Jul 2007 12:54:22 -0000
@@ -1,5 +1,5 @@
-MD5 (lcms-1.15.tar.gz) = dskhlz/epPiAlEoCQZf5JA==
-RMD160 (lcms-1.15.tar.gz) = LNs4A5kxzTX1UOq6o0Id9rm/0OQ=
-SHA1 (lcms-1.15.tar.gz) = Rcq/TSUcAxsT/FYjmgbwCZIyCi4=
-SHA256 (lcms-1.15.tar.gz) = kw733hXrAowc2/4/EXCqodWwtNRaj6SW2UQhbhVRIsI=
-SIZE (lcms-1.15.tar.gz) = 777834
+MD5 (lcms-1.17.tar.gz) = B727TPsF0hyqWP49HITdwQ==
+RMD160 (lcms-1.17.tar.gz) = GtZylbU6guSBMpTLzfzPilvbG70=
+SHA1 (lcms-1.17.tar.gz) = CD6wKJAEj4Q4A6WXSRTlS14DRJM=
+SHA256 (lcms-1.17.tar.gz) = XvO02rMJVncgCeKdujP+ElbPnaFhEGoecLCWbJbRRYM=
+SIZE (lcms-1.17.tar.gz) = 898816
Index: graphics/lcms/patches/patch-include_lcms_h
===================================================================
RCS file: /cvs/ports/graphics/lcms/patches/patch-include_lcms_h,v
retrieving revision 1.3
diff -u -r1.3 patch-include_lcms_h
--- graphics/lcms/patches/patch-include_lcms_h 16 Mar 2006 11:03:07 -0000
1.3
+++ graphics/lcms/patches/patch-include_lcms_h 31 Jul 2007 12:54:22 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-include_lcms_h,v 1.3 2006/03/16 11:03:07 espie Exp $
---- include/lcms.h.orig Tue Mar 7 22:46:48 2006
-+++ include/lcms.h Tue Mar 7 22:47:46 2006
-@@ -131,11 +131,17 @@
+--- include/lcms.h.orig Fri Jul 27 12:00:01 2007
++++ include/lcms.h Tue Jul 31 14:42:02 2007
+@@ -161,11 +161,18 @@ typedef pthread_rwlock_t LCMS_RWLOCK_T;
# define USE_BIG_ENDIAN 1
#endif
@@ -9,13 +9,14 @@
+#if defined(__NetBSD__) || defined(__FreeBSD__)
# include <sys/types.h>
# define USE_INT64 1
- # define LCMSSLONGLONG int_64_t
+ # define LCMSSLONGLONG int64_t
# define LCMSULONGLONG u_int64_t
+#endif
++
+#if defined(__OpenBSD__)
+# include <stdint.h>
+# define USE_INT64 1
-+# define LCMSSLONGLONG int64_t
++# define LCMSSLONGLONG int64_t
+# define LCMSULONGLONG uint64_t
#endif
Index: graphics/lcms/patches/patch-samples_Makefile_in
===================================================================
RCS file: /cvs/ports/graphics/lcms/patches/patch-samples_Makefile_in,v
retrieving revision 1.2
diff -u -r1.2 patch-samples_Makefile_in
--- graphics/lcms/patches/patch-samples_Makefile_in 16 Mar 2006 11:03:07
-0000 1.2
+++ graphics/lcms/patches/patch-samples_Makefile_in 31 Jul 2007 12:54:22
-0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-samples_Makefile_in,v 1.2 2006/03/16 11:03:07 espie Exp $
---- samples/Makefile.in.orig Tue Nov 1 01:13:40 2005
-+++ samples/Makefile.in Tue Mar 7 22:42:42 2006
-@@ -243,17 +243,17 @@ target_vendor = @target_vendor@
+--- samples/Makefile.in.orig Fri Jul 27 12:10:45 2007
++++ samples/Makefile.in Tue Jul 31 14:40:05 2007
+@@ -250,17 +250,17 @@ top_srcdir = @top_srcdir@
# Don't require all the GNU mandated files
AUTOMAKE_OPTIONS = 1.7 foreign
AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include
Index: graphics/lcms/patches/patch-src_Makefile_in
===================================================================
RCS file: /cvs/ports/graphics/lcms/patches/patch-src_Makefile_in,v
retrieving revision 1.3
diff -u -r1.3 patch-src_Makefile_in
--- graphics/lcms/patches/patch-src_Makefile_in 16 Mar 2006 11:03:07 -0000
1.3
+++ graphics/lcms/patches/patch-src_Makefile_in 31 Jul 2007 12:54:22 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-src_Makefile_in,v 1.3 2006/03/16 11:03:07 espie Exp $
---- src/Makefile.in.orig Tue Nov 1 01:13:40 2005
-+++ src/Makefile.in Tue Mar 7 22:43:15 2006
-@@ -242,7 +242,7 @@ INCLUDES = -I$(top_builddir)/include -I$
+--- src/Makefile.in.orig Fri Jul 27 12:10:45 2007
++++ src/Makefile.in Tue Jul 31 14:40:05 2007
+@@ -240,7 +240,7 @@ INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/i
liblcms_la_LDFLAGS = -no-undefined \
-version-info $(LIBRARY_CURRENT):$(LIBRARY_REVISION):$(LIBRARY_AGE)
Index: graphics/lcms/patches/patch-src_cmsmtrx_c
===================================================================
RCS file: /cvs/ports/graphics/lcms/patches/patch-src_cmsmtrx_c,v
retrieving revision 1.2
diff -u -r1.2 patch-src_cmsmtrx_c
--- graphics/lcms/patches/patch-src_cmsmtrx_c 16 Mar 2006 11:03:07 -0000
1.2
+++ graphics/lcms/patches/patch-src_cmsmtrx_c 31 Jul 2007 12:54:22 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-src_cmsmtrx_c,v 1.2 2006/03/16 11:03:07 espie Exp $
---- src/cmsmtrx.c.orig Fri Nov 25 12:11:16 2005
-+++ src/cmsmtrx.c Tue Mar 7 22:36:36 2006
-@@ -797,9 +797,9 @@ void MAT3fromFix(LPMAT3 r, LPWMAT3 v)
+--- src/cmsmtrx.c.orig Fri Jul 27 12:00:02 2007
++++ src/cmsmtrx.c Tue Jul 31 14:40:05 2007
+@@ -799,9 +799,9 @@ void MAT3fromFix(LPMAT3 r, LPWMAT3 v)
void VEC3scaleAndCut(LPWVEC3 r, LPVEC3 v, double d)
{
Index: graphics/lcms/patches/patch-testbed_Makefile_in
===================================================================
RCS file: /cvs/ports/graphics/lcms/patches/patch-testbed_Makefile_in,v
retrieving revision 1.2
diff -u -r1.2 patch-testbed_Makefile_in
--- graphics/lcms/patches/patch-testbed_Makefile_in 16 Mar 2006 11:03:07
-0000 1.2
+++ graphics/lcms/patches/patch-testbed_Makefile_in 31 Jul 2007 12:54:22
-0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-testbed_Makefile_in,v 1.2 2006/03/16 11:03:07 espie Exp $
---- testbed/Makefile.in.orig Tue Nov 1 01:13:40 2005
-+++ testbed/Makefile.in Tue Mar 7 22:43:47 2006
-@@ -222,7 +222,7 @@ target_vendor = @target_vendor@
+--- testbed/Makefile.in.orig Fri Jul 27 12:10:45 2007
++++ testbed/Makefile.in Tue Jul 31 14:40:05 2007
+@@ -220,7 +220,7 @@ top_srcdir = @top_srcdir@
# Don't require all the GNU mandated files
AUTOMAKE_OPTIONS = 1.7 foreign
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include