Here is an update to OpenImageIO 2.5.10.1.

Release 2.5.10.1 (Apr 1, 2024) -- compared to 2.5.9.0
------------------------------------------------------
- *oiiotool*: Expression substitution now understands pseudo-metadata 
`NONFINITE_COUNT` that returns the number of nonfinite values in the image, 
thus allowing decision making about fixnan 
[#4171](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4171)
- *color managements*: Automatically recognize some additional color space name 
synonyms: "srgb_texture", "lin_rec709" and "lin_ap1". Also add common 
permutation "srgb_tx" and "srgb texture" as additional aliases for "srgb". 
[#4166](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4166)
- *openexr*: Implement copy_image for OpenEXR 
[#4004](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4004) (by 
Andy Chan)
- *heic*: Don't auto-transform camera-rotated images 
[#4142](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4142) 
[#4184](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4184)
- *hash.h*: Mismatched pragma push/pop in hash.h 
[#4182](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4182)
- *simd.h*: gather_mask() was wrong for no-simd fallback 
[#4183](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4183)
- *texture.h*: Overload decode_wrapmode to support ustringhash 
[#4207](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4207) (by 
Chris Hellmuth)
- *build*: Fix warning when Freetype is disabled 
[#4177](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4177)
- *build*: iv build issues with glTexImage3D 
[#4202](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4202) (by 
Vlad (Kuzmin) Erium)
- *build*: Fix buld_ninja.bash to make directories and download correctly 
[#4192](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4192) (by 
Sergio Rojas)
- *build*: Need additional include 
[#4194](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4194)
- *build*: FindOpenColorIO failed to properly set OpenColorIO_VERSION 
[#4196](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4196)
- *build*: Restore internals of strhash to compile correctly on 32 bit 
architectures 
[#4123](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4123)
- *ci*: Allow triggering CI workflow from web 
[#4178](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4178)
- *ci*: Make one of the Mac tests build for avx2 
[#4188](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4188)
- *ci*: Enable Windows 2022 CI tests 
[#4195](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4195)
- *docs*: Fix some typos and add missing oiiotool expression explanations 
[#4169](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4169)
- *admin*: Add a ROADMAP document 
[#4161](https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4161)


Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/openimageio/Makefile,v
retrieving revision 1.71
diff -u -p -u -p -r1.71 Makefile
--- Makefile    2 Apr 2024 09:41:26 -0000       1.71
+++ Makefile    4 Apr 2024 04:31:23 -0000
@@ -5,7 +5,7 @@ COMMENT =               library for reading and writi
 
 GH_ACCOUNT =           AcademySoftwareFoundation
 GH_PROJECT =           OpenImageIO
-GH_TAGNAME =           v2.5.9.0
+GH_TAGNAME =           v2.5.10.1
 PKGNAME =              ${DISTNAME:L}
 
 SHARED_LIBS +=         OpenImageIO             15.0 # 2.4.10
Index: distinfo
===================================================================
RCS file: /cvs/ports/graphics/openimageio/distinfo,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 distinfo
--- distinfo    2 Apr 2024 09:41:26 -0000       1.20
+++ distinfo    4 Apr 2024 04:31:23 -0000
@@ -1,2 +1,2 @@
-SHA256 (OpenImageIO-2.5.9.0.tar.gz) = 
tqaONpvEdVJeuEO9wMuK3JEMxxAAgl+NubXhNhZs3Hg=
-SIZE (OpenImageIO-2.5.9.0.tar.gz) = 52051925
+SHA256 (OpenImageIO-2.5.10.1.tar.gz) = 
j2pUf2pdUQc3ukNvhnBD21N972Xw/bFOww5aGFthn5M=
+SIZE (OpenImageIO-2.5.10.1.tar.gz) = 52061055
Index: patches/patch-src_include_OpenImageIO_detail_farmhash_h
===================================================================
RCS file: patches/patch-src_include_OpenImageIO_detail_farmhash_h
diff -N patches/patch-src_include_OpenImageIO_detail_farmhash_h
--- patches/patch-src_include_OpenImageIO_detail_farmhash_h     2 Apr 2024 
09:41:26 -0000       1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-fix: Restore internals of strhash to compile on 32 bit architectures
-https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/004a04fc1d5f5a949598b18978f8f960fc604d1b
-
-Index: src/include/OpenImageIO/detail/farmhash.h
---- src/include/OpenImageIO/detail/farmhash.h.orig
-+++ src/include/OpenImageIO/detail/farmhash.h
-@@ -2097,7 +2097,7 @@ STATIC_INLINE uint64_t Hash64(const char* s, size_t le
- // May change from time to time, may differ on different platforms, may differ
- // depending on NDEBUG.
- STATIC_INLINE size_t Hash(const char* s, size_t len) {
--  return sizeof(size_t) == 8 ? Hash64(s, len) : Hash32(s, len);
-+  return sizeof(size_t) == 8 ? size_t(Hash64(s, len)) : size_t(Hash32(s, 
len));
- }
- 
- // Hash function for a byte array.  For convenience, a 64-bit seed is also
Index: patches/patch-src_include_OpenImageIO_strutil_h
===================================================================
RCS file: patches/patch-src_include_OpenImageIO_strutil_h
diff -N patches/patch-src_include_OpenImageIO_strutil_h
--- patches/patch-src_include_OpenImageIO_strutil_h     2 Apr 2024 09:41:26 
-0000       1.5
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,22 +0,0 @@
-fix: Restore internals of strhash to compile on 32 bit architectures
-https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/004a04fc1d5f5a949598b18978f8f960fc604d1b
-
-Index: src/include/OpenImageIO/strutil.h
---- src/include/OpenImageIO/strutil.h.orig
-+++ src/include/OpenImageIO/strutil.h
-@@ -366,13 +366,13 @@ std::string OIIO_UTIL_API wordwrap (string_view src, i
- 
- 
- /// Our favorite "string" hash of a length of bytes. Currently, it is just
--/// a wrapper for an inlined, constexpr (if C++ >= 14), Cuda-safe farmhash.
-+/// a wrapper for an inlined, constexpr, Cuda-safe farmhash.
- /// It returns a size_t, so will be a 64 bit hash on 64-bit platforms, but
- /// a 32 bit hash on 32-bit platforms.
- inline constexpr size_t
- strhash(size_t len, const char *s)
- {
--    return OIIO::farmhash::inlined::Hash(s, len);
-+    return size_t(OIIO::farmhash::inlined::Hash64(s, len));
- }
- 
- 
Index: patches/patch-src_libutil_strutil_test_cpp
===================================================================
RCS file: patches/patch-src_libutil_strutil_test_cpp
diff -N patches/patch-src_libutil_strutil_test_cpp
--- patches/patch-src_libutil_strutil_test_cpp  2 Apr 2024 09:41:26 -0000       
1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,24 +0,0 @@
-fix: Restore internals of strhash to compile on 32 bit architectures
-https://github.com/AcademySoftwareFoundation/OpenImageIO/commit/004a04fc1d5f5a949598b18978f8f960fc604d1b
-
-Index: src/libutil/strutil_test.cpp
---- src/libutil/strutil_test.cpp.orig
-+++ src/libutil/strutil_test.cpp
-@@ -346,13 +346,13 @@ void
- test_hash()
- {
-     using namespace Strutil;
--    OIIO_CHECK_EQUAL(strhash("foo"), 6150913649986995171);
--    OIIO_CHECK_EQUAL(strhash(std::string("foo")), 6150913649986995171);
--    OIIO_CHECK_EQUAL(strhash(string_view("foo")), 6150913649986995171);
-+    OIIO_CHECK_EQUAL(strhash("foo"), size_t(6150913649986995171));
-+    OIIO_CHECK_EQUAL(strhash(std::string("foo")), 
size_t(6150913649986995171));
-+    OIIO_CHECK_EQUAL(strhash(string_view("foo")), 
size_t(6150913649986995171));
-     OIIO_CHECK_EQUAL(strhash(""), 0);  // empty string hashes to 0
-     // Check longer hash and ensure that it's really constexpr
-     constexpr size_t hash = Strutil::strhash("much longer string");
--    OIIO_CHECK_EQUAL(hash, 16257490369375554819ULL);
-+    OIIO_CHECK_EQUAL(hash, size_t(16257490369375554819ULL));
- }
- 
- 
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/graphics/openimageio/pkg/PLIST,v
retrieving revision 1.21
diff -u -p -u -p -r1.21 PLIST
--- pkg/PLIST   2 Apr 2024 09:41:26 -0000       1.21
+++ pkg/PLIST   4 Apr 2024 04:31:23 -0000
@@ -27,7 +27,6 @@ include/OpenImageIO/detail/fmt/format-in
 include/OpenImageIO/detail/fmt/format.h
 include/OpenImageIO/detail/fmt/ostream.h
 include/OpenImageIO/detail/fmt/printf.h
-include/OpenImageIO/detail/fmt/std.h
 include/OpenImageIO/errorhandler.h
 include/OpenImageIO/export.h
 include/OpenImageIO/filesystem.h

Reply via email to