Hello community, here is the log from the commit of package kxmlrpcclient5 for openSUSE:Factory checked in at 2017-07-17 10:26:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kxmlrpcclient5 (Old) and /work/SRC/openSUSE:Factory/.kxmlrpcclient5.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kxmlrpcclient5" Mon Jul 17 10:26:25 2017 rev:29 rq:509940 version:5.36.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kxmlrpcclient5/kxmlrpcclient5.changes 2017-07-05 23:53:50.643063561 +0200 +++ /work/SRC/openSUSE:Factory/.kxmlrpcclient5.new/kxmlrpcclient5.changes 2017-07-17 10:26:28.499291054 +0200 @@ -1,0 +2,13 @@ +Wed Jul 12 07:14:03 CEST 2017 - [email protected] + +- Update to 5.36.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.36.0.php +- Changes since 5.35.0: + * Fix compile on window + * Add since tags + * Revert "Replace fromUtf8 with QStringLiteral to save allocations" + * [FEATURE] Option to build & install QCH file with the public API dox + +------------------------------------------------------------------- Old: ---- kxmlrpcclient-5.35.0.tar.xz New: ---- kxmlrpcclient-5.36.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kxmlrpcclient5.spec ++++++ --- /var/tmp/diff_new_pack.RWIoqR/_old 2017-07-17 10:26:29.183194640 +0200 +++ /var/tmp/diff_new_pack.RWIoqR/_new 2017-07-17 10:26:29.183194640 +0200 @@ -19,9 +19,9 @@ %bcond_without lang %define rname kxmlrpcclient %define lname libKF5XmlRpcClient5 -%define _tar_path 5.35 +%define _tar_path 5.36 Name: kxmlrpcclient5 -Version: 5.35.0 +Version: 5.36.0 Release: 0 %define kf5_version %{version} Summary: Library containing simple XML-RPC Client support ++++++ kxmlrpcclient-5.35.0.tar.xz -> kxmlrpcclient-5.36.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kxmlrpcclient-5.35.0/CMakeLists.txt new/kxmlrpcclient-5.36.0/CMakeLists.txt --- old/kxmlrpcclient-5.35.0/CMakeLists.txt 2017-06-03 12:23:39.000000000 +0200 +++ new/kxmlrpcclient-5.36.0/CMakeLists.txt 2017-07-02 10:13:47.000000000 +0200 @@ -1,12 +1,12 @@ cmake_minimum_required(VERSION 3.0) -set(KF5_VERSION "5.35.0") # handled by release scripts -set(KF5_DEP_VERSION "5.35.0") # handled by release scripts +set(KF5_VERSION "5.36.0") # handled by release scripts +set(KF5_DEP_VERSION "5.36.0") # handled by release scripts project(KXmlRpcClient VERSION ${KF5_VERSION}) # ECM setup include(FeatureSummary) -find_package(ECM 5.35.0 CONFIG ) +find_package(ECM 5.36.0 CONFIG ) 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) @@ -22,6 +22,10 @@ include(KDECMakeSettings) include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE) include(ECMQtDeclareLoggingCategory) +include(ECMAddQch) + +option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF) +add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)") add_definitions(-DTRANSLATION_DOMAIN=\"libkxmlrpcclient5\") ecm_setup_version(PROJECT VARIABLE_PREFIX KXMLRPCCLIENT @@ -34,6 +38,10 @@ find_package(KF5I18n ${KF5_DEP_VERSION} CONFIG REQUIRED) find_package(KF5KIO ${KF5_DEP_VERSION} CONFIG REQUIRED) +if(BUILD_TESTING) + add_definitions(-DBUILD_TESTING) +endif(BUILD_TESTING) + ########### Targets ########### if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/po") ki18n_install(po) @@ -44,6 +52,16 @@ ########### CMake Config Files ########### set(CMAKECONFIG_INSTALL_DIR "${KDE_INSTALL_CMAKEPACKAGEDIR}/KF5XmlRpcClient") +if (BUILD_QCH) + ecm_install_qch_export( + TARGETS KF5XmlRpcClient_QCH + FILE KF5XmlRpcClientQchTargets.cmake + DESTINATION "${CMAKECONFIG_INSTALL_DIR}" + COMPONENT Devel + ) + set(PACKAGE_INCLUDE_QCHTARGETS "include(\"\${CMAKE_CURRENT_LIST_DIR}/KF5XmlRpcClientQchTargets.cmake\")") +endif() + configure_package_config_file( "${CMAKE_CURRENT_SOURCE_DIR}/KF5XmlRpcClientConfig.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/KF5XmlRpcClientConfig.cmake" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kxmlrpcclient-5.35.0/KF5XmlRpcClientConfig.cmake.in new/kxmlrpcclient-5.36.0/KF5XmlRpcClientConfig.cmake.in --- old/kxmlrpcclient-5.35.0/KF5XmlRpcClientConfig.cmake.in 2017-06-03 12:23:39.000000000 +0200 +++ new/kxmlrpcclient-5.36.0/KF5XmlRpcClientConfig.cmake.in 2017-07-02 10:13:47.000000000 +0200 @@ -4,3 +4,4 @@ find_dependency(KF5KIO "@KF5_DEP_VERSION@") include("${CMAKE_CURRENT_LIST_DIR}/KF5XmlRpcClientTargets.cmake") +@PACKAGE_INCLUDE_QCHTARGETS@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kxmlrpcclient-5.35.0/autotests/CMakeLists.txt new/kxmlrpcclient-5.36.0/autotests/CMakeLists.txt --- old/kxmlrpcclient-5.35.0/autotests/CMakeLists.txt 2017-06-03 12:23:39.000000000 +0200 +++ new/kxmlrpcclient-5.36.0/autotests/CMakeLists.txt 2017-07-02 10:13:47.000000000 +0200 @@ -6,13 +6,9 @@ macro(add_kxmlrpc_test _name) ecm_add_test(${_name}.cpp - ${CMAKE_SOURCE_DIR}/src/client.cpp - ${CMAKE_SOURCE_DIR}/src/query.cpp - ${CMAKE_BINARY_DIR}/src/kxmlrpcclient_debug.cpp - LINK_LIBRARIES KF5::KIOCore KF5::I18n Qt5::Xml Qt5::Test + LINK_LIBRARIES KF5::KIOCore KF5::I18n Qt5::Xml Qt5::Test KF5::XmlRpcClient TEST_NAME ${_name} NAME_PREFIX kxmlrpc) - set_target_properties(${_name} PROPERTIES COMPILE_DEFINITIONS "KXMLRPCCLIENT_EXPORT=") endmacro() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kxmlrpcclient-5.35.0/autotests/querytest.cpp new/kxmlrpcclient-5.36.0/autotests/querytest.cpp --- old/kxmlrpcclient-5.35.0/autotests/querytest.cpp 2017-06-03 12:23:39.000000000 +0200 +++ new/kxmlrpcclient-5.36.0/autotests/querytest.cpp 2017-07-02 10:13:47.000000000 +0200 @@ -66,7 +66,8 @@ "</param>\r\n" XML_CALL_END; QTest::newRow("string (utf8)") << QString::fromLatin1("MyMethod") - << (QVariantList() << QStringLiteral("Žlutý kůň pěl ďábelské ódy")) + // make sure it is UTF-8, so do *not* use QStringLiteral below + << (QVariantList() << QString::fromUtf8("Žlutý kůň pěl ďábelské ódy")) << XML_CALL_HEAD("MyMethod") "<param>\r\n" "<value><string><![CDATA[Žlutý kůň pěl ďábelské ódy]]></string></value>\r\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kxmlrpcclient-5.35.0/src/CMakeLists.txt new/kxmlrpcclient-5.36.0/src/CMakeLists.txt --- old/kxmlrpcclient-5.35.0/src/CMakeLists.txt 2017-06-03 12:23:39.000000000 +0200 +++ new/kxmlrpcclient-5.36.0/src/CMakeLists.txt 2017-07-02 10:13:47.000000000 +0200 @@ -53,3 +53,26 @@ DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/KXmlRpcClient/kxmlrpcclient/ COMPONENT Devel ) + +if(BUILD_QCH) + ecm_add_qch( + KF5XmlRpcClient_QCH + NAME KXmlRpcClient + BASE_NAME KF5XmlRpcClient + VERSION ${KF5_VERSION} + ORG_DOMAIN org.kde + SOURCES # using only public headers, to cover only public API + ${KXmlRpcClient_HEADERS} + MD_MAINPAGE "${CMAKE_SOURCE_DIR}/README.md" + LINK_QCHS + Qt5Core_QCH + BLANK_MACROS + KXMLRPCCLIENT_EXPORT + KXMLRPCCLIENT_DEPRECATED + KXMLRPCCLIENT_DEPRECATED_EXPORT + TAGFILE_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} + QCH_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} + COMPONENT Devel + ) +endif() + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kxmlrpcclient-5.35.0/src/client.h new/kxmlrpcclient-5.36.0/src/client.h --- old/kxmlrpcclient-5.35.0/src/client.h 2017-06-03 12:23:39.000000000 +0200 +++ new/kxmlrpcclient-5.36.0/src/client.h 2017-07-02 10:13:47.000000000 +0200 @@ -50,6 +50,8 @@ @endcode @author Narayan Newton <[email protected]> + + @since 5.8 */ class KXMLRPCCLIENT_EXPORT Client : public QObject { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kxmlrpcclient-5.35.0/src/kxmlrpcclient_private_export.h new/kxmlrpcclient-5.36.0/src/kxmlrpcclient_private_export.h --- old/kxmlrpcclient-5.35.0/src/kxmlrpcclient_private_export.h 1970-01-01 01:00:00.000000000 +0100 +++ new/kxmlrpcclient-5.36.0/src/kxmlrpcclient_private_export.h 2017-07-02 10:13:47.000000000 +0200 @@ -0,0 +1,34 @@ +/* This file is part of the KDE project + Copyright (C) 2007 David Faure <[email protected]> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ + +#ifndef KXMLRPCCLIENTPRIVATE_EXPORT_H +#define KXMLRPCCLIENTPRIVATE_EXPORT_H + +#include "kxmlrpcclient_export.h" + +/* Classes which are exported only for unit tests */ +#ifdef BUILD_TESTING +# ifndef KXMLRPCCLIENT_TESTS_EXPORT +# define KXMLRPCCLIENT_TESTS_EXPORT KXMLRPCCLIENT_EXPORT +# endif +#else /* not compiling tests */ +# define KXMLRPCCLIENT_TESTS_EXPORT +#endif + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kxmlrpcclient-5.35.0/src/query.h new/kxmlrpcclient-5.36.0/src/query.h --- old/kxmlrpcclient-5.35.0/src/query.h 2017-06-03 12:23:39.000000000 +0200 +++ new/kxmlrpcclient-5.36.0/src/query.h 2017-07-02 10:13:47.000000000 +0200 @@ -46,6 +46,7 @@ This is an internal class and is only used by the KXmlRpc::Client class. @internal + @since 5.8 */ class KXMLRPCCLIENT_EXPORT Query : public QObject { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kxmlrpcclient-5.35.0/src/query_p.h new/kxmlrpcclient-5.36.0/src/query_p.h --- old/kxmlrpcclient-5.35.0/src/query_p.h 2017-06-03 12:23:39.000000000 +0200 +++ new/kxmlrpcclient-5.36.0/src/query_p.h 2017-07-02 10:13:47.000000000 +0200 @@ -10,7 +10,7 @@ *****************************************************************************/ #include "query.h" - +#include "kxmlrpcclient_private_export.h" #include <KIO/Job> #include <QtCore/QUrl> @@ -29,7 +29,7 @@ This is an internal class and is only used by Query. @internal */ -class Result +class KXMLRPCCLIENT_TESTS_EXPORT Result { friend class Query; friend class QueryPrivate; @@ -75,7 +75,7 @@ QList<QVariant> mData; }; -class QueryPrivate +class KXMLRPCCLIENT_TESTS_EXPORT QueryPrivate { public: QueryPrivate(Query *parent)
