Hello community,

here is the log from the commit of package kservice for openSUSE:Factory 
checked in at 2017-08-24 17:58:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kservice (Old)
 and      /work/SRC/openSUSE:Factory/.kservice.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kservice"

Thu Aug 24 17:58:16 2017 rev:49 rq:516697 version:5.37.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kservice/kservice.changes        2017-07-17 
10:25:40.866006135 +0200
+++ /work/SRC/openSUSE:Factory/.kservice.new/kservice.changes   2017-08-24 
17:58:18.754448719 +0200
@@ -1,0 +2,13 @@
+Sat Aug 12 09:23:37 UTC 2017 - christo...@krop.fr
+
+- Update to 5.37.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.37.0.php
+- Changes since 5.36.0 :
+  * API dox: small improvements to example code
+  * API dox: fix method used in example code
+  * autotests: make it work with CMAKE_RUNTIME_OUTPUT_DIRECTORY being set
+  * API dox: use official name "D-Bus" consistently
+
+-------------------------------------------------------------------

Old:
----
  kservice-5.36.0.tar.xz

New:
----
  kservice-5.37.0.tar.xz

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

Other differences:
------------------
++++++ kservice.spec ++++++
--- /var/tmp/diff_new_pack.9gMoU4/_old  2017-08-24 17:58:20.994133262 +0200
+++ /var/tmp/diff_new_pack.9gMoU4/_new  2017-08-24 17:58:20.998132698 +0200
@@ -17,9 +17,9 @@
 
 
 %bcond_without lang
-%define _tar_path 5.36
+%define _tar_path 5.37
 Name:           kservice
-Version:        5.36.0
+Version:        5.37.0
 Release:        0
 %define kf5_version %{version}
 BuildRequires:  bison

++++++ kservice-5.36.0.tar.xz -> kservice-5.37.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kservice-5.36.0/CMakeLists.txt 
new/kservice-5.37.0/CMakeLists.txt
--- old/kservice-5.36.0/CMakeLists.txt  2017-07-02 10:10:31.000000000 +0200
+++ new/kservice-5.37.0/CMakeLists.txt  2017-08-06 20:10:03.000000000 +0200
@@ -1,13 +1,13 @@
 
 cmake_minimum_required(VERSION 3.0)
 
-set(KF5_VERSION "5.36.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.36.0") # handled by release scripts
+set(KF5_VERSION "5.37.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.37.0") # handled by release scripts
 project(KService VERSION ${KF5_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.36.0  NO_MODULE)
+find_package(ECM 5.37.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)
 
@@ -38,7 +38,7 @@
 remove_definitions(-DQT_NO_CAST_FROM_ASCII)
 
 # Dependencies
-set(REQUIRED_QT_VERSION 5.6.0)
+set(REQUIRED_QT_VERSION 5.7.0)
 find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED DBus Xml)
 
 find_package(KF5Config ${KF5_DEP_VERSION} REQUIRED)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kservice-5.36.0/autotests/pluginlocatortest.cpp 
new/kservice-5.37.0/autotests/pluginlocatortest.cpp
--- old/kservice-5.36.0/autotests/pluginlocatortest.cpp 2017-07-02 
10:10:31.000000000 +0200
+++ new/kservice-5.37.0/autotests/pluginlocatortest.cpp 2017-08-06 
20:10:03.000000000 +0200
@@ -32,7 +32,7 @@
 
 void PluginTest::initTestCase()
 {
-    QCoreApplication::setLibraryPaths(QStringList() << QDir::currentPath());
+    QCoreApplication::setLibraryPaths(QStringList() << 
QCoreApplication::applicationDirPath());
 }
 
 void PluginTest::findPlugin_data()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kservice-5.36.0/po/fr/kservice5.po 
new/kservice-5.37.0/po/fr/kservice5.po
--- old/kservice-5.36.0/po/fr/kservice5.po      2017-07-02 10:10:31.000000000 
+0200
+++ new/kservice-5.37.0/po/fr/kservice5.po      2017-08-06 20:10:03.000000000 
+0200
@@ -16,15 +16,15 @@
 # Nicolas Lécureuil <nlecure...@mandriva.com>, 2010.
 # Joëlle Cornavin <jc...@free.fr>, 2007, 2008, 2009, 2010, 2011, 2012, 2013.
 # Sebastien Renard <ren...@kde.org>, 2013, 2014.
-# Vincent Pinon <vpi...@kde.org>, 2016.
+# Vincent Pinon <vpi...@kde.org>, 2016, 2017.
 msgid ""
 msgstr ""
 "Project-Id-Version: kdelibs4\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2017-02-07 08:40+0100\n"
