Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ffmpegthumbs for openSUSE:Factory checked in at 2023-04-23 22:44:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ffmpegthumbs (Old) and /work/SRC/openSUSE:Factory/.ffmpegthumbs.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ffmpegthumbs" Sun Apr 23 22:44:00 2023 rev:96 rq:1080538 version:23.04.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ffmpegthumbs/ffmpegthumbs.changes 2023-03-03 22:25:28.874754731 +0100 +++ /work/SRC/openSUSE:Factory/.ffmpegthumbs.new.1533/ffmpegthumbs.changes 2023-04-23 22:45:01.545885009 +0200 @@ -1,0 +2,20 @@ +Sat Apr 15 08:45:19 UTC 2023 - Christophe Marin <christo...@krop.fr> + +- Update to 23.04.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/23.04.0/ + +------------------------------------------------------------------- +Fri Mar 31 16:41:38 UTC 2023 - Christophe Marin <christo...@krop.fr> + +- Update to 23.03.90 + * New feature release + +------------------------------------------------------------------- +Fri Mar 17 20:42:59 UTC 2023 - Christophe Marin <christo...@krop.fr> + +- Update to 23.03.80 + * New feature release + +------------------------------------------------------------------- Old: ---- ffmpegthumbs-22.12.3.tar.xz ffmpegthumbs-22.12.3.tar.xz.sig New: ---- ffmpegthumbs-23.04.0.tar.xz ffmpegthumbs-23.04.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ffmpegthumbs.spec ++++++ --- /var/tmp/diff_new_pack.jAtr4o/_old 2023-04-23 22:45:02.125888286 +0200 +++ /var/tmp/diff_new_pack.jAtr4o/_new 2023-04-23 22:45:02.133888331 +0200 @@ -16,11 +16,9 @@ # -# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) -%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} %bcond_without released Name: ffmpegthumbs -Version: 22.12.3 +Version: 23.04.0 Release: 0 Summary: FFmpeg-based thumbnail creator for video files License: LGPL-2.0-or-later ++++++ ffmpegthumbs-22.12.3.tar.xz -> ffmpegthumbs-23.04.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ffmpegthumbs-22.12.3/.gitignore new/ffmpegthumbs-23.04.0/.gitignore --- old/ffmpegthumbs-22.12.3/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/ffmpegthumbs-23.04.0/.gitignore 2023-04-12 18:21:29.000000000 +0200 @@ -0,0 +1,11 @@ +# SPDX-FileCopyrightText: none +# SPDX-License-Identifier: CC0-1.0 +*~ +build*/ +CMakeLists.txt.user* +*.kdev4 + +# clangd tooling +.cache +.clangd +compile_commands.json diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ffmpegthumbs-22.12.3/.gitlab-ci.yml new/ffmpegthumbs-23.04.0/.gitlab-ci.yml --- old/ffmpegthumbs-22.12.3/.gitlab-ci.yml 2023-02-24 21:16:11.000000000 +0100 +++ new/ffmpegthumbs-23.04.0/.gitlab-ci.yml 2023-04-12 18:21:29.000000000 +0200 @@ -6,3 +6,5 @@ - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux-qt6.yml - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd.yml - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd-qt6.yml + - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/windows.yml + - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/windows-qt6.yml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ffmpegthumbs-22.12.3/CMakeLists.txt new/ffmpegthumbs-23.04.0/CMakeLists.txt --- old/ffmpegthumbs-22.12.3/CMakeLists.txt 2023-02-24 21:16:11.000000000 +0100 +++ new/ffmpegthumbs-23.04.0/CMakeLists.txt 2023-04-12 18:21:29.000000000 +0200 @@ -1,16 +1,16 @@ cmake_minimum_required(VERSION 3.16) # Release Service version, managed by release script -set(RELEASE_SERVICE_VERSION_MAJOR "22") -set(RELEASE_SERVICE_VERSION_MINOR "12") -set(RELEASE_SERVICE_VERSION_MICRO "3") +set(RELEASE_SERVICE_VERSION_MAJOR "23") +set(RELEASE_SERVICE_VERSION_MINOR "04") +set(RELEASE_SERVICE_VERSION_MICRO "0") set(RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}.${RELEASE_SERVICE_VERSION_MICRO}") project(ffmpegthumbs VERSION ${RELEASE_SERVICE_VERSION}) set(QT_MIN_VERSION "5.15.0") -set(KF_MIN_VERSION "5.83.0") +set(KF_MIN_VERSION "5.92.0") find_package(ECM ${KF_MIN_VERSION} REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake) @@ -21,6 +21,7 @@ include(ECMQtDeclareLoggingCategory) include(FeatureSummary) +include(ECMDeprecationSettings) find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core Gui) find_package(KF5 ${KF_MIN_VERSION} REQUIRED COMPONENTS KIO I18n Config) @@ -34,6 +35,10 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D __STDC_CONSTANT_MACROS") add_definitions(-DTRANSLATION_DOMAIN=\"ffmpegthumbs\") +set(KDE_COMPILERSETTINGS_LEVEL "5.82.0") +ecm_set_disabled_deprecation_versions(QT 5.15.2 + KF 5.81 +) add_library(ffmpegthumbs MODULE) @@ -43,6 +48,11 @@ ffmpegthumbnailer/moviedecoder.cpp ffmpegthumbnailer/imagewriter.cpp ffmpegthumbnailer/videothumbnailer.cpp + ffmpegthumbnailer.h + ffmpegthumbnailer/filmstripfilter.h + ffmpegthumbnailer/moviedecoder.h + ffmpegthumbnailer/imagewriter.h + ffmpegthumbnailer/videothumbnailer.h ) ecm_qt_declare_logging_category(ffmpegthumbs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ffmpegthumbs-22.12.3/CMakePresets.json new/ffmpegthumbs-23.04.0/CMakePresets.json --- old/ffmpegthumbs-22.12.3/CMakePresets.json 1970-01-01 01:00:00.000000000 +0100 +++ new/ffmpegthumbs-23.04.0/CMakePresets.json 2023-04-12 18:21:29.000000000 +0200 @@ -0,0 +1,200 @@ +{ + "version": 3, + "configurePresets": [ + { + "name": "base", + "displayName": "base preset", + "generator": "Ninja", + "binaryDir": "${sourceDir}/build-${presetName}", + "installDir": "$env{KF5}", + "hidden": true + }, + { + "name": "dev", + "displayName": "Build as debug", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug", + "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" + }, + "inherits": [ + "base" + ] + }, + { + "name": "dev-qt6", + "displayName": "Build against qt6", + "binaryDir": "${sourceDir}/build-qt6", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug", + "BUILD_WITH_QT6": "ON", + "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" + }, + "inherits": [ + "base" + ] + }, + { + "name": "asan", + "displayName": "Build with Asan support.", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug", + "ECM_ENABLE_SANITIZERS" : "'address;undefined'" + }, + "inherits": [ + "base" + ] + }, + { + "name": "dev-clang", + "displayName": "dev-clang", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug", + "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" + }, + "environment": { + "CXX": "clang++", + "CCACHE_DISABLE": "ON" + }, + "inherits": [ + "base" + ] + }, + { + "name": "unity", + "displayName": "Build with CMake unity support.", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug", + "USE_UNITY_CMAKE_SUPPORT": "ON" + }, + "inherits": [ + "base" + ] + }, + { + "name": "release", + "displayName": "Build as release mode.", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Release" + }, + "inherits": [ + "base" + ] + }, + { + "name": "profile", + "displayName": "profile", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "RelWithDebInfo" + }, + "inherits": [ + "base" + ] + }, + { + "name": "coverage", + "displayName": "coverage", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug", + "USE_UNITY_CMAKE_SUPPORT": "OFF", + "BUILD_COVERAGE": "ON" + }, + "inherits": [ + "base" + ] + }, + { + "name": "clazy", + "displayName": "clazy", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug" + }, + "environment": { + "CXX": "clazy", + "CCACHE_DISABLE": "ON" + }, + "inherits": [ + "base" + ] + }, + { + "name": "pch", + "displayName": "pch", + "cacheVariables": { + "CMAKE_BUILD_TYPE": "Debug", + "USE_PRECOMPILED_HEADERS": "ON", + "BUILD_COVERAGE": "ON" + }, + "inherits": [ + "base" + ] + } + ], + "buildPresets": [ + { + "name": "dev", + "configurePreset": "dev" + }, + { + "name": "dev-qt6", + "configurePreset": "dev-qt6" + }, + { + "name": "dev-clang", + "configurePreset": "dev-clang" + }, + { + "name": "pch", + "configurePreset": "pch" + }, + { + "name": "release", + "configurePreset": "release" + }, + { + "name": "unity", + "configurePreset": "unity" + }, + { + "name": "coverage", + "configurePreset": "coverage" + }, + { + "name": "asan", + "configurePreset": "asan" + }, + { + "name": "clazy", + "configurePreset": "clazy", + "environment": { + "CLAZY_CHECKS" : "level0,level1,detaching-member,ifndef-define-typo,isempty-vs-count,qrequiredresult-candidates,reserve-candidates,signal-with-return-value,unneeded-cast,function-args-by-ref,function-args-by-value,returning-void-expression,no-ctor-missing-parent-argument,isempty-vs-count,qhash-with-char-pointer-key,raw-environment-function,qproperty-type-mismatch,old-style-connect,qstring-allocations,container-inside-loop,heap-allocated-small-trivial-type,inefficient-qlist,qstring-varargs,level2,detaching-member,heap-allocated-small-trivial-type,isempty-vs-count,qstring-varargs,qvariant-template-instantiation,raw-environment-function,reserve-candidates,signal-with-return-value,thread-with-slots,no-ctor-missing-parent-argument,no-missing-typeinfo", + "CCACHE_DISABLE" : "ON" + } + } + ], + "testPresets": [ + { + "name": "dev", + "configurePreset": "dev", + "output": {"outputOnFailure": true}, + "execution": {"noTestsAction": "error", "stopOnFailure": false} + }, + { + "name": "asan", + "configurePreset": "asan", + "output": {"outputOnFailure": true}, + "execution": {"noTestsAction": "error", "stopOnFailure": true} + }, + { + "name": "unity", + "configurePreset": "unity", + "output": {"outputOnFailure": true}, + "execution": {"noTestsAction": "error", "stopOnFailure": true} + }, + { + "name": "coverage", + "configurePreset": "coverage", + "output": {"outputOnFailure": true}, + "execution": {"noTestsAction": "error", "stopOnFailure": true} + } + ] +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ffmpegthumbs-22.12.3/ffmpegthumbnailer.cpp new/ffmpegthumbs-23.04.0/ffmpegthumbnailer.cpp --- old/ffmpegthumbs-22.12.3/ffmpegthumbnailer.cpp 2023-02-24 21:16:11.000000000 +0100 +++ new/ffmpegthumbs-23.04.0/ffmpegthumbnailer.cpp 2023-04-12 18:21:29.000000000 +0200 @@ -105,7 +105,7 @@ // later if we don't have one. seqIdx %= static_cast<int>(seekPercentages.size()) + 1; - const QString cacheKey = QString("%1$%2@%3").arg(path).arg(seqIdx).arg(width); + const QString cacheKey = QStringLiteral("%1$%2@%3").arg(path).arg(seqIdx).arg(width); QImage* cachedImg = m_thumbCache[cacheKey]; if (cachedImg) { @@ -130,19 +130,19 @@ int prio = 0; AVDictionaryEntry* fname = av_dict_get(ct->streams[i]->metadata, "filename", nullptr ,0); if (fname) { - QString filename(fname->value); - QString noextname = filename.section('.', 0); + QString filename(QString::fromUtf8(fname->value)); + QString noextname = filename.section(QLatin1Char('.'), 0); // Prefer landscape and larger - if (noextname == "cover_land") { + if (noextname == QStringLiteral("cover_land")) { prio = std::numeric_limits<int>::max(); } - else if (noextname == "small_cover_land") { + else if (noextname == QStringLiteral("small_cover_land")) { prio = std::numeric_limits<int>::max()-1; } - else if (noextname == "cover") { + else if (noextname == QStringLiteral("cover")) { prio = std::numeric_limits<int>::max()-2; } - else if (noextname == "small_cover") { + else if (noextname == QStringLiteral("small_cover")) { prio = std::numeric_limits<int>::max()-3; } else { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ffmpegthumbs-22.12.3/org.kde.ffmpegthumbs.metainfo.xml new/ffmpegthumbs-23.04.0/org.kde.ffmpegthumbs.metainfo.xml --- old/ffmpegthumbs-22.12.3/org.kde.ffmpegthumbs.metainfo.xml 2023-02-24 21:16:11.000000000 +0100 +++ new/ffmpegthumbs-23.04.0/org.kde.ffmpegthumbs.metainfo.xml 2023-04-12 18:21:29.000000000 +0200 @@ -83,7 +83,7 @@ <summary xml:lang="zh-TW">ä½¿ç¨ FFmpeg çå½±ç縮åç¢çå·¥å ·</summary> <description> <p>FFmpeg Thumbnailer is a video thumbnail generator for KDE file managers.</p> - <p xml:lang="ar">Ù Ùشئ ٠صغرات اÙÙÙدÙÙ ÙÙÙد ٠صغرات ÙÙدÙÙ ÙتطبÙÙات ٠دÙر اÙÙ ÙÙات ÙÙ ÙدÙ.</p> + <p xml:lang="ar">Ù Ùشئ ٠صغرات اÙÙÙدÙÙ ÙÙÙد ٠صغرات ÙÙدÙÙ ÙتطبÙÙات ٠دÙر اÙÙ ÙÙات ÙÙ ÙÙÙدÙÙ.</p> <p xml:lang="bg">Ðидео миниаÑÑÑи Ñ FFmpeg генеÑиÑа пÑедваÑиÑелен пÑеглед на видео вÑв ÑайловиÑе мениджÑÑи за KDE.</p> <p xml:lang="ca">El Generador de miniatures amb FFmpeg és un generador de miniatures de vÃdeo per als gestors de fitxers del KDE.</p> <p xml:lang="ca-valencia">El Generador de miniatures amb FFmpeg és un generador de miniatures de vÃdeo per als gestors de fitxers de KDE.</p> @@ -133,9 +133,9 @@ </screenshot> </screenshots> <releases> + <release version="23.04.0" date="2023-04-20"/> <release version="22.12.3" date="2023-03-02"/> <release version="22.12.2" date="2023-02-02"/> <release version="22.12.1" date="2023-01-05"/> - <release version="22.12.0" date="2022-12-08"/> </releases> </component> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ffmpegthumbs-22.12.3/tests/ffmpegthumbtest.cpp new/ffmpegthumbs-23.04.0/tests/ffmpegthumbtest.cpp --- old/ffmpegthumbs-22.12.3/tests/ffmpegthumbtest.cpp 2023-02-24 21:16:11.000000000 +0100 +++ new/ffmpegthumbs-23.04.0/tests/ffmpegthumbtest.cpp 2023-04-12 18:21:29.000000000 +0200 @@ -25,7 +25,7 @@ FFMpegThumbnailer *thumbnailer = new FFMpegThumbnailer(); thumbnailer->create(inputFilename, 128, 128, image); QFileInfo fileInfo(inputFilename); - image.save(fileInfo.baseName() + ".png"); + image.save(fileInfo.baseName() + QStringLiteral(".png")); delete thumbnailer; } else { cout << "Usage:" << arguments.at(0).toLocal8Bit().data() << " filename" << endl;