git: 958546bf98ff - main - graphics/openimageio: update to 2.3.14.0 release
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Apr 2022 14:15:51 UTC
The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=958546bf98ff43aa07db9f195c4a2dc6bbdf74d3 commit 958546bf98ff43aa07db9f195c4a2dc6bbdf74d3 Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2022-04-14 14:10:46 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2022-04-14 14:15:44 +0000 graphics/openimageio: update to 2.3.14.0 release While here, unbreak build with py311 ChangeLog: https://github.com/OpenImageIO/oiio/releases/tag/v2.3.13.0 https://github.com/OpenImageIO/oiio/releases/tag/v2.3.14.0 Approved by: maintainer (implicit) --- graphics/openimageio/Makefile | 4 ++-- graphics/openimageio/distinfo | 6 +++--- .../files/patch-src_cmake_modules_FindPtex.cmake | 4 ++-- graphics/openimageio/files/patch-src_python_py__oiio.h | 16 ++++++++++++++++ graphics/openimageio/pkg-plist | 1 + 5 files changed, 24 insertions(+), 7 deletions(-) diff --git a/graphics/openimageio/Makefile b/graphics/openimageio/Makefile index 29b9c8cd2088..a5195ee3fa6f 100644 --- a/graphics/openimageio/Makefile +++ b/graphics/openimageio/Makefile @@ -1,11 +1,11 @@ PORTNAME= openimageio DISTVERSIONPREFIX= v -DISTVERSION= 2.3.12.0 +DISTVERSION= 2.3.14.0 # PORTREVISION must be set with ?= so as not to stomp over # py-openimageio's PORTREVISION. # Also, just to be on the safe side, when resetting, # best keep PORTREVISION?= 0. -PORTREVISION?= 1 +PORTREVISION?= 0 CATEGORIES?= graphics multimedia MAINTAINER?= FreeBSD@Shaneware.biz diff --git a/graphics/openimageio/distinfo b/graphics/openimageio/distinfo index ee16c52454e0..195a4c5a4651 100644 --- a/graphics/openimageio/distinfo +++ b/graphics/openimageio/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1645127409 -SHA256 (OpenImageIO-oiio-v2.3.12.0_GH0.tar.gz) = 6556df7e9c426994ba00290bfbf6e72c04f0eb0b56c06242442603e67205ea59 -SIZE (OpenImageIO-oiio-v2.3.12.0_GH0.tar.gz) = 32452689 +TIMESTAMP = 1649595424 +SHA256 (OpenImageIO-oiio-v2.3.14.0_GH0.tar.gz) = 4800d1597fbdd859764ac4554655191cf9da6c3bb5739f1d2a6e5630675b0fc1 +SIZE (OpenImageIO-oiio-v2.3.14.0_GH0.tar.gz) = 32463227 diff --git a/graphics/openimageio/files/patch-src_cmake_modules_FindPtex.cmake b/graphics/openimageio/files/patch-src_cmake_modules_FindPtex.cmake index 3666e0a58ebe..f3c60436d3a7 100644 --- a/graphics/openimageio/files/patch-src_cmake_modules_FindPtex.cmake +++ b/graphics/openimageio/files/patch-src_cmake_modules_FindPtex.cmake @@ -1,10 +1,10 @@ ---- src/cmake/modules/FindPtex.cmake.orig 2021-07-01 18:54:28 UTC +--- src/cmake/modules/FindPtex.cmake.orig 2022-02-27 08:12:20 UTC +++ src/cmake/modules/FindPtex.cmake @@ -70,6 +70,7 @@ else () PATHS /usr/include /usr/local/include -+ %%LOCALBASE%%/include/ptex ++ /usr/local/include/ptex DOC "The directory where Ptexture.h resides") find_library( PTEX_LIBRARY NAMES diff --git a/graphics/openimageio/files/patch-src_python_py__oiio.h b/graphics/openimageio/files/patch-src_python_py__oiio.h new file mode 100644 index 000000000000..c46019870a19 --- /dev/null +++ b/graphics/openimageio/files/patch-src_python_py__oiio.h @@ -0,0 +1,16 @@ +--- src/python/py_oiio.h.orig 2022-02-27 08:12:20 UTC ++++ src/python/py_oiio.h +@@ -41,6 +41,13 @@ OIIO_CLANG_PRAGMA(GCC diagnostic ignored "-Wunused-val + OIIO_CLANG_PRAGMA(GCC diagnostic ignored "-Wunused-value") + #endif + ++#if PY_VERSION_HEX >= 0x030b00a6 ++ #ifndef Py_BUILD_CORE ++ #define Py_BUILD_CORE 1 ++ #endif ++ #include "internal/pycore_frame.h" ++#endif ++ + #include <pybind11/numpy.h> + #include <pybind11/operators.h> + #include <pybind11/pybind11.h> diff --git a/graphics/openimageio/pkg-plist b/graphics/openimageio/pkg-plist index a0ccce149d79..83d7eb5ff269 100644 --- a/graphics/openimageio/pkg-plist +++ b/graphics/openimageio/pkg-plist @@ -22,6 +22,7 @@ include/OpenImageIO/detail/fmt/format-inl.h include/OpenImageIO/detail/fmt/format.h include/OpenImageIO/detail/fmt/ostream.h include/OpenImageIO/detail/fmt/printf.h +include/OpenImageIO/detail/fmt.h include/OpenImageIO/detail/pugixml/pugiconfig.hpp include/OpenImageIO/detail/pugixml/pugixml.cpp include/OpenImageIO/detail/pugixml/pugixml.hpp