Hello community,

here is the log from the commit of package knotifications for openSUSE:Factory 
checked in at 2017-09-19 16:25:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/knotifications (Old)
 and      /work/SRC/openSUSE:Factory/.knotifications.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "knotifications"

Tue Sep 19 16:25:40 2017 rev:46 rq:526662 version:5.38.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/knotifications/knotifications.changes    
2017-08-24 17:57:30.657223178 +0200
+++ /work/SRC/openSUSE:Factory/.knotifications.new/knotifications.changes       
2017-09-19 16:25:43.663491993 +0200
@@ -1,0 +2,11 @@
+Tue Sep 12 07:11:17 CEST 2017 - [email protected]
+
+- Update to 5.38.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.38.0.php
+- Changes since 5.37.0:
+  * Don't block starting notification service (kde#382444)
+  * Do not leak symbols of pimpl classes, protect with Q_DECL_HIDDEN
+
+-------------------------------------------------------------------

Old:
----
  knotifications-5.37.0.tar.xz

New:
----
  knotifications-5.38.0.tar.xz

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

Other differences:
------------------
++++++ knotifications.spec ++++++
--- /var/tmp/diff_new_pack.ztwmo1/_old  2017-09-19 16:25:44.319399041 +0200
+++ /var/tmp/diff_new_pack.ztwmo1/_new  2017-09-19 16:25:44.323398474 +0200
@@ -18,25 +18,31 @@
 
 %bcond_without lang
 %define lname   libKF5Notifications5
