Skip to content

Commit

Permalink
misc/openvdb: Update 8.1.0 -> 9.0.0
Browse files Browse the repository at this point in the history
Reported by:	portscout
  • Loading branch information
yurivict committed Nov 15, 2021
1 parent 67c846f commit f44e2a5
Show file tree
Hide file tree
Showing 17 changed files with 43 additions and 135 deletions.
2 changes: 1 addition & 1 deletion cad/PrusaSlicer/Makefile
@@ -1,7 +1,7 @@
PORTNAME= PrusaSlicer
DISTVERSIONPREFIX=version_
DISTVERSION= 2.3.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= cad

MAINTAINER= teodorsigaev@gmail.com
Expand Down
2 changes: 1 addition & 1 deletion graphics/blender-lts28/Makefile
@@ -1,6 +1,6 @@
PORTNAME= blender
DISTVERSION= 2.83.15
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= graphics multimedia
MASTER_SITES= http://download.blender.org/source/ \
http://mirror.cs.umn.edu/blender.org/source/ \
Expand Down
2 changes: 1 addition & 1 deletion graphics/blender/Makefile
Expand Up @@ -2,7 +2,7 @@

PORTNAME= blender
DISTVERSION= 2.91.0
PORTREVISION= 14
PORTREVISION= 15
CATEGORIES= graphics multimedia
MASTER_SITES= http://download.blender.org/source/ \
http://mirror.cs.umn.edu/blender.org/source/ \
Expand Down
2 changes: 1 addition & 1 deletion graphics/openimageio/Makefile
Expand Up @@ -7,7 +7,7 @@ DISTVERSION= 2.2.16.0
# py-openimageio's PORTREVISION.
# Also, just to be on the safe side, when resetting,
# best keep PORTREVISION?= 0.
PORTREVISION?= 3
PORTREVISION?= 4
CATEGORIES?= graphics multimedia

MAINTAINER?= FreeBSD@Shaneware.biz
Expand Down
2 changes: 1 addition & 1 deletion math/curv/Makefile
@@ -1,6 +1,6 @@
PORTNAME= curv
DISTVERSION= 0.5
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= math lang graphics

MAINTAINER= yuri@FreeBSD.org
Expand Down
11 changes: 3 additions & 8 deletions misc/openvdb/Makefile
@@ -1,12 +1,8 @@
PORTNAME= openvdb
DISTVERSIONPREFIX= v
DISTVERSION= 8.1.0
PORTREVISION= 6
DISTVERSION= 9.0.0
CATEGORIES= misc

PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/
PATCHFILES= e620aa6a472e7e5bebaf2103ed2b4d6442438341.patch:-p1 # backport of change TBB -> OneTBB

MAINTAINER= yuri@FreeBSD.org
COMMENT= Tools for storage and manipulation of sparse volumetric data

Expand Down Expand Up @@ -48,10 +44,9 @@ TOOLS_LIB_DEPENDS= libglfw.so:graphics/glfw \
TOOLS_USES= gl xorg
TOOLS_USE= GL=gl,glu XORG=ice,sm,x11,xcursor,xext,xi,xinerama,xrandr,xxf86vm

post-patch: # extra fix for OneTBB
xpost-patch: # extra fix for OneTBB
@cd ${WRKSRC}/openvdb/openvdb && \
${MKDIR} thread && \
${MV} util/Threading.h thread/
${MKDIR} thread

# DOCS is broken: https://github.com/AcademySoftwareFoundation/openvdb/issues/899
#DOCS_CMAKE_BOOL= OPENVDB_BUILD_DOCS
Expand Down
8 changes: 3 additions & 5 deletions misc/openvdb/distinfo
@@ -1,5 +1,3 @@
TIMESTAMP = 1628995152
SHA256 (AcademySoftwareFoundation-openvdb-v8.1.0_GH0.tar.gz) = 3e09d47331429be7409a3a3c27fdd3c297f96d31d2153febe194e664a99d6183
SIZE (AcademySoftwareFoundation-openvdb-v8.1.0_GH0.tar.gz) = 2619432
SHA256 (e620aa6a472e7e5bebaf2103ed2b4d6442438341.patch) = 9c39e12741df0fa293e8281c2567d59a8093786625580c62c6509aa4d17a5a7f
SIZE (e620aa6a472e7e5bebaf2103ed2b4d6442438341.patch) = 76933
TIMESTAMP = 1636936172
SHA256 (AcademySoftwareFoundation-openvdb-v9.0.0_GH0.tar.gz) = ad3816e8f1931d1d6fdbddcec5a1acd30695d049dd10aa965096b2fb9972b468
SIZE (AcademySoftwareFoundation-openvdb-v9.0.0_GH0.tar.gz) = 2945040
28 changes: 11 additions & 17 deletions misc/openvdb/files/patch-CMakeLists.txt
@@ -1,28 +1,22 @@
--- CMakeLists.txt.orig 2021-06-11 21:38:41 UTC
--- CMakeLists.txt.orig 2021-10-30 02:55:40 UTC
+++ CMakeLists.txt
@@ -216,7 +216,7 @@ set(MINIMUM_CXX_STANDARD 14)
@@ -250,7 +250,7 @@ set(MINIMUM_CXX_STANDARD 14)

