Hello community,

here is the log from the commit of package akregator for openSUSE:Factory 
checked in at 2017-09-12 19:52:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/akregator (Old)
 and      /work/SRC/openSUSE:Factory/.akregator.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "akregator"

Tue Sep 12 19:52:38 2017 rev:12 rq:523359 version:17.08.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/akregator/akregator.changes      2017-08-24 
17:41:54.529068028 +0200
+++ /work/SRC/openSUSE:Factory/.akregator.new/akregator.changes 2017-09-12 
19:52:40.813979068 +0200
@@ -1,0 +2,18 @@
+Mon Sep 11 18:01:26 UTC 2017 - [email protected]
+
+- Add upstream patch to fix various crashes (kde#381822, kde#378513,
+  kde#381825, kde#377129):
+  * make-sure-part-is-created.patch
+
+-------------------------------------------------------------------
+Thu Sep 07 07:01:10 CEST 2017 - [email protected]
+
+- Update to 17.08.1
+  * New bugfix release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-17.08.1.php
+- Changes since 17.08.0:
+  * Don"t change messageviewer setting here. We don"t need to do it here
+  * Fix Bug 383380 - Duplicate overwrite warning when exporting feeds 
(kde#383380)
+
+-------------------------------------------------------------------

Old:
----
  akregator-17.08.0.tar.xz

New:
----
  akregator-17.08.1.tar.xz
  make-sure-part-is-created.patch

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

Other differences:
------------------
++++++ akregator.spec ++++++
--- /var/tmp/diff_new_pack.9toaIO/_old  2017-09-12 19:52:43.089659098 +0200
+++ /var/tmp/diff_new_pack.9toaIO/_new  2017-09-12 19:52:43.089659098 +0200
@@ -19,7 +19,7 @@
 %bcond_without lang
 
 Name:           akregator
-Version:        17.08.0
+Version:        17.08.1
 Release:        0
 %define kf5_version 5.26.0
 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
@@ -29,6 +29,8 @@
 Group:          Productivity/Networking/News/Utilities
 Url:            http://www.kde.org
 Source0:        %{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM
+Patch1:         make-sure-part-is-created.patch
 BuildRequires:  akonadi-mime-devel >= %{_kapp_version}
 BuildRequires:  extra-cmake-modules >= %{kf5_version}
 BuildRequires:  fdupes
@@ -89,6 +91,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %cmake_kf5 -d build -- -DBUILD_TESTING=OFF

++++++ akregator-17.08.0.tar.xz -> akregator-17.08.1.tar.xz ++++++
++++ 5489 lines of diff (skipped)

++++++ make-sure-part-is-created.patch ++++++
>From d0a5f4159cddcca656ca8bbcbd6e551e3499c166 Mon Sep 17 00:00:00 2001
From: Anthony Fieroni <[email protected]>
Date: Sun, 10 Sep 2017 21:59:35 +0300
Subject: [akregator] Make sure part is created before main windows is restored

DIfferential Revision: https://phabricator.kde.org/D6739

BUG: 381822
BUG: 378513
BUG: 381825
BUG: 377129

Signed-off-by: Anthony Fieroni <[email protected]>
---
 src/main.cpp | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/main.cpp b/src/main.cpp
index b80b198..aa1bb08 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -113,14 +113,11 @@ int main(int argc, char **argv)
 
     // see if we are starting with session management
     if (app.isSessionRestored()) {
-#undef RESTORE
-#define RESTORE(type) { int n = 1; \
-                        while (KMainWindow::canBeRestored(n)) { \
-                            (new type)->restore(n, false); \
-                            n++;} \
-}
-
-        RESTORE(Akregator::MainWindow);
+        auto mainWindow = new Akregator::MainWindow();
+        mainWindow->loadPart();
+        if (KMainWindow::canBeRestored(1)) {
+            mainWindow->restore(1, false);
+        }
     }
 
     return app.exec();
-- 
cgit v0.11.2


Reply via email to