-"PO-Revision-Date: 2016-11-27 23:16+0100\n"
+"PO-Revision-Date: 2017-07-03 17:35+0100\n"
 "Last-Translator: Vincent Pinon <vpi...@kde.org>\n"
-"Language-Team: French <kde-i18n-...@kde.org>\n"
+"Language-Team: French <kde-francoph...@kde.org>\n"
 "Language: fr\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -88,7 +88,7 @@
 "Do not signal applications to update (deprecated, no longer having any "
 "effect)"
 msgstr ""
-"Ne pas avertir des applications à mettre à jour (obsolète, n'a plus aucun "
+"Ne pas avertir des applications à mettre à jour (déconseillé, n'a plus aucun "
 "effet)"
 
 #: kbuildsycoca/kbuildsycoca_main.cpp:78
@@ -101,14 +101,14 @@
 #, kde-format
 msgctxt "@info:shell command-line option"
 msgid "Check file timestamps (deprecated, no longer having any effect)"
-msgstr "Vérifier l'horodatage du fichier (obsolète, n'a plus aucun effet)"
+msgstr "Vérifier l'horodatage du fichier (déconseillé, n'a plus aucun effet)"
 
 #: kbuildsycoca/kbuildsycoca_main.cpp:84
 #, kde-format
 msgctxt "@info:shell command-line option"
 msgid "Disable checking files (deprecated, no longer having any effect)"
 msgstr ""
-"Désactiver la vérification des fichiers (obsolète, n'a plus aucun effet)"
+"Désactiver la vérification des fichiers (déconseillé, n'a plus aucun effet)"
 
 #: kbuildsycoca/kbuildsycoca_main.cpp:87
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kservice-5.36.0/po/zh_CN/kservice5.po 
new/kservice-5.37.0/po/zh_CN/kservice5.po
--- old/kservice-5.36.0/po/zh_CN/kservice5.po   2017-07-02 10:10:31.000000000 
+0200
+++ new/kservice-5.37.0/po/zh_CN/kservice5.po   2017-08-06 20:10:03.000000000 
+0200
@@ -1,30 +1,20 @@
-# translation of kdelibs4.po to Chinese Simplified
-# Copyright (C) 2007 Free Software Foundation, Inc.
-#
-# Lie Ex <lilith...@gmail.com> 2007-2011.
-# Wang Jian <l...@linux.ustc.edu.cn>, 1998.
-# Sarah Smith <sar...@redhat.com>, 2002.
-# Xiong Jiang <jxi...@offtopic.org>, 2002,2003,2004.
-# Funda Wang <fundaw...@linux.net.cn>, 2002,2003,2004.
-# Liang Qi <cavendish...@gmail.com>, 2007.
-# Feng Chao <chaofeng...@gmail.com>, 2010, 2012, 2014.
-# Ni Hui <shuizhuyuan...@126.com>, 2010, 2011, 2012.
-# Weng Xuetian <wen...@gmail.com>, 2011, 2012, 2013, 2015.
-# Xuetian Weng <xw...@cs.stonybrook.edu>, 2014.
 msgid ""
 msgstr ""
-"Project-Id-Version: kdelibs4\n"
+"Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2017-02-07 08:40+0100\n"
-"PO-Revision-Date: 2015-12-16 11:41-0800\n"
-"Last-Translator: Weng Xuetian <wen...@gmail.com>\n"
-"Language-Team: Chinese <kde-ch...@kde.org>\n"
+"PO-Revision-Date: 2017-08-05 09:29-0400\n"
+"Last-Translator: guoyunhebrave <guoyunhebr...@gmail.com>\n"
+"Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=1; plural=0;\n"
-"X-Generator: Lokalize 2.0\n"
+"X-Generator: crowdin.com\n"
+"X-Crowdin-Project: kdeorg\n"
+"X-Crowdin-Language: zh-CN\n"
+"X-Crowdin-File: /kf5-trunk/messages/frameworks/kservice5.pot\n"
 
 #, kde-format
 msgctxt "NAME OF TRANSLATORS"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kservice-5.36.0/src/kdeinit/ktoolinvocation.h 
new/kservice-5.37.0/src/kdeinit/ktoolinvocation.h
--- old/kservice-5.36.0/src/kdeinit/ktoolinvocation.h   2017-07-02 
10:10:31.000000000 +0200
+++ new/kservice-5.37.0/src/kdeinit/ktoolinvocation.h   2017-08-06 
20:10:03.000000000 +0200
@@ -239,8 +239,8 @@
      * @return an error code indicating success (== 0) or failure (> 0).
      *
      * @deprecated since 5.0 use 
