Sunday, June 04, 2023

UPDATE: OpenColorIO 2.2.1

Here is an update to OpenColorIO 2.2.1.


New features:

PR #1659, Build the new ACES CG and Studio configs into the library itself
PR #1696, Allow OCIO configs to be archived, introducing the .ocioz file format
PR #1710, Convert to or from a known external color space
PR #1703, Add a method to query whether a color space is linear
PR #1637, Address circular build dependency between OCIO and OpenImageIO

Noteworthy bug fixes and enhancements:

PR #1711, Make the interchange roles required for config versions 2.2 or higher
PR #1691, Add support for ICC Parametric curves type 1-4
PR #1689, Add getProcessor calls that take a NamedTransform
PR #1604, Add preliminary support for ACES Metadata Files (AMF)
PR #1693, Add NamedTransform support for Baking and fix crosstalk issue
PR #1704, Add Built-in Transforms for ARRI LogC4 and Canon curves
PR #1706, Add Python 3.11 wheels
PR #1712, Fix atan2 issue with ACES viewing transforms in HLSL
PR #1656, Speed up config ID hashing (replace md5 with xxhash)
PR #1684, Allow ocioconvert, ociowrite, ocioperf to invert a DisplayViewTransform
PR #1646, Provide scripts to facilitate building OCIO on Windows
PR #1630, Improve iridas_cube parsing speed
PR #1605, Add Python source distribution package for PyPI
PR #1598, Add DisplayViewTransform support to Baker
PR #1516, Default to C++ 14 and remove OIIO from ocioperf
PR #1532, Update default branch name to "main"


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/graphics/opencolorio/Makefile,v
retrieving revision 1.27
diff -u -p -u -p -r1.27 Makefile
--- Makefile 29 May 2023 17:44:22 -0000 1.27
+++ Makefile 31 May 2023 21:23:15 -0000
@@ -1,15 +1,12 @@
-ONLY_FOR_ARCHS = ${CLANG_ARCHS}
-
COMMENT = color management library

EPOCH = 1
GH_ACCOUNT = AcademySoftwareFoundation
GH_PROJECT = OpenColorIO
-GH_TAGNAME = v2.1.1
+GH_TAGNAME = v2.2.1
PKGNAME = ${DISTNAME:L}
-REVISION = 1

-SHARED_LIBS += OpenColorIO 1.1 # 1.1.1
+SHARED_LIBS += OpenColorIO 2.0 # 1.1.1

CATEGORIES = graphics

@@ -20,9 +17,9 @@ MAINTAINER = Pascal Stumpf <pascal@stum
# several BSD-like
PERMIT_PACKAGE = Yes

-WANTLIB += ${COMPILER_LIBCXX} Imath-3_1 expat m pystring yaml-cpp
+WANTLIB += ${COMPILER_LIBCXX} Imath-3_1 expat m pystring yaml-cpp z

-COMPILER = base-clang
+COMPILER = base-clang ports-gcc

MODULES = devel/cmake \
lang/python
@@ -32,7 +29,7 @@ BUILD_DEPENDS = devel/boost \
devel/py-setuptools${MODPY_FLAVOR} \
devel/py-wheel${MODPY_FLAVOR}
LIB_DEPENDS = devel/pystring \
- devel/yaml-cpp \
+ devel/yaml-cpp>=0.7.0 \
math/imath

CONFIGURE_ARGS += -DPYTHON="${MODPY_BIN}" \
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/graphics/opencolorio/distinfo,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 distinfo
--- distinfo 5 Mar 2022 11:30:09 -0000 1.7
+++ distinfo 28 May 2023 10:01:23 -0000
@@ -1,2 +1,2 @@
-SHA256 (OpenColorIO-2.1.1.tar.gz) = FuvD4PIfctvpD+YEN+uGT01N6cJV744hL4N4JPybjZw=
-SIZE (OpenColorIO-2.1.1.tar.gz) = 11013141
+SHA256 (OpenColorIO-2.2.1.tar.gz) = NvJ8WIf8TlwkGAXCm4uOaHJaoFUgvKp8fshMBCK4WA4=
+SIZE (OpenColorIO-2.2.1.tar.gz) = 11336775
Index: patches/patch-src_utils_NumberUtils_h
===================================================================
RCS file: /home/cvs/ports/graphics/opencolorio/patches/patch-src_utils_NumberUtils_h,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 patch-src_utils_NumberUtils_h
--- patches/patch-src_utils_NumberUtils_h 11 Mar 2022 19:22:55 -0000 1.4
+++ patches/patch-src_utils_NumberUtils_h 3 Jun 2023 09:24:13 -0000
@@ -1,14 +1,27 @@
-Fix build failure
-
Index: src/utils/NumberUtils.h
--- src/utils/NumberUtils.h.orig
+++ src/utils/NumberUtils.h
-@@ -140,7 +140,7 @@ really_inline from_chars_result from_chars(const char
+@@ -64,8 +64,10 @@ really_inline from_chars_result from_chars(const char
+ double
#ifdef _WIN32
- tempval = _strtol_l(first, &endptr, 0, loc.local);
- #else
-- tempval = ::strtol_l(first, &endptr, 0, loc.local);
-+ tempval = ::strtoll_l(first, &endptr, 0, loc.local);
+ tempval = _strtod_l(first, &endptr, loc.local);
+-#else
++#elif defined(__GLIBC__) || defined(_LIBCPP_VERSION)
+ tempval = ::strtod_l(first, &endptr, loc.local);
++#else
++ tempval = ::strtod(first, &endptr);
+

No comments:

Post a Comment