pkgsrc/graphics/lcms/Makefile

38 lines
982 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.21 2006/02/21 14:00:42 gdt Exp $
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
PKGREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://www.littlecms.com/ \
http://www.abaforum.es/martim/
MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://www.littlecms.com/
COMMENT= Light Color Management System -- a color management library
2004-01-24 01:56:37 +01:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
Update to version 1.12. Package changes: The include files moved from $PREFIX/include/lcms to $PREFIX/include. Support added to buildlink*.mk to provide compatibility symlinks include/lcms/*.h in BUILDLINK_DIR. No list of changes since the previously packaged version (1.06), I do not even know if there was any versions in between... Anyway changes in version 1.12 are (from the homepage): - Brightness/Contrast/Hue/Saturation/WhitePoint modification across abstract profile - License changed to MIT - pseq tag handling: cmsReadProfileSequenceDescription and cmsSEQ, cmsPSEQDESC structures - CRD generation now supports black point compensation, see cmsGetPostScriptCRDEx - cmsTakeManufacturer and cmsTakeModel for uncooked info on these tags - Writing 8 bit profiles is now supported - Named color profiles support. This turns lcms from a "wide subset" into a "full implementation" of ICC 3.4, with some ICC 4.0 support. - PostScript CSA, CRD generation - Ink-Limiting capabilities for CMYK - Devicelink profile generation. - Gray scale virtual profiles - Linearization virtual device link profiles - New ICCLINK and ICC2PS utilities - SWIG wrapper. This enables lcms from Python. - Floating-point formats are now accepted as well. - More ICC 4.0 compatibility. Some 4.0 profiles are now are fully understood (still experimental) - Profiles can now be saved to memory (thanks to Steven Greaves for providing the code) - Char Target data are now handled. Some profiles does store the data profiler has used. This is all information needed to rebuild the profile from scratch. - New low-resolution flag cmsFLAGS_LOWRESPRECALC to save memory. - User-defined encodings are now supported. - cmsChangeBuffersFormat() to change the encoding of buffers on runtime allows reuse of existing transforms. - Gamma estimation routines cmsEstimateGamma() and cmsEstimateGammaEx() - multilocalized unicode is now supported. Language and codepage is selected via cmsSetLanguage() (ICC 4.0 only) - LUT handling has been enhanced with enumerators. (SAMPLER_INSPECT) - Improved TIFFICC, JPEGICC and ICCTRANS utilities. - cmsOpenProfileFromMem() no longer creates temporary files. - Transforms does accept now a maximum of 8 channels on input and 16 on output. (last version did accept 6 on input) - 8 <-> 16 bits per sample are now always computed accurately. - Some minor bugs fixed
2004-02-09 13:03:27 +01:00
TEST_TARGET= check
# 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.
Update to version 1.12. Package changes: The include files moved from $PREFIX/include/lcms to $PREFIX/include. Support added to buildlink*.mk to provide compatibility symlinks include/lcms/*.h in BUILDLINK_DIR. No list of changes since the previously packaged version (1.06), I do not even know if there was any versions in between... Anyway changes in version 1.12 are (from the homepage): - Brightness/Contrast/Hue/Saturation/WhitePoint modification across abstract profile - License changed to MIT - pseq tag handling: cmsReadProfileSequenceDescription and cmsSEQ, cmsPSEQDESC structures - CRD generation now supports black point compensation, see cmsGetPostScriptCRDEx - cmsTakeManufacturer and cmsTakeModel for uncooked info on these tags - Writing 8 bit profiles is now supported - Named color profiles support. This turns lcms from a "wide subset" into a "full implementation" of ICC 3.4, with some ICC 4.0 support. - PostScript CSA, CRD generation - Ink-Limiting capabilities for CMYK - Devicelink profile generation. - Gray scale virtual profiles - Linearization virtual device link profiles - New ICCLINK and ICC2PS utilities - SWIG wrapper. This enables lcms from Python. - Floating-point formats are now accepted as well. - More ICC 4.0 compatibility. Some 4.0 profiles are now are fully understood (still experimental) - Profiles can now be saved to memory (thanks to Steven Greaves for providing the code) - Char Target data are now handled. Some profiles does store the data profiler has used. This is all information needed to rebuild the profile from scratch. - New low-resolution flag cmsFLAGS_LOWRESPRECALC to save memory. - User-defined encodings are now supported. - cmsChangeBuffersFormat() to change the encoding of buffers on runtime allows reuse of existing transforms. - Gamma estimation routines cmsEstimateGamma() and cmsEstimateGammaEx() - multilocalized unicode is now supported. Language and codepage is selected via cmsSetLanguage() (ICC 4.0 only) - LUT handling has been enhanced with enumerators. (SAMPLER_INSPECT) - Improved TIFFICC, JPEGICC and ICCTRANS utilities. - cmsOpenProfileFromMem() no longer creates temporary files. - Transforms does accept now a maximum of 8 channels on input and 16 on output. (last version did accept 6 on input) - 8 <-> 16 bits per sample are now always computed accurately. - Some minor bugs fixed
2004-02-09 13:03:27 +01:00
2004-03-22 23:46:10 +01:00
# Avoid an ICE in gcc2 on sparc64
CONFIGURE_ENV+= F77=${FALSE:Q}
2004-03-22 23:46:10 +01:00
PKGCONFIG_OVERRIDE= lcms.pc.in
Update to version 1.12. Package changes: The include files moved from $PREFIX/include/lcms to $PREFIX/include. Support added to buildlink*.mk to provide compatibility symlinks include/lcms/*.h in BUILDLINK_DIR. No list of changes since the previously packaged version (1.06), I do not even know if there was any versions in between... Anyway changes in version 1.12 are (from the homepage): - Brightness/Contrast/Hue/Saturation/WhitePoint modification across abstract profile - License changed to MIT - pseq tag handling: cmsReadProfileSequenceDescription and cmsSEQ, cmsPSEQDESC structures - CRD generation now supports black point compensation, see cmsGetPostScriptCRDEx - cmsTakeManufacturer and cmsTakeModel for uncooked info on these tags - Writing 8 bit profiles is now supported - Named color profiles support. This turns lcms from a "wide subset" into a "full implementation" of ICC 3.4, with some ICC 4.0 support. - PostScript CSA, CRD generation - Ink-Limiting capabilities for CMYK - Devicelink profile generation. - Gray scale virtual profiles - Linearization virtual device link profiles - New ICCLINK and ICC2PS utilities - SWIG wrapper. This enables lcms from Python. - Floating-point formats are now accepted as well. - More ICC 4.0 compatibility. Some 4.0 profiles are now are fully understood (still experimental) - Profiles can now be saved to memory (thanks to Steven Greaves for providing the code) - Char Target data are now handled. Some profiles does store the data profiler has used. This is all information needed to rebuild the profile from scratch. - New low-resolution flag cmsFLAGS_LOWRESPRECALC to save memory. - User-defined encodings are now supported. - cmsChangeBuffersFormat() to change the encoding of buffers on runtime allows reuse of existing transforms. - Gamma estimation routines cmsEstimateGamma() and cmsEstimateGammaEx() - multilocalized unicode is now supported. Language and codepage is selected via cmsSetLanguage() (ICC 4.0 only) - LUT handling has been enhanced with enumerators. (SAMPLER_INSPECT) - Improved TIFFICC, JPEGICC and ICCTRANS utilities. - cmsOpenProfileFromMem() no longer creates temporary files. - Transforms does accept now a maximum of 8 channels on input and 16 on output. (last version did accept 6 on input) - 8 <-> 16 bits per sample are now always computed accurately. - Some minor bugs fixed
2004-02-09 13:03:27 +01:00
INSTALLATION_DIRS+= share/doc/lcms
post-install:
Update to version 1.12. Package changes: The include files moved from $PREFIX/include/lcms to $PREFIX/include. Support added to buildlink*.mk to provide compatibility symlinks include/lcms/*.h in BUILDLINK_DIR. No list of changes since the previously packaged version (1.06), I do not even know if there was any versions in between... Anyway changes in version 1.12 are (from the homepage): - Brightness/Contrast/Hue/Saturation/WhitePoint modification across abstract profile - License changed to MIT - pseq tag handling: cmsReadProfileSequenceDescription and cmsSEQ, cmsPSEQDESC structures - CRD generation now supports black point compensation, see cmsGetPostScriptCRDEx - cmsTakeManufacturer and cmsTakeModel for uncooked info on these tags - Writing 8 bit profiles is now supported - Named color profiles support. This turns lcms from a "wide subset" into a "full implementation" of ICC 3.4, with some ICC 4.0 support. - PostScript CSA, CRD generation - Ink-Limiting capabilities for CMYK - Devicelink profile generation. - Gray scale virtual profiles - Linearization virtual device link profiles - New ICCLINK and ICC2PS utilities - SWIG wrapper. This enables lcms from Python. - Floating-point formats are now accepted as well. - More ICC 4.0 compatibility. Some 4.0 profiles are now are fully understood (still experimental) - Profiles can now be saved to memory (thanks to Steven Greaves for providing the code) - Char Target data are now handled. Some profiles does store the data profiler has used. This is all information needed to rebuild the profile from scratch. - New low-resolution flag cmsFLAGS_LOWRESPRECALC to save memory. - User-defined encodings are now supported. - cmsChangeBuffersFormat() to change the encoding of buffers on runtime allows reuse of existing transforms. - Gamma estimation routines cmsEstimateGamma() and cmsEstimateGammaEx() - multilocalized unicode is now supported. Language and codepage is selected via cmsSetLanguage() (ICC 4.0 only) - LUT handling has been enhanced with enumerators. (SAMPLER_INSPECT) - Improved TIFFICC, JPEGICC and ICCTRANS utilities. - cmsOpenProfileFromMem() no longer creates temporary files. - Transforms does accept now a maximum of 8 channels on input and 16 on output. (last version did accept 6 on input) - 8 <-> 16 bits per sample are now always computed accurately. - Some minor bugs fixed
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
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"