Hello community, here is the log from the commit of package kdbusaddons for openSUSE:Factory checked in at 2017-07-05 23:49:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdbusaddons (Old) and /work/SRC/openSUSE:Factory/.kdbusaddons.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdbusaddons" Wed Jul 5 23:49:29 2017 rev:42 rq:502933 version:5.35.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kdbusaddons/kdbusaddons.changes 2017-06-01 16:18:52.988311478 +0200 +++ /work/SRC/openSUSE:Factory/.kdbusaddons.new/kdbusaddons.changes 2017-07-05 23:49:43.781835184 +0200 @@ -1,0 +2,12 @@ +Sun Jun 11 09:27:42 CEST 2017 - [email protected] + +- Update to 5.35.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.35.0.php +- Changes since 5.34.0: + * API dox: add some minimal docs to namespace KDBusConnectionPool + * API dox: note CamelCase includes by @class tag with more classes + * Don't include the pid in the dbus path when on flatpak + +------------------------------------------------------------------- Old: ---- kdbusaddons-5.34.0.tar.xz New: ---- kdbusaddons-5.35.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdbusaddons.spec ++++++ --- /var/tmp/diff_new_pack.MH50CV/_old 2017-07-05 23:49:44.341756318 +0200 +++ /var/tmp/diff_new_pack.MH50CV/_new 2017-07-05 23:49:44.345755755 +0200 @@ -18,9 +18,9 @@ %bcond_without lang %define lname libKF5DBusAddons5 -%define _tar_path 5.34 +%define _tar_path 5.35 Name: kdbusaddons -Version: 5.34.0 +Version: 5.35.0 Release: 0 BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= %{_tar_path} ++++++ kdbusaddons-5.34.0.tar.xz -> kdbusaddons-5.35.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdbusaddons-5.34.0/CMakeLists.txt new/kdbusaddons-5.35.0/CMakeLists.txt --- old/kdbusaddons-5.34.0/CMakeLists.txt 2017-05-06 11:30:47.000000000 +0200 +++ new/kdbusaddons-5.35.0/CMakeLists.txt 2017-06-03 12:03:50.000000000 +0200 @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.0) -set(KF5_VERSION "5.34.0") # handled by release scripts +set(KF5_VERSION "5.35.0") # handled by release scripts project(KDBusAddons VERSION ${KF5_VERSION}) include(FeatureSummary) -find_package(ECM 5.34.0 NO_MODULE) +find_package(ECM 5.35.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/kdbusaddons-5.34.0/po/tr/kdbusaddons5_qt.po new/kdbusaddons-5.35.0/po/tr/kdbusaddons5_qt.po --- old/kdbusaddons-5.34.0/po/tr/kdbusaddons5_qt.po 2017-05-06 11:30:47.000000000 +0200 +++ new/kdbusaddons-5.35.0/po/tr/kdbusaddons5_qt.po 2017-06-03 12:03:50.000000000 +0200 @@ -3,8 +3,8 @@ "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Qt-Contexts: true\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Qt-Contexts: true\n" #: tools/kquitapp/kquitapp.cpp:31 msgctxt "main|" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdbusaddons-5.34.0/src/kdbusconnectionpool.h new/kdbusaddons-5.35.0/src/kdbusconnectionpool.h --- old/kdbusaddons-5.34.0/src/kdbusconnectionpool.h 2017-05-06 11:30:47.000000000 +0200 +++ new/kdbusaddons-5.35.0/src/kdbusconnectionpool.h 2017-06-03 12:03:50.000000000 +0200 @@ -25,6 +25,11 @@ #include <QtDBus/QDBusConnection> +/** + * @namespace KDBusConnectionPool + * Provides utility functions working around the problem + * of QDBusConnection not being thread-safe. + */ namespace KDBusConnectionPool { /** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdbusaddons-5.34.0/src/kdbusinterprocesslock.h new/kdbusaddons-5.35.0/src/kdbusinterprocesslock.h --- old/kdbusaddons-5.34.0/src/kdbusinterprocesslock.h 2017-05-06 11:30:47.000000000 +0200 +++ new/kdbusaddons-5.35.0/src/kdbusinterprocesslock.h 2017-06-03 12:03:50.000000000 +0200 @@ -30,6 +30,8 @@ class KDBusInterProcessLockPrivate; /** + * @class KDBusInterProcessLock kdbusinterprocesslock.h <KDBusInterProcessLock> + * * @short A class for serializing access to a resource that is shared between multiple processes. * * This class can be used to serialize access to a resource between diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdbusaddons-5.34.0/src/kdbusservice.cpp new/kdbusaddons-5.35.0/src/kdbusservice.cpp --- old/kdbusaddons-5.34.0/src/kdbusservice.cpp 2017-05-06 11:30:47.000000000 +0200 +++ new/kdbusaddons-5.35.0/src/kdbusservice.cpp 2017-06-03 12:03:50.000000000 +0200 @@ -94,8 +94,18 @@ objectPath.replace(QLatin1Char('-'), QLatin1Char('_')); // see spec change at https://bugs.freedesktop.org/show_bug.cgi?id=95129 if (options & Multiple) { - const QString pid = QString::number(QCoreApplication::applicationPid()); - d->serviceName += QLatin1Char('-') + pid; + bool inSandbox = false; + if (!qEnvironmentVariableIsEmpty("XDG_RUNTIME_DIR")) { + const QByteArray runtimeDir = qgetenv("XDG_RUNTIME_DIR"); + if (!runtimeDir.isEmpty()) { + inSandbox = QFileInfo::exists(QString::fromUtf8(runtimeDir) + QLatin1String("/flatpak-info")); + } + } + + if (inSandbox) + d->serviceName += QStringLiteral(".kdbus-") + QDBusConnection::sessionBus().baseService().replace(QRegularExpression(QStringLiteral("[\\.:]")), QStringLiteral("_")); + else + d->serviceName += QLatin1Char('-') + QString::number(QCoreApplication::applicationPid()); } QDBusConnection::sessionBus().registerObject(QStringLiteral("/MainApplication"), QCoreApplication::instance(), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kdbusaddons-5.34.0/src/kdbusservice.h new/kdbusaddons-5.35.0/src/kdbusservice.h --- old/kdbusaddons-5.34.0/src/kdbusservice.h 2017-05-06 11:30:47.000000000 +0200 +++ new/kdbusaddons-5.35.0/src/kdbusservice.h 2017-06-03 12:03:50.000000000 +0200 @@ -31,6 +31,8 @@ class KDBusServicePrivate; /** + * @class KDBusService kdbusservice.h <KDBusService> + * * KDBusService takes care of registering the current process with D-Bus. * * This registers the application at a predictable location on D-Bus, registers