QDBusConnectionInterface::startService("org.kde.serviceName"),
-     *   to start a unique application in order to make dbus calls to it 
(after ensuring that
-     *   it installs a dbus org.kde.serviceName.service file). Otherwise just 
use QProcess or KRun.
+     *   to start a unique application in order to make D-Bus calls to it 
(after ensuring that
+     *   it installs a D-Bus org.kde.serviceName.service file). Otherwise just 
use QProcess or KRun.
      */
     static int startServiceByDesktopPath(const QString &_name, const QString 
&URL,
                                          QString *error = nullptr, QString 
*serviceName = nullptr, int *pid = nullptr,
@@ -265,8 +265,8 @@
      * @param noWait if set, the function does not wait till the service is 
running.
      * @return an error code indicating success (== 0) or failure (> 0).
      * @deprecated since 5.0 use 
QDBusConnectionInterface::startService("org.kde.serviceName"),
-     *   to start a unique application in order to make dbus calls to it 
(after ensuring that
-     *   it installs a dbus org.kde.serviceName.service file). Otherwise just 
use QProcess or KRun.
+     *   to start a unique application in order to make D-Bus calls to it 
(after ensuring that
+     *   it installs a D-Bus org.kde.serviceName.service file). Otherwise just 
use QProcess or KRun.
      */
     static int startServiceByDesktopPath(const QString &_name, const 
QStringList &URLs = QStringList(),
                                          QString *error = nullptr, QString 
*serviceName = nullptr, int *pid = nullptr,
@@ -292,8 +292,8 @@
      * @param noWait if set, the function does not wait till the service is 
running.
      * @return an error code indicating success (== 0) or failure (> 0).
      * @deprecated since 5.0 use 
QDBusConnectionInterface::startService("org.kde.serviceName"),
-     *   to start a unique application in order to make dbus calls to it 
(after ensuring that
-     *   it installs a dbus org.kde.serviceName.service file). Otherwise just 
use QProcess or KRun.
+     *   to start a unique application in order to make D-Bus calls to it 
(after ensuring that
+     *   it installs a D-Bus org.kde.serviceName.service file). Otherwise just 
use QProcess or KRun.
      */
     static int startServiceByDesktopName(const QString &_name, const QString 
&URL,
                                          QString *error = nullptr, QString 
*serviceName = nullptr, int *pid = nullptr,
@@ -319,8 +319,8 @@
      * @param noWait if set, the function does not wait till the service is 
running.
      * @return an error code indicating success (== 0) or failure (> 0).
      * @deprecated since 5.0 use 
QDBusConnectionInterface::startService("org.kde.serviceName"),
-     *   to start a unique application in order to make dbus calls to it 
(after ensuring that
-     *   it installs a dbus org.kde.serviceName.service file). Otherwise just 
use QProcess or KRun.
+     *   to start a unique application in order to make D-Bus calls to it 
(after ensuring that
+     *   it installs a D-Bus org.kde.serviceName.service file). Otherwise just 
use QProcess or KRun.
      */
     static int startServiceByDesktopName(const QString &_name, const 
QStringList &URLs = QStringList(),
                                          QString *error = nullptr, QString 
*serviceName = nullptr, int *pid = nullptr,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kservice-5.36.0/src/plugin/kdbusservicestarter.h 
new/kservice-5.37.0/src/plugin/kdbusservicestarter.h
--- old/kservice-5.36.0/src/plugin/kdbusservicestarter.h        2017-07-02 
10:10:31.000000000 +0200
+++ new/kservice-5.37.0/src/plugin/kdbusservicestarter.h        2017-08-06 
20:10:03.000000000 +0200
@@ -28,9 +28,9 @@
 /**
  * @class KDBusServiceStarter kdbusservicestarter.h <KDBusServiceStarter>
  *
- * A generic DBUS service starter, using KServiceTypeTrader.
+ * A generic D-Bus service starter, using KServiceTypeTrader.
  * The default implementation starts new processes, but this interface can
- * also be reimplemented by specific applications to provide dlopened 
in-process DBus objects.
+ * also be reimplemented by specific applications to provide dlopened 
in-process D-Bus objects.
  * This interface is similar to the startServiceByName() function found in 
QDBusBusService, but
  * with the added benefit of using KTrader (and, therefore, additional 
constraints and the
  * ability to search the standard KDE dirs).
@@ -43,11 +43,11 @@
     static KDBusServiceStarter *self();
 
     /**
-     * Check if a given DBus service is available - from the serviceType it's 
supposed to implement.
+     * Check if a given D-Bus service is available - from the serviceType it's 
supposed to implement.
      *
      * The trader is queried to find the preferred application for this 
serviceType,
      * with the constraint that its X-DBus-ServiceName property must be 
defined.
-     * Then the DBus server is checked. If the service is not available,
+     * Then the D-Bus server is checked. If the service is not available,
      * this method will call startServiceFor to start it.
      *
      * @param serviceType the type of service we're looking for
@@ -55,7 +55,7 @@
      * @param error On failure, @p error contains a description of the error
      *         that occurred. If the pointer is 0, the argument will be
      *         ignored
-     * @param dbusService On success, @p dbusService contains the DBus service 
name
+     * @param dbusService On success, @p dbusService contains the D-Bus 
service name
      *         under which this service is available. If the pointer is 0 the 
argument
      *         will be ignored
      * @param flags for future extensions (currently unused)
@@ -69,7 +69,7 @@
 
     /**
      * Find an implementation of the given @p serviceType,
-     * and start it, to use its DBus interface.
+     * and start it, to use its D-Bus interface.
      * The default implementation uses KServiceTypeTrader to find the 
preferred Application,
      * and then starts it using KToolInvocation::startService...
      *
@@ -81,7 +81,7 @@
      * @param error On failure, @p error contains a description of the error
      *         that occurred. If the pointer is 0, the argument will be
      *         ignored
-     * @param dbusService On success, @p dbusService contains the DBus service 
name
+     * @param dbusService On success, @p dbusService contains the D-Bus 
service name
      *         under which this service is available. If the pointer is 0 the 
argument
      *         will be ignored
      * @param flags for future extensions (currently unused)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kservice-5.36.0/src/services/kmimetypetrader.h 
new/kservice-5.37.0/src/services/kmimetypetrader.h
--- old/kservice-5.36.0/src/services/kmimetypetrader.h  2017-07-02 
10:10:31.000000000 +0200
+++ new/kservice-5.37.0/src/services/kmimetypetrader.h  2017-08-06 
20:10:03.000000000 +0200
@@ -34,12 +34,15 @@
  * Our code would look like:
  * \code
  * KService::List lst = KMimeTypeTrader::self()->query("text/html",
- *                                                        
"KParts/ReadOnlyPart");
+ *                                                     "KParts/ReadOnlyPart");
  * \endcode
  *
- * If you want to get the preferred KParts component for text/html you could 
use
- * preferredService("text/html", "KParts/ReadOnlyPart"), although if this is 
about
- * loading that component you would use createPartInstanceFromQuery directly.
+ * If you want to get the preferred KParts component for text/html you would 
use:
+ * @code
+ * KService::Ptr service = 
KMimeTypeTrader::self()->preferredService("text/html",
+ *                                                                   
"KParts/ReadOnlyPart");
+ * @endcode
+ * Although if this is about loading that component you would use 
createPartInstanceFromQuery() directly.
  *
  * @see KServiceTypeTrader, KService
  */
@@ -104,7 +107,7 @@
      *
      * Example:
      * \code
-     * KParts::ReadOnlyPart* part = 
KMimeTypeTrader::createInstanceFromQuery<KParts::ReadOnlyPart>("text/plain", 
parentWidget, parentObject);
+     * KParts::ReadOnlyPart* part = 
KMimeTypeTrader::createPartInstanceFromQuery<KParts::ReadOnlyPart>("text/plain",
 parentWidget, parentObject);
      * if (part) {
      *     part->openUrl(url);
      *     part->widget()->show();  // also insert the widget into a layout
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kservice-5.36.0/src/services/kservice.h 
new/kservice-5.37.0/src/services/kservice.h
--- old/kservice-5.36.0/src/services/kservice.h 2017-07-02 10:10:31.000000000 
+0200
+++ new/kservice-5.37.0/src/services/kservice.h 2017-08-06 20:10:03.000000000 
+0200
@@ -171,11 +171,11 @@
     QString storageId() const;
 
     /**
-     * Describes the DBUS Startup type of the service.
-     * @li None - This service has no DBUS support
-     * @li Unique - This service provides a unique DBUS service.
+     * Describes the D-Bus Startup type of the service.
+     * @li None - This service has no D-Bus support
+     * @li Unique - This service provides a unique D-Bus service.
      *              The service name is equal to the desktopEntryName.
-     * @li Multi - This service provides a DBUS service which can be run
+     * @li Multi - This service provides a D-Bus service which can be run
      *             with multiple instances in parallel. The service name of
      *             an instance is equal to the desktopEntryName + "-" +
      *             the PID of the process.


Reply via email to