On Sun, Jun 20, 2021 at 12:30:37PM +0100, Stuart Henderson wrote: > On 2021/06/20 12:19, Stuart Henderson wrote: > > On 2021/06/18 05:31, Dimitri Karamazov wrote: > > > The current release of blender (2.93.0) will require python3.9 as > > > default. There has been a major refractoring to code which now uses > > > 3.9 specific keywords and patching it seems out of scope. I'll try > > > anyway. From archives the change seems to happen at the year end, or > > > would it be soon? > > > > Bit early to say, not sure if anyone has done any bulk build testing > > with the default python 3 version switched to 3.9. Ports isn't setup to > > handle building other python ports with a "non-default v3 version" i.e. > > wouldn't be able to build a py39 copy of numpy etc unless the default > > was switched. > > > > Will look at getting these updates in today. > > > > oh, openvdb no longer uses libHalf-2_5.so.XX from OpenEXR. > This looks intentional upstream, can you confirm? If so I will drop > the LIB_DEPENDS and WANTLIB entries related to this.
I can confirm, build & run tested with blender on amd64. Diff attached. regards, Dimitri Index: Makefile =================================================================== RCS file: /cvs/ports/graphics/openvdb/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- Makefile 28 Feb 2021 06:19:01 -0000 1.3 +++ Makefile 24 Jun 2021 16:59:23 -0000 @@ -6,11 +6,11 @@ NOT_FOR_ARCHS = powerpc COMMENT= tools for storage and manipulation of volumetric data -GH_ACCOUNT= dreamworksanimation +GH_ACCOUNT= AcademySoftwareFoundation GH_PROJECT= openvdb -GH_TAGNAME= v8.0.1 +GH_TAGNAME= v8.1.0 -SHARED_LIBS += openvdb 1.0 # 8.0 +SHARED_LIBS += openvdb 2.0 # 8.1 CATEGORIES= graphics @@ -21,8 +21,8 @@ MAINTAINER= Dimitri Karamazov <deserter6 # MPL PERMIT_PACKAGE= Yes -WANTLIB += ${COMPILER_LIBCXX} Half-2_5 blosc boost_iostreams-mt -WANTLIB += boost_regex-mt boost_system-mt c m tbb tbbmalloc z +WANTLIB += ${COMPILER_LIBCXX} blosc boost_iostreams-mt boost_regex-mt +WANTLIB += boost_system-mt c m tbb tbbmalloc z COMPILER= base-clang ports-gcc base-gcc @@ -31,7 +31,6 @@ MODULES= devel/cmake LIB_DEPENDS= archivers/blosc \ devel/boost \ devel/tbb \ - graphics/openexr NO_TEST= Yes Index: distinfo =================================================================== RCS file: /cvs/ports/graphics/openvdb/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo 28 Feb 2021 06:19:01 -0000 1.2 +++ distinfo 24 Jun 2021 16:59:23 -0000 @@ -1,2 +1,2 @@ -SHA256 (openvdb-8.0.1.tar.gz) = poRdp8YE0scuQUHImJMKyKI3VSHlNfaWws2SvrvkPE8= -SIZE (openvdb-8.0.1.tar.gz) = 2299276 +SHA256 (openvdb-8.1.0.tar.gz) = PgnUczFCm+dAmjo8J/3Twpf5bTHSFT/r4ZTmZKmdYYM= +SIZE (openvdb-8.1.0.tar.gz) = 2619432 Index: patches/patch-CMakeLists_txt =================================================================== RCS file: /cvs/ports/graphics/openvdb/patches/patch-CMakeLists_txt,v retrieving revision 1.2 diff -u -p -r1.2 patch-CMakeLists_txt --- patches/patch-CMakeLists_txt 28 Feb 2021 06:19:01 -0000 1.2 +++ patches/patch-CMakeLists_txt 24 Jun 2021 16:59:23 -0000 @@ -2,9 +2,10 @@ $OpenBSD: patch-CMakeLists_txt,v 1.2 202 zlib 1.2.7 not available on OpenBSD ---- CMakeLists.txt.orig Sat Feb 6 00:51:38 2021 -+++ CMakeLists.txt Fri Feb 19 17:44:45 2021 -@@ -216,7 +216,7 @@ if(NOT DISABLE_DEPENDENCY_VERSION_CHECKS) +Index: CMakeLists.txt +--- CMakeLists.txt.orig ++++ CMakeLists.txt +@@ -233,7 +233,7 @@ if(NOT DISABLE_DEPENDENCY_VERSION_CHECKS) set(MINIMUM_BOOST_VERSION 1.61) # @warning should be 1.66, but H18 ships with 1.61 set(MINIMUM_ILMBASE_VERSION 2.2) # @warning should be 2.3, but H18 ships with 2.2 set(MINIMUM_OPENEXR_VERSION 2.2) # @warning should be 2.3, but H18 ships with 2.2 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/graphics/openvdb/pkg/PLIST,v retrieving revision 1.2 diff -u -p -r1.2 PLIST --- pkg/PLIST 28 Feb 2021 06:19:01 -0000 1.2 +++ pkg/PLIST 24 Jun 2021 16:59:23 -0000 @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.2 2021/02/28 06:19:01 rsadowski Exp $ +@comment $OpenBSD: PLIST,v$ @bin bin/vdb_print include/openvdb/ include/openvdb/Exceptions.h @@ -25,6 +25,8 @@ include/openvdb/math/ConjGradient.h include/openvdb/math/Coord.h include/openvdb/math/DDA.h include/openvdb/math/FiniteDifference.h +include/openvdb/math/Half.h +include/openvdb/math/HalfLimits.h include/openvdb/math/LegacyFrustum.h include/openvdb/math/Maps.h include/openvdb/math/Mat.h @@ -64,9 +66,11 @@ include/openvdb/points/PointSample.h include/openvdb/points/PointScatter.h include/openvdb/points/StreamCompression.h include/openvdb/tools/ +include/openvdb/tools/Activate.h include/openvdb/tools/ChangeBackground.h include/openvdb/tools/Clip.h include/openvdb/tools/Composite.h +include/openvdb/tools/Count.h include/openvdb/tools/Dense.h include/openvdb/tools/DenseSparseTools.h include/openvdb/tools/Diagnostics.h @@ -91,6 +95,7 @@ include/openvdb/tools/Merge.h include/openvdb/tools/MeshToVolume.h include/openvdb/tools/Morphology.h include/openvdb/tools/MultiResGrid.h +include/openvdb/tools/NodeVisitor.h include/openvdb/tools/ParticleAtlas.h include/openvdb/tools/ParticlesToLevelSet.h include/openvdb/tools/PointAdvect.h