Hello community,

here is the log from the commit of package kphotoalbum for openSUSE:Factory 
checked in at 2020-02-10 21:55:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kphotoalbum (Old)
 and      /work/SRC/openSUSE:Factory/.kphotoalbum.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kphotoalbum"

Mon Feb 10 21:55:21 2020 rev:7 rq:772728 version:5.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/kphotoalbum/kphotoalbum.changes  2019-05-02 
19:22:19.213907230 +0200
+++ /work/SRC/openSUSE:Factory/.kphotoalbum.new.26092/kphotoalbum.changes       
2020-02-10 21:55:40.918265898 +0100
@@ -1,0 +2,29 @@
+Mon Feb 10 08:54:45 UTC 2020 - [email protected]
+
+- Update to 5.6
+  * Change: Don't build with remote interface by default.
+    The companion app has not been available for Android for a
+    while now.
+    This feature will either be removed in the future, or the
+    Android app will be re-published.
+  * Bugfix: Make theme files translatable (kde#406144)
+  * Bugfix: Prevent invalid tag id in index.xml when renaming tags
+    under some circumstances. When invalid ids already are present
+    in an index.xml file, automatically repair if possible, or alert
+    the user that manual repair is needed. (kde#415415)
+  * Bugfix: Deeply nested tag groups are now displayed correctly in
+    the tag groups settings page
+  * Enhancement: Huge performance improvements when tagging a large
+    number of images
+  * Enhancement: Performance improvements for thumbnail view
+  * Feature: Support for using purpose plugins
+  * Feature: Show newly added tagged areas in the annotation
+    dialog's fullscreen preview
+  * Feature: Add filter to thumbnail view, allowing filtering by
+    token or rating
+  * Feature: Make it possible to hide the search bar and the filter
+    toolbar
+- Add Fix-crash-when-associating-a-tag-with-an-area.patch to fix a
+  crash when associating tags with image areas (kde#417360)
+
+-------------------------------------------------------------------

Old:
----
  kphotoalbum-5.5.tar.xz

New:
----
  Fix-crash-when-associating-a-tag-with-an-area.patch
  kphotoalbum-5.6.tar.xz

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

Other differences:
------------------
++++++ kphotoalbum.spec ++++++
--- /var/tmp/diff_new_pack.3IpbMe/_old  2020-02-10 21:55:44.042267624 +0100
+++ /var/tmp/diff_new_pack.3IpbMe/_new  2020-02-10 21:55:44.046267627 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kphotoalbum
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,19 +17,20 @@
 
 
 Name:           kphotoalbum
-Version:        5.5
+Version:        5.6
 Release:        0
 Summary:        A photo administration utility
 License:        GPL-2.0-or-later
 Group:          Productivity/Graphics/Viewers
-URL:            http://www.kphotoalbum.org/
-Source:         
http://download.kde.org/stable/%{name}/%{version}/%{name}-%{version}.tar.xz
+URL:            https://www.kphotoalbum.org/
+Source:         
https://download.kde.org/stable/%{name}/%{version}/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM
+Patch:          Fix-crash-when-associating-a-tag-with-an-area.patch
 BuildRequires:  cmake >= 3.2.0
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem
 BuildRequires:  libexiv2-devel
 BuildRequires:  libjpeg-devel
-BuildRequires:  phonon4qt5-devel
 BuildRequires:  update-desktop-files
 BuildRequires:  cmake(KF5Archive)
 BuildRequires:  cmake(KF5Completion)
@@ -43,9 +44,11 @@
 BuildRequires:  cmake(KF5KGeoMap)
 BuildRequires:  cmake(KF5KIO)
 BuildRequires:  cmake(KF5Kipi)
+BuildRequires:  cmake(KF5Purpose)
 BuildRequires:  cmake(KF5TextWidgets)
 BuildRequires:  cmake(KF5WidgetsAddons)
 BuildRequires:  cmake(KF5XmlGui)
+BuildRequires:  cmake(Phonon4Qt5)
 BuildRequires:  cmake(Qt5Network)
 BuildRequires:  cmake(Qt5Sql)
 BuildRequires:  cmake(Qt5Widgets) >= 5.9.0
@@ -63,6 +66,7 @@
 
 %prep
 %setup -q
+%autopatch -p1
 
 %build
 %cmake_kf5 -d build

++++++ Fix-crash-when-associating-a-tag-with-an-area.patch ++++++
>From 583e10e8356d2ed64f0358ebf107bff35a98db31 Mon Sep 17 00:00:00 2001
From: Johannes Zarl-Zierl <[email protected]>
Date: Sun, 9 Feb 2020 22:51:15 +0100
Subject: Fix crash when associating a tag with an area.

If a tag is being associated with an area, the context menu has two
levels: the direct "associate with <last added tag>" and the sub-menu
"associate with..." followed by a list of tags.

Each version uses a different function signature for
ResizableFrame::associateTags. When refactoring connections to the "new"
signal-slot syntax in commit c38f5136 (thus released in version 5.6), I
applied the wrong signature to the connect statement.

This resulted in a crash/failed assertion when selecting a tag in the
described way.
---
 AnnotationDialog/ResizableFrame.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/AnnotationDialog/ResizableFrame.cpp 
b/AnnotationDialog/ResizableFrame.cpp
index f2dba86..44175fb 100644
--- a/AnnotationDialog/ResizableFrame.cpp
+++ b/AnnotationDialog/ResizableFrame.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014-2019 The KPhotoAlbum Development Team
+/* Copyright (C) 2014-2020 The KPhotoAlbum Development Team
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public
@@ -522,7 +522,7 @@ void AnnotationDialog::ResizableFrame::addTagActions(QMenu 
*menu)
                     submenu->addAction(createAssociateTagAction(tag));
                 }
 
-                connect(submenu, &QMenu::triggered, this, 
QOverload<>::of(&ResizableFrame::associateTag));
+                connect(submenu, &QMenu::triggered, this, QOverload<QAction 
*>::of(&ResizableFrame::associateTag));
             }
         }
     }
-- 
cgit v1.1

++++++ kphotoalbum-5.5.tar.xz -> kphotoalbum-5.6.tar.xz ++++++
/work/SRC/openSUSE:Factory/kphotoalbum/kphotoalbum-5.5.tar.xz 
/work/SRC/openSUSE:Factory/.kphotoalbum.new.26092/kphotoalbum-5.6.tar.xz 
differ: char 25, line 1


Reply via email to