UPDATE: openimageio 2.4.11.0

2023-05-05 Thread Brad Smith
Here is an update to openimageio 2.4.11.0.


Release 2.4.11.0 (1 May 2023) -- compared to 2.4.10.0
--
* oiiotool: For expression evaluation, `NIMAGES` now evaluates to the current
  image stack depth. #3822
* Python: Improve error messages when passing wrong python array sizes. #3801
* Raw: handle 1-channel raw images. #3798
* HEIC: Support the ".hif" extension, which seems to be used by some Canon
  cameras instead of .heif. #3813
* PSD: Fix problems reading images with width > 64k pixels. #3806
* Windows/fmath: Work around MSVS bug(?) that generated wrong code for
  fast_exp2. #3804
* Build: Fix building on OpenBSD. #3808
* Build: Refactor simd.h to disable Intel intrinsics when not on Intel
  (including Cuda compiles). #3814
* Build: Fix building against new ffmpeg 6.0. #3812
* Build: Work around problems with fmt library + NVPTX relating to unknown
  float128 type. #3823
* CI/test: Fix incorrect branch name when cloning openexr-images for the
  testsuite. #3814
* Test: Use copies instead of symlinks in a couple spots to help on Windows.
  #3818


Index: Makefile
===
RCS file: /home/cvs/ports/graphics/openimageio/Makefile,v
retrieving revision 1.66
diff -u -p -u -p -r1.66 Makefile
--- Makefile27 Apr 2023 06:00:30 -  1.66
+++ Makefile5 May 2023 23:17:13 -
@@ -6,11 +6,10 @@ COMMENT = library for reading and writi
 GH_ACCOUNT =   OpenImageIO
 GH_PROJECT =   oiio
 GH_TAGNAME =   v$V
-V =2.4.10.0
+V =2.4.11.0
 DISTNAME = openimageio-${V}
-REVISION = 3
 
-SHARED_LIBS += OpenImageIO 12.0 # 2.4.10
+SHARED_LIBS += OpenImageIO 13.0 # 2.4.10
 SHARED_LIBS += OpenImageIO_Util8.0 # 2.4.10
 
 CATEGORIES =   graphics devel
Index: distinfo
===
RCS file: /home/cvs/ports/graphics/openimageio/distinfo,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 distinfo
--- distinfo27 Apr 2023 06:00:30 -  1.17
+++ distinfo5 May 2023 22:44:31 -
@@ -1,2 +1,2 @@
-SHA256 (openimageio-2.4.10.0.tar.gz) = 
WfUjoLmhAUmTvtz3dSmTr0OzSHYRZfUupuuEeH9XrtU=
-SIZE (openimageio-2.4.10.0.tar.gz) = 32155954
+SHA256 (openimageio-2.4.11.0.tar.gz) = 
UTkLPnIiiS6H65KdInu7W5vp9787RyKakdKxBuv/s/s=
+SIZE (openimageio-2.4.11.0.tar.gz) = 32158503
Index: patches/patch-src_libutil_strutil_cpp
===
RCS file: patches/patch-src_libutil_strutil_cpp
diff -N patches/patch-src_libutil_strutil_cpp
--- patches/patch-src_libutil_strutil_cpp   27 Apr 2023 06:00:30 -  
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,30 +0,0 @@
-Index: src/libutil/strutil.cpp
 src/libutil/strutil.cpp.orig
