pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/openexr
Module Name: pkgsrc
Committed By: wiz
Date: Mon Sep 28 14:39:30 UTC 2026
Modified Files:
pkgsrc/graphics/openexr: Makefile PLIST distinfo
Added Files:
pkgsrc/graphics/openexr/patches:
patch-src_lib_OpenEXRCore_internal__ht__common.h
patch-src_lib_OpenEXRCore_internal__ht__quality.h
Log Message:
openexr: update to 3.5.1.
## Version 3.5.1 (September 25, 2026)
Patch release that addresses a security vulnerability in ZSTD:
- fix heap buffer overflow in ZSTD deep scanline decoding
Also, the v3.5.0 release incorrectly identified the
`OPENEXR_VERSION_RELEASE_TYPE` and associated `OPENEXR_PACKAGE_NAME`
as `-dev`.
### Merged Pull Requests
* [2669](https://github.com/AcademySoftwareFoundation/openexr/pull/2669)
Fix heap buffer overflow in ZSTD deep scanline decoding (by @cary-ilm/Cary Phillips)
## Version 3.5.0 (September 21, 2026)
* Support for lossless compression via
[Zstandard](https://github.com/facebook/zstd)
- Introduces `ZSTD_COMPRESSION/EXR_COMPRESSION_ZSTD` enum
- Features a custom data prep stage that includes ByteShuffle,
optional Delta Encoding, and custom data reordering.
- Universal lossless support: Works for all image types (including
Deep) and supports all OpenEXR pixel/data types.
- Deep image gains: Extensive testing with Deep scanlines shows a
20–30% size reduction compared to ZIPS based on image channels
(with the best gains on Deep Alpha and Deep ID).
- Flat image file size: Achieves comparable compressed sizes to ZIPS.
- Flat image speed: Delivers slightly faster compression and
decompression speeds compared to ZIPS
- Introduces a new dependency on the zstd library; a vendored
version (v1.5.7) is provided as a fallback if no installed version
is present.
* Support for lossy compression based on the High Throughput JPEG 2000
(HTJ2K) standard.
- The LJ2K compressor uses the same JPEG 2000 constraints and codec
library (OpenJPH) as HTJ2K256, but with lossy coding, producing
smaller files at the cost of distortion.
- LJ2K should generally offer reduced file sizes and higher
throughput compared to DWA.
- Currently supports 16-bit HALF, 32-bit FLOAT and 32-bit UINT
channels. Lossy coding is currently applied only to RGB channels;
other channels are losslessly coded.
- The amount of distortion is controlled via a quality level
parameter that ranges from 1 to 150.
- As with DWA, lossy RGB channels are first transformed to a
non-linear preceptual domain before coding. The transformation is
log-based when the sample's magnitude is greater than 1, and
power-law otherwise.
* Improved support for the `colorInteropID` standard attribute as a
mechanism to identify the color space of the RGB images:
- Added support for `colorInteropID` to command-line tool `exrstdattr`.
- Added API functions to validate color metadata in the header to both the C++ and core APIs.
- Extended the exrinfo command-line tool to print warnings regarding header color metadata.
- Added helper functions to convert between chromaticities and `colorInteropID`.
- Added Python bindings for all new functions.
- See [An ID for Color
Interop](https://github.com/AcademySoftwareFoundation/ColorInterop/blob/main/Recommendations/03_ColorInteropID/ColorInteropID.md)
and [Identifying the Color Space of OpenEXR
Files](https://github.com/AcademySoftwareFoundation/ColorInterop/blob/main/Recommendations/04_OpenEXRFiles/OpenEXRFiles.md)
for details.
* Support for a cache for a (de)compression context in the core decode pipeline.
- This is a backwards compatible change (i.e. older versions of code
compiled against previous headers will still work), with the
exception that it does add the requirement that application code
actually use the provided initializer when defining
`exr_decode_pipeline_t` objects.
* For the OpenEXR python module:
- Support for the `idManifest` attribute and object
- Support for multithreaded read and write
- Support for reading/writing from/to `BytesIO` object
- Add `setMaxImageSize/setMaxTileSize` functions
* Other changes:
- `AcesInputFile/AcesOutputFile` and `exr2aces` as marked as
deprecated and will be removed in a future release.
- Improved handling of many channels
- All Imath headers are now included internally via `#include <Imath/...>`
- Remove `iex_debugTrap()` function (was not used)
- Improved `ChannelList` Iterator API
- Fixed a bug that with DWA compression that could silently produce
corrupted files.
* Also of note:
- The vendored version of deflate is 1.26
- The vendored version of OpenJPH is 0.32.0
- The minimum required version of OpenJPH is 0.32.0
### Security
This release addresses the following security vulnerabilities:
* OSS-Fuzz [514487287](https://issues.oss-fuzz.com/issues/514487287)
Floating-point-exception in `part_exceeds_memory_limits`
* OSS-Fuzz [514423826](https://issues.oss-fuzz.com/issues/514423826)
Divide-by-zero in `part_exceeds_memory_limits`
* OSS-Fuzz [513282267](https://issues.oss-fuzz.com/issues/513282267)
Timeout in `openexr_exrgaps_fuzzer`
* OSS-Fuzz [512988066](https://issues.oss-fuzz.com/issues/512988066)
Out-of-memory in `openexr_exrgaps_fuzzer`
### Merged Pull Requests
* [2660](https://github.com/AcademySoftwareFoundation/openexr/pull/2660)
Look for version headers in `CMAKE_CURRENT_SOURCE_DIR/external` (by @cary-ilm/Cary Phillips)
* [2656](https://github.com/AcademySoftwareFoundation/openexr/pull/2656)
Bump zstd from 1.5.7.bcr.1 to 1.5.7.bcr.2
* [2655](https://github.com/AcademySoftwareFoundation/openexr/pull/2655)
Bump rules_cc from 0.2.22 to 0.2.25
* [2654](https://github.com/AcademySoftwareFoundation/openexr/pull/2654)
Bump required OpenJPH to 0.32.0 (by @cary-ilm/Cary Phillips)
* [2650](https://github.com/AcademySoftwareFoundation/openexr/pull/2650)
Fix null pointer memcpy in BytesAttribute for zero-length data (by @x4evexnol/babayaga)
* [2648](https://github.com/AcademySoftwareFoundation/openexr/pull/2648)
Fix DWAB corrupted file (by @vlazar-ilm/Vlad Lazar)
* [2640](https://github.com/AcademySoftwareFoundation/openexr/pull/2640)
LJ2K: declare the chunk padding in a COM marker segment (by
@osamu620/Osamu Watanabe)
* [2637](https://github.com/AcademySoftwareFoundation/openexr/pull/2637)
LJ2K: Use J2K Type 4 NLT LUT to apply the transfer function (by @palemieux/Pierre-Anthony Lemieux)
* [2633](https://github.com/AcademySoftwareFoundation/openexr/pull/2633)
LJ2K: pad lossy chunks so that wavelet folds stay on low-pass
positions (by @osamu620/Osamu Watanabe)
* [2627](https://github.com/AcademySoftwareFoundation/openexr/pull/2627)
Reconsitute compression ctxt cache (by @kdt3rd/Kimball Thurston)
* [2626](https://github.com/AcademySoftwareFoundation/openexr/pull/2626)
Misc warning cleanup (by @kdt3rd/Kimball Thurston)
* [2625](https://github.com/AcademySoftwareFoundation/openexr/pull/2625)
Cleanup compression information routines (by @kdt3rd/Kimball Thurston)
* [2623](https://github.com/AcademySoftwareFoundation/openexr/pull/2623)
Zstd compression support (by @vlazar-ilm/Vlad Lazar)
* [2620](https://github.com/AcademySoftwareFoundation/openexr/pull/2620)
LJ2K: handle non-finite and out-of-bound samples gracefully (by @palemieux/Pierre-Anthony Lemieux)
* [2618](https://github.com/AcademySoftwareFoundation/openexr/pull/2618)
Update vendored libdeflate to 1.26 (by @cary-ilm/Cary Phillips)
* [2599](https://github.com/AcademySoftwareFoundation/openexr/pull/2599)
Add support for loss HTJ2K compressor (LJ2K) (by @palemieux/Pierre-Anthony Lemieux)
* [2581](https://github.com/AcademySoftwareFoundation/openexr/pull/2581)
Mark AcesInputFile/AcesOutputFile and exr2aces as deprecated (by @cary-ilm/Cary Phillips)
* [2577](https://github.com/AcademySoftwareFoundation/openexr/pull/2577)
Revert "Add compression context cache (#2440)" (by @cary-ilm/Cary Phillips)
* [2560](https://github.com/AcademySoftwareFoundation/openexr/pull/2560)
Refine colorInteropID support (by @doug-walker/Doug Walker)
* [2525](https://github.com/AcademySoftwareFoundation/openexr/pull/2525)
Add check to avoid overflow, add tests for reading / writing many channels (by @kthurston/Kimball Thurston)
* [2453](https://github.com/AcademySoftwareFoundation/openexr/pull/2453)
Use std::deque for IDManifest storage to keep references stable (by @mshooter-ilm/Moira Shooter)
* [2443](https://github.com/AcademySoftwareFoundation/openexr/pull/2443)
Fix Imath include on CMake reconfigure (by @cary-ilm/Cary Phillips)
* [2440](https://github.com/AcademySoftwareFoundation/openexr/pull/2440)
Add compression context cache (by @kdt3rd/Kimball Thurston)
* [2435](https://github.com/AcademySoftwareFoundation/openexr/pull/2435)
Add setMaxImageSize/setMaxTileSize to python module (by @cary-ilm/Cary Phillips)
* [2432](https://github.com/AcademySoftwareFoundation/openexr/pull/2432)
Add Python bindings for idManifest (IDManifest) header attribute (by @mshooter-ilm/Moira Shooter)
* [2429](https://github.com/AcademySoftwareFoundation/openexr/pull/2429)
Check for xSize==0 in gaps fuzzer `part_exceeds_memory_limits` (by @cary-ilm/Cary Phillips)
* [2428](https://github.com/AcademySoftwareFoundation/openexr/pull/2428)
Add required includes to website examples (by @ijayhub/Ijay)
* [2419](https://github.com/AcademySoftwareFoundation/openexr/pull/2419)
Impose memory limits in `openexr_exrgaps_fuzzer` (by @cary-ilm/Cary Phillips)
* [2418](https://github.com/AcademySoftwareFoundation/openexr/pull/2418)
Add support for multithreading in Python module (by @cary-ilm/Cary Phillips)
* [2412](https://github.com/AcademySoftwareFoundation/openexr/pull/2412)
Ability to read/write from/to BytesIO buffers in Python API (by @mshooter-ilm/Moira Shooter)
* [2401](https://github.com/AcademySoftwareFoundation/openexr/pull/2401)
test/oss-fuzz: add `openexr_exrgaps_fuzzer` (by @jortles/Anthony Hurtado)
* [2391](https://github.com/AcademySoftwareFoundation/openexr/pull/2391)
Add new fuzzing harnesses that can be consumed by OSS-Fuzz (by @DavidKorczynski)
* [2384](https://github.com/AcademySoftwareFoundation/openexr/pull/2384)
Completing ChannelList Iterator API (by @Arcmantis18/ArcMantis)
* [2376](https://github.com/AcademySoftwareFoundation/openexr/pull/2376)
Include all Imath headers via #include <Imath/...> (by @cary-ilm/Cary Phillips)
* [2369](https://github.com/AcademySoftwareFoundation/openexr/pull/2369)
Clarify #include policy and make usage consistent (by @cary-ilm/Cary Phillips)
* [2309](https://github.com/AcademySoftwareFoundation/openexr/pull/2309)
Don't hardcode the python module install dir (by @antonio-rojas/Antonio Rojas)
* [2276](https://github.com/AcademySoftwareFoundation/openexr/pull/2276)
Build oss-fuzz via oss-fuzz_build.sh (by @cary-ilm/Cary Phillips)
* [2151](https://github.com/AcademySoftwareFoundation/openexr/pull/2151)
Remove iex_debugTrap() function (by @cary-ilm/Cary Phillips)
* [2143](https://github.com/AcademySoftwareFoundation/openexr/pull/2143)
Make the release.py generic, so it works with Imath (by @cary-ilm/Cary Phillips)
* [2117](https://github.com/AcademySoftwareFoundation/openexr/pull/2117)
Bump version on main branch to 4.0.0 (by @cary-ilm/Cary Phillips)
### Documentation Pull Requests
* [2652](https://github.com/AcademySoftwareFoundation/openexr/pull/2652)
website: improve documentation code and equation formatting (by @QuantaDude/Abhirup Bhattacharyya)
* [2651](https://github.com/AcademySoftwareFoundation/openexr/pull/2651)
Set 'align: left' for tables that had central text alignment in
TechnicalIntroduction.rst for better formatting (by @dmitryshurov/Dmitry Shurov)
* [2649](https://github.com/AcademySoftwareFoundation/openexr/pull/2649)
website: document LJ2K compression (by @QuantaDude/Abhirup Bhattacharyya)
* [2647](https://github.com/AcademySoftwareFoundation/openexr/pull/2647)
website: compile documentation examples independently (by @QuantaDude/Abhirup Bhattacharyya)
* [2638](https://github.com/AcademySoftwareFoundation/openexr/pull/2638)
Release notes for v3.5.0 (by @cary-ilm/Cary Phillips)
* [2634](https://github.com/AcademySoftwareFoundation/openexr/pull/2634)
docs: Fix SECURITY.md formatting (by @lgritz/Larry Gritz)
* [2624](https://github.com/AcademySoftwareFoundation/openexr/pull/2624)
Release notes and news for v3.4.15, v3.3.14, v3.2.12 (by @cary-ilm/Cary Phillips)
* [2580](https://github.com/AcademySoftwareFoundation/openexr/pull/2580)
Release notes and news for v3.4.14, v3.3.13, v3.2.11 (by @cary-ilm/Cary Phillips)
* [2549](https://github.com/AcademySoftwareFoundation/openexr/pull/2549)
Fix broken links identified in ASWF Health Check 2026 (by @cary-ilm/Cary Phillips)
* [2512](https://github.com/AcademySoftwareFoundation/openexr/pull/2512)
Update security policy regarding CVE requests (by @cary-ilm/Cary Phillips)
* [2501](https://github.com/AcademySoftwareFoundation/openexr/pull/2501)
Update SECURITY.md with CVE fixes from v3.4.12 and 3.4.13 (by @cary-ilm/Cary Phillips)
* [2497](https://github.com/AcademySoftwareFoundation/openexr/pull/2497)
Release notes and news for v3.4.13, v3.3.12, and v3.2.10 (by @cary-ilm/Cary Phillips)
* [2322](https://github.com/AcademySoftwareFoundation/openexr/pull/2322)
news and release notes for v3.4.8 and v3.4.7 (by @cary-ilm/Cary Phillips)
* [2280](https://github.com/AcademySoftwareFoundation/openexr/pull/2280)
release notes and news for 3.4.6, 3.3.8, and 3.2.6 (by @cary-ilm/Cary Phillips)
* [2275](https://github.com/AcademySoftwareFoundation/openexr/pull/2275)
Fix install doc to note vendored OpenJPH started with v3.4.6 (by @cary-ilm/Cary Phillips)
* [2203](https://github.com/AcademySoftwareFoundation/openexr/pull/2203)
V3.4.4 news (by @cary-ilm/Cary Phillips)
* [2195](https://github.com/AcademySoftwareFoundation/openexr/pull/2195)
Add copyright notices to website example code (by @cary-ilm/Cary Phillips)
* [2172](https://github.com/AcademySoftwareFoundation/openexr/pull/2172)
release notes and news for v3.4.3, v3.3.6, and 3.2.5 (by @cary-ilm/Cary Phillips)
* [2152](https://github.com/AcademySoftwareFoundation/openexr/pull/2152)
Release notes and news for v3.4.2 (by @cary-ilm/Cary Phillips)
### Merged Workflow Pull Requests
* [2636](https://github.com/AcademySoftwareFoundation/openexr/pull/2636)
Bump vmactions/freebsd-vm from 1.5.5 to 1.5.6
* [2635](https://github.com/AcademySoftwareFoundation/openexr/pull/2635)
Bump the codeql group with 3 updates
* [2631](https://github.com/AcademySoftwareFoundation/openexr/pull/2631)
Add Windows ARM64 Python wheel CI (by @xieofxie)
* [2630](https://github.com/AcademySoftwareFoundation/openexr/pull/2630)
Bump pypa/cibuildwheel from 4.2.0 to 4.2.1
* [2576](https://github.com/AcademySoftwareFoundation/openexr/pull/2576)
Bump pypa/cibuildwheel from 4.1.1 to 4.2.0
* [2559](https://github.com/AcademySoftwareFoundation/openexr/pull/2559)
Bump pypa/cibuildwheel from 4.1.0 to 4.1.1
* [2537](https://github.com/AcademySoftwareFoundation/openexr/pull/2537)
Bump the codeql group with 3 updates
* [2523](https://github.com/AcademySoftwareFoundation/openexr/pull/2523)
Group CodeQL GitHub Actions bumps in Dependabot. (by @cary-ilm/Cary Phillips)
* [2521](https://github.com/AcademySoftwareFoundation/openexr/pull/2521)
Bump github/codeql-action/init from 4.36.2 to 4.36.3
* [2520](https://github.com/AcademySoftwareFoundation/openexr/pull/2520)
Bump github/codeql-action/upload-sarif from 4.36.2 to 4.36.3
* [2519](https://github.com/AcademySoftwareFoundation/openexr/pull/2519)
Bump github/codeql-action/analyze from 4.36.2 to 4.36.3
* [2477](https://github.com/AcademySoftwareFoundation/openexr/pull/2477)
Drop support for Python 3.8 (by @cary-ilm/Cary Phillips)
* [2475](https://github.com/AcademySoftwareFoundation/openexr/pull/2475)
Bump pypa/cibuildwheel from 3.4.1 to 4.1.0
* [2459](https://github.com/AcademySoftwareFoundation/openexr/pull/2459)
Bump github/codeql-action from 4.36.0 to 4.36.2
* [2455](https://github.com/AcademySoftwareFoundation/openexr/pull/2455)
Bump actions/checkout from 6.0.2 to 6.0.3
* [2446](https://github.com/AcademySoftwareFoundation/openexr/pull/2446)
Bump openjph from 0.27.0 to 0.27.3.bcr.1
* [2410](https://github.com/AcademySoftwareFoundation/openexr/pull/2410)
Add missing quotes around ENV in src/test/oss-fuzz/CMakeLists.txt (by @cary-ilm/Cary Phillips)
* [2400](https://github.com/AcademySoftwareFoundation/openexr/pull/2400)
Bump openjph from 0.26.3.bcr.1 to 0.27.0
* [2386](https://github.com/AcademySoftwareFoundation/openexr/pull/2386)
Bump rules_cc from 0.2.17 to 0.2.18
* [2371](https://github.com/AcademySoftwareFoundation/openexr/pull/2371)
Bump packaging from 26.0 to 26.1
* [2348](https://github.com/AcademySoftwareFoundation/openexr/pull/2348)
Bump requests from 2.32.5 to 2.33.0 in /website
* [2347](https://github.com/AcademySoftwareFoundation/openexr/pull/2347)
Bump pygments from 2.19.2 to 2.20.0 in /website
* [2286](https://github.com/AcademySoftwareFoundation/openexr/pull/2286)
Bump github/codeql-action from 4.32.4 to 4.32.5
* [2285](https://github.com/AcademySoftwareFoundation/openexr/pull/2285)
Bump scikit-build-core from 0.11.6 to 0.12.1
* [2284](https://github.com/AcademySoftwareFoundation/openexr/pull/2284)
Bump jmertic/slack-release-notifier from 5221a45213eddc6206886797beb079e091c93406 to 6fa159048d5313ff1177d248ad84beb627571670
* [2278](https://github.com/AcademySoftwareFoundation/openexr/pull/2278)
Bump actions/download-artifact from 7.0.0 to 8.0.0
* [2277](https://github.com/AcademySoftwareFoundation/openexr/pull/2277)
Bump actions/upload-artifact from 6.0.0 to 7.0.0
* [2206](https://github.com/AcademySoftwareFoundation/openexr/pull/2206)
Bump openjph from 0.25.2 to 0.25.3
* [2179](https://github.com/AcademySoftwareFoundation/openexr/pull/2179)
Bump readthedocs/actions from 1.2 to 1.5
* [2116](https://github.com/AcademySoftwareFoundation/openexr/pull/2116)
CI fixes: (by @cary-ilm/Cary Phillips)
To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 pkgsrc/graphics/openexr/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/graphics/openexr/PLIST
cvs rdiff -u -r1.78 -r1.79 pkgsrc/graphics/openexr/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/graphics/openexr/patches/patch-src_lib_OpenEXRCore_internal__ht__common.h \
pkgsrc/graphics/openexr/patches/patch-src_lib_OpenEXRCore_internal__ht__quality.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/openexr/Makefile
diff -u pkgsrc/graphics/openexr/Makefile:1.90 pkgsrc/graphics/openexr/Makefile:1.91
--- pkgsrc/graphics/openexr/Makefile:1.90 Sat Sep 26 09:43:06 2026
+++ pkgsrc/graphics/openexr/Makefile Mon Sep 28 14:39:29 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.90 2026/09/26 09:43:06 wiz Exp $
+# $NetBSD: Makefile,v 1.91 2026/09/28 14:39:29 wiz Exp $
-DISTNAME= openexr-3.4.15
-PKGREVISION= 1
+DISTNAME= openexr-3.5.1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=openexr/}
GITHUB_PROJECT= openexr
Index: pkgsrc/graphics/openexr/PLIST
diff -u pkgsrc/graphics/openexr/PLIST:1.29 pkgsrc/graphics/openexr/PLIST:1.30
--- pkgsrc/graphics/openexr/PLIST:1.29 Sun Sep 21 15:10:24 2025
+++ pkgsrc/graphics/openexr/PLIST Mon Sep 28 14:39:29 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.29 2025/09/21 15:10:24 wiz Exp $
+@comment $NetBSD: PLIST,v 1.30 2026/09/28 14:39:29 wiz Exp $
bin/exr2aces
bin/exrenvmap
bin/exrheader
@@ -42,6 +42,7 @@ include/OpenEXR/ImfChannelListAttribute.
include/OpenEXR/ImfCheckFile.h
include/OpenEXR/ImfChromaticities.h
include/OpenEXR/ImfChromaticitiesAttribute.h
+include/OpenEXR/ImfColorMetadata.h
include/OpenEXR/ImfCompositeDeepScanLine.h
include/OpenEXR/ImfCompression.h
include/OpenEXR/ImfCompressionAttribute.h
@@ -148,6 +149,7 @@ include/OpenEXR/openexr_attr.h
include/OpenEXR/openexr_base.h
include/OpenEXR/openexr_chunkio.h
include/OpenEXR/openexr_coding.h
+include/OpenEXR/openexr_color_metadata.h
include/OpenEXR/openexr_compression.h
include/OpenEXR/openexr_config.h
include/OpenEXR/openexr_context.h
@@ -162,25 +164,25 @@ lib/cmake/OpenEXR/OpenEXRConfig.cmake
lib/cmake/OpenEXR/OpenEXRConfigVersion.cmake
lib/cmake/OpenEXR/OpenEXRTargets-release.cmake
lib/cmake/OpenEXR/OpenEXRTargets.cmake
-lib/libIex-3_4.so
-lib/libIex-3_4.so.33
-lib/libIex-3_4.so.33.${PKGVERSION}
+lib/libIex-3_5.so
+lib/libIex-3_5.so.34
+lib/libIex-3_5.so.34.${PKGVERSION}
lib/libIex.so
-lib/libIlmThread-3_4.so
-lib/libIlmThread-3_4.so.33
-lib/libIlmThread-3_4.so.33.${PKGVERSION}
+lib/libIlmThread-3_5.so
+lib/libIlmThread-3_5.so.34
+lib/libIlmThread-3_5.so.34.${PKGVERSION}
lib/libIlmThread.so
-lib/libOpenEXR-3_4.so
-lib/libOpenEXR-3_4.so.33
-lib/libOpenEXR-3_4.so.33.${PKGVERSION}
+lib/libOpenEXR-3_5.so
+lib/libOpenEXR-3_5.so.34
+lib/libOpenEXR-3_5.so.34.${PKGVERSION}
lib/libOpenEXR.so
-lib/libOpenEXRCore-3_4.so
-lib/libOpenEXRCore-3_4.so.33
-lib/libOpenEXRCore-3_4.so.33.${PKGVERSION}
+lib/libOpenEXRCore-3_5.so
+lib/libOpenEXRCore-3_5.so.34
+lib/libOpenEXRCore-3_5.so.34.${PKGVERSION}
lib/libOpenEXRCore.so
-lib/libOpenEXRUtil-3_4.so
-lib/libOpenEXRUtil-3_4.so.33
-lib/libOpenEXRUtil-3_4.so.33.${PKGVERSION}
+lib/libOpenEXRUtil-3_5.so
+lib/libOpenEXRUtil-3_5.so.34
+lib/libOpenEXRUtil-3_5.so.34.${PKGVERSION}
lib/libOpenEXRUtil.so
lib/pkgconfig/OpenEXR.pc
share/doc/OpenEXR/examples/deepExamples.cpp
Index: pkgsrc/graphics/openexr/distinfo
diff -u pkgsrc/graphics/openexr/distinfo:1.78 pkgsrc/graphics/openexr/distinfo:1.79
--- pkgsrc/graphics/openexr/distinfo:1.78 Sun Aug 23 07:48:26 2026
+++ pkgsrc/graphics/openexr/distinfo Mon Sep 28 14:39:29 2026
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.78 2026/08/23 07:48:26 wiz Exp $
+$NetBSD: distinfo,v 1.79 2026/09/28 14:39:29 wiz Exp $
-BLAKE2s (openexr-3.4.15.tar.gz) = 3bd491d330eb68ba034610fc9367d65e54f335766f0279139b78290f26526d55
-SHA512 (openexr-3.4.15.tar.gz) = bdb45dc5af9669f845ec2c5c7cdda45ba46d8e178eb1a2754b8737944c9baef13a48e52e524c6bddefbf3aac770f899fb38147e26059a08dd70fdab879e14ed0
-Size (openexr-3.4.15.tar.gz) = 25838055 bytes
+BLAKE2s (openexr-3.5.1.tar.gz) = ca85ac8c9fd77582124fec04b410fcfdcc9e03c03ff65206b800af84a2358b44
+SHA512 (openexr-3.5.1.tar.gz) = c8ac983cfa48b2ff73ee27bde498eb0d33946533eabf51c1ff60399b2e6e2b7557607d123f75b2f9759b01a921475ab2f1eafe3f974a092e7b0035800634cfc7
+Size (openexr-3.5.1.tar.gz) = 26400002 bytes
+SHA1 (patch-src_lib_OpenEXRCore_internal__ht__common.h) = 5a3e4cff4831611fdff3e07cc0cbfc1e6acfad9d
+SHA1 (patch-src_lib_OpenEXRCore_internal__ht__quality.h) = e16ae3e65e772bb053806c15ae8b5f884eaf5946
Added files:
Index: pkgsrc/graphics/openexr/patches/patch-src_lib_OpenEXRCore_internal__ht__common.h
diff -u /dev/null pkgsrc/graphics/openexr/patches/patch-src_lib_OpenEXRCore_internal__ht__common.h:1.1
--- /dev/null Mon Sep 28 14:39:30 2026
+++ pkgsrc/graphics/openexr/patches/patch-src_lib_OpenEXRCore_internal__ht__common.h Mon Sep 28 14:39:29 2026
@@ -0,0 +1,25 @@
+$NetBSD: patch-src_lib_OpenEXRCore_internal__ht__common.h,v 1.1 2026/09/28 14:39:29 wiz Exp $
+
+Fix build on NetBSD.
+https://github.com/AcademySoftwareFoundation/openexr/issues/2681
+
+--- src/lib/OpenEXRCore/internal_ht_common.h.orig 2026-09-28 14:32:55.547276802 +0000
++++ src/lib/OpenEXRCore/internal_ht_common.h
+@@ -10,7 +10,7 @@
+ #include <float.h>
+ #include <stdint.h>
+ #include <stdlib.h>
+-#include <math.h>
++#include <cmath>
+ #include <string.h>
+ #include <half.h>
+ #include "openexr_coding.h"
+@@ -232,7 +232,7 @@ static inline int32_t float_to_int32(float h)
+ */
+ static inline int32_t float_to_int32(float h)
+ {
+- if (isnan (h)) return 0;
++ if (std::isnan (h)) return 0;
+ double v = round (tf_from_linear ((double) h) * INT32_FLOAT_FACTOR);
+ if (v > (double) INT32_MAX) return INT32_MAX;
+ if (v < -(double) INT32_MAX) return -INT32_MAX;
Index: pkgsrc/graphics/openexr/patches/patch-src_lib_OpenEXRCore_internal__ht__quality.h
diff -u /dev/null pkgsrc/graphics/openexr/patches/patch-src_lib_OpenEXRCore_internal__ht__quality.h:1.1
--- /dev/null Mon Sep 28 14:39:30 2026
+++ pkgsrc/graphics/openexr/patches/patch-src_lib_OpenEXRCore_internal__ht__quality.h Mon Sep 28 14:39:29 2026
@@ -0,0 +1,30 @@
+$NetBSD: patch-src_lib_OpenEXRCore_internal__ht__quality.h,v 1.1 2026/09/28 14:39:29 wiz Exp $
+
+Fix build on NetBSD.
+https://github.com/AcademySoftwareFoundation/openexr/issues/2681
+
+--- src/lib/OpenEXRCore/internal_ht_quality.h.orig 2026-09-28 14:35:15.632016677 +0000
++++ src/lib/OpenEXRCore/internal_ht_quality.h
+@@ -6,7 +6,13 @@
+ #ifndef OPENEXR_PRIVATE_HT_QUALITY_H
+ #define OPENEXR_PRIVATE_HT_QUALITY_H
+
++#ifdef __cplusplus
++#include <cmath>
++#define _OPENEXR_ISFINITE std::isfinite
++#else
+ #include <math.h>
++#define _OPENEXR_ISFINITE isfinite
++#endif
+
+ /** Lower bound of the valid range for the LJ2K lossy quality level. */
+ #define MIN_LOSSY_HTJ2K_QUALITY 1.f
+@@ -17,7 +23,7 @@ is_lossy_htj2k_quality (float q)
+ static inline int
+ is_lossy_htj2k_quality (float q)
+ {
+- return isfinite (q) && q >= MIN_LOSSY_HTJ2K_QUALITY &&
++ return _OPENEXR_ISFINITE (q) && q >= MIN_LOSSY_HTJ2K_QUALITY &&
+ q <= MAX_LOSSY_HTJ2K_QUALITY;
+ }
+
Home |
Main Index |
Thread Index |
Old Index