Hello community, here is the log from the commit of package kcodecs for openSUSE:Factory checked in at 2019-11-12 11:42:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kcodecs (Old) and /work/SRC/openSUSE:Factory/.kcodecs.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kcodecs" Tue Nov 12 11:42:51 2019 rev:73 rq:747092 version:5.64.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kcodecs/kcodecs.changes 2019-10-14 13:34:28.002497625 +0200 +++ /work/SRC/openSUSE:Factory/.kcodecs.new.2990/kcodecs.changes 2019-11-12 11:43:37.434612786 +0100 @@ -1,0 +2,10 @@ +Sun Nov 3 15:46:51 UTC 2019 - Christophe Giboudeaux <[email protected]> + +- Update to 5.64.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.64.0.php +- Changes since 5.63.0: + * Use ECMGenerateExportHeader to manage deprecated API better + +------------------------------------------------------------------- Old: ---- kcodecs-5.63.0.tar.xz kcodecs-5.63.0.tar.xz.sig New: ---- kcodecs-5.64.0.tar.xz kcodecs-5.64.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kcodecs.spec ++++++ --- /var/tmp/diff_new_pack.QQ3Nsw/_old 2019-11-12 11:43:37.854613228 +0100 +++ /var/tmp/diff_new_pack.QQ3Nsw/_new 2019-11-12 11:43:37.858613232 +0100 @@ -17,14 +17,14 @@ %define lname libKF5Codecs5 -%define _tar_path 5.63 +%define _tar_path 5.64 # 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: kcodecs -Version: 5.63.0 +Version: 5.64.0 Release: 0 Summary: Method collection to manipulate strings using various encodings License: LGPL-2.1-or-later ++++++ kcodecs-5.63.0.tar.xz -> kcodecs-5.64.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.63.0/CMakeLists.txt new/kcodecs-5.64.0/CMakeLists.txt --- old/kcodecs-5.63.0/CMakeLists.txt 2019-10-06 11:42:58.000000000 +0200 +++ new/kcodecs-5.64.0/CMakeLists.txt 2019-11-02 13:52:57.000000000 +0100 @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.63.0") # handled by release scripts +set(KF5_VERSION "5.64.0") # handled by release scripts project(KCodecs VERSION ${KF5_VERSION}) include(FeatureSummary) -find_package(ECM 5.63.0 NO_MODULE) +find_package(ECM 5.64.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) @@ -21,8 +21,7 @@ find_package(Gperf REQUIRED) - -include(GenerateExportHeader) +include(ECMGenerateExportHeader) include(CMakePackageConfigHelpers) include(ECMSetupVersion) include(ECMGenerateHeaders) @@ -30,6 +29,8 @@ include(ECMPoQmTools) include(ECMAddQch) +set(EXCLUDE_DEPRECATED_BEFORE_AND_AT 0 CACHE STRING "Control the range of deprecated API excluded from the build [default=0].") + 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)") @@ -42,6 +43,7 @@ ecm_install_po_files_as_qm(po) endif() add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) +add_definitions(-DQT_DEPRECATED_WARNINGS_SINCE=0x060000) add_definitions(-DQT_NO_FOREACH) add_subdirectory(src) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.63.0/autotests/base64benchmark.cpp new/kcodecs-5.64.0/autotests/base64benchmark.cpp --- old/kcodecs-5.63.0/autotests/base64benchmark.cpp 2019-10-06 11:42:58.000000000 +0200 +++ new/kcodecs-5.64.0/autotests/base64benchmark.cpp 2019-11-02 13:52:57.000000000 +0100 @@ -45,9 +45,9 @@ QTest::addColumn<QByteArray>("output"); QTest::addColumn<QByteArray>("input"); QTest::newRow("empty") << QByteArray() << QByteArray(); - QTest::newRow("128") << fillByteArray(128) << KCodecs::base64Encode(fillByteArray(128), true); - QTest::newRow("1k") << fillByteArray(1 << 10) << KCodecs::base64Encode(fillByteArray(1 << 10), true); - QTest::newRow("1M") << fillByteArray(1 << 20) << KCodecs::base64Encode(fillByteArray(1 << 20), true); + QTest::newRow("128") << fillByteArray(128) << KCodecs::base64Encode(fillByteArray(128)); + QTest::newRow("1k") << fillByteArray(1 << 10) << KCodecs::base64Encode(fillByteArray(1 << 10)); + QTest::newRow("1M") << fillByteArray(1 << 20) << KCodecs::base64Encode(fillByteArray(1 << 20)); } private Q_SLOTS: void benchmarkKCodecDecode_data() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.63.0/docs/Doxyfile.local new/kcodecs-5.64.0/docs/Doxyfile.local --- old/kcodecs-5.63.0/docs/Doxyfile.local 1970-01-01 01:00:00.000000000 +0100 +++ new/kcodecs-5.64.0/docs/Doxyfile.local 2019-11-02 13:52:57.000000000 +0100 @@ -0,0 +1,7 @@ +### KApiDox Project-specific Overrides File + +# define so that deprecated API is not skipped +PREDEFINED += \ + "KCODECS_ENABLE_DEPRECATED_SINCE(x, y)=1" \ + "KCODECS_BUILD_DEPRECATED_SINCE(x, y)=1" \ + "KCODECS_DEPRECATED_VERSION(x, y, t)=" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.63.0/po/id/kcodecs5_qt.po new/kcodecs-5.64.0/po/id/kcodecs5_qt.po --- old/kcodecs-5.63.0/po/id/kcodecs5_qt.po 2019-10-06 11:42:58.000000000 +0200 +++ new/kcodecs-5.64.0/po/id/kcodecs5_qt.po 2019-11-02 13:52:57.000000000 +0100 @@ -17,7 +17,6 @@ "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Lokalize 2.0\n" "X-Qt-Contexts: true\n" #: kcharsets.cpp:166 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.63.0/po/zh_CN/kcodecs5_qt.po new/kcodecs-5.64.0/po/zh_CN/kcodecs5_qt.po --- old/kcodecs-5.63.0/po/zh_CN/kcodecs5_qt.po 2019-10-06 11:42:58.000000000 +0200 +++ new/kcodecs-5.64.0/po/zh_CN/kcodecs5_qt.po 2019-11-02 13:52:57.000000000 +0100 @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: kdeorg\n" -"PO-Revision-Date: 2019-09-05 09:24\n" +"PO-Revision-Date: 2019-10-09 09:45\n" "Last-Translator: Guo Yunhe (guoyunhe)\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.63.0/src/CMakeLists.txt new/kcodecs-5.64.0/src/CMakeLists.txt --- old/kcodecs-5.63.0/src/CMakeLists.txt 2019-10-06 11:42:58.000000000 +0200 +++ new/kcodecs-5.64.0/src/CMakeLists.txt 2019-11-02 13:52:57.000000000 +0100 @@ -47,8 +47,15 @@ ecm_qt_declare_logging_category(kcodecs_SRCS HEADER kcodecs_debug.h IDENTIFIER KCODECS_LOG CATEGORY_NAME kf5.kcodecs) add_library(KF5Codecs ${kcodecs_SRCS}) -generate_export_header(KF5Codecs BASE_NAME KCodecs) add_library(KF5::Codecs ALIAS KF5Codecs) +ecm_generate_export_header(KF5Codecs + BASE_NAME KCodecs + GROUP_BASE_NAME KF + VERSION ${KF5_VERSION} + DEPRECATED_BASE_VERSION 0 + DEPRECATION_VERSIONS 5.5 5.56 + EXCLUDE_DEPRECATED_BEFORE_AND_AT ${EXCLUDE_DEPRECATED_BEFORE_AND_AT} +) target_include_directories(KF5Codecs INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR_KF5}/KCodecs>") @@ -112,6 +119,7 @@ KCODECS_EXPORT KCODECS_DEPRECATED KCODECS_DEPRECATED_EXPORT + "KCODECS_DEPRECATED_VERSION(x, y, t)" TAGFILE_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} QCH_INSTALL_DESTINATION ${KDE_INSTALL_QTQCHDIR} COMPONENT Devel diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.63.0/src/kcodecs.cpp new/kcodecs-5.64.0/src/kcodecs.cpp --- old/kcodecs-5.63.0/src/kcodecs.cpp 2019-10-06 11:42:58.000000000 +0200 +++ new/kcodecs-5.64.0/src/kcodecs.cpp 2019-11-02 13:52:57.000000000 +0100 @@ -108,11 +108,13 @@ return codec->encode(in); } +#if KCODECS_BUILD_DEPRECATED_SINCE(5, 5) QByteArray KCodecs::base64Encode(const QByteArray &in, bool insertLFs) { Q_UNUSED(insertLFs); return base64Encode(in); } +#endif void KCodecs::base64Encode(const QByteArray &in, QByteArray &out, bool insertLFs) @@ -132,16 +134,20 @@ out = base64Decode(in); } +#if KCODECS_BUILD_DEPRECATED_SINCE(5, 56) QByteArray KCodecs::uuencode(const QByteArray &in) { Codec *codec = Codec::codecForName("x-uuencode"); return codec->encode(in); } +#endif +#if KCODECS_BUILD_DEPRECATED_SINCE(5, 56) void KCodecs::uuencode(const QByteArray &in, QByteArray &out) { out = uuencode(in); } +#endif QByteArray KCodecs::uudecode(const QByteArray &in) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcodecs-5.63.0/src/kcodecs.h new/kcodecs-5.64.0/src/kcodecs.h --- old/kcodecs-5.63.0/src/kcodecs.h 2019-10-06 11:42:58.000000000 +0200 +++ new/kcodecs-5.64.0/src/kcodecs.h 2019-11-02 13:52:57.000000000 +0100 @@ -129,6 +129,7 @@ */ KCODECS_EXPORT void quotedPrintableDecode(const QByteArray &in, QByteArray &out); +#if KCODECS_ENABLE_DEPRECATED_SINCE(5, 56) /** * Encodes the given data using the uuencode algorithm. * @@ -139,11 +140,13 @@ * * @param in data to be uuencoded * @return uuencoded string. - * @deprecated Always returns an empty bytearray. + * @deprecated Not implemented, always returns an empty bytearray. */ -// TODO KF6 Remove? Or Make uuencode work? -KCODECS_DEPRECATED_EXPORT QByteArray uuencode(const QByteArray &in); +KCODECS_DEPRECATED_VERSION(5, 56, "Not implemented") +KCODECS_EXPORT QByteArray uuencode(const QByteArray &in); +#endif +#if KCODECS_ENABLE_DEPRECATED_SINCE(5, 56) /** * Encodes the given data using the uuencode algorithm. * @@ -158,9 +161,11 @@ * * @param in data to be uuencoded. * @param out an empty byte array + * @deprecated Not implemented, always set @p out to an empty bytearray. */ -// TODO KF6 Remove? Or Make uuencode work? -KCODECS_DEPRECATED_EXPORT void uuencode(const QByteArray &in, QByteArray &out); +KCODECS_DEPRECATED_VERSION(5, 56, "Not implemented") +KCODECS_EXPORT void uuencode(const QByteArray &in, QByteArray &out); +#endif /** * Decodes the given data using the uudecode algorithm. @@ -211,12 +216,15 @@ */ KCODECS_EXPORT QByteArray base64Encode(const QByteArray &in); +#if KCODECS_ENABLE_DEPRECATED_SINCE(5, 5) /** * @copydoc * KCodecs::base64Encode(QByteArray) - * @deprecated Use KCodecs::base64Encode(QByteArray) instead. + * @deprecated Since 5.5, use KCodecs::base64Encode(QByteArray) instead. */ -KCODECS_DEPRECATED_EXPORT QByteArray base64Encode(const QByteArray &in, bool insertLFs); +KCODECS_DEPRECATED_VERSION(5, 5, "Use QByteArray base64Encode(const QByteArray &)") +KCODECS_EXPORT QByteArray base64Encode(const QByteArray &in, bool insertLFs); +#endif /** * Encodes the given data using the base64 algorithm.
