Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package alembic for openSUSE:Factory checked in at 2022-01-06 15:50:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/alembic (Old) and /work/SRC/openSUSE:Factory/.alembic.new.1896 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "alembic" Thu Jan 6 15:50:54 2022 rev:9 rq:943918 version:1.8.3 Changes: -------- --- /work/SRC/openSUSE:Factory/alembic/alembic.changes 2021-05-21 21:49:57.642247218 +0200 +++ /work/SRC/openSUSE:Factory/.alembic.new.1896/alembic.changes 2022-01-06 15:50:59.144961453 +0100 @@ -1,0 +2,15 @@ +Tue Jan 4 21:13:10 UTC 2022 - Dirk M??ller <[email protected]> + +- update to 1.8.3: + * Make sure we export the IlmBase requirement in CMake when using OpenEXR 2 to + fulfill the Imath requirement. + * Address report from GCC Undefined Behavior Sanitizer by initializing a couple + of bools in OXform. + * Fix compile issue when using C++17 with Microsoft Visual Studio and use a + hopefully much faster find first bit set when using that compiler. (Issue 358) + * One of the fuzzer tests were was failing with 32 bit builds because of a + different exception message. + * Fix a bug with 32 bit memory mapped Windows builds. + * Look for boost python a little differently, falling back on existing behavior. + +------------------------------------------------------------------- Old: ---- alembic-1.8.1.tar.gz New: ---- alembic-1.8.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ alembic.spec ++++++ --- /var/tmp/diff_new_pack.SXOrxO/_old 2022-01-06 15:50:59.792961809 +0100 +++ /var/tmp/diff_new_pack.SXOrxO/_new 2022-01-06 15:50:59.796961811 +0100 @@ -1,7 +1,7 @@ # # spec file for package alembic # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2019 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %define libname libAlembic1_8 Name: alembic -Version: 1.8.1 +Version: 1.8.3 Release: 0 Summary: Computer graphics interchange framework License: BSD-3-Clause ++++++ alembic-1.8.1.tar.gz -> alembic-1.8.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/alembic-1.8.1/CMakeLists.txt new/alembic-1.8.3/CMakeLists.txt --- old/alembic-1.8.1/CMakeLists.txt 2021-05-15 21:42:08.000000000 +0200 +++ new/alembic-1.8.3/CMakeLists.txt 2021-09-11 19:58:47.000000000 +0200 @@ -35,7 +35,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.13) -PROJECT(Alembic VERSION 1.8.1) +PROJECT(Alembic VERSION 1.8.3) MESSAGE(STATUS "CMAKE SYSTEM NAME: ${CMAKE_SYSTEM_NAME}") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/alembic-1.8.1/NEWS.txt new/alembic-1.8.3/NEWS.txt --- old/alembic-1.8.1/NEWS.txt 2021-05-15 21:42:08.000000000 +0200 +++ new/alembic-1.8.3/NEWS.txt 2021-09-11 19:58:47.000000000 +0200 @@ -1,3 +1,34 @@ +2021-09-11, Alembic 1.8.3 + +Thanks to your feedback and submitted issues we have a few bug fixes. + +Make sure we export the IlmBase requirement in CMake when using OpenEXR 2 to +fulfill the Imath requirement. (Issue 355) + +Address report from GCC Undefined Behavior Sanitizer by initializing a couple +of bools in OXform. (Issue 357) + +Fix compile issue when using C++17 with Microsoft Visual Studio and use a +hopefully much faster find first bit set when using that compiler. (Issue 358) + + +Thanks to your feedback and submitted issues we have a few bug fixes. + + +2021-06-08, Alembic 1.8.2 +Thanks to your feedback and submitted issues we have a few bug fixes. + +Ogawa: + +One of the fuzzer tests were was failing with 32 bit builds because of a +different exception message. + +Fix a bug with 32 bit memory mapped Windows builds. + +CMake: + +Look for boost python a little differently, falling back on existing behavior. + 2021-05-15, Alembic 1.8.1 Thanks to your feedback and submitted issues we have a few bug fixes. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/alembic-1.8.1/cmake/AlembicIlmBase.cmake new/alembic-1.8.3/cmake/AlembicIlmBase.cmake --- old/alembic-1.8.1/cmake/AlembicIlmBase.cmake 2021-05-15 21:42:08.000000000 +0200 +++ new/alembic-1.8.3/cmake/AlembicIlmBase.cmake 2021-09-11 19:58:47.000000000 +0200 @@ -39,10 +39,12 @@ IF (Imath_FOUND) MESSAGE(STATUS "Found package Imath") SET(ALEMBIC_ILMBASE_LIBS Imath::Imath) + SET(ALEMBIC_USING_IMATH_3 ON) ELSE() MESSAGE(STATUS "Could not find Imath looking for IlmBase instead.") # What we really want to do is look for libs Imath and half FIND_PACKAGE(IlmBase) + SET(ALEMBIC_USING_IMATH_3 OFF) IF (ILMBASE_FOUND) SET(ALEMBIC_ILMBASE_FOUND 1 CACHE STRING "Set to 1 if IlmBase is found, 0 otherwise") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/alembic-1.8.1/lib/Alembic/AbcCoreOgawa/ArImpl.cpp new/alembic-1.8.3/lib/Alembic/AbcCoreOgawa/ArImpl.cpp --- old/alembic-1.8.1/lib/Alembic/AbcCoreOgawa/ArImpl.cpp 2021-05-15 21:42:08.000000000 +0200 +++ new/alembic-1.8.3/lib/Alembic/AbcCoreOgawa/ArImpl.cpp 2021-09-11 19:58:47.000000000 +0200 @@ -81,7 +81,7 @@ { Ogawa::IGroupPtr group = m_archive.getGroup(); - int version = -1; + Util::int32_t version = -1; std::size_t numChildren = group->getNumChildren(); if ( numChildren > 5 && group->isChildData( 0 ) && @@ -104,7 +104,7 @@ "Unsupported file version detected: " << version ); // if it isn't there, something is wrong - int fileVersion = 0; + Util::int32_t fileVersion = 0; Ogawa::IDataPtr data = group->getData( 1, 0 ); if ( data->getSize() == 4 ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/alembic-1.8.1/lib/Alembic/AbcCoreOgawa/StreamManager.cpp new/alembic-1.8.3/lib/Alembic/AbcCoreOgawa/StreamManager.cpp --- old/alembic-1.8.1/lib/Alembic/AbcCoreOgawa/StreamManager.cpp 2021-05-15 21:42:08.000000000 +0200 +++ new/alembic-1.8.3/lib/Alembic/AbcCoreOgawa/StreamManager.cpp 2021-09-11 19:58:47.000000000 +0200 @@ -48,25 +48,6 @@ // Windows #elif defined( _MSC_VER ) #define COMPARE_EXCHANGE( V, COMP, EXCH ) (InterlockedCompareExchange64( &V, EXCH, COMP ) == COMP) - -Alembic::Util::int64_t ffsll( Alembic::Util::int64_t iValue ) -{ - if ( !iValue ) - { - return 0; - } - - for ( Alembic::Util::int64_t bit = 0; bit < 64; ++bit ) - { - if ( iValue & ( Alembic::Util::int64_t( 1 ) << bit ) ) - { - return bit + 1; - } - } - - return 0; -} - #elif defined( __HAIKU__ ) #define COMPARE_EXCHANGE( V, COMP, EXCH ) __atomic_compare_exchange_n( &V, &COMP, EXCH, false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST ) @@ -80,6 +61,15 @@ #error Please contact [email protected] for support. #endif +#ifdef _MSC_VER +Alembic::Util::int64_t ffsll( Alembic::Util::int64_t iValue ) +{ + unsigned long index = 0; + _BitScanForward64(&index, iValue); + return index; +} +#endif + StreamManager::StreamManager( std::size_t iNumStreams ) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/alembic-1.8.1/lib/Alembic/AbcCoreOgawa/Tests/fuzzTest.cpp new/alembic-1.8.3/lib/Alembic/AbcCoreOgawa/Tests/fuzzTest.cpp --- old/alembic-1.8.1/lib/Alembic/AbcCoreOgawa/Tests/fuzzTest.cpp 2021-05-15 21:42:08.000000000 +0200 +++ new/alembic-1.8.3/lib/Alembic/AbcCoreOgawa/Tests/fuzzTest.cpp 2021-09-11 19:58:47.000000000 +0200 @@ -486,8 +486,12 @@ } catch(const std::exception& e) { - std::string msg = "Ogawa IStreams::read failed."; - TESTING_ASSERT(msg == e.what()); + // In Issue 346 it was reported that on 32 bit systems + // we got the second error message, for now guard + // against it as well + std::string msg = e.what(); + TESTING_ASSERT(msg == "Ogawa IStreams::read failed." || + msg == "Ogawa IData illegal size."); return; } TESTING_ASSERT(0); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/alembic-1.8.1/lib/Alembic/AbcGeom/OXform.h new/alembic-1.8.3/lib/Alembic/AbcGeom/OXform.h --- old/alembic-1.8.1/lib/Alembic/AbcGeom/OXform.h 2021-05-15 21:42:08.000000000 +0200 +++ new/alembic-1.8.3/lib/Alembic/AbcGeom/OXform.h 2021-09-11 19:58:47.000000000 +0200 @@ -159,6 +159,9 @@ m_arbGeomParams.reset(); m_userProperties.reset(); + m_useArrayProp = false; + m_isIdentity = true; + super_type::reset(); } @@ -182,7 +185,7 @@ // should we store are channel values in an ArrayProperty, // or in a ScalarProperty with some Dimension > 0 and < MAX_SCALAR_CHANS - bool m_useArrayProp; + bool m_useArrayProp{false}; AbcA::DataType m_arrayValuesDataType; Alembic::Util::Dimensions m_arraySampleDimensions; @@ -205,7 +208,7 @@ // calls to set; see usage in OXformSchema::set() XformSample m_protoSample; - bool m_isIdentity; + bool m_isIdentity{true}; Abc::OCompoundProperty m_arbGeomParams; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/alembic-1.8.1/lib/Alembic/AlembicConfig.cmake.in new/alembic-1.8.3/lib/Alembic/AlembicConfig.cmake.in --- old/alembic-1.8.1/lib/Alembic/AlembicConfig.cmake.in 2021-05-15 21:42:08.000000000 +0200 +++ new/alembic-1.8.3/lib/Alembic/AlembicConfig.cmake.in 2021-09-11 19:58:47.000000000 +0200 @@ -2,7 +2,12 @@ include(CMakeFindDependencyMacro) # TODO whenever we loose the back-compatibility with IlmBase < 3, a REQUIRED needs to be added to find_dependency() -find_dependency(Imath) +if (@ALEMBIC_USING_IMATH_3@) + find_dependency(Imath) +else () + # Compatibility with OpenEXR 2.x, prior to Imath 3.x + find_dependency(IlmBase) +endif () SET(Alembic_HAS_HDF5 @USE_HDF5@) SET(Alembic_HAS_SHARED_LIBS @ALEMBIC_SHARED_LIBS@) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/alembic-1.8.1/lib/Alembic/Ogawa/IStreams.cpp new/alembic-1.8.3/lib/Alembic/Ogawa/IStreams.cpp --- old/alembic-1.8.1/lib/Alembic/Ogawa/IStreams.cpp 2021-05-15 21:42:08.000000000 +0200 +++ new/alembic-1.8.3/lib/Alembic/Ogawa/IStreams.cpp 2021-09-11 19:58:47.000000000 +0200 @@ -471,7 +471,7 @@ struct MappedRegion { - size_t len; + Alembic::Util::uint64_t len; void* p; MappedRegion() : len(0), p(NULL) @@ -488,7 +488,7 @@ return p != NULL; } - void map(FileHandle iFile, size_t iLength) + void map(FileHandle iFile, Alembic::Util::uint64_t iLength) { close(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/alembic-1.8.1/python/PyAlembic/CMakeLists.txt new/alembic-1.8.3/python/PyAlembic/CMakeLists.txt --- old/alembic-1.8.1/python/PyAlembic/CMakeLists.txt 2021-05-15 21:42:08.000000000 +0200 +++ new/alembic-1.8.3/python/PyAlembic/CMakeLists.txt 2021-09-11 19:58:47.000000000 +0200 @@ -41,7 +41,18 @@ ENDIF() # require 1.53+ since we need std::shared_ptr supported in the wrapper -FIND_PACKAGE(Boost 1.53.0 COMPONENTS "python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}") +FIND_PACKAGE(Boost 1.53.0 COMPONENTS "python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}") + +# find via . instead, i.e. python2.7 +IF (NOT Boost_FOUND) + FIND_PACKAGE(Boost 1.53.0 COMPONENTS "python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}") +ENDIF() + +# hit a weird case where boost python released seperately from the other boost modules in 1.70 could +# not find it unless it was optional, so fall back on this +IF (NOT Boost_FOUND) + FIND_PACKAGE(Boost 1.53.0 OPTIONAL_COMPONENTS "python${PYTHON_VERSION_MAJOR}${PYTHON_VERSION_MINOR}") +ENDIF() IF (Boost_FOUND) IF (Boost_VERSION_MACRO LESS 105300)
