Hello community,

here is the log from the commit of package kdbusaddons for openSUSE:Factory 
checked in at 2019-12-18 14:40:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdbusaddons (Old)
 and      /work/SRC/openSUSE:Factory/.kdbusaddons.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdbusaddons"

Wed Dec 18 14:40:27 2019 rev:73 rq:757022 version:5.65.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdbusaddons/kdbusaddons.changes  2019-11-12 
11:43:53.718629929 +0100
+++ /work/SRC/openSUSE:Factory/.kdbusaddons.new.4691/kdbusaddons.changes        
2019-12-18 14:42:28.301778161 +0100
@@ -1,0 +2,10 @@
+Sun Dec  8 11:18:26 UTC 2019 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Update to 5.65.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.65.0.php
+- Changes since 5.64.0:
+  * Include API to generically implement --replace arguments
+
+-------------------------------------------------------------------

Old:
----
  kdbusaddons-5.64.0.tar.xz
  kdbusaddons-5.64.0.tar.xz.sig

New:
----
  kdbusaddons-5.65.0.tar.xz
  kdbusaddons-5.65.0.tar.xz.sig

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

Other differences:
------------------
++++++ kdbusaddons.spec ++++++
--- /var/tmp/diff_new_pack.zfUvGP/_old  2019-12-18 14:42:28.865778419 +0100
+++ /var/tmp/diff_new_pack.zfUvGP/_new  2019-12-18 14:42:28.865778419 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kdbusaddons
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,14 @@
 
 
 %define lname   libKF5DBusAddons5
-%define _tar_path 5.64
+%define _tar_path 5.65
 # 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: %define _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
 %bcond_without lang
 Name:           kdbusaddons
-Version:        5.64.0
+Version:        5.65.0
 Release:        0
 Summary:        Convenience classes for QtDBus
 License:        LGPL-2.1-or-later


++++++ kdbusaddons-5.64.0.tar.xz -> kdbusaddons-5.65.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdbusaddons-5.64.0/CMakeLists.txt 
new/kdbusaddons-5.65.0/CMakeLists.txt
--- old/kdbusaddons-5.64.0/CMakeLists.txt       2019-11-02 13:53:56.000000000 
+0100
+++ new/kdbusaddons-5.65.0/CMakeLists.txt       2019-12-07 22:41:15.000000000 
+0100
@@ -1,10 +1,10 @@
 cmake_minimum_required(VERSION 3.5)
 
-set(KF5_VERSION "5.64.0") # handled by release scripts
+set(KF5_VERSION "5.65.0") # handled by release scripts
 project(KDBusAddons VERSION ${KF5_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 5.64.0  NO_MODULE)
+find_package(ECM 5.65.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)
 
@@ -50,7 +50,6 @@
 endif()
 add_definitions(-DQT_NO_FOREACH)
 add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00)
-add_definitions(-DQT_DEPRECATED_WARNINGS_SINCE=0x060000)
 add_subdirectory(src)
 if (BUILD_TESTING)
     add_subdirectory(autotests)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdbusaddons-5.64.0/po/zh_CN/kdbusaddons5_qt.po 
new/kdbusaddons-5.65.0/po/zh_CN/kdbusaddons5_qt.po
--- old/kdbusaddons-5.64.0/po/zh_CN/kdbusaddons5_qt.po  2019-11-02 
13:53:56.000000000 +0100
+++ new/kdbusaddons-5.65.0/po/zh_CN/kdbusaddons5_qt.po  2019-12-07 
22:41:15.000000000 +0100
@@ -2,7 +2,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: kdeorg\n"
-"PO-Revision-Date: 2019-10-09 09:45\n"
+"PO-Revision-Date: 2019-11-19 23:01\n"
 "Last-Translator: Guo Yunhe (guoyunhe)\n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdbusaddons-5.64.0/src/kdbusservice.cpp 
new/kdbusaddons-5.65.0/src/kdbusservice.cpp
--- old/kdbusaddons-5.64.0/src/kdbusservice.cpp 2019-11-02 13:53:56.000000000 
+0100
+++ new/kdbusaddons-5.65.0/src/kdbusservice.cpp 2019-12-07 22:41:15.000000000 
+0100
@@ -196,7 +196,14 @@
             return;
         }
 
-        if (options & KDBusService::Unique) {
+        if (options & KDBusService::Replace) {
+            auto message = QDBusMessage::createMethodCall(d->serviceName,
+                                                    
QStringLiteral("/MainApplication"),
+                                                    
QStringLiteral("org.qtproject.Qt.QCoreApplication"),
+                                                    QStringLiteral("quit"));
+            QDBusConnection::sessionBus().asyncCall(message);
+            waitForRegistration();
+        } else if (options & KDBusService::Unique) {
             // Already running so it's ok!
             QVariantMap platform_data;
             platform_data.insert(QStringLiteral("desktop-startup-id"), 
QString::fromUtf8(qgetenv("DESKTOP_STARTUP_ID")));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdbusaddons-5.64.0/src/kdbusservice.h 
new/kdbusaddons-5.65.0/src/kdbusservice.h
--- old/kdbusaddons-5.64.0/src/kdbusservice.h   2019-11-02 13:53:56.000000000 
+0100
+++ new/kdbusaddons-5.65.0/src/kdbusservice.h   2019-12-07 22:41:15.000000000 
+0100
@@ -95,13 +95,14 @@
 public:
     /** Options to control the behaviour of KDBusService */
     enum StartupOption {
-        /** Indicates that only one instance of this application should ever
-         * exist.
+        /**
+         * Indicates that only one instance of this application should ever 
exist.
          *
          * Cannot be combined with @c Multiple.
          */
         Unique = 1,
-        /** Indicates that multiple instances of the application may exist.
+        /**
+         * Indicates that multiple instances of the application may exist.
          *
          * Cannot be combined with @c Unique.  This is the default.
          */
@@ -115,7 +116,17 @@
          * The exit value of a @c Unique instance can be set from the running
          * instance with setExitValue(), the default value is @c 0.
          */
-        NoExitOnFailure = 4
+        NoExitOnFailure = 4,
+        /**
+         * Indicates that if there's already a unique service running, to be 
quit and replaced
+         * with our own.
+         *
+         * If exported, it will try first quitting the service calling @c 
org.qtproject.Qt.QCoreApplication.quit,
+         * which is exported by KDBusService by default.
+         *
+         * @since 5.65
+         */
+        Replace = 8
     };
     Q_ENUM(StartupOption)
 
@@ -220,7 +231,7 @@
      *    KWindowSystem::forceActiveWindow(mainWindow->winId());
      * @endcode
      *
-     * If you're using the builtin handling of --help and --version in 
QCommandLineParser,
+     * If you're using the builtin handling of @c --help and @c --version in 
QCommandLineParser,
      * you should call parser.process(arguments) before creating the 
KDBusService instance,
      * since parse() doesn't handle those (and exiting the already-running 
instance would be wrong anyway).
      *


Reply via email to