-%define _tar_path 5.37
+%define _tar_path 5.38
+# Full KF5 version (e.g. 5.33.0)
+%{!?_kf5_version: %global _kf5_version %{version}}
+# Last major and minor KF5 version (e.g. 5.33)
+%{!?_kf5_bugfix_version: %global _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
 Name:           knotifications
-Version:        5.37.0
+Version:        5.38.0
 Release:        0
 %define kf5_version %{version}
 BuildRequires:  cmake >= 3.0
-BuildRequires:  extra-cmake-modules >= %{_tar_path}
+BuildRequires:  extra-cmake-modules >= %{_kf5_bugfix_version}
 BuildRequires:  fdupes
-BuildRequires:  kcodecs-devel >= %{_tar_path}
-BuildRequires:  kconfig-devel >= %{_tar_path}
-BuildRequires:  kcoreaddons-devel >= %{_tar_path}
+BuildRequires:  kcodecs-devel >= %{_kf5_bugfix_version}
+BuildRequires:  kconfig-devel >= %{_kf5_bugfix_version}
+BuildRequires:  kcoreaddons-devel >= %{_kf5_bugfix_version}
 BuildRequires:  kf5-filesystem
-BuildRequires:  kwindowsystem-devel >= %{_tar_path}
+BuildRequires:  kwindowsystem-devel >= %{_kf5_bugfix_version}
 %if %{with lang}
 BuildRequires:  cmake(Qt5LinguistTools) >= 5.6.0
 %endif
 BuildRequires:  phonon4qt5-devel
 BuildRequires:  cmake(Qt5DBus) >= 5.6.0
 BuildRequires:  cmake(Qt5Test) >= 5.6.0
+# Temporary: qttexttospeech doesn't build in TW ("invalid" license)
+# BuildRequires:  cmake(Qt5TextToSpeech) >= 5.6.0
 BuildRequires:  cmake(Qt5Widgets) >= 5.6.0
 BuildRequires:  cmake(Qt5X11Extras) >= 5.6.0
 BuildRequires:  pkgconfig(dbusmenu-qt5)

++++++ knotifications-5.37.0.tar.xz -> knotifications-5.38.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knotifications-5.37.0/CMakeLists.txt 
new/knotifications-5.38.0/CMakeLists.txt
--- old/knotifications-5.37.0/CMakeLists.txt    2017-08-06 20:07:35.000000000 
+0200
+++ new/knotifications-5.38.0/CMakeLists.txt    2017-09-03 10:11:24.000000000 
+0200
@@ -1,12 +1,12 @@
 cmake_minimum_required(VERSION 3.0)
 
-set(KF5_VERSION "5.37.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.37.0") # handled by release scripts
+set(KF5_VERSION "5.38.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.38.0") # handled by release scripts
 project(KNotifications VERSION ${KF5_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.37.0  NO_MODULE)
+find_package(ECM 5.38.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL 
"https://projects.kde.org/projects/kdesupport/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knotifications-5.37.0/po/eu/knotifications5_qt.po 
new/knotifications-5.38.0/po/eu/knotifications5_qt.po
--- old/knotifications-5.37.0/po/eu/knotifications5_qt.po       2017-08-06 
20:07:35.000000000 +0200
+++ new/knotifications-5.38.0/po/eu/knotifications5_qt.po       2017-09-03 
10:11:24.000000000 +0200
@@ -1,66 +1,56 @@
-# translation of kdelibs4.po to Euskara/Basque (eu)
-# KDE: EUSKERA TRANSLATION
-# Copyright (C) 1999,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011, Free 
Software Foundation, Inc.
+# Translation of knotifications5_qt.po to Euskara/Basque (eu).
+# Copyright (C) 1999-2017, Free Software Foundation, Inc.
+# This file is distributed under the same license as the frameworks package.
+# KDE Euskaratzeko proiektuaren arduraduna <[email protected]>.
 #
-# Marcos <[email protected]>, 2002,2003, 2004, 2005.
+# Translators:
+# Marcos <[email protected]>, 2002,2003, 2004, 2005, 2006, 2007, 2008, 
2009, 2010.
 # Ion Gaztañaga <[email protected]>, 2005.
-# marcos <[email protected]>, 2006, 2007, 2008, 2009, 2010.
 # Iñaki Larrañaga Murgoitio <[email protected]>, 2009.
-# Iñigo Salvador Azurmendi <[email protected]>, 2010, 2011, 2012, 2013, 2014.
+# Iñigo Salvador Azurmendi <[email protected]>, 2010, 2011, 2012, 2013, 
2014, 2017.
 msgid ""
 msgstr ""
-"Project-Id-Version: kdelibs4\n"
+"Project-Id-Version: knotifications5_qt\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2014-03-23 01:50+0000\n"
-"PO-Revision-Date: 2014-03-02 19:49+0100\n"
+"PO-Revision-Date: 2017-08-30 20:53+0100\n"
 "Last-Translator: Iñigo Salvador Azurmendi <[email protected]>\n"
 "Language-Team: Basque <[email protected]>\n"
 "Language: eu\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Lokalize 1.5\n"
+"X-Generator: Lokalize 2.0\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 "X-Qt-Contexts: true\n"
 
 #: knotificationrestrictions.cpp:192
-#, fuzzy
-#| msgid "Unknown Application"
 msgctxt "KNotificationRestrictions|"
 msgid "Unknown Application"
 msgstr "Aplikazio ezezaguna"
 
 #: kstatusnotifieritem.cpp:499 kstatusnotifieritem.cpp:1054
-#, fuzzy
-#| msgid "&Minimize"
 msgctxt "KStatusNotifierItem|"
 msgid "&Minimize"
-msgstr "M&inimizatu"
+msgstr "&Minimizatu"
 
 #: kstatusnotifieritem.cpp:796
-#, fuzzy
-#| msgid "Quit"
 msgctxt "KStatusNotifierItem|"
 msgid "Quit"
 msgstr "Irten"
 
 #: kstatusnotifieritem.cpp:1052
-#, fuzzy
-#| msgid "&Restore"
 msgctxt "KStatusNotifierItem|"
 msgid "&Restore"
-msgstr "&Leheneratu"
+msgstr "Lehene&ratu"
 
 #: kstatusnotifieritem.cpp:1066
-#, fuzzy, qt-format
-#| msgid "<qt>Are you sure you want to quit <b>%1</b>?</qt>"
+#, qt-format
 msgctxt "KStatusNotifierItem|"
 msgid "<qt>Are you sure you want to quit <b>%1</b>?</qt>"
 msgstr "<qt>Ziur zaude <b>%1</b>(e)tik irten nahi duzula?</qt>"
 
 #: kstatusnotifieritem.cpp:1069
-#, fuzzy
-#| msgid "Confirm Quit From System Tray"
 msgctxt "KStatusNotifierItem|"
 msgid "Confirm Quit From System Tray"
-msgstr "Berretsi sistemako erretilutik irtetzea"
+msgstr "Berretsi sistemako erretilutik irtetea"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knotifications-5.37.0/src/knotification.cpp 
new/knotifications-5.38.0/src/knotification.cpp
--- old/knotifications-5.37.0/src/knotification.cpp     2017-08-06 
20:07:35.000000000 +0200
+++ new/knotifications-5.38.0/src/knotification.cpp     2017-09-03 
10:11:24.000000000 +0200
@@ -43,7 +43,7 @@
 #include <QStringList>
 #include <QUrl>
 
-struct KNotification::Private {
+struct Q_DECL_HIDDEN KNotification::Private {
     QString eventId;
     int id;
     int ref;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knotifications-5.37.0/src/knotificationmanager.cpp 
new/knotifications-5.38.0/src/knotificationmanager.cpp
--- old/knotifications-5.37.0/src/knotificationmanager.cpp      2017-08-06 
20:07:35.000000000 +0200
+++ new/knotifications-5.38.0/src/knotificationmanager.cpp      2017-09-03 
10:11:24.000000000 +0200
@@ -49,7 +49,7 @@
 
 typedef QHash<QString, QString> Dict;
 
-struct KNotificationManager::Private {
+struct Q_DECL_HIDDEN KNotificationManager::Private {
     QHash<int, KNotification *> notifications;
     QHash<QString, KNotificationPlugin *> notifyPlugins;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/knotifications-5.37.0/src/knotificationrestrictions.cpp 
new/knotifications-5.38.0/src/knotificationrestrictions.cpp
--- old/knotifications-5.37.0/src/knotificationrestrictions.cpp 2017-08-06 
20:07:35.000000000 +0200
+++ new/knotifications-5.38.0/src/knotificationrestrictions.cpp 2017-09-03 
10:11:24.000000000 +0200
@@ -35,7 +35,7 @@
 #include <X11/extensions/XTest.h>
 #endif // HAVE_XTEST
 
-class KNotificationRestrictions::Private
+class Q_DECL_HIDDEN KNotificationRestrictions::Private
 {
 public:
     Private(KNotificationRestrictions *qq, Services c, const QString &r)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knotifications-5.37.0/src/kpassivepopup.cpp 
new/knotifications-5.38.0/src/kpassivepopup.cpp
--- old/knotifications-5.37.0/src/kpassivepopup.cpp     2017-08-06 
20:07:35.000000000 +0200
+++ new/knotifications-5.38.0/src/kpassivepopup.cpp     2017-09-03 
10:11:24.000000000 +0200
@@ -49,7 +49,7 @@
 static const int DEFAULT_POPUP_TIME = 6 * 1000;
 static const Qt::WindowFlags POPUP_FLAGS = Qt::Tool | Qt::WindowStaysOnTopHint 
| Qt::FramelessWindowHint;
 
-class KPassivePopup::Private
+class Q_DECL_HIDDEN KPassivePopup::Private
 {
 public:
     Private(KPassivePopup *q, WId winId)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knotifications-5.37.0/src/notifybypopup.cpp 
new/knotifications-5.38.0/src/notifybypopup.cpp
--- old/knotifications-5.37.0/src/notifybypopup.cpp     2017-08-06 
20:07:35.000000000 +0200
+++ new/knotifications-5.38.0/src/notifybypopup.cpp     2017-09-03 
10:11:24.000000000 +0200
@@ -109,6 +109,9 @@
      * Specifies if DBus Notifications interface exists on session bus
      */
     bool dbusServiceExists;
+
+    bool dbusServiceActivatable;
+
     /**
      * DBus notification daemon capabilities cache.
      * Do not use this variable. Use #popupServerCapabilities() instead.
@@ -161,6 +164,7 @@
 {
     d->animationTimer = 0;
     d->dbusServiceExists = false;
+    d->dbusServiceActivatable = false;
     d->dbusServiceCapCacheDirty = true;
     d->nextPosition = -1;
 
@@ -180,32 +184,20 @@
     connect(watcher, SIGNAL(serviceOwnerChanged(QString,QString,QString)),
             SLOT(onServiceOwnerChanged(QString,QString,QString)));
 
+#ifndef Q_WS_WIN
     if (!d->dbusServiceExists) {
-        bool startfdo = false;
-#ifdef Q_WS_WIN
-        startfdo = true;
-#else
         QDBusMessage message = 
QDBusMessage::createMethodCall(QStringLiteral("org.freedesktop.DBus"),
                                                                 
QStringLiteral("/org/freedesktop/DBus"),
                                                                 
QStringLiteral("org.freedesktop.DBus"),
                                                                 
QStringLiteral("ListActivatableNames"));
-
-        // FIXME - this should be async
         QDBusReply<QStringList> reply = 
QDBusConnection::sessionBus().call(message);
         if (reply.isValid() && reply.value().contains(dbusServiceName)) {
-            startfdo = true;
-            // We need to set d->dbusServiceExists to true because dbus might 
be too slow
-            // starting the service and the first call to NotifyByPopup::notify
-            // might not have had the service up, by setting this to true we
-            // guarantee it will still go through dbus and dbus will do the 
correct
-            // thing and wait for the service to go up
+            d->dbusServiceActivatable = true;
+            //if the service is activatable, we can assume it exists even if 
it is not currently running
             d->dbusServiceExists = true;
         }
-#endif
-        if (startfdo) {
-            
QDBusConnection::sessionBus().interface()->startService(dbusServiceName);
-        }
     }
+#endif
 }
 
 
@@ -439,7 +431,9 @@
 
     if (newOwner.isEmpty()) {
         d->notificationQueue.clear();
-        d->dbusServiceExists = false;
+        if (!d->dbusServiceActivatable) {
+            d->dbusServiceExists = false;
+        }
     } else if (oldOwner.isEmpty()) {
         d->dbusServiceExists = true;
 


Reply via email to