2006-02-21 15:00:42 +01:00
|
|
|
# $NetBSD: Makefile,v 1.21 2006/02/21 14:00:42 gdt Exp $
|
2001-03-07 09:22:52 +01:00
|
|
|
|
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.
2005-12-07 18:47:06 +01:00
|
|
|
DISTNAME= lcms-1.15
|
2006-02-21 15:00:42 +01:00
|
|
|
PKGREVISION= 2
|
2001-03-07 09:22:52 +01:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= http://www.littlecms.com/ \
|
|
|
|
http://www.abaforum.es/martim/
|
|
|
|
|
2006-02-21 15:00:42 +01:00
|
|
|
MAINTAINER= gdt@NetBSD.org
|
2001-03-07 09:22:52 +01:00
|
|
|
HOMEPAGE= http://www.littlecms.com/
|
2002-01-14 15:43:35 +01:00
|
|
|
COMMENT= Light Color Management System -- a color management library
|
2001-03-07 09:22:52 +01:00
|
|
|
|
2004-01-24 01:56:37 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2001-03-07 09:22:52 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2004-02-09 13:03:27 +01:00
|
|
|
TEST_TARGET= check
|
|
|
|
|
2006-02-21 15:00:42 +01:00
|
|
|
# lcms does not need zlib, but will look for it and link it to tifficc
|
|
|
|
# if present. Therefore, we don't enjoin lcms from finding zlib, but
|
|
|
|
# don't include it via bl3.
|
2004-02-09 13:03:27 +01:00
|
|
|
|
2004-03-22 23:46:10 +01:00
|
|
|
# Avoid an ICE in gcc2 on sparc64
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ENV+= F77=${FALSE:Q}
|
2004-03-22 23:46:10 +01:00
|
|
|
|
2004-10-25 23:43:20 +02:00
|
|
|
PKGCONFIG_OVERRIDE= lcms.pc.in
|
|
|
|
|
2004-02-09 13:03:27 +01:00
|
|
|
INSTALLATION_DIRS+= share/doc/lcms
|
2001-03-07 09:22:52 +01:00
|
|
|
|
|
|
|
post-install:
|
2004-02-09 13:03:27 +01:00
|
|
|
.for _f_ in LCMSAPI.TXT TUTORIAL.TXT
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${_f_} ${PREFIX}/share/doc/lcms/${_f_}
|
|
|
|
.endfor
|
2001-03-07 09:22:52 +01:00
|
|
|
|
2006-02-20 16:02:22 +01:00
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
2001-03-07 09:22:52 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|