# @note Blosc version is currently treated as exception which must be adhered
# to. The minimum version must be at least 1.5.0. Previous versions are incompatible.
# Later versions (including 1.5.4), can be buggy on certain platforms.
-set(MINIMUM_BLOSC_VERSION 1.5.0)
+set(MINIMUM_BLOSC_VERSION 1.15)
# @note ABI always enforced so the correct deprecation messages are available.
# OPENVDB_USE_DEPRECATED_ABI_<VERSION> should be used to circumvent this
set(MINIMUM_OPENVDB_ABI_VERSION 6)
@@ -231,13 +231,13 @@ if(NOT DISABLE_DEPENDENCY_VERSION_CHECKS)
@@ -265,8 +265,8 @@ if(NOT DISABLE_DEPENDENCY_VERSION_CHECKS)
set(MINIMUM_MSVC_VERSION 19.10)

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
+ set(MINIMUM_ILMBASE_VERSION 3.0) # @warning should be 2.3, but H18 ships with 2.2
+ set(MINIMUM_OPENEXR_VERSION 3.0) # @warning should be 2.3, but H18 ships with 2.2
set(MINIMUM_BOOST_VERSION 1.70)
- set(MINIMUM_ILMBASE_VERSION 2.4)
- set(MINIMUM_OPENEXR_VERSION 2.4)
+ set(MINIMUM_ILMBASE_VERSION 3.0)
+ set(MINIMUM_OPENEXR_VERSION 3.0)
set(MINIMUM_ZLIB_VERSION 1.2.7)
set(MINIMUM_TBB_VERSION 2018.0)
set(MINIMUM_LLVM_VERSION 6.0.0)

- set(MINIMUM_PYTHON_VERSION 2.7)
+ set(MINIMUM_PYTHON_VERSION ${FREEBSD_PYTHON_VER})
set(MINIMUM_NUMPY_VERSION 1.14.0)

set(MINIMUM_GOOGLETEST_VERSION 1.8)
set(MINIMUM_TBB_VERSION 2019.0)
set(MINIMUM_LLVM_VERSION 7.0.0)
12 changes: 0 additions & 12 deletions misc/openvdb/files/patch-cmake_FindOpenEXR.cmake

This file was deleted.

