Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openvdb for openSUSE:Factory checked 
in at 2024-11-17 16:39:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openvdb (Old)
 and      /work/SRC/openSUSE:Factory/.openvdb.new.2017 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openvdb"

Sun Nov 17 16:39:48 2024 rev:15 rq:1224469 version:11.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/openvdb/openvdb.changes  2024-11-12 
19:24:31.063238683 +0100
+++ /work/SRC/openSUSE:Factory/.openvdb.new.2017/openvdb.changes        
2024-11-17 16:40:05.432470725 +0100
@@ -1,0 +2,21 @@
+Thu Nov 14 18:57:04 UTC 2024 - Marcus Rueckert <mrueck...@suse.de>
+
+- Update to 11.0.0 again as blender 4.2.x now supports this
+  version. See Changes entry below for the details of the version
+  update.
+
+-------------------------------------------------------------------
+Thu Nov 14 01:01:40 UTC 2024 - Marcus Rueckert <mrueck...@suse.de>
+
+- walk through the cmake options to see if we could enable more
+  features:
+    - openvdb_ax: even with LLVM15 it was still complaining about
+      mismatching types. Skipping this for now
+    - vdb_tool:  works except for nanovdb support
+      - Added fix-tool-building.patch so that libpng16-devel files
+        are actually used properly
+    - python support requires a nanobind package
+    - testing log4cpp support
+- track quilt series file for easier patching without rpm-build
+
+-------------------------------------------------------------------

Old:
----
  openvdb-10.1.0.tar.gz

New:
----
  fix-tool-building.patch
  openvdb-11.0.0.tar.gz

BETA DEBUG BEGIN:
  New:    - vdb_tool:  works except for nanovdb support
      - Added fix-tool-building.patch so that libpng16-devel files
        are actually used properly
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ openvdb.spec ++++++
--- /var/tmp/diff_new_pack.7l4U64/_old  2024-11-17 16:40:05.920490996 +0100
+++ /var/tmp/diff_new_pack.7l4U64/_new  2024-11-17 16:40:05.920490996 +0100
@@ -18,15 +18,21 @@
 
 
 %bcond_without nanovdb
+# whines about LLVM apis
+%bcond_with    openvdb_ax
+# requires nanobind
+%bcond_with    pyopenvdb
+#
+%bcond_without openvdb_tool
 
-%define libname libopenvdb10_1
+%define libname libopenvdb11_0
 %if 0%{suse_version} <= 1500
 # force a recent gcc version on 15.X, default would be gcc7 which is too old
 %define gcc_major 10
 %endif
 
 Name:           openvdb
-Version:        10.1.0
+Version:        11.0.0
 Release:        0
 Summary:        Sparse volume data structure and tools
 License:        Apache-2.0
@@ -34,18 +40,35 @@
 URL:            https://www.openvdb.org
 Source:         
https://github.com/AcademySoftwareFoundation/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Patch0:         openvdb-boost-static-assert-include.patch
+Patch1:         fix-tool-building.patch
 BuildRequires:  cmake >= 3.12
 BuildRequires:  gcc%{?gcc_major}-c++ >= 9.3.1
 BuildRequires:  libboost_iostreams-devel-impl >= 1.70
 BuildRequires:  libboost_system-devel-impl >= 1.70
 BuildRequires:  memory-constraints
+%if %{with openvdb_ax}
+BuildRequires:  cmake(LLVM) < 16
+%endif
+%if %{with pyopenvdb}
+BuildRequires:  python3-devel
+%endif
 BuildRequires:  pkgconfig
 BuildRequires:  tbb-devel >= 2020.3
+BuildRequires:  pkgconfig(Imath)
+BuildRequires:  pkgconfig(OpenEXR) >= 3
 BuildRequires:  pkgconfig(blosc)
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(glfw3)
 BuildRequires:  pkgconfig(glu)
 BuildRequires:  pkgconfig(jemalloc)
+BuildRequires:  pkgconfig(libpng16)
+BuildRequires:  pkgconfig(log4cpp)
+%if %{with openvdb_tool}
+BuildRequires:  cmake(Alembic)
+BuildRequires:  pkgconfig(libjpeg)
+BuildRequires:  pkgconfig(pdal)
+BuildRequires:  pkgconfig(tinfo)
+%endif
 # 32-bit: linker errors
 ExcludeArch:    %ix86 %arm32
 
@@ -101,11 +124,29 @@
 %if %{with nanovdb}
     -DUSE_NANOVDB=ON \
 %endif
+    -DUSE_EXR=ON \
+    -DUSE_PNG=ON \
+%if %{with openvdb_ax}
+    -DOPENVDB_BUILD_AX=ON \
+    -DOPENVDB_BUILD_VDB_AX=ON \
+%endif
     -DOPENVDB_BUILD_VDB_PRINT=ON \
     -DOPENVDB_BUILD_VDB_LOD=ON \
     -DOPENVDB_BUILD_VDB_VIEW=ON \
     -DOPENVDB_BUILD_VDB_RENDER=ON \
+%if %{with openvdb_tool}
+    -DOPENVDB_BUILD_VDB_TOOL=ON \
+    -DOPENVDB_TOOL_USE_ABC:BOOL=ON \
+    -DOPENVDB_TOOL_USE_JPG:BOOL=ON \
+    -DOPENVDB_TOOL_USE_NANO:BOOL=OFF \
+    -DOPENVDB_TOOL_USE_PDAL:BOOL=ON \
+    -DOPENVDB_TOOL_USE_PNG:BOOL=ON \
+%endif
+%if %{with pyopenvdb}
+    -DOPENVDB_BUILD_PYTHON_MODULE=ON \
+%else
     -DOPENVDB_BUILD_PYTHON_MODULE=OFF \
+%endif
     -DOPENVDB_ENABLE_RPATH=OFF
 
 %cmake_build
@@ -136,6 +177,7 @@
 %{_bindir}/vdb_print
 %{_bindir}/vdb_view
 %{_bindir}/vdb_render
+%{_bindir}/vdb_tool
 %if %{with nanovdb}
 %{_bindir}/nanovdb_print
 %{_bindir}/nanovdb_validate

++++++ fix-tool-building.patch ++++++
Index: openvdb-11.0.0/openvdb_cmd/vdb_tool/CMakeLists.txt
===================================================================
--- openvdb-11.0.0.orig/openvdb_cmd/vdb_tool/CMakeLists.txt
+++ openvdb-11.0.0/openvdb_cmd/vdb_tool/CMakeLists.txt
@@ -77,10 +77,12 @@ if(OPENVDB_TOOL_USE_PNG)
   target_compile_definitions(vdb_tool_common INTERFACE "VDB_TOOL_USE_PNG")
   if(WIN32)
     find_package(libpng CONFIG REQUIRED)
+    target_link_libraries(vdb_tool_common INTERFACE png)
   else()
     find_package(PNG REQUIRED)
+    target_include_directories(vdb_tool_common INTERFACE ${PNG_INCLUDE_DIR})
+    target_link_libraries(vdb_tool_common INTERFACE ${PNG_LIBRARIES})
   endif()
-  target_link_libraries(vdb_tool_common INTERFACE png)
 endif()
 
 if(OPENVDB_TOOL_USE_JPG)

++++++ openvdb-10.1.0.tar.gz -> openvdb-11.0.0.tar.gz ++++++
++++ 46990 lines of diff (skipped)

Reply via email to