Hello community, here is the log from the commit of package kontactinterface for openSUSE:Factory checked in at 2017-08-24 18:06:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kontactinterface (Old) and /work/SRC/openSUSE:Factory/.kontactinterface.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kontactinterface" Thu Aug 24 18:06:26 2017 rev:23 rq:518158 version:17.08.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kontactinterface/kontactinterface.changes 2017-07-25 11:30:58.592156749 +0200 +++ /work/SRC/openSUSE:Factory/.kontactinterface.new/kontactinterface.changes 2017-08-24 18:06:27.289654737 +0200 @@ -1,0 +2,25 @@ +Fri Aug 11 22:45:53 UTC 2017 - christo...@krop.fr + +- Update to KDE Applications 17.08.0 + * New feature release + * https://www.kde.org/announcements/announce-applications-17.08.0.php +- Changes since 17.04.3 : + * Need to port kill process on windows + * Fix namespace here too + * Fix namespace + * Remove this include + * Add more definitions QT_NO_URL_CAST_FROM_STRING + * Remove qt module here + * Use nullptr + * don"t use deprecated method + * Activate by default QT_NO_NARROWING_CONVERSIONS_IN_CONNECT + +------------------------------------------------------------------- +Sat Aug 5 18:18:29 UTC 2017 - christo...@krop.fr + +- Update to KDE Applications 17.07.90 + * KDE Applications 17.07.90 + * https://www.kde.org/announcements/announce-applications-17.07.90.php + + +------------------------------------------------------------------- Old: ---- kontactinterface-17.04.3.tar.xz New: ---- kontactinterface-17.08.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kontactinterface.spec ++++++ --- /var/tmp/diff_new_pack.m7bHlw/_old 2017-08-24 18:06:28.893428933 +0200 +++ /var/tmp/diff_new_pack.m7bHlw/_new 2017-08-24 18:06:28.901427807 +0200 @@ -20,10 +20,10 @@ %define kf5_version 5.19.0 Name: kontactinterface -Version: 17.04.3 +Version: 17.08.0 Release: 0 %define kf5_version 5.26.0 -# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA) +# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA) %{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} Summary: KDE PIM Libraries: Interface to Contacts License: LGPL-2.1+ @@ -91,9 +91,9 @@ %files devel %defattr(-,root,root) %doc COPYING.LIB +%{_kf5_cmakedir}/KF5KontactInterface/ %{_kf5_includedir}/KontactInterface/ %{_kf5_includedir}/kontactinterface_version.h -%{_kf5_libdir}/cmake/KF5KontactInterface/ %{_kf5_libdir}/libKF5KontactInterface.so %{_kf5_mkspecsdir}/qt_KontactInterface.pri ++++++ kontactinterface-17.04.3.tar.xz -> kontactinterface-17.08.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kontactinterface-17.04.3/.gitignore new/kontactinterface-17.08.0/.gitignore --- old/kontactinterface-17.04.3/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/kontactinterface-17.08.0/.gitignore 2017-08-04 20:47:47.000000000 +0200 @@ -0,0 +1,21 @@ +# Ignore the following files +*~ +*.[oa] +*.diff +*.kate-swp +*.kdev4 +.kdev_include_paths +*.kdevelop.pcs +*.moc +*.moc.cpp +*.orig +*.user +.*.swp +.swp.* +Doxyfile +Makefile +avail +random_seed +/build/ +CMakeLists.txt.user* +*.unc-backup* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kontactinterface-17.04.3/CMakeLists.txt new/kontactinterface-17.08.0/CMakeLists.txt --- old/kontactinterface-17.04.3/CMakeLists.txt 2017-07-11 02:26:26.000000000 +0200 +++ new/kontactinterface-17.08.0/CMakeLists.txt 2017-08-11 02:50:38.000000000 +0200 @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.0) -set(PIM_VERSION "5.5.3") +set(PIM_VERSION "5.6.0") project(KontactInterface VERSION ${PIM_VERSION}) # ECM setup -set(KF5_VERSION "5.32.0") +set(KF5_VERSION "5.35.0") find_package(ECM ${KF5_VERSION} CONFIG REQUIRED) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) @@ -76,6 +76,9 @@ install(EXPORT KF5KontactInterfaceTargets DESTINATION "${CMAKECONFIG_INSTALL_DIR}" FILE KF5KontactInterfaceTargets.cmake NAMESPACE KF5::) add_definitions("-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII") +add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000) +add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT) +add_definitions(-DQT_NO_URL_CAST_FROM_STRING) add_subdirectory(src) feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kontactinterface-17.04.3/po/zh_CN/kontactinterfaces5.po new/kontactinterface-17.08.0/po/zh_CN/kontactinterfaces5.po --- old/kontactinterface-17.04.3/po/zh_CN/kontactinterfaces5.po 2017-07-11 02:26:26.000000000 +0200 +++ new/kontactinterface-17.08.0/po/zh_CN/kontactinterfaces5.po 2017-08-11 02:50:38.000000000 +0200 @@ -1,21 +1,20 @@ -# Copyright (C) YEAR This_file_is_part_of_KDE -# This file is distributed under the same license as the PACKAGE package. -# -# Xuetian Weng <xw...@cs.stonybrook.edu>, 2014. msgid "" msgstr "" -"Project-Id-Version: \n" +"Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2016-11-19 20:19+0100\n" -"PO-Revision-Date: 2014-08-14 07:58-0400\n" -"Last-Translator: Xuetian Weng <xw...@cs.stonybrook.edu>\n" -"Language-Team: Chinese Simplified <kde-i18n-...@kde.org>\n" +"PO-Revision-Date: 2017-08-05 09:34-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 1.5\n" +"X-Generator: crowdin.com\n" +"X-Crowdin-Project: kdeorg\n" +"X-Crowdin-Language: zh-CN\n" +"X-Crowdin-File: /kf5-stable/messages/pim/kontactinterfaces5.pot\n" #, kde-format msgctxt "NAME OF TRANSLATORS" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kontactinterface-17.04.3/src/kontactplugin.desktop new/kontactinterface-17.08.0/src/kontactplugin.desktop --- old/kontactinterface-17.04.3/src/kontactplugin.desktop 2017-06-09 20:36:36.000000000 +0200 +++ new/kontactinterface-17.08.0/src/kontactplugin.desktop 2017-08-04 20:47:47.000000000 +0200 @@ -17,7 +17,7 @@ Name[fi]=Kontact-liitännäinen Name[fr]=Module externe pour Kontact Name[ga]=Breiseán Kontact -Name[gl]=Engadido de Kontact +Name[gl]=Complemento de Kontact Name[he]=תוסף Kontact Name[hu]=Kontact-modul Name[ia]=Plug-in de Kontact diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kontactinterface-17.04.3/src/plugin.h new/kontactinterface-17.08.0/src/plugin.h --- old/kontactinterface-17.04.3/src/plugin.h 2017-06-09 20:36:36.000000000 +0200 +++ new/kontactinterface-17.08.0/src/plugin.h 2017-08-04 20:47:47.000000000 +0200 @@ -29,8 +29,8 @@ #include <KPluginFactory> #include <KXMLGUIClient> -#include <QtCore/QList> -#include <QtCore/QObject> +#include <QList> +#include <QObject> class KAboutData; class QAction; @@ -90,7 +90,7 @@ * It's ok to have several plugins using the same application name. * @param pluginName The unique name of the plugin. Defaults to appName if not set. */ - Plugin(Core *core, QObject *parent, const char *appName, const char *pluginName = 0); + Plugin(Core *core, QObject *parent, const char *appName, const char *pluginName = nullptr); /** * Destroys the plugin. @@ -323,7 +323,7 @@ /** * Virtual hook for BC extension. */ - void virtual_hook(int id, void *data) Q_DECL_OVERRIDE; + void virtual_hook(int id, void *data) override; private: //@cond PRIVATE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kontactinterface-17.04.3/src/processes.cpp new/kontactinterface-17.08.0/src/processes.cpp --- old/kontactinterface-17.04.3/src/processes.cpp 2017-06-09 20:36:36.000000000 +0200 +++ new/kontactinterface-17.08.0/src/processes.cpp 2017-08-04 20:47:47.000000000 +0200 @@ -38,10 +38,9 @@ #include <tlhelp32.h> #include <psapi.h> #include <signal.h> -#include <unistd.h> -#include <QtCore/QList> -#include <QtCore/QtDebug> +#include <QList> +#include <QtDebug> #include <QCoreApplication> #include "kontactinterface_debug.h" @@ -95,7 +94,7 @@ false, processID); } -void KPIMUtils::getProcessesIdForName(const QString &processName, QList<int> &pids) +void KontactInterface::getProcessesIdForName(const QString &processName, QList<int> &pids) { HANDLE h; PROCESSENTRY32 pe32; @@ -136,7 +135,7 @@ CloseHandle(h); } -bool KPIMUtils::otherProcessesExist(const QString &processName) +bool KontactInterface::otherProcessesExist(const QString &processName) { QList<int> pids; getProcessesIdForName(processName, pids); @@ -150,7 +149,7 @@ return false; } -bool KPIMUtils::killProcesses(const QString &processName) +bool KontactInterface::killProcesses(const QString &processName) { QList<int> pids; getProcessesIdForName(processName, pids); @@ -160,6 +159,8 @@ qCWarning(KONTACTINTERFACE_LOG) << "Killing process \"" << processName << " (pid=" << pids[0] << ").."; int overallResult = 0; + qDebug() << "NEED TO PORT KILL PROCESS ON WINDOWS"; +#if 0 foreach (int pid, pids) { int result; result = kill(pid, SIGTERM); @@ -171,6 +172,7 @@ overallResult = result; } } +#endif return overallResult == 0; } @@ -195,10 +197,10 @@ return TRUE; } -void KPIMUtils::activateWindowForProcess(const QString &executableName) +void KontactInterface::activateWindowForProcess(const QString &executableName) { QList<int> pids; - KPIMUtils::getProcessesIdForName(executableName, pids); + KontactInterface::getProcessesIdForName(executableName, pids); int myPid = QCoreApplication::applicationPid(); int foundPid = 0; foreach (int pid, pids) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kontactinterface-17.04.3/src/processes.h new/kontactinterface-17.08.0/src/processes.h --- old/kontactinterface-17.04.3/src/processes.h 2017-06-09 20:36:36.000000000 +0200 +++ new/kontactinterface-17.08.0/src/processes.h 2017-08-04 20:47:47.000000000 +0200 @@ -34,7 +34,7 @@ #include "kontactinterface_export.h" -#include <QtCore/QList> +#include <QList> class QString; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kontactinterface-17.04.3/src/summary.cpp new/kontactinterface-17.08.0/src/summary.cpp --- old/kontactinterface-17.04.3/src/summary.cpp 2017-06-09 20:36:36.000000000 +0200 +++ new/kontactinterface-17.08.0/src/summary.cpp 2017-08-04 20:47:47.000000000 +0200 @@ -46,7 +46,7 @@ { Q_OBJECT public: - bool hasFormat(const QString &format) const Q_DECL_OVERRIDE + bool hasFormat(const QString &format) const override { return format == QLatin1String("application/x-kontact-summary"); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kontactinterface-17.04.3/src/summary.h new/kontactinterface-17.08.0/src/summary.h --- old/kontactinterface-17.04.3/src/summary.h 2017-06-09 20:36:36.000000000 +0200 +++ new/kontactinterface-17.08.0/src/summary.h 2017-08-04 20:47:47.000000000 +0200 @@ -108,10 +108,10 @@ void summaryWidgetDropped(QWidget *target, QObject *object, int alignment); protected: - void mousePressEvent(QMouseEvent *) Q_DECL_OVERRIDE; - void mouseMoveEvent(QMouseEvent *) Q_DECL_OVERRIDE; - void dragEnterEvent(QDragEnterEvent *) Q_DECL_OVERRIDE; - void dropEvent(QDropEvent *) Q_DECL_OVERRIDE; + void mousePressEvent(QMouseEvent *) override; + void mouseMoveEvent(QMouseEvent *) override; + void dragEnterEvent(QDragEnterEvent *) override; + void dropEvent(QDropEvent *) override; private: //@cond PRIVATE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kontactinterface-17.04.3/src/uniqueapphandler.h new/kontactinterface-17.08.0/src/uniqueapphandler.h --- old/kontactinterface-17.04.3/src/uniqueapphandler.h 2017-06-09 20:36:36.000000000 +0200 +++ new/kontactinterface-17.08.0/src/uniqueapphandler.h 2017-08-04 20:47:47.000000000 +0200 @@ -93,7 +93,7 @@ template <class T> class UniqueAppHandlerFactory : public UniqueAppHandlerFactoryBase { public: - UniqueAppHandler *createHandler(Plugin *plugin) Q_DECL_OVERRIDE { + UniqueAppHandler *createHandler(Plugin *plugin) override { plugin->registerClient(); return new T(plugin); }