Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package OpenImageIO for openSUSE:Factory checked in at 2021-09-08 21:36:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/OpenImageIO (Old) and /work/SRC/openSUSE:Factory/.OpenImageIO.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "OpenImageIO" Wed Sep 8 21:36:36 2021 rev:26 rq:915277 version:2.2.17.0 Changes: -------- --- /work/SRC/openSUSE:Factory/OpenImageIO/OpenImageIO.changes 2021-08-16 10:18:00.810620471 +0200 +++ /work/SRC/openSUSE:Factory/.OpenImageIO.new.1899/OpenImageIO.changes 2021-09-08 21:36:54.869909388 +0200 @@ -1,0 +2,8 @@ +Wed Aug 18 12:34:13 UTC 2021 - Hans-Peter Jansen <h...@urpla.net> + +- Fix build with current openvdb package + + define minimum c++ standard to 14 + + add patch fix-tbb-linking.diff to fix linking with tbb +- Require ptex-devel-static specifically + +------------------------------------------------------------------- New: ---- fix-tbb-linking.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ OpenImageIO.spec ++++++ --- /var/tmp/diff_new_pack.n8KP4e/_old 2021-09-08 21:36:55.513910142 +0200 +++ /var/tmp/diff_new_pack.n8KP4e/_new 2021-09-08 21:36:55.517910147 +0200 @@ -41,6 +41,8 @@ Group: Productivity/Graphics/Other URL: https://www.openimageio.org/ Source0: https://github.com/OpenImageIO/oiio/archive/Release-%{version}.tar.gz#/oiio-%{version}.tar.gz +# using PREFER_CONFIG will grab the system tbb cmake definition, that's doesn't define the necessary variables +Patch0: fix-tbb-linking.diff # NOTE: Please don't uncomment a build requirement unless you have submitted the package to factory and it exists #BuildRequires: Field3D-devel BuildRequires: cmake >= 3.12 @@ -71,7 +73,7 @@ BuildRequires: pkgconfig(OpenColorIO) BuildRequires: pkgconfig(OpenEXR) %if %{with ptex} -BuildRequires: pkgconfig(Ptex) +BuildRequires: ptex-devel-static %endif BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(fmt) @@ -163,6 +165,7 @@ %prep %setup -q -n oiio-Release-%{version} +%autopatch -p1 # Make sure that bundled libraries are not used rm -f src/include/pugiconfig.hpp \ @@ -174,6 +177,7 @@ %ifarch ppc -DNOTHREADS=ON \ %endif + -DCMAKE_CXX_STANDARD=14 \ -DINSTALL_DOCS:BOOL=ON \ -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name} \ -DCMAKE_INSTALL_MANDIR:PATH=%{_mandir}/man1 \ ++++++ fix-tbb-linking.diff ++++++ --- a/src/cmake/externalpackages.cmake 2021-08-01 22:52:26.000000000 +0000 +++ b/src/cmake/externalpackages.cmake 2021-08-18 12:26:34.418401091 +0000 @@ -171,8 +171,7 @@ # Intel TBB set (TBB_USE_DEBUG_BUILD OFF) checked_find_package (TBB 2017 - DEFINITIONS -DUSE_TBB=1 - PREFER_CONFIG) + DEFINITIONS -DUSE_TBB=1) checked_find_package (DCMTK VERSION_MIN 3.6.1) # For DICOM images checked_find_package (FFmpeg VERSION_MIN 2.6)