Hello community, here is the log from the commit of package kpeople5 for openSUSE:Factory checked in at 2020-01-14 21:03:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kpeople5 (Old) and /work/SRC/openSUSE:Factory/.kpeople5.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kpeople5" Tue Jan 14 21:03:03 2020 rev:60 rq:763480 version:5.66.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kpeople5/kpeople5.changes 2019-12-18 14:43:09.069796808 +0100 +++ /work/SRC/openSUSE:Factory/.kpeople5.new.6675/kpeople5.changes 2020-01-14 21:05:24.502710796 +0100 @@ -1,0 +2,13 @@ +Sun Jan 5 09:02:17 UTC 2020 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 5.66.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.66.0.php +- Changes since 5.65.0: + * QMultiHash::insertMulti is deprecated + * Update the obsolete projects.kde.org URL + * Seems like qt5_wrap_cpp will work better if we pass the header file + * Expose enum to the metaobject compiler + +------------------------------------------------------------------- Old: ---- kpeople-5.65.0.tar.xz kpeople-5.65.0.tar.xz.sig New: ---- kpeople-5.66.0.tar.xz kpeople-5.66.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kpeople5.spec ++++++ --- /var/tmp/diff_new_pack.aAGlbD/_old 2020-01-14 21:05:25.014711033 +0100 +++ /var/tmp/diff_new_pack.aAGlbD/_new 2020-01-14 21:05:25.018711034 +0100 @@ -1,7 +1,7 @@ # # spec file for package kpeople5 # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 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 rname kpeople -%define _tar_path 5.65 +%define _tar_path 5.66 # 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: kpeople5 -Version: 5.65.0 +Version: 5.66.0 Release: 0 Summary: Library for access to contacts and identity holders License: LGPL-2.1-or-later ++++++ kpeople-5.65.0.tar.xz -> kpeople-5.66.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpeople-5.65.0/CMakeLists.txt new/kpeople-5.66.0/CMakeLists.txt --- old/kpeople-5.65.0/CMakeLists.txt 2019-12-07 22:46:50.000000000 +0100 +++ new/kpeople-5.66.0/CMakeLists.txt 2020-01-04 11:11:56.000000000 +0100 @@ -1,17 +1,17 @@ cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.65.0") # handled by release scripts -set(KF5_DEP_VERSION "5.65.0") # handled by release scripts +set(KF5_VERSION "5.66.0") # handled by release scripts +set(KF5_DEP_VERSION "5.66.0") # handled by release scripts project (KPeople VERSION ${KF5_VERSION}) include(FeatureSummary) -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") +find_package(ECM 5.66.0 NO_MODULE) +set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) -set(REQUIRED_QT_VERSION 5.11.0) +set(REQUIRED_QT_VERSION 5.12.0) find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Gui Sql Widgets Qml) @@ -58,7 +58,7 @@ endif () add_definitions(-DQT_NO_FOREACH) add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) -add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x053f00) +add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054100) add_definitions(-DKSERVICE_DISABLE_DEPRECATED_BEFORE_AND_AT=0x04ff00) # TODO: PersonDetailsView(QWidget *) constructor still calls KPluginInfo::fromServices() (deprecated at 5.0) # investigate if needed diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpeople-5.65.0/src/declarative/CMakeLists.txt new/kpeople-5.66.0/src/declarative/CMakeLists.txt --- old/kpeople-5.65.0/src/declarative/CMakeLists.txt 2019-12-07 22:46:50.000000000 +0100 +++ new/kpeople-5.66.0/src/declarative/CMakeLists.txt 2020-01-04 11:11:56.000000000 +0100 @@ -1,7 +1,8 @@ +qt5_wrap_cpp(kpeopledeclarative_SRCS ../widgets/actions.h) add_library(KF5PeopleDeclarative SHARED declarativepersondata.cpp personactionsmodel.cpp - peopleqmlplugin.cpp) + peopleqmlplugin.cpp ${kpeopledeclarative_SRCS}) target_link_libraries(KF5PeopleDeclarative Qt5::Qml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpeople-5.65.0/src/declarative/peopleqmlplugin.cpp new/kpeople-5.66.0/src/declarative/peopleqmlplugin.cpp --- old/kpeople-5.65.0/src/declarative/peopleqmlplugin.cpp 2019-12-07 22:46:50.000000000 +0100 +++ new/kpeople-5.66.0/src/declarative/peopleqmlplugin.cpp 2020-01-04 11:11:56.000000000 +0100 @@ -69,6 +69,8 @@ #endif qmlRegisterUncreatableType<ActionTypeWrapper>(uri, 1, 0, "ActionType", QStringLiteral("You cannot create ActionType")); qmlRegisterSingletonType<DeclarativePersonPluginManager>(uri, 1, 0, "PersonPluginManager", [] (QQmlEngine*, QJSEngine*) -> QObject* { return new DeclarativePersonPluginManager; }); + + qmlRegisterUncreatableMetaObject(KPeople::staticMetaObject, uri, 1, 0, "KPeople", QStringLiteral("Access to enums & flags only")); } #include "peopleqmlplugin.moc" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpeople-5.65.0/src/personmanager.cpp new/kpeople-5.66.0/src/personmanager.cpp --- old/kpeople-5.65.0/src/personmanager.cpp 2019-12-07 22:46:50.000000000 +0100 +++ new/kpeople-5.66.0/src/personmanager.cpp 2020-01-04 11:11:56.000000000 +0100 @@ -96,7 +96,7 @@ while (query.next()) { const QString personUri = QLatin1String("kpeople://") + query.value(0).toString(); // we store as ints internally, convert it to a string here const QString contactID = query.value(1).toString(); - contactMapping.insertMulti(personUri, contactID); + contactMapping.insert(personUri, contactID); } return contactMapping; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpeople-5.65.0/src/widgets/actions.h new/kpeople-5.66.0/src/widgets/actions.h --- old/kpeople-5.65.0/src/widgets/actions.h 2019-12-07 22:46:50.000000000 +0100 +++ new/kpeople-5.66.0/src/widgets/actions.h 2020-01-04 11:11:56.000000000 +0100 @@ -20,6 +20,7 @@ #define KPEOPLEWIDGETS_ACTIONS_H #include <QList> +#include <qobjectdefs.h> #include <kpeople/widgets/kpeoplewidgets_export.h> class QString; @@ -27,6 +28,7 @@ class QAction; namespace KPeople { +Q_NAMESPACE class PersonData; /** @@ -43,6 +45,7 @@ SendFileAction, OtherAction = 100 }; +Q_ENUM_NS(ActionType) /** * Returns a list of actions relevant to the specified @p contactUri where