Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package karchive for openSUSE:Factory checked in at 2021-02-17 18:10:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/karchive (Old) and /work/SRC/openSUSE:Factory/.karchive.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "karchive" Wed Feb 17 18:10:13 2021 rev:87 rq:871669 version:5.79.0 Changes: -------- --- /work/SRC/openSUSE:Factory/karchive/karchive.changes 2021-01-13 18:17:05.932975263 +0100 +++ /work/SRC/openSUSE:Factory/.karchive.new.28504/karchive.changes 2021-02-17 18:11:28.721937594 +0100 @@ -1,0 +2,10 @@ +Mon Feb 8 08:45:59 UTC 2021 - Christophe Giboudeaux <[email protected]> + +- Update to 5.79.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/kde-frameworks-5.79.0 +- Changes since 5.78.0: + * Adapt to Qt6 QTextCodec changes + +------------------------------------------------------------------- Old: ---- karchive-5.78.0.tar.xz karchive-5.78.0.tar.xz.sig New: ---- karchive-5.79.0.tar.xz karchive-5.79.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ karchive.spec ++++++ --- /var/tmp/diff_new_pack.GI4adV/_old 2021-02-17 18:11:29.385938138 +0100 +++ /var/tmp/diff_new_pack.GI4adV/_new 2021-02-17 18:11:29.389938141 +0100 @@ -17,7 +17,7 @@ %define lname libKF5Archive5 -%define _tar_path 5.78 +%define _tar_path 5.79 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) @@ -25,7 +25,7 @@ # Only needed for the package signature condition %bcond_without lang Name: karchive -Version: 5.78.0 +Version: 5.79.0 Release: 0 Summary: Qt 5 addon providing access to numerous types of archives License: LGPL-2.1-or-later ++++++ karchive-5.78.0.tar.xz -> karchive-5.79.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.78.0/.gitignore new/karchive-5.79.0/.gitignore --- old/karchive-5.78.0/.gitignore 2021-01-02 13:21:21.000000000 +0100 +++ new/karchive-5.79.0/.gitignore 2021-01-31 22:01:36.000000000 +0100 @@ -19,3 +19,4 @@ CMakeLists.txt.user* *.unc-backup* .cmake/ +/.clang-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.78.0/CMakeLists.txt new/karchive-5.79.0/CMakeLists.txt --- old/karchive-5.78.0/CMakeLists.txt 2021-01-02 13:21:21.000000000 +0100 +++ new/karchive-5.79.0/CMakeLists.txt 2021-01-31 22:01:36.000000000 +0100 @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.78.0") # handled by release scripts -project(KArchive VERSION ${KF5_VERSION}) +set(KF_VERSION "5.79.0") # handled by release scripts +project(KArchive VERSION ${KF_VERSION}) include(FeatureSummary) -find_package(ECM 5.78.0 NO_MODULE) +find_package(ECM 5.79.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) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.78.0/autotests/karchivetest.cpp new/karchive-5.79.0/autotests/karchivetest.cpp --- old/karchive-5.78.0/autotests/karchivetest.cpp 2021-01-02 13:21:21.000000000 +0100 +++ new/karchive-5.79.0/autotests/karchivetest.cpp 2021-01-31 22:01:36.000000000 +0100 @@ -14,7 +14,9 @@ #include <QDebug> #include <QTest> +#if QT_VERSION < QT_VERSION_CHECK(6,0,0) #include <QTextCodec> +#endif #include <QSaveFile> #include <QStandardPaths> #include <QFileInfo> @@ -39,8 +41,10 @@ void initLocale() { +#if QT_VERSION < QT_VERSION_CHECK(6,0,0) // KArchive uses QFile::decodeName, and our tests use utf8 encoding for filenames QTextCodec::setCodecForLocale(QTextCodec::codecForName("utf-8")); +#endif } Q_CONSTRUCTOR_FUNCTION(initLocale) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.78.0/autotests/kfiltertest.cpp new/karchive-5.79.0/autotests/kfiltertest.cpp --- old/karchive-5.78.0/autotests/kfiltertest.cpp 2021-01-02 13:21:21.000000000 +0100 +++ new/karchive-5.79.0/autotests/kfiltertest.cpp 2021-01-31 22:01:36.000000000 +0100 @@ -8,7 +8,9 @@ #include <QTest> #include <QBuffer> +#if QT_VERSION < QT_VERSION_CHECK(6,0,0) #include <QTextCodec> +#endif #include <QSaveFile> #include <QRandomGenerator> @@ -397,7 +399,9 @@ KCompressionDevice device(&file, false, compressionType); QVERIFY(device.open(QIODevice::WriteOnly)); QTextStream stream(&device); +#if QT_VERSION < QT_VERSION_CHECK(6,0,0) stream.setCodec(QTextCodec::codecForName("UTF-8")); +#endif for (int i = 0 ; i < numLines ; ++i) { stream << lineTemplate.arg(i); stream << QString("\n"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.78.0/examples/bzip2gzip/CMakeLists.txt new/karchive-5.79.0/examples/bzip2gzip/CMakeLists.txt --- old/karchive-5.78.0/examples/bzip2gzip/CMakeLists.txt 2021-01-02 13:21:21.000000000 +0100 +++ new/karchive-5.79.0/examples/bzip2gzip/CMakeLists.txt 2021-01-31 22:01:36.000000000 +0100 @@ -2,7 +2,7 @@ project(BZip2GZip) -find_package(KF5Archive ${KF5_VERSION} REQUIRED) +find_package(KF5Archive ${KF_VERSION} REQUIRED) add_executable(bzip2gzip main.cpp) target_link_libraries(bzip2gzip KF5::Archive) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.78.0/examples/bzip2gzip/main.cpp new/karchive-5.79.0/examples/bzip2gzip/main.cpp --- old/karchive-5.78.0/examples/bzip2gzip/main.cpp 2021-01-02 13:21:21.000000000 +0100 +++ new/karchive-5.79.0/examples/bzip2gzip/main.cpp 2021-01-31 22:01:36.000000000 +0100 @@ -40,7 +40,7 @@ QFile file(inputFile); QFileInfo info(inputFile); - if (info.suffix() != QStringLiteral("bz2")) { + if (info.suffix() != QLatin1String("bz2")) { qCritical("Error: not a valid BZip2 file!"); return 1; } @@ -50,7 +50,7 @@ KCompressionDevice input(&file, false, KCompressionDevice::BZip2); input.open(QIODevice::ReadOnly); - QString outputFile = (info.completeBaseName() + QStringLiteral(".gz")); + QString outputFile = (info.completeBaseName() + QLatin1String(".gz")); // Open the new output file KCompressionDevice output(outputFile, KCompressionDevice::GZip); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.78.0/examples/helloworld/CMakeLists.txt new/karchive-5.79.0/examples/helloworld/CMakeLists.txt --- old/karchive-5.78.0/examples/helloworld/CMakeLists.txt 2021-01-02 13:21:21.000000000 +0100 +++ new/karchive-5.79.0/examples/helloworld/CMakeLists.txt 2021-01-31 22:01:36.000000000 +0100 @@ -8,7 +8,7 @@ project(HelloWorld) # Look for the KArchive module -find_package(KF5Archive ${KF5_VERSION} REQUIRED) +find_package(KF5Archive ${KF_VERSION} REQUIRED) find_package(Qt5Core REQUIRED) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.78.0/examples/tarlocalfiles/CMakeLists.txt new/karchive-5.79.0/examples/tarlocalfiles/CMakeLists.txt --- old/karchive-5.78.0/examples/tarlocalfiles/CMakeLists.txt 2021-01-02 13:21:21.000000000 +0100 +++ new/karchive-5.79.0/examples/tarlocalfiles/CMakeLists.txt 2021-01-31 22:01:36.000000000 +0100 @@ -2,7 +2,7 @@ project(TarLocalFiles) -find_package(KF5Archive ${KF5_VERSION} REQUIRED) +find_package(KF5Archive ${KF_VERSION} REQUIRED) add_executable(tarlocalfiles main.cpp) target_link_libraries(tarlocalfiles KF5::Archive) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.78.0/examples/unzipper/CMakeLists.txt new/karchive-5.79.0/examples/unzipper/CMakeLists.txt --- old/karchive-5.78.0/examples/unzipper/CMakeLists.txt 2021-01-02 13:21:21.000000000 +0100 +++ new/karchive-5.79.0/examples/unzipper/CMakeLists.txt 2021-01-31 22:01:36.000000000 +0100 @@ -2,7 +2,7 @@ project(Unzipper) -find_package(KF5Archive ${KF5_VERSION} REQUIRED) +find_package(KF5Archive ${KF_VERSION} REQUIRED) add_executable(unzipper main.cpp) target_link_libraries(unzipper KF5::Archive) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.78.0/src/CMakeLists.txt new/karchive-5.79.0/src/CMakeLists.txt --- old/karchive-5.78.0/src/CMakeLists.txt 2021-01-02 13:21:21.000000000 +0100 +++ new/karchive-5.79.0/src/CMakeLists.txt 2021-01-31 22:01:36.000000000 +0100 @@ -50,7 +50,7 @@ ecm_generate_export_header(KF5Archive BASE_NAME KArchive GROUP_BASE_NAME KF - VERSION ${KF5_VERSION} + VERSION ${KF_VERSION} DEPRECATED_BASE_VERSION 0 DEPRECATION_VERSIONS 5.0 EXCLUDE_DEPRECATED_BEFORE_AND_AT ${EXCLUDE_DEPRECATED_BEFORE_AND_AT} @@ -121,7 +121,7 @@ KF5Archive_QCH NAME KArchive BASE_NAME KF5Archive - VERSION ${KF5_VERSION} + VERSION ${KF_VERSION} ORG_DOMAIN org.kde SOURCES # using only public headers, to cover only public API ${KArchive_HEADERS} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.78.0/src/ktar.cpp new/karchive-5.79.0/src/ktar.cpp --- old/karchive-5.78.0/src/ktar.cpp 2021-01-02 13:21:21.000000000 +0100 +++ new/karchive-5.79.0/src/ktar.cpp 2021-01-31 22:01:36.000000000 +0100 @@ -141,7 +141,7 @@ Q_ASSERT(!d->tmpFile); d->tmpFile = new QTemporaryFile(); - d->tmpFile->setFileTemplate(QDir::tempPath() + QStringLiteral("/") + QLatin1String("ktar-XXXXXX.tar")); + d->tmpFile->setFileTemplate(QDir::tempPath() + QLatin1Char('/') + QLatin1String("ktar-XXXXXX.tar")); d->tmpFile->open(); //qCDebug(KArchiveLog) << "creating tempfile:" << d->tmpFile->fileName();
