diff options
author | skrll <skrll> | 2001-03-07 08:22:52 +0000 |
---|---|---|
committer | skrll <skrll> | 2001-03-07 08:22:52 +0000 |
commit | ab8eee1dcd14c2f2bc93dd0004b83db928f7645d (patch) | |
tree | bee30d653993ff11a993fa465471e5c5d347f58b /graphics/lcms | |
parent | c4f25c1b56debe1b5f05da78cf4a5e713a9d1fd2 (diff) | |
download | pkgsrc-ab8eee1dcd14c2f2bc93dd0004b83db928f7645d.tar.gz |
Import of the Light Color Management System.
From Nathan Ahlstrom <nrahlstr@winternet.com> in pkg/12342 with
modifications from me.
Diffstat (limited to 'graphics/lcms')
-rw-r--r-- | graphics/lcms/Makefile | 21 | ||||
-rw-r--r-- | graphics/lcms/files/md5 | 3 | ||||
-rw-r--r-- | graphics/lcms/files/patch-sum | 4 | ||||
-rw-r--r-- | graphics/lcms/patches/patch-aa | 42 | ||||
-rw-r--r-- | graphics/lcms/patches/patch-ab | 17 | ||||
-rw-r--r-- | graphics/lcms/pkg/DESCR | 9 | ||||
-rw-r--r-- | graphics/lcms/pkg/PLIST | 21 |
7 files changed, 117 insertions, 0 deletions
diff --git a/graphics/lcms/Makefile b/graphics/lcms/Makefile new file mode 100644 index 00000000000..a9b10248759 --- /dev/null +++ b/graphics/lcms/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/03/07 08:22:52 skrll Exp $ +# FreeBSD: ports/graphics/lcms/Makefile,v 1.2 2000/12/19 15:36:26 sobomax Exp + +DISTNAME= lcms-1.06 +CATEGORIES= graphics +MASTER_SITES= http://www.littlecms.com/ \ + http://www.abaforum.es/martim/ + +MAINTAINER= packages@NetBSD.org +HOMEPAGE= http://www.littlecms.com/ +COMMENT= "Light Color Management System -- a color management library" + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lcms + ${CP} -rp ${WRKSRC}/doc/* ${PREFIX}/share/doc/lcms/ + +.include "../../mk/bsd.pkg.mk" diff --git a/graphics/lcms/files/md5 b/graphics/lcms/files/md5 new file mode 100644 index 00000000000..4979413ec49 --- /dev/null +++ b/graphics/lcms/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/03/07 08:22:52 skrll Exp $ + +MD5 (lcms-1.06.tar.gz) = 7e0a3642b42628b1fc40c1702a5e71e0 diff --git a/graphics/lcms/files/patch-sum b/graphics/lcms/files/patch-sum new file mode 100644 index 00000000000..6662e4646d6 --- /dev/null +++ b/graphics/lcms/files/patch-sum @@ -0,0 +1,4 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/03/07 08:22:52 skrll Exp $ + +MD5 (patch-aa) = f4b8f650fc71e7f4d42083520aaa0f4f +MD5 (patch-ab) = 3118acfbbd104306fefcae21dcd82eb2 diff --git a/graphics/lcms/patches/patch-aa b/graphics/lcms/patches/patch-aa new file mode 100644 index 00000000000..1610a06f107 --- /dev/null +++ b/graphics/lcms/patches/patch-aa @@ -0,0 +1,42 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/03/07 08:22:52 skrll Exp $ + +--- configure Thu May 18 20:08:40 2000 ++++ configure Mon Oct 30 09:40:41 2000 +@@ -2259,35 +2259,13 @@ + + case "$host" in +- i?86-pc-*) ++ i?86-*-*) + CFLAGS="$CFLAGS -fomit-frame-pointer" + ;; + esac + +-echo $ac_n "checking for __int64 type""... $ac_c" 1>&6 +-echo "configure:2268: checking for __int64 type" >&5 +-if test "$cross_compiling" = yes; then +- echo "$ac_t""assuming no" 1>&6 +-else +- cat > conftest.$ac_ext <<EOF +-#line 2273 "configure" +-#include "confdefs.h" +-int main (void) { __int64 i = 0; return (i == 0);} +-EOF +-if { (eval echo configure:2277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +-then ++echo "using int64 on BSD" 1>&6 + cat >> confdefs.h <<\EOF + #define USE_INT64 1 + EOF +- +- echo "$ac_t""ok" 1>&6 +-else +- echo "configure: failed program was:" >&5 +- cat conftest.$ac_ext >&5 +- rm -fr conftest* +- echo "$ac_t""no" 1>&6 +-fi +-rm -fr conftest* +-fi +- + + echo $ac_n "checking for optimization""... $ac_c" 1>&6 diff --git a/graphics/lcms/patches/patch-ab b/graphics/lcms/patches/patch-ab new file mode 100644 index 00000000000..e1bb159a6a1 --- /dev/null +++ b/graphics/lcms/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/03/07 08:22:52 skrll Exp $ + +--- source/cmsmtrx.c Thu May 18 18:08:13 2000 ++++ source/cmsmtrx.c Mon Oct 30 09:53:39 2000 +@@ -33,2 +33,3 @@ + #include "lcms.h" ++#include <sys/types.h> + +@@ -250,3 +251,3 @@ + #ifdef USE_INT64 +- __int64 l = (__int64) a * b + 0x8000i64; ++ u_int64_t l = (u_int64_t) a * b + (u_int64_t)0x8000; + return (Fixed32) (l >> 16); +@@ -711,2 +712,2 @@ + VEC3scaleAndCut(&r -> v[2], &v -> v[2], d); +-} ++} diff --git a/graphics/lcms/pkg/DESCR b/graphics/lcms/pkg/DESCR new file mode 100644 index 00000000000..05d96f2ae9a --- /dev/null +++ b/graphics/lcms/pkg/DESCR @@ -0,0 +1,9 @@ +LCMS is the Little Color Management System, a Color Matching Method +(CMM) library which implements fast transforms between ICC profiles. +It is released under LGPL with source code and meant to be portable. + +Color management refers to techniques that ensure consistent color +as images are transferred from scanners or cameras to monitors and +printers. + +WWW: http://www.abaforum.es/martim/lcms.htm diff --git a/graphics/lcms/pkg/PLIST b/graphics/lcms/pkg/PLIST new file mode 100644 index 00000000000..626b544d865 --- /dev/null +++ b/graphics/lcms/pkg/PLIST @@ -0,0 +1,21 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/07 08:22:52 skrll Exp $ +bin/testcms +include/lcms/icc34.h +include/lcms/lcms.h +lib/liblcms.a +lib/liblcms.la +lib/liblcms.so +lib/liblcms.so.1 +lib/liblcms.so.1.6 +share/doc/lcms/README.simple +share/doc/lcms/filter.c +share/doc/lcms/jpgemb.c +share/doc/lcms/lcmsapi.txt +share/doc/lcms/neutral.c +share/doc/lcms/pngchrm.c +share/doc/lcms/simple.c +share/doc/lcms/tiffemb.c +share/doc/lcms/tutorial.txt +share/doc/lcms/wtpt.c +@dirrm share/doc/lcms +@dirrm include/lcms |