Accepting request 1003264 from games

Update to 5.2.5

OBS-URL: https://build.opensuse.org/request/show/1003264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/assimp?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2022-09-13 13:10:01 +00:00 committed by Git OBS Bridge
commit d0e593798d
6 changed files with 78 additions and 34 deletions

View File

@ -1,26 +0,0 @@
From 9ed6834c72971998fce2ea3319b76184969ad93c Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christophe@krop.fr>
Date: Wed, 12 Jan 2022 10:35:34 +0100
Subject: [PATCH] Fix build with zlib
---
code/Common/ZipArchiveIOSystem.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/code/Common/ZipArchiveIOSystem.cpp b/code/Common/ZipArchiveIOSystem.cpp
index 9870fa9d0..685cc8b5d 100644
--- a/code/Common/ZipArchiveIOSystem.cpp
+++ b/code/Common/ZipArchiveIOSystem.cpp
@@ -196,7 +196,9 @@ zlib_filefunc_def IOSystem2Unzip::get(IOSystem *pIOHandler) {
zlib_filefunc_def mapping;
mapping.zopen_file = (open_file_func)open;
+#ifdef ZOPENDISK64
mapping.zopendisk_file = (opendisk_file_func)opendisk;
+#endif
mapping.zread_file = (read_file_func)read;
mapping.zwrite_file = (write_file_func)write;
mapping.ztell_file = (tell_file_func)tell;
--
2.34.1

View File

@ -2,7 +2,7 @@
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/assimp/assimp</param>
<param name="revision">v5.2.4</param>
<param name="revision">v5.2.5</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<!-- non-OSI media -->

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4849495cf5b16686eb18cbab04b15722c2b68a37b5e754f5100968e9830d42c3
size 25209108

3
assimp-5.2.5.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c37acd8a0989c1289abacf5c20d3d8b6c87f8d7ed2d0ecde77a3b764b701c7d
size 25154188

View File

@ -1,3 +1,76 @@
-------------------------------------------------------------------
Mon Sep 12 13:37:16 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 5.2.5:
* Add unittest to reproduce undefined behavior
* Cleanups
* Link static linkage for std_image.
* fix msvc warnings-as-errors
* Remove dll-export tags from static library builds.
* Fix Import a specific FBX model will freeze the app
* Create SECURITY.md
* Pragma warnings cause build fail with MinGW
* Fixed FBXConverter build error when using double precision
* Fix possible nullptr exception
* [Experimental] New skeleton container for bones
* Add support for GCC v12
* Remove unused variable.
* Infinite loop on bad import files
* Utilize AI_CONFIG_IMPORT_REMOVE_EMPTY_BONES flag for Collada meshes.
* Fix Windows 32-bit builds
* Fix GNUC check on Windows
* Update the name of the package
* Kimkulling/fix invalid opengex token match
* Disable build for tools per default
* Use mingw.include
* Fix a memory leak
* Fix nested animation name being lost in Collada
* Fix possible bad_alloc exception for an invalid file
* Bump JesseTG/rm from 1.0.2 to 1.0.3
* Bump actions/cache from 2 to 3
* Kimkulling/fix texture loading 3MF, reladed issue-4568
* Bump actions/upload-artifact from 2 to 3
* Bump actions/checkout from 2 to 3
* Remove assertion test
* Fix memory leak in D3MFOpcPackage
* Fix typo in installation instructions for ubuntu.
* Build fix for compiling against minizip.
* Fix stl for over 4 GB
* Fix uninitialized variable.
* Fixes Crash in Assimp::ObjFileMtlImporter::getFloatValue
* Fixes Heap-buffer-overflow in Assimp::ObjFileParser::getFace
* Fixes Heap-buffer-overflow in std::__1::basic_string<char, std::__1::…
* Fixes Heap-use-after-free in Assimp::DXFImporter::ExpandBlockReferences
* Fixes Heap-buffer-overflow in SuperFastHash
* ColladaParser - Store sid in mSID field
* Fix mingw include in assimp_cmd.rc
* Fix warnings that are causing build fails with specific build flags
* Update version tag
* Improvements and optimizations for the obj-parsers.
* Experiment: try to enable parallel build
* Fixed typo
* Use [[fallthrough]]; to mark whished fallthroughs
* Kimkulling/do not add dot when the extension is empty
* Fixes Heap-buffer-overflow READ in Assimp::ASE::Parser::ParseLV1SoftSkinBlock
* Use unqualified uint32_t everywhere in FBXBinaryTokenizer
* Fix problems setting DirectX_LIBRARY
* Added support for more bone weights in GLTF2
* (Mostly) Blender fixes
* [WIP] Use ai_Real to write correct accuracy
* SMD fixes
* Remove exception on glTF 2.0 loading
* Fix out-of-bounds reads in X3D importer
* Apply the modernize-use-emplace clang-tidy rule
* The Wrong object is created here!
* [WIP] Code cleanup and some new unittests for edge-cases.
* clang-tidy: explicitly default all empty ctors and dtors
* fix vertices being joined duplicating weights
* add missing light data to assbin import/export
* Fix aiBone.mOffsetMatrix documentation
* Minor obj export bugfix
* Kimkulling/cleanup after reviewing
- drop 0001-Fix-build-with-zlib.patch (upstream)
-------------------------------------------------------------------
Wed May 18 06:22:15 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -18,15 +18,13 @@
%define sover 5
Name: assimp
Version: 5.2.4
Version: 5.2.5
Release: 0
Summary: Library to load and process 3D scenes from various data formats
License: BSD-3-Clause AND MIT
Group: Development/Libraries/C and C++
URL: https://www.assimp.org/
Source0: %{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM
Patch0: 0001-Fix-build-with-zlib.patch
BuildRequires: cmake
BuildRequires: dos2unix
BuildRequires: gcc-c++
@ -98,7 +96,6 @@ popd
%files devel
%doc CHANGES CREDITS
%{_includedir}/assimp/
%{_bindir}/assimp
%{_libdir}/libassimp.so
%{_libdir}/cmake/*
%{_libdir}/pkgconfig/assimp.pc