Up to [cvs.NetBSD.org] / pkgsrc / graphics / lcms2
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
lcms2: PKGREVISION++ for previous
lcmc2: Kludge around upstream declining to fix an alignment bug on sparc Fix and report from Brandon Applegate via tech-pkg@.
Pullup ticket #7110 - requested by taca graphics/lcms2: security fix Revisions pulled up: - graphics/lcms2/Makefile 1.24 - graphics/lcms2/distinfo 1.17 --- Module Name: pkgsrc Committed By: wiz Date: Thu Apr 30 05:13:08 UTC 2026 Modified Files: pkgsrc/graphics/lcms2: Makefile distinfo Log Message: lcms2: update to 2.19. All tests pass. ----------------------- 2.19 Featured release ----------------------- CMake build system. Thanks to Vlad Erium for the initial implementation and kmilos for improvements. Large files support to use profiles up to 4Gb Black point compensation works on multi-channel profiles Added more test platforms/architectures in GitHub tests, Cygwin and MSYS are now fully checked. jpgicc banner is not shown on normal operation, only when help is requested. Added a way to access internal transform pipelines. For read only. Add a way to retrieve the CMM signature Added extra checks on postscript undocumented functions Added guard on integer overflow when reading .cube files Added unneeded checks as a try to get rid of spam reports about "vulnerabilities" that are not real. Utility program names generated by Visual Studio 2026 are now same as all other platforms. Creating an output profile by cmsTransform2DeviceLink does not propagate correctly the colorant table. Fixed. Added some profile class definitions from iccMAX Deprecated uint16 and uint32 types removed from tifdiff ----------------------- 2.18 Maintenance release ----------------------- Add an extra check for completeness only. Fix a signed integer overflow which could trigger a FPE_INTOVF Fix Microsoft'2 MHC2 private tag Added projects for XCode 26 & Visual Studio 2026 Added documentation for PCS illuminants and chromatic adaptation Check for a possible out-of-bounds in softproofing transforms when using cmsCreateExtendedTransform Fix for a out-of-bound read, issue #522 Add an extra check for out-of-bounds read when misusing a support function avoid divide by zero, special case from spec. notes on CAM02 Fix CGATS parser bug when number has a "+" sign Fix a typo when handling a special case for BPC Fixed a loss of precision when Lab16 is used as input color space on integer transforms Fixes hypotetical corrupted pointer in non-happy path. Cannot happen in real world Fix a theoretical memory leak. Add support of localized descriptions in v2 profiles for MacOS Mark some tables as const Make the param of cmsCreateLab4Profile() to refer to the media white instead of the illuminant fix a warning in unit tests Remove redundant check. Fixes #497 Update autotools fix plugins soname + add oklab to transicc (experimental) meson: ability to disable .so.version libraries Fix black point detection when using darker colorant. testcms2.c: Fix incorrect string comparisons Fix CICp tag size. Fix broken linkicc meson: Bump minimum Meson version to 0.52 for visibility:hidden meson: Disable unused fs import Add a guard against a wrong use of flags Fix for #469 heap buffer overflow on convert_utf16_to_utf32() ----------------------- 2.17 Maintenance release ----------------------- Add fuzzers foundation. Many thanks to Amir Montazery and Open Source Technology Improvement Fund (ostif.org), Google, for funding that. Add ability to disable building tests in meson Fixed gamut warning not working on certain conditions Mac sequoia added to test beds Add the possibility of duplicating a NULL context for cloning defaults. Small cleanup of CGATS parser Change computation of profile ID to follow actual ICC spec (yes, they changed the spec!) Allow to apply color management on memory blocks > 4Gb Get rid of samples on meson compilation Increase coverage of premultiplied alpha. Bug fixing and cosmetical work on sources.
graphics/lcms2: Update to 2.19.1 This is a bugfix release. Note that one can use cmake, but upstream has not yet declared that to be the official build system, so decline to switch. (As usual, the autoconf build works fine.)
graphics/lcms2: Explain upstream's (very unclear) cmake status I asked upstream a bunch of questions just now. For now, avoid jumping to cmake because 1) upstream hasn't said it's baked and 2) usually new cmake systems have regressions and this one hasn't been tested.
lcms2: update to 2.19. All tests pass. ----------------------- 2.19 Featured release ----------------------- CMake build system. Thanks to Vlad Erium for the initial implementation and kmilos for improvements. Large files support to use profiles up to 4Gb Black point compensation works on multi-channel profiles Added more test platforms/architectures in GitHub tests, Cygwin and MSYS are now fully checked. jpgicc banner is not shown on normal operation, only when help is requested. Added a way to access internal transform pipelines. For read only. Add a way to retrieve the CMM signature Added extra checks on postscript undocumented functions Added guard on integer overflow when reading .cube files Added unneeded checks as a try to get rid of spam reports about "vulnerabilities" that are not real. Utility program names generated by Visual Studio 2026 are now same as all other platforms. Creating an output profile by cmsTransform2DeviceLink does not propagate correctly the colorant table. Fixed. Added some profile class definitions from iccMAX Deprecated uint16 and uint32 types removed from tifdiff ----------------------- 2.18 Maintenance release ----------------------- Add an extra check for completeness only. Fix a signed integer overflow which could trigger a FPE_INTOVF Fix Microsoft'2 MHC2 private tag Added projects for XCode 26 & Visual Studio 2026 Added documentation for PCS illuminants and chromatic adaptation Check for a possible out-of-bounds in softproofing transforms when using cmsCreateExtendedTransform Fix for a out-of-bound read, issue #522 Add an extra check for out-of-bounds read when misusing a support function avoid divide by zero, special case from spec. notes on CAM02 Fix CGATS parser bug when number has a "+" sign Fix a typo when handling a special case for BPC Fixed a loss of precision when Lab16 is used as input color space on integer transforms Fixes hypotetical corrupted pointer in non-happy path. Cannot happen in real world Fix a theoretical memory leak. Add support of localized descriptions in v2 profiles for MacOS Mark some tables as const Make the param of cmsCreateLab4Profile() to refer to the media white instead of the illuminant fix a warning in unit tests Remove redundant check. Fixes #497 Update autotools fix plugins soname + add oklab to transicc (experimental) meson: ability to disable .so.version libraries Fix black point detection when using darker colorant. testcms2.c: Fix incorrect string comparisons Fix CICp tag size. Fix broken linkicc meson: Bump minimum Meson version to 0.52 for visibility:hidden meson: Disable unused fs import Add a guard against a wrong use of flags Fix for #469 heap buffer overflow on convert_utf16_to_utf32() ----------------------- 2.17 Maintenance release ----------------------- Add fuzzers foundation. Many thanks to Amir Montazery and Open Source Technology Improvement Fund (ostif.org), Google, for funding that. Add ability to disable building tests in meson Fixed gamut warning not working on certain conditions Mac sequoia added to test beds Add the possibility of duplicating a NULL context for cloning defaults. Small cleanup of CGATS parser Change computation of profile ID to follow actual ICC spec (yes, they changed the spec!) Allow to apply color management on memory blocks > 4Gb Get rid of samples on meson compilation Increase coverage of premultiplied alpha. Bug fixing and cosmetical work on sources.
*: recursive bump for tiff growing lerc dependency
*: recursive bump for jpeg -> libjpeg-turbo switch
graphics/lcms2: Update to 2.16
Upstream NEWS:
New: import .CUBE files as RGB device links
New: Read/Write MHC2 tags for Windows GPU access
New: Support for UTF8 on multi-localized Unicode functions
New: Support for OkLab color space, built-in and formatter.
Improved: floating point transforms float -> integers are now
honored as float
Improved: MSYS2, mingw is now supported
Improved: preferred CMM, platform and creator now survive profile
edition.
Fixed: tificc now can deal with Lab TIFF
Fixed: code can now be compiled by a C++17 compiler, "register"
keywork use is detected at compile time.
Fixed: Reverted PostScript creation that corrupted some interpreters.
Bug fixing & security enhancements
recursive revbump for tiff update
lcms2: Update to 2.15 Changelog: ----------------------- 2.15 Maintenance release ----------------------- New MESON build system, many thanks to amispark and Lovell Fuller for bringing this. Fixed a bug that caused memory corruption on colord cmsReadRawTag can read portions of tags again. Removing this caused colord to segfault when dumping profiles Added more checks based of fuzzer discoveries. MSYS2 can now compile lcms2 Checked on Apple Silicon M1 and M2 Fixed a bug of fastfloat plug-in that affected Krita CMYK color selector
*: recursive bump for tiff shlib major bump
graphics/lcms2: Update to 2.14 Upstream NEWS, less bugfixes, minor improvements, and things about Windows: ----------------------- 2.14 Featured release ----------------------- lcms2 now implements ICC specification 4.4 New multi-threaded plug-in Remove check on DLL when CMS_NO_REGISTER_KEYWORD is used ----------------------- 2.13.1 Hot fix ----------------------- Fix for pure white going gray in grayscale transforms. ----------------------- 2.13 Featured release ----------------------- Added support for premultiplied alpha tifficc can now handle alpha channels, both unassociated and premultiplied CGATS parser can now deal with very long strings Added thread safe code to get time Added automatic linear space detection Added cmsGetStageContextID function Added cmsDetectRGBProfileGamma function configure now accepts --without-fastfloat to turn plugin off Checked to work on STM32 Cortex-A, Cortex-M families
Bump everything affected by the jpeg.buildlink3.mk fix.
lcms2: update to 2.12 ----------------------- 2.12 Maintenance release ----------------------- Added new build-in sigmoidal tone curve Added XCode 12 project Added support for multichannel input up to 15 channels Fix LUT8 write matrix Fix version mess on 10/11 Fix tools & samples xgetopt Fix warnings on different function pointers Fix matlab MEX compilation plugin: cleanup and better SSE detection plugin: add lab to any on float plugin: it can now be compiled as C++ recover PDF documentation, but try to keep it under a resonable size. Prevent a rare but possible out-of-bounds read in postscript generator Remove unused variables
lcms2: updated to 2.11 ----------------------- 2.11 Maintenance release ----------------------- Fixed __cpuid() on fast float plugin to allow gnu gcc Fixed copy alpha bounds check Fixed data race condition on contexts pool Fixed LUT16 write matrix on multichannel V2 profiles ----------------------- 2.10 Featured release ----------------------- Added a compilation toggle to remove "register" keyword in API. Previously commercial, fast_float plug-in is now released as open source under GPL3 license. MD5 functions are now accesible through plug-in API. Added support for Visual Studio 2019 Bug fixing.
lcms2: update to 2.9 ----------------------- 2.9 Maintenance release ----------------------- Several fixes related with security, and therefore not detailed here. C++ compiles now without warnings Added OSX and clang in travis Added a travis-ci test matrix for many compilers and OS. Thanks to Thomas Weber (debian) for this great improvement. testbed can now work with dynamic versions of library Fixed wrong planar formatters regarding linestride interpretation
2.8 Featured release ----------------------- Changed ChangeLog direction Fixed many typos in comments, thanks to Stefan Weil for doing that. Fixed localization bug, added a new test case crayons.icc thnaks to Richard Hughes for providing the profile. Fixed a bug in optimizer that made some formats (i.e, bits planar) unavailable Fixed misalignment problems on Alpha. The compiler does not align strings, and accessing begin of string as a uint16 makes code to fail. Added some extra checks to the tools and examples. Fix a bug that prevented to read luminance tag BIG amount of functionality contributed/Sponsored by Alien Skin Software: TransformStride, copyAlpha, performance plug-ins. Fixes some warnings as well. added an extra _ to _stdcall to make it more portable Fixed a bug in transicc for named color profiles Fixed several compiler warnings Added support for Visual Studio 2015 Fixed for XCODE project
Changes 2.7: improves multi threading, adds contexts and a new locking plug-in type, among bugfixes and other minor features. If you run lcms in multiple threads, upgrading to this version is highly recommended.
Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
Changes 2.6: improves multi threading, adds contexts and a new locking plug-in type, among bugfixes and other minor features. If you run lcms in multiple threads, upgrading to this version is highly recommended.
Update to 2.5: User defined parametric curves can now be saved in ICC profiles. RGB profiles using same tone curves for several channels are storing now only one copy of the curve (saves space) Fixed a multithead bug on optimization (StageDEF) Fixed some 64 bit warnings on size_t to uint32 conversions update black point detection algorithm to reflect ICC changes Added new cmsPlugInTHR() and fixed some race conditions (thanks to Artifex) Added error descriptions on cmsSmoothToneCurve Fixed a bug on big endian platforms not supporting uint64 or long long. Fixed some bugs on floating point curves. Several improvements in cgats parser. Several minor issues found by cppcheck Fixed devicelink generation for 8 bits Added a reference for Mac MLU tag Added a way to read the profile creator from header Added identity curves support for write V2 LUT More changes from Artifex Added TIFF Lab16 handling on tifficc Added some fixes from XhmikosR Fixed a bug in parametric curves Remove spurious tabs added by git merge of pull request Added support for VS2012 Added a simple project for cppcheck Rendering intent used when creating the transform is now propagated to profile header in cmsTransform2Devicelink. This is because 7.2.15 in spec 4.3 Transform2Devicelink now keeps white point when guessing deviceclass is enabled Added some checks for non-happy path, mostly failing mallocs
Revbump after graphics/jpeg and textproc/icu
Small correction to MASTER_SITES
update to 2.4 from the announcement: Version 2.4 is a featured release that introduces new functionality as well as many performance and security improvements. Main additions are: -Black point detection from the algorithm disclosed by Adobe -Added support for transforms on planar data with different stride -Added a new plug-in type for optimizing full transforms -Linear (gamma 1.0) profiles can now operate in unbounded mode -Added "half" float support approved by the maintainer
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Revbump for a) tiff update to 4.0 (shlib major change) b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk) Enjoy.
Update to 2.3: Fixed a 0 byte allocation issue in _cmsCreateSubAllocChunk Fixed encoding for floating point tags in Lab/XYZ Fixed Absolute colorimetric intent issues Fixed a bug on the range of data in transicc, when colorant tag is specified Adding a memory alignment macro for CGATS parser Updated to ICC spec 4.3
Add Little CMS 2 color correction package.
Initial revision