Hello community, here is the log from the commit of package kphotoalbum for openSUSE:Factory checked in at 2020-08-28 21:20:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kphotoalbum (Old) and /work/SRC/openSUSE:Factory/.kphotoalbum.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kphotoalbum" Fri Aug 28 21:20:19 2020 rev:9 rq:826793 version:5.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kphotoalbum/kphotoalbum.changes 2020-02-13 10:12:25.208371449 +0100 +++ /work/SRC/openSUSE:Factory/.kphotoalbum.new.3399/kphotoalbum.changes 2020-08-28 21:21:26.920326749 +0200 @@ -1,0 +2,50 @@ +Mon Aug 10 07:33:08 UTC 2020 - wba...@tmo.at + +- Update to 5.7.0 + * Code cleanup: + + Removed old macros in favor of C++11 features + + Fixed all deprecation warnings emerged with Qt 5.14 + + Updated old SIGNAL() and SLOT() connects + * Change: We now no longer depend on libkgeomap and now use + Marble directly to display geographic information for images + and maps + * Change: Store thumbnail size in thumbnail cache. Warning: After + the thumbnail cache was converted to the new format, older + versions of KPhotoAlbum can no longer read it! + * Change: Remove fake password-protection from privacy lock. Even + with the warning message it might give somebody a false sense + of security. + * Change: Don't display HTML export themes missing a name + * Bugfix: Make sure tag groups are always added to tag list as + well (kde#423334) + * Bugfix: Fix crash when changing the toolbar + * Bugfix: Fix handling of negation in searches (kde#334672) + * Bugfix: Consistent UI even with dark color schemes + * Bugfix: Fix behavior of refresh button (introduced in version + 5.5) + * Bugfix: Fix crash when images are deleted while the viewer + window is open + * Bugfix: Always show deletion dialog when closing the viewer and + images are marked for deletion + * Bugfix: Fix crash when dragging an image beyond the last + thumbnail (kde#418251) + * Bugfix: Fix computation of cell height + * Bugfix: kpa-merge should not fail if an item of id 0 exists in + an index file + * Bugfix: Fix crash when ffmpeg can not extract video thumbnails + (kde#422555) + * Bugfix: Removing a token no longer makes it disappear from the + annotation dialog (kde#423978) + * Bugfix: Sanitize input for the Tokens category, make Folder and + Media Type categories read-only (kde#423979) + * Deprecation: Remove support for KIPI plugins + * Deprecation: Drop python2 API and associated python scripts + * Enhancement: Experimental: offer options for image search tuning + * Enhancement: Smaller improvements to the import dialog + * Feature: Support for custom color schemes. Note: This feature + replaces the custom background color for the thumbnail view. + * Feature: Add new utility kpa-thumbnailtool +- Add Fix-build-with-Qt-versions-before-5.12.patch to make it build + on Leap 15.1 + +------------------------------------------------------------------- Old: ---- kphotoalbum-5.6.1.tar.xz New: ---- Fix-build-with-Qt-versions-before-5.12.patch kphotoalbum-5.7.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kphotoalbum.spec ++++++ --- /var/tmp/diff_new_pack.QDIEQ2/_old 2020-08-28 21:21:27.756327155 +0200 +++ /var/tmp/diff_new_pack.QDIEQ2/_new 2020-08-28 21:21:27.760327157 +0200 @@ -17,14 +17,16 @@ Name: kphotoalbum -Version: 5.6.1 +Version: 5.7.0 Release: 0 Summary: A photo administration utility License: GPL-2.0-or-later Group: Productivity/Graphics/Viewers URL: https://www.kphotoalbum.org/ Source: https://download.kde.org/stable/%{name}/%{version}/%{name}-%{version}.tar.xz -BuildRequires: cmake >= 3.2.0 +# PATCH-FIX-UPSTREAM +Patch: Fix-build-with-Qt-versions-before-5.12.patch +BuildRequires: cmake >= 3.3.0 BuildRequires: fdupes BuildRequires: kf5-filesystem BuildRequires: libexiv2-devel @@ -39,20 +41,19 @@ BuildRequires: cmake(KF5IconThemes) BuildRequires: cmake(KF5JobWidgets) BuildRequires: cmake(KF5KDcraw) -BuildRequires: cmake(KF5KGeoMap) BuildRequires: cmake(KF5KIO) -BuildRequires: cmake(KF5Kipi) BuildRequires: cmake(KF5Purpose) BuildRequires: cmake(KF5TextWidgets) BuildRequires: cmake(KF5WidgetsAddons) BuildRequires: cmake(KF5XmlGui) +BuildRequires: cmake(Marble) BuildRequires: cmake(Phonon4Qt5) -BuildRequires: cmake(Qt5Network) +BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5Sql) BuildRequires: cmake(Qt5Widgets) >= 5.9.0 BuildRequires: cmake(Qt5Xml) -Requires: kipi-plugins Requires: sqlite3 +Recommends: marble %description KPhotoAlbum is a tool to help describe images, and to search in the pile @@ -64,6 +65,7 @@ %prep %setup -q +%autopatch -p1 %build %cmake_kf5 -d build @@ -83,10 +85,12 @@ %doc ChangeLog README.md %{_kf5_applicationsdir}/* %{_kf5_bindir}/* -%{_kf5_iconsdir}/??color/*/*/*.png +%{_kf5_iconsdir}/hicolor/*/*/*.png %{_kf5_configdir}/kphotoalbumrc %{_kf5_htmldir}/en/kphotoalbum/ %{_kf5_kxmlguidir}/kphotoalbum/ +%{_kf5_libdir}/libkpabase.so +%{_kf5_libdir}/libkpathumbnails.so %{_kf5_sharedir}/kphotoalbum/ %{_kf5_appstreamdir}/org.kde.kphotoalbum.appdata.xml ++++++ Fix-build-with-Qt-versions-before-5.12.patch ++++++ >From 91b26cccb4d26fec4d3c987a000294ad8123f672 Mon Sep 17 00:00:00 2001 From: Wolfgang Bauer <wba...@tmo.at> Date: Mon, 10 Aug 2020 14:02:42 +0000 Subject: [PATCH] Fix build with Qt versions before 5.12 The used QWheelEvent constructor only exists since Qt 5.12, so use an obsolete one instead when building with lower versions. This is basically a conditional revert of (parts of) commit 35f3a486. --- ThumbnailView/ThumbnailWidget.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ThumbnailView/ThumbnailWidget.cpp b/ThumbnailView/ThumbnailWidget.cpp index ab8768ab..773868b7 100644 --- a/ThumbnailView/ThumbnailWidget.cpp +++ b/ThumbnailView/ThumbnailWidget.cpp @@ -211,8 +211,13 @@ void ThumbnailView::ThumbnailWidget::wheelEvent(QWheelEvent *event) cellGeometryInfo()->calculateCellSize(); model()->endResetModel(); } else { +#if QT_VERSION < QT_VERSION_CHECK(5, 12, 0) + const int delta = event->delta() / 5; + QWheelEvent newevent = QWheelEvent(event->pos(), delta, event->buttons(), event->modifiers()); +#else const auto angleDelta = event->angleDelta() / 5; QWheelEvent newevent = QWheelEvent(event->pos(), event->globalPos(), event->pixelDelta(), angleDelta, event->buttons(), event->modifiers(), event->phase(), event->inverted()); +#endif QListView::wheelEvent(&newevent); event->setAccepted(newevent.isAccepted()); -- GitLab ++++++ kphotoalbum-5.6.1.tar.xz -> kphotoalbum-5.7.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/kphotoalbum/kphotoalbum-5.6.1.tar.xz /work/SRC/openSUSE:Factory/.kphotoalbum.new.3399/kphotoalbum-5.7.0.tar.xz differ: char 26, line 1