Hello community, here is the log from the commit of package kontactinterface for openSUSE:Factory checked in at 2017-07-25 11:30:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kontactinterface (Old) and /work/SRC/openSUSE:Factory/.kontactinterface.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kontactinterface" Tue Jul 25 11:30:57 2017 rev:22 rq:510748 version:17.04.3 Changes: -------- --- /work/SRC/openSUSE:Factory/kontactinterface/kontactinterface.changes 2017-06-12 15:21:18.738484178 +0200 +++ /work/SRC/openSUSE:Factory/.kontactinterface.new/kontactinterface.changes 2017-07-25 11:30:58.592156749 +0200 @@ -1,0 +2,10 @@ +Sat Jul 15 23:00:16 CEST 2017 - [email protected] + +- Update to 17.04.3 + * New bugfix release + * For more details please see: + * https://www.kde.org/announcements/announce-applications-17.04.3.php +- Changes since 17.04.2: + * Remove getPid + +------------------------------------------------------------------- Old: ---- kontactinterface-17.04.2.tar.xz New: ---- kontactinterface-17.04.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kontactinterface.spec ++++++ --- /var/tmp/diff_new_pack.gdVHZ6/_old 2017-07-25 11:30:59.256062991 +0200 +++ /var/tmp/diff_new_pack.gdVHZ6/_new 2017-07-25 11:30:59.256062991 +0200 @@ -20,7 +20,7 @@ %define kf5_version 5.19.0 Name: kontactinterface -Version: 17.04.2 +Version: 17.04.3 Release: 0 %define kf5_version 5.26.0 # Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA) ++++++ kontactinterface-17.04.2.tar.xz -> kontactinterface-17.04.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kontactinterface-17.04.2/CMakeLists.txt new/kontactinterface-17.04.3/CMakeLists.txt --- old/kontactinterface-17.04.2/CMakeLists.txt 2017-06-06 02:24:14.000000000 +0200 +++ new/kontactinterface-17.04.3/CMakeLists.txt 2017-07-11 02:26:26.000000000 +0200 @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.0) -set(PIM_VERSION "5.5.2") +set(PIM_VERSION "5.5.3") project(KontactInterface VERSION ${PIM_VERSION}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kontactinterface-17.04.2/src/plugin.cpp new/kontactinterface-17.04.3/src/plugin.cpp --- old/kontactinterface-17.04.2/src/plugin.cpp 2017-05-11 21:29:32.000000000 +0200 +++ new/kontactinterface-17.04.3/src/plugin.cpp 2017-06-09 20:36:36.000000000 +0200 @@ -37,8 +37,8 @@ #include <QFileInfo> #include <QDir> -#include <unistd.h> #include <QStandardPaths> +#include <QCoreApplication> using namespace KontactInterface; @@ -174,7 +174,7 @@ if (d->serviceName.isEmpty()) { d->serviceName = QLatin1String("org.kde.") + QLatin1String(objectName().toLatin1()); #ifdef Q_OS_WIN - const QString pid = QString::number(getpid()); + const QString pid = QString::number(QCoreApplication::applicationPid()); d->serviceName.append(QLatin1String(".unique-") + pid); #endif QDBusConnection::sessionBus().registerService(d->serviceName); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kontactinterface-17.04.2/src/processes.cpp new/kontactinterface-17.04.3/src/processes.cpp --- old/kontactinterface-17.04.2/src/processes.cpp 2017-05-11 21:29:32.000000000 +0200 +++ new/kontactinterface-17.04.3/src/processes.cpp 2017-06-09 20:36:36.000000000 +0200 @@ -43,6 +43,7 @@ #include <QtCore/QList> #include <QtCore/QtDebug> +#include <QCoreApplication> #include "kontactinterface_debug.h" // Copy from kdelibs/kinit/kinit_win.cpp @@ -139,7 +140,7 @@ { QList<int> pids; getProcessesIdForName(processName, pids); - int myPid = getpid(); + int myPid = QCoreApplication::applicationPid(); foreach (int pid, pids) { if (myPid != pid) { // qCDebug(KONTACTINTERFACE_LOG) << "Process ID is " << pid; @@ -198,7 +199,7 @@ { QList<int> pids; KPIMUtils::getProcessesIdForName(executableName, pids); - int myPid = getpid(); + int myPid = QCoreApplication::applicationPid(); int foundPid = 0; foreach (int pid, pids) { if (myPid != pid) {
