diff options
author | wiz <wiz@pkgsrc.org> | 2005-12-07 17:47:06 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-12-07 17:47:06 +0000 |
commit | 18c20e996f1d3a44f92573c7a9d79b300bbdfd51 (patch) | |
tree | c9b3c583d299d11aacf9fd0c8a69f2b255f6d565 /graphics/lcms | |
parent | 94bb051571ebe621c4264c9cd31b8623c67d0920 (diff) | |
download | pkgsrc-18c20e996f1d3a44f92573c7a9d79b300bbdfd51.tar.gz |
Update to 1.15. patch-ab has been sent upstream.
New features
Black preservation on CMYK-> CMYK transforms
Ability to set adaptation state of observer on absolute colorimetric transforms.
A rather advanced feature. Actually it only allows No adaptation (d=0) and observer fully adapted (d=1)
lcms can now "fix" some broken 8-bit profiles that have gray axes misplaced.
icctrans can now read CGATS/IT8 files.
improved tifficc with tiff Lab8 support
New functions
LCMSAPI double LCMSEXPORT cmsSetAdaptationState(cmsHTRANSFORM hTransform, double d);
LCMSAPI void LCMSEXPORT cmsSetHeaderAttributes(cmsHPROFILE hProfile, DWORD Flags);
LCMSAPI DWORD LCMSEXPORT cmsTakeHeaderAttributes(cmsHPROFILE hProfile);
LCMSAPI icInt32Number LCMSEXPORT cmsGetTagCount(cmsHPROFILE hProfile);
LCMSAPI icTagSignature LCMSEXPORT cmsGetTagSignature(cmsHPROFILE hProfile, icInt32Number n);
LCMSAPI BOOL LCMSEXPORT cmsIT8SaveToMem(LCMSHANDLE hIT8, void *MemPtr, size_t* BytesNeeded);
BOOL _cmsIsMatrixShaper(cmsHPROFILE hProfile);
BOOL _cmsAddDateTimeTag(cmsHPROFILE hProfile, icTagSignature sig, struct tm *DateTime);
BOOL _cmsAddColorantTableTag(cmsHPROFILE hProfile, icTagSignature sig, LPcmsNAMEDCOLORLIST nc);
double cmsEvalLUTreverse(LPLUT Lut, WORD Target[], WORD Result[], LPWORD Hint);
LPcmsNAMEDCOLORLIST LCMSEXPORT cmsReadColorantTable(cmsHPROFILE hProfile, icTagSignature sig)
LPcmsGAMUTEX cmsReadExtendedGamut(cmsHPROFILE hProfile, int index);
void cmsFreeExtendedGamut(LPcmsGAMUTEX gex);
New tags supported
icSigColorantTableTag LPcmsNAMEDCOLORLIST
icSigColorantTableOutTag LPcmsNAMEDCOLORLIST
icSigCalibrationDateTimeTag const struct tm*
New flags:
cmsFLAGS_PRESERVEBLACK
cmsFLAGS_GRIDPOINTS(n)
And of course some bug fixing.
Diffstat (limited to 'graphics/lcms')
-rw-r--r-- | graphics/lcms/Makefile | 4 | ||||
-rw-r--r-- | graphics/lcms/distinfo | 10 | ||||
-rw-r--r-- | graphics/lcms/patches/patch-aa | 22 | ||||
-rw-r--r-- | graphics/lcms/patches/patch-ab | 13 |
4 files changed, 20 insertions, 29 deletions
diff --git a/graphics/lcms/Makefile b/graphics/lcms/Makefile index 48f1cafdbf0..f83b3f6da77 100644 --- a/graphics/lcms/Makefile +++ b/graphics/lcms/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.18 2005/12/05 20:50:21 rillig Exp $ +# $NetBSD: Makefile,v 1.19 2005/12/07 17:47:06 wiz Exp $ -DISTNAME= lcms-1.14 +DISTNAME= lcms-1.15 CATEGORIES= graphics MASTER_SITES= http://www.littlecms.com/ \ http://www.abaforum.es/martim/ diff --git a/graphics/lcms/distinfo b/graphics/lcms/distinfo index 015ab4020f3..3aab2bc4db6 100644 --- a/graphics/lcms/distinfo +++ b/graphics/lcms/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.14 2005/06/02 15:03:39 adam Exp $ +$NetBSD: distinfo,v 1.15 2005/12/07 17:47:06 wiz Exp $ -SHA1 (lcms-1.14.tar.gz) = 7f98d09bc2acc46d7641034b88449142f78bf8ff -RMD160 (lcms-1.14.tar.gz) = 85f87baeff14a3c1502e7b4c7e8281aaa04e34c0 -Size (lcms-1.14.tar.gz) = 669519 bytes -SHA1 (patch-aa) = a3964d2d606a7bc8127d90a6dfa16b727debca73 +SHA1 (lcms-1.15.tar.gz) = 45cabf4d251c031b13fc56239a06f00992320a2e +RMD160 (lcms-1.15.tar.gz) = 2cdb38039931cd35f550eabaa3421df6b9bfd0e4 +Size (lcms-1.15.tar.gz) = 777834 bytes +SHA1 (patch-ab) = dd31ef24b98ead954945bda66d800dd5882c81e0 diff --git a/graphics/lcms/patches/patch-aa b/graphics/lcms/patches/patch-aa deleted file mode 100644 index 186554462f9..00000000000 --- a/graphics/lcms/patches/patch-aa +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-aa,v 1.6 2005/06/02 15:03:39 adam Exp $ - ---- include/lcms.h.orig 2004-12-13 10:00:59.000000000 +0100 -+++ include/lcms.h -@@ -74,7 +74,7 @@ - - // Metroworks CodeWarrior - --#if __MWERKS__ -+#ifdef __MWERKS__ - # define unlink remove - # if WIN32 - # define USE_CUSTOM_SWAB 1 -@@ -112,7 +112,7 @@ - # define USE_BIG_ENDIAN 1 - #endif - --#if TARGET_CPU_PPC -+#ifdef TARGET_CPU_PPC - # define USE_BIG_ENDIAN 1 - #endif - diff --git a/graphics/lcms/patches/patch-ab b/graphics/lcms/patches/patch-ab new file mode 100644 index 00000000000..8b3abeee901 --- /dev/null +++ b/graphics/lcms/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.10 2005/12/07 17:47:06 wiz Exp $ + +--- include/lcms.h.orig 2005-11-26 15:23:47.000000000 +0100 ++++ include/lcms.h +@@ -134,7 +134,7 @@ + #if defined(__OpenBSD__) || 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 + |