Hello community,

here is the log from the commit of package ffmpegthumbnailer for 
openSUSE:Factory checked in at 2020-03-04 09:39:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ffmpegthumbnailer (Old)
 and      /work/SRC/openSUSE:Factory/.ffmpegthumbnailer.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ffmpegthumbnailer"

Wed Mar  4 09:39:23 2020 rev:3 rq:781132 version:2.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ffmpegthumbnailer/ffmpegthumbnailer.changes      
2017-07-17 09:09:42.356210237 +0200
+++ 
/work/SRC/openSUSE:Factory/.ffmpegthumbnailer.new.26092/ffmpegthumbnailer.changes
   2020-03-04 09:39:29.901895162 +0100
@@ -1,0 +2,32 @@
+Tue Mar  3 09:23:09 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix cmake call
+
+-------------------------------------------------------------------
+Mon Mar  2 12:29:00 UTC 2020 - Martin Pluskal <[email protected]>
+
+- Use correct url for sources
+- Use modern cmake macro for building
+
+-------------------------------------------------------------------
+Sun Mar  1 21:40:35 UTC 2020 - [email protected]
+
+- Updated to version 2.2.2:
+  * Requires cmake >= 3.12.
+  * Removed unstable continuous thumbnail creation.
+- Add ffmpegthumbnailer-cmake-updates.patch: Update CMakeLists.txt
+  for new cmake version.
+- Changes from version 2.2.1: 
+  * CMake improvements: required CMake version is now 3.5 or newer.
+  * Fix anamorphic height.
+  * Fix libffmpegthumbnailer.pc to work with multilib systems.
+  * Fix rotation of 180° rotated videos.
+  * Fix prefer_embedded_metadata in c api.
+  * Fix crash when setting a log callback using the c api.
+  * Check for https as well when skipping stat call.
+  * Support specifying the size as string using the c api.
+  * Support raw rgb data as image type.
+  * Print warnings on stderr instead of stdout.
+  * Support for continuous thumbnail creation.
+
+-------------------------------------------------------------------

Old:
----
  ffmpegthumbnailer-2.2.0.tar.bz2

New:
----
  ffmpegthumbnailer-2.2.2.tar.bz2
  ffmpegthumbnailer-cmake-updates.patch

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

Other differences:
------------------
++++++ ffmpegthumbnailer.spec ++++++
--- /var/tmp/diff_new_pack.ezDfv8/_old  2020-03-04 09:39:30.677895628 +0100
+++ /var/tmp/diff_new_pack.ezDfv8/_new  2020-03-04 09:39:30.677895628 +0100
@@ -1,6 +1,7 @@
 #
 # spec file for package ffmpegthumbnailer
 #
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2014 Mariusz Fik <[email protected]>
 # Copyright (c) 2012 Pascal Bleser <[email protected]>
 #
@@ -13,20 +14,21 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.links2linux.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define soname  4
 Name:           ffmpegthumbnailer
-Version:        2.2.0
+Version:        2.2.2
 Release:        0
 Summary:        Video thumbnailer that can be used by file managers
-License:        GPL-2.0+
-Group:          Productivity/Graphics/Viewers
-Url:            https://github.com/dirkvdb/ffmpegthumbnailer
+License:        GPL-2.0-or-later
+URL:            https://github.com/dirkvdb/ffmpegthumbnailer
 Source:         
https://github.com/dirkvdb/%{name}/releases/download/%{version}/%{name}-%{version}.tar.bz2
-BuildRequires:  cmake >= 2.8
+#PATCH-FIX-UPSTREAM ffmpegthumbnailer-cmake-updates.patch [email protected] 
-- Update CMakeLists.txt for new cmake version.
+Patch0:         ffmpegthumbnailer-cmake-updates.patch
+BuildRequires:  cmake >= 3.12
 BuildRequires:  gcc-c++
 BuildRequires:  libjpeg-devel
 BuildRequires:  libpng-devel
@@ -38,7 +40,6 @@
 BuildRequires:  pkgconfig(libavformat)
 BuildRequires:  pkgconfig(libavutil)
 BuildRequires:  pkgconfig(libswscale)
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 This video thumbnailer can be used to create thumbnails for
@@ -51,7 +52,6 @@
 
 %package -n lib%{name}%{soname}
 Summary:        Video thumbnail generator
-Group:          System/Libraries
 
 %description -n lib%{name}%{soname}
 Video thumbnailer that can be used by file managers.