-+++ src/libutil/strutil.cpp
-@@ -62,7 +62,7 @@ static std::mutex output_mutex;
- 
- // On systems that support it, get a location independent locale.
- #if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) \
--|| defined(__FreeBSD_kernel__) || defined(__GLIBC__)
-+|| defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || 
defined(__GLIBC__)
- static locale_t c_loc = newlocale(LC_ALL_MASK, "C", nullptr);
- #elif defined(_WIN32)
- static _locale_t c_loc = _create_locale(LC_ALL, "C");
-@@ -446,7 +446,7 @@ inline int
- strcasecmp(const char* a, const char* b)
- {
- #if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) \
--|| defined(__FreeBSD_kernel__) || defined(__GLIBC__)
-+|| defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || 
defined(__GLIBC__)
- return strcasecmp_l(a, b, c_loc);
- #elif defined(_WIN32)
- return _stricmp_l(a, b, c_loc);
-@@ -460,7 +460,7 @@ inline int
- strncasecmp(const char* a, const char* b, size_t size)
- {
- #if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) \
--|| defined(__FreeBSD_kernel__) || defined(__GLIBC__)
-+|| defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || 
defined(__GLIBC__)
- return strncasecmp_l(a, b, size, c_loc);
- #elif defined(_WIN32)
- return _strnicmp_l(a, b, size, c_loc);



Re: UPDATE: openimageio 2.4.11.0

2023-05-13 Thread Brad Smith

ping.

On 2023-05-05 8:58 p.m., Brad Smith wrote:

Here is an update to openimageio 2.4.11.0.


Release 2.4.11.0 (1 May 2023) -- compared to 2.4.10.0
--
* oiiotool: For expression evaluation, `NIMAGES` now evaluates to the current
   image stack depth. #3822
* Python: Improve error messages when passing wrong python array sizes. #3801
* Raw: handle 1-channel raw images. #3798
* HEIC: Support the ".hif" extension, which seems to be used by some Canon
   cameras instead of .heif. #3813
* PSD: Fix problems reading images with width > 64k pixels. #3806
* Windows/fmath: Work around MSVS bug(?) that generated wrong code for
   fast_exp2. #3804
* Build: Fix building on OpenBSD. #3808
* Build: Refactor simd.h to disable Intel intrinsics when not on Intel
   (including Cuda compiles). #3814
* Build: Fix building against new ffmpeg 6.0. #3812
* Build: Work around problems with fmt library + NVPTX relating to unknown
   float128 type. #3823
* CI/test: Fix incorrect branch name when cloning openexr-images for the
   testsuite. #3814
* Test: Use copies instead of symlinks in a couple spots to help on Windows.
   #3818


Index: Makefile
===
RCS file: /home/cvs/ports/graphics/openimageio/Makefile,v
retrieving revision 1.66
diff -u -p -u -p -r1.66 Makefile
--- Makefile27 Apr 2023 06:00:30 -  1.66
+++ Makefile5 May 2023 23:17:13 -
@@ -6,11 +6,10 @@ COMMENT = library for reading and writi
  GH_ACCOUNT =  OpenImageIO
  GH_PROJECT =  oiio
  GH_TAGNAME =  v$V
-V =2.4.10.0
+V =2.4.11.0
  DISTNAME =openimageio-${V}
-REVISION = 3
  
-SHARED_LIBS +=		OpenImageIO		12.0 # 2.4.10

+SHARED_LIBS += OpenImageIO 13.0 # 2.4.10
  SHARED_LIBS +=OpenImageIO_Util8.0 # 2.4.10
  
  CATEGORIES =		graphics devel

Index: distinfo
===
RCS file: /home/cvs/ports/graphics/openimageio/distinfo,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 distinfo
--- distinfo27 Apr 2023 06:00:30 -  1.17
+++ distinfo5 May 2023 22:44:31 -
@@ -1,2 +1,2 @@
-SHA256 (openimageio-2.4.10.0.tar.gz) = 
WfUjoLmhAUmTvtz3dSmTr0OzSHYRZfUupuuEeH9XrtU=
-SIZE (openimageio-2.4.10.0.tar.gz) = 32155954
+SHA256 (openimageio-2.4.11.0.tar.gz) = 
UTkLPnIiiS6H65KdInu7W5vp9787RyKakdKxBuv/s/s=
+SIZE (openimageio-2.4.11.0.tar.gz) = 32158503
Index: patches/patch-src_libutil_strutil_cpp
===
RCS file: patches/patch-src_libutil_strutil_cpp
diff -N patches/patch-src_libutil_strutil_cpp
--- patches/patch-src_libutil_strutil_cpp   27 Apr 2023 06:00:30 -  
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,30 +0,0 @@
-Index: src/libutil/strutil.cpp
 src/libutil/strutil.cpp.orig
-+++ src/libutil/strutil.cpp
-@@ -62,7 +62,7 @@ static std::mutex output_mutex;
-
- // On systems that support it, get a location independent locale.
- #if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) \
--|| defined(__FreeBSD_kernel__) || defined(__GLIBC__)
-+|| defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || 
defined(__GLIBC__)
- static locale_t c_loc = newlocale(LC_ALL_MASK, "C", nullptr);
- #elif defined(_WIN32)
- static _locale_t c_loc = _create_locale(LC_ALL, "C");
-@@ -446,7 +446,7 @@ inline int
- strcasecmp(const char* a, const char* b)
- {
- #if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) \
--|| defined(__FreeBSD_kernel__) || defined(__GLIBC__)
-+|| defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || 
defined(__GLIBC__)
- return strcasecmp_l(a, b, c_loc);
- #elif defined(_WIN32)
- return _stricmp_l(a, b, c_loc);
-@@ -460,7 +460,7 @@ inline int
- strncasecmp(const char* a, const char* b, size_t size)
- {
- #if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) \
--|| defined(__FreeBSD_kernel__) || defined(__GLIBC__)
-+|| defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || 
defined(__GLIBC__)
- return strncasecmp_l(a, b, size, c_loc);
- #elif defined(_WIN32)
- return _strnicmp_l(a, b, size, c_loc);