Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libkexiv2 for openSUSE:Factory checked in at 2022-12-09 13:17:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libkexiv2 (Old) and /work/SRC/openSUSE:Factory/.libkexiv2.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libkexiv2" Fri Dec 9 13:17:41 2022 rev:150 rq:1041587 version:22.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libkexiv2/libkexiv2.changes 2022-11-04 17:35:02.680835749 +0100 +++ /work/SRC/openSUSE:Factory/.libkexiv2.new.1835/libkexiv2.changes 2022-12-09 13:18:39.903283444 +0100 @@ -1,0 +2,20 @@ +Fri Dec 2 12:26:28 UTC 2022 - Christophe Marin <christo...@krop.fr> + +- Update to 22.12.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/22.12.0/ + +------------------------------------------------------------------- +Sat Nov 26 16:46:06 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 22.11.90 + * New feature release + +------------------------------------------------------------------- +Sat Nov 12 08:55:12 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 22.11.80 + * New feature release + +------------------------------------------------------------------- Old: ---- libkexiv2-22.08.3.tar.xz libkexiv2-22.08.3.tar.xz.sig New: ---- libkexiv2-22.12.0.tar.xz libkexiv2-22.12.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libkexiv2.spec ++++++ --- /var/tmp/diff_new_pack.0AnUyC/_old 2022-12-09 13:18:40.407286121 +0100 +++ /var/tmp/diff_new_pack.0AnUyC/_new 2022-12-09 13:18:40.411286142 +0100 @@ -1,7 +1,7 @@ # # spec file for package libkexiv2 # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,11 +22,10 @@ %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} %bcond_without released Name: libkexiv2 -Version: 22.08.3 +Version: 22.12.0 Release: 0 Summary: Library to manipulate picture meta data License: GPL-2.0-or-later -Group: Development/Libraries/KDE URL: https://www.kde.org Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz %if %{with released} @@ -47,7 +46,6 @@ %package -n %{lname}-%{_so} Summary: Library to manipulate picture meta data -Group: System/Libraries %description -n %{lname}-%{_so} Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures @@ -55,7 +53,6 @@ %package devel Summary: Build environment for libkexiv2, a library to manipulate picture meta data -Group: Development/Libraries/KDE Requires: %{lname}-%{_so} = %{version} Obsoletes: libkexiv2-kf5-devel < %{version} Provides: libkexiv2-kf5-devel = %{version} ++++++ libkexiv2-22.08.3.tar.xz -> libkexiv2-22.12.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-22.08.3/.gitlab-ci.yml new/libkexiv2-22.12.0/.gitlab-ci.yml --- old/libkexiv2-22.08.3/.gitlab-ci.yml 2022-07-01 15:54:56.000000000 +0200 +++ new/libkexiv2-22.12.0/.gitlab-ci.yml 2022-11-04 17:10:36.000000000 +0100 @@ -5,3 +5,6 @@ - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.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/windows.yml + - 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-qt6.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/libkexiv2-22.08.3/CMakeLists.txt new/libkexiv2-22.12.0/CMakeLists.txt --- old/libkexiv2-22.08.3/CMakeLists.txt 2022-07-01 15:54:56.000000000 +0200 +++ new/libkexiv2-22.12.0/CMakeLists.txt 2022-11-04 17:10:36.000000000 +0100 @@ -4,13 +4,12 @@ # SPDX-License-Identifier: BSD-3-Clause # -set(CMAKE_MIN_VERSION "3.16.0") +cmake_minimum_required(VERSION 3.16) + set(ECM_MIN_VERSION "5.90.0") set(QT_MIN_VERSION "5.15.0") set(EXIV2_MIN_VERSION "0.25") -cmake_minimum_required(VERSION ${CMAKE_MIN_VERSION}) - project(libkexiv2 VERSION "5.0.0") set(CMAKE_CXX_STANDARD 14) # exiv is not compatible with C++ > 14 yet @@ -74,10 +73,12 @@ include(ECMSetupVersion) include(ECMMarkNonGuiExecutable) include(ECMQtDeclareLoggingCategory) -include(GenerateExportHeader) +include(ECMGenerateExportHeader) include(CMakePackageConfigHelpers) include(FeatureSummary) +set(EXCLUDE_DEPRECATED_BEFORE_AND_AT 0 CACHE STRING "Control the range of deprecated API excluded from the build [default=0].") + ############## Find Packages ################### find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} REQUIRED NO_MODULE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-22.08.3/cmake/templates/KF5KExiv2Config.cmake.in new/libkexiv2-22.12.0/cmake/templates/KF5KExiv2Config.cmake.in --- old/libkexiv2-22.08.3/cmake/templates/KF5KExiv2Config.cmake.in 2022-07-01 15:54:56.000000000 +0200 +++ new/libkexiv2-22.12.0/cmake/templates/KF5KExiv2Config.cmake.in 2022-11-04 17:10:36.000000000 +0100 @@ -14,7 +14,7 @@ @PACKAGE_INIT@ include(CMakeFindDependencyMacro) -find_dependency(Qt5Core @QT_MIN_VERSION@) -find_dependency(Qt5Gui @QT_MIN_VERSION@) +find_dependency(Qt@QT_MAJOR_VERSION@Core @QT_MIN_VERSION@) +find_dependency(Qt@QT_MAJOR_VERSION@Gui @QT_MIN_VERSION@) include("${CMAKE_CURRENT_LIST_DIR}/KF5KExiv2Targets.cmake") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-22.08.3/src/CMakeLists.txt new/libkexiv2-22.12.0/src/CMakeLists.txt --- old/libkexiv2-22.08.3/src/CMakeLists.txt 2022-07-01 15:54:56.000000000 +0200 +++ new/libkexiv2-22.12.0/src/CMakeLists.txt 2022-11-04 17:10:36.000000000 +0100 @@ -53,8 +53,16 @@ REQUIRED_HEADERS kexiv2_HEADERS ) -generate_export_header(KExiv2 - BASE_NAME libkexiv2 +ecm_generate_export_header(KExiv2 + #BASE_NAME libkexiv2 + #VERSION ${KF_VERSION} + BASE_NAME kexiv2 + EXPORT_FILE_NAME libkexiv2_export.h + EXPORT_MACRO_NAME LIBKEXIV2_EXPORT + VERSION ${libkexiv2_VERSION} + DEPRECATED_BASE_VERSION 0 + DEPRECATION_VERSIONS 5.1 + EXCLUDE_DEPRECATED_BEFORE_AND_AT ${EXCLUDE_DEPRECATED_BEFORE_AND_AT} ) target_include_directories(KExiv2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-22.08.3/src/kexiv2.cpp new/libkexiv2-22.12.0/src/kexiv2.cpp --- old/libkexiv2-22.08.3/src/kexiv2.cpp 2022-07-01 15:54:56.000000000 +0200 +++ new/libkexiv2-22.12.0/src/kexiv2.cpp 2022-11-04 17:10:36.000000000 +0100 @@ -408,7 +408,7 @@ qCDebug(LIBKEXIV2_LOG) << "Will write Metadata to file" << finfo.absoluteFilePath(); writtenToFile = d->saveToFile(finfo); - if (writeToFile) + if (writtenToFile) { qCDebug(LIBKEXIV2_LOG) << "Metadata for file" << finfo.fileName() << "written to file."; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-22.08.3/src/kexiv2exif.cpp new/libkexiv2-22.12.0/src/kexiv2exif.cpp --- old/libkexiv2-22.08.3/src/kexiv2exif.cpp 2022-07-01 15:54:56.000000000 +0200 +++ new/libkexiv2-22.12.0/src/kexiv2exif.cpp 2022-11-04 17:10:36.000000000 +0100 @@ -910,7 +910,7 @@ bool KExiv2::rotateExifQImage(QImage& image, ImageOrientation orientation) const { - QMatrix matrix = RotationMatrix::toMatrix(orientation); + QTransform matrix = RotationMatrix::toTransform(orientation); if ((orientation != ORIENTATION_NORMAL) && (orientation != ORIENTATION_UNSPECIFIED)) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-22.08.3/src/rotationmatrix.cpp new/libkexiv2-22.12.0/src/rotationmatrix.cpp --- old/libkexiv2-22.08.3/src/rotationmatrix.cpp 2022-07-01 15:54:56.000000000 +0200 +++ new/libkexiv2-22.12.0/src/rotationmatrix.cpp 2022-11-04 17:10:36.000000000 +0100 @@ -267,14 +267,14 @@ return KExiv2::ORIENTATION_UNSPECIFIED; } -QMatrix RotationMatrix::toMatrix() const +QTransform RotationMatrix::toTransform() const { - return toMatrix(exifOrientation()); + return toTransform(exifOrientation()); } -QMatrix RotationMatrix::toMatrix(KExiv2::ImageOrientation orientation) +QTransform RotationMatrix::toTransform(KExiv2::ImageOrientation orientation) { - QMatrix matrix; + QTransform matrix; switch (orientation) { @@ -316,4 +316,18 @@ return matrix; } +#if KEXIV2_BUILD_DEPRECATED_SINCE(5, 1) +QMatrix RotationMatrix::toMatrix() const +{ + return toMatrix(exifOrientation()); +} +#endif + +#if KEXIV2_BUILD_DEPRECATED_SINCE(5, 1) +QMatrix RotationMatrix::toMatrix(KExiv2::ImageOrientation orientation) +{ + return toTransform(orientation).toAffine(); +} +#endif + } // namespace KExiv2Iface diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-22.08.3/src/rotationmatrix.h new/libkexiv2-22.12.0/src/rotationmatrix.h --- old/libkexiv2-22.08.3/src/rotationmatrix.h 2022-07-01 15:54:56.000000000 +0200 +++ new/libkexiv2-22.12.0/src/rotationmatrix.h 2022-11-04 17:10:36.000000000 +0100 @@ -9,15 +9,18 @@ #ifndef LIBKEXIV2_ROTATIONMATRIX_H #define LIBKEXIV2_ROTATIONMATRIX_H -// Qt includes - -#include <QMatrix> - // Local includes #include "kexiv2.h" #include "libkexiv2_export.h" +// Qt includes + +#if KEXIV2_ENABLE_DEPRECATED_SINCE(5, 1) +#include <QMatrix> +#endif +#include <QTransform> + namespace KExiv2Iface { @@ -84,11 +87,30 @@ */ KExiv2::ImageOrientation exifOrientation() const; + /** + * Returns a QTransform representing this matrix + * @since 5.1 + */ + QTransform toTransform() const; + + /** + * Returns a QTransform for the given Exif orientation + * @since 5.1 + */ + static QTransform toTransform(KExiv2::ImageOrientation orientation); + +#if KEXIV2_ENABLE_DEPRECATED_SINCE(5, 1) /// Returns a QMatrix representing this matrix + /// @deprecated Since 5.1, use toTransform(). + KEXIV2_DEPRECATED_VERSION(5, 1, "Use toTransform()") QMatrix toMatrix() const; +#endif +#if KEXIV2_ENABLE_DEPRECATED_SINCE(5, 1) /// Returns a QMatrix for the given Exif orientation + KEXIV2_DEPRECATED_VERSION(5, 1, "Use toTransform(KExiv2::ImageOrientation)") static QMatrix toMatrix(KExiv2::ImageOrientation orientation); +#endif RotationMatrix(int m11, int m12, int m21, int m22); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libkexiv2-22.08.3/tests/setiptcpreview.cpp new/libkexiv2-22.12.0/tests/setiptcpreview.cpp --- old/libkexiv2-22.08.3/tests/setiptcpreview.cpp 2022-07-01 15:54:56.000000000 +0200 +++ new/libkexiv2-22.12.0/tests/setiptcpreview.cpp 2022-11-04 17:10:36.000000000 +0100 @@ -8,7 +8,7 @@ // Qt includes -#include <QMatrix> +#include <QTransform> #include <QImage> #include <QString> #include <QFile> @@ -34,7 +34,7 @@ KExiv2 meta(filePath); QImage image(filePath); - QMatrix matrix; + QTransform matrix; matrix.rotate(90); image = image.transformed(matrix);