File project.diff of Package stl-thumb
--- _service.orig
+++ _service
@@ -3,7 +3,7 @@
<param name="url">https://github.com/unlimitedbacon/stl-thumb</param>
<param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param>
<param name="scm">git</param>
- <param name="revision">v0.5.0</param>
+ <param name="revision">master</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="versionrewrite-replacement">\1</param>
--- stl-thumb.changes.orig
+++ stl-thumb.changes
@@ -1,4 +1,62 @@
-------------------------------------------------------------------
+Wed Jan 15 18:09:37 UTC 2025 - mvetter@suse.com
+
+- Update to version 0.5.0~50:
+ * chore: input_buffer is better here
+ * refactor: update to model_file
+ * Update stl_file to threemf_file for from_3mf
+ * Lowercase extension when checking type
+ * Fix clippy lints
+ * Build target before packaging RPM
+ * Fix 3mf test
+ * Remove leftover debug print
+ * Update stl_io and bindgen
+ * Updated Dependencies
+ * Update threemf to 0.6.0
+ * Add 3mf test
+ * Update to latest threemf
+ * Register 3mf in the thumbnailer
+ * Add support for 3mf files
+ * Revert "Update config.rs"
+ * Cargo Generate-rpm without copy
+ * Update OS to 22.04, Added RPM compile
+ * Update config.rs
+ * Update mesh.rs, fix https://github.com/unlimitedbacon/stl-thumb/issues/67
+ * STL thumbnailer fix
+ * Enhanced fedora support
+ * Fix build script
+ * Try fixing cross compiling AGAIN
+ * Fix sources
+ * Use our own apt sources
+ * Ignore apt error
+ * Try to fix CI cross compiling
+ * Fix Windows build
+ * Update glium/glutin
+ * Add test for OBJ files
+ * Fixed compilation
+ * Working obj thumbnailing
+ * readme: add openSUSE install instructions
+ * Add documentation for RPM compilation
+ * Add crates.io badges
+ * Exclude test data from crate
+ * Add info for crates.io
+
+-------------------------------------------------------------------
+Wed Jan 15 18:08:51 UTC 2025 - mvetter@suse.com
+
+- Update to version 0.5.0~0:
+ * Fix benchy bench resolution
+ * Separate benchmarks
+ * Always use fastest png compression
+ * cargo update
+ * Add option to force recalculating normal vectors
+ * Bump version
+ * Use upstream glutin
+ * Allow reading stl from stdin
+ * Add more strenuous benchmark tests
+ * Update build-ci.yml
+
+-------------------------------------------------------------------
Tue Jun 6 21:18:46 UTC 2023 - Михаил Чиков <mike.chikov@gmail.com>
- Update vendor dependencies to fix CVE bnc#1212008
--- stl-thumb.spec.orig
+++ stl-thumb.spec
@@ -1,7 +1,7 @@
#
# spec file for package stl-thumb
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
Name: stl-thumb
-Version: 0.5.0~0
+Version: 0.5.0~50
Release: 0
Summary: Stl-thumb is a fast lightweight thumbnail generator for STL files.
License: MIT
@@ -27,6 +27,10 @@ Source0: %{name}-%{version}.tar.x
Source1: vendor.tar.xz
Source2: cargo_config
BuildRequires: cargo-packaging
+BuildRequires: cmake
+BuildRequires: pkgconfig(expat)
+BuildRequires: pkgconfig(fontconfig)
+BuildRequires: pkgconfig(freetype2)
%description
Stl-thumb is a fast lightweight thumbnail generator for STL files.