4 changes: 2 additions & 2 deletions misc/openvdb/files/patch-cmake_FindTBB.cmake
@@ -1,6 +1,6 @@
--- cmake/FindTBB.cmake.orig 2021-02-05 19:21:38 UTC
--- cmake/FindTBB.cmake.orig 2021-10-30 02:55:40 UTC
+++ cmake/FindTBB.cmake
@@ -93,7 +93,6 @@ endif()
@@ -110,7 +110,6 @@ endif()
set(_TBB_COMPONENT_LIST
tbb
tbbmalloc
Expand Down
4 changes: 2 additions & 2 deletions misc/openvdb/files/patch-doc_CMakeLists.txt
@@ -1,6 +1,6 @@
--- doc/CMakeLists.txt.orig 2021-02-05 19:21:38 UTC
--- doc/CMakeLists.txt.orig 2021-10-30 02:55:40 UTC
+++ doc/CMakeLists.txt
@@ -195,5 +195,5 @@ doxygen_add_docs(doc ${DOXY_FILES}
@@ -270,5 +270,5 @@ doxygen_add_docs(doc ${DOXY_FILES}
COMMENT "Generating API documentation with Doxygen")

# Suppress "Installing..." messages for all but one of the hundreds of generated files.
Expand Down
21 changes: 0 additions & 21 deletions misc/openvdb/files/patch-openvdb_openvdb_CMakeLists.txt

This file was deleted.

11 changes: 0 additions & 11 deletions misc/openvdb/files/patch-openvdb_openvdb_Types.h

This file was deleted.

27 changes: 0 additions & 27 deletions misc/openvdb/files/patch-openvdb_openvdb_cmd_CMakeLists.txt

This file was deleted.

33 changes: 12 additions & 21 deletions misc/openvdb/files/patch-openvdb_openvdb_python_CMakeLists.txt
@@ -1,25 +1,16 @@
--- openvdb/openvdb/python/CMakeLists.txt.orig 2021-02-05 19:21:38 UTC
--- openvdb/openvdb/python/CMakeLists.txt.orig 2021-10-30 02:55:40 UTC
+++ openvdb/openvdb/python/CMakeLists.txt
@@ -81,7 +81,7 @@ if(OPENVDB_BUILD_PYTHON_UNITTESTS)
@@ -88,11 +88,11 @@ if(NOT DEFINED PYOPENVDB_INSTALL_DIRECTORY)
list(APPEND OPENVDB_PYTHON_REQUIRED_COMPONENTS Interpreter)
endif()

if(${CMAKE_VERSION} VERSION_LESS 3.14)
- find_package(Python QUIET COMPONENTS ${OPENVDB_PYTHON_REQUIRED_COMPONENTS})
+ find_package(Python ${FREEBSD_PYTHON_VER} EXACT REQUIRED COMPONENTS ${OPENVDB_PYTHON_REQUIRED_COMPONENTS})
OPENVDB_CHECK_PYTHON_VERSION(${Python_VERSION} ${Python_INCLUDE_DIRS})
-find_package(Python QUIET COMPONENTS ${OPENVDB_PYTHON_REQUIRED_COMPONENTS})
+find_package(Python ${FREEBSD_PYTHON_VER} EXACT QUIET COMPONENTS ${OPENVDB_PYTHON_REQUIRED_COMPONENTS})
OPENVDB_CHECK_PYTHON_VERSION(${Python_VERSION} ${Python_INCLUDE_DIRS})

if(USE_NUMPY)
@@ -90,11 +90,11 @@ if(${CMAKE_VERSION} VERSION_LESS 3.14)
list(APPEND OPENVDB_PYTHON_DEPS Python::NumPy)
endif()
else()
- find_package(Python QUIET COMPONENTS ${OPENVDB_PYTHON_REQUIRED_COMPONENTS})
+ find_package(Python ${FREEBSD_PYTHON_VER} EXACT REQUIRED COMPONENTS ${OPENVDB_PYTHON_REQUIRED_COMPONENTS})
OPENVDB_CHECK_PYTHON_VERSION(${Python_VERSION} ${Python_INCLUDE_DIRS})

if(USE_NUMPY)
- find_package(Python QUIET COMPONENTS NumPy)
+ find_package(Python ${FREEBSD_PYTHON_VER} EXACT REQUIRED COMPONENTS NumPy)
if(NOT TARGET Python::NumPy)
message(FATAL_ERROR "Could NOT find NumPy (Required is at least version "
"\"${MINIMUM_NUMPY_VERSION}\")"
if(USE_NUMPY)
- find_package(Python QUIET COMPONENTS NumPy)
+ find_package(Python ${FREEBSD_PYTHON_VER} EXACT QUIET COMPONENTS NumPy)
if(NOT TARGET Python::NumPy)
message(FATAL_ERROR "Could NOT find NumPy (Required is at least version "
"\"${MINIMUM_NUMPY_VERSION}\")"
7 changes: 4 additions & 3 deletions misc/openvdb/pkg-plist
Expand Up @@ -130,6 +130,7 @@ include/openvdb/tree/Tree.h
include/openvdb/tree/TreeIterator.h
include/openvdb/tree/ValueAccessor.h
include/openvdb/util/CpuTimer.h
include/openvdb/util/ExplicitInstantiation.h
include/openvdb/util/Formats.h
include/openvdb/util/MapsUtil.h
include/openvdb/util/Name.h
Expand All @@ -151,6 +152,6 @@ lib/cmake/OpenVDB/OpenVDBHoudiniSetup.cmake
lib/cmake/OpenVDB/OpenVDBMayaSetup.cmake
lib/cmake/OpenVDB/OpenVDBUtils.cmake
lib/libopenvdb.so
lib/libopenvdb.so.8.1
lib/libopenvdb.so.8.1.0
%%PYTHON%%%%PYTHON_LIBDIR%%/pyopenvdb.so
lib/libopenvdb.so.9.0
lib/libopenvdb.so.9.0.0
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyopenvdb.so
2 changes: 1 addition & 1 deletion science/opensph/Makefile
@@ -1,6 +1,6 @@
PORTNAME= OpenSPH
DISTVERSION= 0.3.8
PORTREVISION= 2 # accounts for the upstream moving 0.3.8 release, including bugfixes
PORTREVISION= 3 # accounts for the upstream moving 0.3.8 release, including bugfixes
CATEGORIES= science

MAINTAINER= yuri@FreeBSD.org
Expand Down

0 comments on commit f44e2a5

Please sign in to comment.