pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/openimageio openimageio: updated to 2.2.20.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/20f50ae66003
branches: trunk
changeset: 381171:20f50ae66003
user: adam <adam%pkgsrc.org@localhost>
date: Fri Jul 01 16:18:44 2022 +0000
description:
openimageio: updated to 2.2.20.0
Release 2.2.20 (1 Feb 2022) -- compared to 2.2.19
Fix some address sanitizer failures.
Build/CI: Deal with OpenColor renaming its master branch to main.
Windows: Fix error when compiling with MSVC.
Fix excessive memory usage when saving EXR with many channels.
TIFF: now works for 16-bit palette images.
Fix ImageBuf::read bug for images of mixed per-channel data types.
Release 2.2.19 (1 Nov 2021) -- compared to 2.2.18
Better catching of exceptions thrown by OCIO 1.x if it encounters 2.0 config files.
Address new warnings revealed by clang 13.
Fixed some minor python binding bugs.
Fix when building with Clang on big-endian architectures.
Fix occasional build breaks related to OpenCV headers.
Improvements to NetBSD and OpenBSD support..
Fixes to work with the libraw 202110 snapshot.
Release 2.2.18 (1 Sep 2021) -- compared to 2.2.17
Honor env variable CUE_THREADS (used by OpenCue) to set the default size of OIIO's thread pool.
Compatibility with OpenColorIO 2.1.
Dev: Extend Sysutil::getenv() to take a default if the environment variable is not found.
Release 2.2.17 (1 Aug 2021) -- compared to 2.2.16
Output to DPX files now supports IOProxy. (Input already did.)
typedesc.h: TypeDesc can now describe 2D and 3D bounding boxes, as arrays of 2 VEC2 aggregates (for 2D) or VEC3 aggregates (for 3D) with "BOX" semantic. The shorthand for these are TypeBox2, TypeBox3
(for float), and TypeBox2i and TypeBox3i for integer or pixel coordinte boxes.
Build: Fixes for building against fmt 8.0.0.
Build: Finding boost is more flexible when desiring static libraries.
diffstat:
graphics/openimageio/Makefile | 5 +-
graphics/openimageio/PLIST | 6 +-
graphics/openimageio/distinfo | 8 +-
graphics/openimageio/patches/patch-src_libutil_sysutil.cpp | 82 --------------
4 files changed, 9 insertions(+), 92 deletions(-)
diffs (137 lines):
diff -r 9e97e816a602 -r 20f50ae66003 graphics/openimageio/Makefile
--- a/graphics/openimageio/Makefile Fri Jul 01 16:15:47 2022 +0000
+++ b/graphics/openimageio/Makefile Fri Jul 01 16:18:44 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.83 2022/01/10 01:46:35 ryoon Exp $
+# $NetBSD: Makefile,v 1.84 2022/07/01 16:18:44 adam Exp $
-DISTNAME= oiio-2.2.16.0
+DISTNAME= oiio-2.2.20.0
PKGNAME= ${DISTNAME:S/oiio/openimageio/}
-PKGREVISION= 5
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=OpenImageIO/}
GITHUB_PROJECT= oiio
diff -r 9e97e816a602 -r 20f50ae66003 graphics/openimageio/PLIST
--- a/graphics/openimageio/PLIST Fri Jul 01 16:15:47 2022 +0000
+++ b/graphics/openimageio/PLIST Fri Jul 01 16:18:44 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2021/07/14 17:58:21 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2022/07/01 16:18:44 adam Exp $
bin/iconvert
bin/idiff
bin/igrep
@@ -64,10 +64,10 @@
lib/cmake/OpenImageIO/OpenImageIOTargets.cmake
lib/libOpenImageIO.so
lib/libOpenImageIO.so.2.2
-lib/libOpenImageIO.so.2.2.16
+lib/libOpenImageIO.so.2.2.20
lib/libOpenImageIO_Util.so
lib/libOpenImageIO_Util.so.2.2
-lib/libOpenImageIO_Util.so.2.2.16
+lib/libOpenImageIO_Util.so.2.2.20
lib/pkgconfig/OpenImageIO.pc
share/cmake/Modules/FindOpenImageIO.cmake
share/doc/OpenImageIO/CHANGES-0.x.md
diff -r 9e97e816a602 -r 20f50ae66003 graphics/openimageio/distinfo
--- a/graphics/openimageio/distinfo Fri Jul 01 16:15:47 2022 +0000
+++ b/graphics/openimageio/distinfo Fri Jul 01 16:18:44 2022 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.27 2021/10/26 10:46:34 nia Exp $
+$NetBSD: distinfo,v 1.28 2022/07/01 16:18:44 adam Exp $
-BLAKE2s (oiio-2.2.16.0.tar.gz) = 7e5978a58f4a6ebc8f63e9612914b9e0b7b620af26dc9c9ea267a5b5495eb6d2
-SHA512 (oiio-2.2.16.0.tar.gz) = f4919801ade1de1bf4427ffb7f7e36c0a292b1f374b035cec425921fe8df61f7b5c1fbc961884d21ae41a975d7ccc8da884e9404c9f487232c71ec42e6044ea3
-Size (oiio-2.2.16.0.tar.gz) = 29239455 bytes
+BLAKE2s (oiio-2.2.20.0.tar.gz) = df9abfff664dfa32500bce970085f5fbab86f7f6f77890a0e9fa19d1c202861f
+SHA512 (oiio-2.2.20.0.tar.gz) = 0c02f79973ac66633cadfe7159112fe5007b8af96d25e5aa7586fd5543472e8a63b384574bdd6af4236e18092e53e6bf318b47fa36b4c25afe5ce41c5c71b3ff
+Size (oiio-2.2.20.0.tar.gz) = 29253646 bytes
SHA1 (patch-src_cmake_compiler.cmake) = 8c06e8e22eb927bbdec288c166a5dc44fbef5acb
SHA1 (patch-src_libutil_sysutil.cpp) = f828232fed737ede5013e926630e29efa63c8f04
diff -r 9e97e816a602 -r 20f50ae66003 graphics/openimageio/patches/patch-src_libutil_sysutil.cpp
--- a/graphics/openimageio/patches/patch-src_libutil_sysutil.cpp Fri Jul 01 16:15:47 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-$NetBSD: patch-src_libutil_sysutil.cpp,v 1.5 2021/01/19 16:02:25 nia Exp $
-
-Add support for NetBSD and other operating systems.
-
---- src/libutil/sysutil.cpp.orig 2021-01-08 07:41:40.000000000 +0000
-+++ src/libutil/sysutil.cpp
-@@ -22,7 +22,7 @@
- # include <unistd.h>
- #endif
-
--#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
-+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__)
- # include <sys/ioctl.h>
- # include <sys/resource.h>
- # include <sys/sysctl.h>
-@@ -198,6 +198,13 @@ Sysutil::physical_memory()
- sysctl(mib, 2, &physical_memory, &length, NULL, 0);
- return physical_memory;
-
-+#elif defined(__NetBSD__)
-+ int mib[2] = { CTL_HW, HW_PHYSMEM64 };
-+ uint64_t physical_memory;
-+ size_t length = sizeof(physical_memory);
-+ sysctl(mib, 2, &physical_memory, &length, NULL, 0);
-+ return physical_memory;
-+
- #else
- // No idea what platform this is
- OIIO_ASSERT(
-@@ -255,12 +262,17 @@ Sysutil::this_program_path()
- size_t cb = sizeof(filename);
- int r = 1;
- sysctl(mib, 4, filename, &cb, NULL, 0);
--#elif defined(__GNU__) || defined(__OpenBSD__) || defined(_WIN32)
-- int r = 0;
-+#elif defined(__NetBSD__)
-+ int mib[4];
-+ mib[0] = CTL_KERN;
-+ mib[1] = KERN_PROC_ARGS;
-+ mib[2] = -1;
-+ mib[3] = KERN_PROC_PATHNAME;
-+ size_t cb = sizeof(filename);
-+ int r = 1;
-+ sysctl(mib, 4, filename, &cb, NULL, 0);
- #else
-- // No idea what platform this is
-- OIIO_STATIC_ASSERT_MSG(0,
-- "this_program_path() unimplemented on this platform");
-+ int r = 0;
- #endif
-
- if (r > 0)
-@@ -295,12 +307,11 @@ Sysutil::terminal_columns()
- {
- int columns = 80; // a decent guess, if we have nothing more to go on
-
--#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) \
-- || defined(__FreeBSD_kernel__) || defined(__GNU__)
-+#if !defined(_WIN32)
- struct winsize w;
- ioctl(0, TIOCGWINSZ, &w);
- columns = w.ws_col;
--#elif defined(_WIN32)
-+#else
- HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE);
- if (h != INVALID_HANDLE_VALUE) {
- CONSOLE_SCREEN_BUFFER_INFO csbi = { { 0 } };
-@@ -319,12 +330,11 @@ Sysutil::terminal_rows()
- {
- int rows = 24; // a decent guess, if we have nothing more to go on
-
--#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) \
-- || defined(__FreeBSD_kernel__) || defined(__GNU__)
-+#if !defined(_WIN32)
- struct winsize w;
- ioctl(0, TIOCGWINSZ, &w);
- rows = w.ws_row;
--#elif defined(_WIN32)
-+#else
- HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE);
- if (h != INVALID_HANDLE_VALUE) {
- CONSOLE_SCREEN_BUFFER_INFO csbi = { { 0 } };
Home |
Main Index |
Thread Index |
Old Index