@@ -61,7 +61,6 @@
 
 %package -n lib%{name}-devel
 Summary:        Development files for ffmpegthumbnailer
-Group:          Development/Languages/C and C++
 Requires:       libffmpegthumbnailer%{soname} = %{version}
 
 %description -n lib%{name}-devel
@@ -71,7 +70,7 @@
 files. The thumbnailer uses ffmpeg to decode frames from files.
 
 %prep
-%setup -q
+%autosetup -p1
 chmod 644 AUTHORS README
 
 %build
@@ -79,7 +78,7 @@
   -DCMAKE_BUILD_TYPE=Release \
   -DENABLE_GIO=ON \
   -DENABLE_THUMBNAILER=ON
-%make_jobs
+%cmake_build
 
 %install
 %cmake_install
@@ -88,20 +87,18 @@
 %postun -n lib%{name}%{soname} -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
-%doc AUTHORS ChangeLog COPYING README
-%{_mandir}/man1/*.1%{ext_man}
+%license COPYING
+%doc AUTHORS ChangeLog README
+%{_mandir}/man1/*.1%{?ext_man}
 %{_bindir}/%{name}
 %dir %{_datadir}/thumbnailers
 %{_datadir}/thumbnailers/%{name}.thumbnailer
 
 %files -n lib%{name}%{soname}
-%defattr(-,root,root)
 %{_libdir}/lib%{name}.so.%{soname}
 %{_libdir}/lib%{name}.so.%{soname}.*
 
 %files -n lib%{name}-devel
-%defattr(-,root,root)
 %{_libdir}/lib%{name}.so
 %dir %{_includedir}/lib%{name}
 %{_includedir}/lib%{name}/*.h

++++++ ffmpegthumbnailer-2.2.0.tar.bz2 -> ffmpegthumbnailer-2.2.2.tar.bz2 ++++++
++++ 2850 lines of diff (skipped)

++++++ ffmpegthumbnailer-cmake-updates.patch ++++++
diff -Naur a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt    2019-10-03 14:52:00.000000000 -0500
+++ b/CMakeLists.txt    2020-03-01 16:07:08.901539309 -0600
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.5)
+cmake_minimum_required(VERSION 3.12)
 
 list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
 
@@ -92,6 +92,15 @@
     libffmpegthumbnailer/filmstripfilter.cpp
 )
 
+target_link_libraries(libffmpegthumbnailerobj
+    FFmpeg::avformat
+    FFmpeg::avcodec
+    FFmpeg::avutil
+    FFmpeg::avfilter
+    $<$<BOOL:${HAVE_JPEG}>:${JPEG_LIBRARIES}>
+    $<$<BOOL:${HAVE_PNG}>:PNG::PNG>
+)
+
 # we use our own deprecated struct menbers, so disable the warning about it
 set_source_files_properties(libffmpegthumbnailer/videothumbnailerc.cpp 
PROPERTIES COMPILE_FLAGS -Wno-deprecated-declarations)
 
@@ -118,12 +127,7 @@
 if (ENABLE_STATIC)
     add_library(libffmpegthumbnailerstatic STATIC 
$<TARGET_OBJECTS:libffmpegthumbnailerobj>)
     target_link_libraries(libffmpegthumbnailerstatic
-        FFmpeg::avformat
-        FFmpeg::avcodec
-        FFmpeg::avutil
-        FFmpeg::avfilter
-        $<$<BOOL:${HAVE_JPEG}>:${JPEG_LIBRARIES}>
-        $<$<BOOL:${HAVE_PNG}>:PNG::PNG>
+        libffmpegthumbnailerobj
         $<$<BOOL:${ENABLE_GIO}>:${CMAKE_DL_LIBS}>
     )
 
@@ -140,12 +144,7 @@
 if (ENABLE_SHARED)
     add_library(libffmpegthumbnailer SHARED 
$<TARGET_OBJECTS:libffmpegthumbnailerobj>)
     target_link_libraries(libffmpegthumbnailer
-        FFmpeg::avformat
-        FFmpeg::avcodec
-        FFmpeg::avutil
-        FFmpeg::avfilter
-        $<$<BOOL:${HAVE_JPEG}>:${JPEG_LIBRARIES}>
-        $<$<BOOL:${HAVE_PNG}>:PNG::PNG>
+        libffmpegthumbnailerobj
     )
 
     set_target_properties(libffmpegthumbnailer PROPERTIES

Reply via email to