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-09-16 23:13:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/karchive (Old) and /work/SRC/openSUSE:Factory/.karchive.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "karchive" Thu Sep 16 23:13:48 2021 rev:94 rq:919172 version:5.86.0 Changes: -------- --- /work/SRC/openSUSE:Factory/karchive/karchive.changes 2021-08-16 10:11:18.779117726 +0200 +++ /work/SRC/openSUSE:Factory/.karchive.new.1899/karchive.changes 2021-09-16 23:15:27.923847620 +0200 @@ -1,0 +2,14 @@ +Wed Sep 15 08:23:56 UTC 2021 - Christophe Giboudeaux <[email protected]> + +- Drop the unneeded baselibs.conf. + +------------------------------------------------------------------- +Mon Sep 6 06:21:53 UTC 2021 - Christophe Giboudeaux <[email protected]> + +- Update to 5.86.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.86.0 +- No code change since 5.85.0 + +------------------------------------------------------------------- Old: ---- baselibs.conf karchive-5.85.0.tar.xz karchive-5.85.0.tar.xz.sig New: ---- karchive-5.86.0.tar.xz karchive-5.86.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ karchive.spec ++++++ --- /var/tmp/diff_new_pack.JSy4fr/_old 2021-09-16 23:15:28.487848204 +0200 +++ /var/tmp/diff_new_pack.JSy4fr/_new 2021-09-16 23:15:28.487848204 +0200 @@ -17,7 +17,7 @@ %define lname libKF5Archive5 -%define _tar_path 5.85 +%define _tar_path 5.86 # 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.85.0 +Version: 5.86.0 Release: 0 Summary: Qt 5 addon providing access to numerous types of archives License: LGPL-2.1-or-later @@ -36,7 +36,6 @@ Source1: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz.sig Source2: frameworks.keyring %endif -Source99: baselibs.conf BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} BuildRequires: fdupes BuildRequires: kf5-filesystem ++++++ karchive-5.85.0.tar.xz -> karchive-5.86.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.85.0/.git-blame-ignore-revs new/karchive-5.86.0/.git-blame-ignore-revs --- old/karchive-5.85.0/.git-blame-ignore-revs 2021-07-30 12:23:48.000000000 +0200 +++ new/karchive-5.86.0/.git-blame-ignore-revs 2021-09-04 17:41:08.000000000 +0200 @@ -1,3 +1,4 @@ -#clang-format +#clang-format/tidy 02f0505a0f56fd0680582eb565e439117f320b10 c3cce473d8e3dab1d69617c48e76755326a99017 +f7d760797b5bb879e666110b3659b9963cb43a3a diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.85.0/CMakeLists.txt new/karchive-5.86.0/CMakeLists.txt --- old/karchive-5.85.0/CMakeLists.txt 2021-07-30 12:23:48.000000000 +0200 +++ new/karchive-5.86.0/CMakeLists.txt 2021-09-04 17:41:08.000000000 +0200 @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "5.85.0") # handled by release scripts +set(KF_VERSION "5.86.0") # handled by release scripts project(KArchive VERSION ${KF_VERSION}) include(FeatureSummary) -find_package(ECM 5.85.0 NO_MODULE) +find_package(ECM 5.86.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) @@ -18,7 +18,7 @@ include(ECMGenerateExportHeader) -set(REQUIRED_QT_VERSION 5.15.0) +set(REQUIRED_QT_VERSION 5.15.2) find_package(Qt5Core ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE) find_package(ZLIB) @@ -67,7 +67,7 @@ VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/karchive_version.h" PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5ArchiveConfigVersion.cmake" SOVERSION 5) -add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f00) +add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050f02) add_subdirectory(src) if (BUILD_TESTING) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.85.0/autotests/karchivetest.cpp new/karchive-5.86.0/autotests/karchivetest.cpp --- old/karchive-5.85.0/autotests/karchivetest.cpp 2021-07-30 12:23:48.000000000 +0200 +++ new/karchive-5.86.0/autotests/karchivetest.cpp 2021-09-04 17:41:08.000000000 +0200 @@ -140,7 +140,7 @@ QStringList ret; QStringList l = dir->entries(); l.sort(); - for (const QString &it : qAsConst(l)) { + for (const QString &it : std::as_const(l)) { const KArchiveEntry *entry = dir->entry(it); QString descr; @@ -672,7 +672,8 @@ // Also exceed 512 byte block size limit to see how well the ././@LongLink // implementation fares for (int i = 98; i < 514; i++) { - QString str, num; + QString str; + QString num; str.fill('a', i - 10); num.setNum(i); num = num.rightJustified(10, '0'); @@ -1054,7 +1055,8 @@ // Similar to testTarMaxLength just to make sure, but of course zip doesn't have // those limitations in the first place. for (int i = 98; i < 514; i++) { - QString str, num; + QString str; + QString num; str.fill('a', i - 10); num.setNum(i); num = num.rightJustified(10, '0'); @@ -1506,7 +1508,8 @@ // Generate long filenames of each possible length bigger than 98... for (int i = 98; i < 514; i++) { - QString str, num; + QString str; + QString num; str.fill('a', i - 10); num.setNum(i); num = num.rightJustified(10, '0'); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.85.0/autotests/kfiltertest.cpp new/karchive-5.86.0/autotests/kfiltertest.cpp --- old/karchive-5.85.0/autotests/kfiltertest.cpp 2021-07-30 12:23:48.000000000 +0200 +++ new/karchive-5.86.0/autotests/kfiltertest.cpp 2021-09-04 17:41:08.000000000 +0200 @@ -340,7 +340,8 @@ void KFilterTest::test_deflateWithZlibHeader() { - QByteArray data, deflatedData; + QByteArray data; + QByteArray deflatedData; getCompressedData(data, deflatedData); #if 0 // Can't use KFilterDev for this, we need to call KGzipFilter::init(QIODevice::ReadOnly, KGzipFilter::ZlibHeader); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.85.0/metainfo.yaml new/karchive-5.86.0/metainfo.yaml --- old/karchive-5.85.0/metainfo.yaml 2021-07-30 12:23:48.000000000 +0200 +++ new/karchive-5.86.0/metainfo.yaml 2021-09-04 17:41:08.000000000 +0200 @@ -6,7 +6,7 @@ - name: Linux - name: FreeBSD - name: Windows - - name: MacOSX + - name: macOS - name: Android portingAid: false deprecated: false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.85.0/src/k7zip.cpp new/karchive-5.86.0/src/k7zip.cpp --- old/karchive-5.85.0/src/k7zip.cpp 2021-07-30 12:23:48.000000000 +0200 +++ new/karchive-5.86.0/src/k7zip.cpp 2021-09-04 17:41:08.000000000 +0200 @@ -1096,7 +1096,8 @@ * To convert take 12 from Januari and Februari and * increase the year by one. */ - short month, year; + short month; + short year; if (months < 14) { month = (short)(months - 1); year = (short)(years + 1524); @@ -1223,7 +1224,8 @@ return false; } - quint32 coderIndex, coderStreamIndex; + quint32 coderIndex; + quint32 coderStreamIndex; folder->findInStream(folder->inIndexes[binderIndex], coderIndex, coderStreamIndex); quint32 startIndex = folder->getCoderOutStreamIndex(coderIndex); @@ -1680,7 +1682,7 @@ } QByteArray inflated; - for (const QByteArray &data : qAsConst(inflatedDatas)) { + for (const QByteArray &data : std::as_const(inflatedDatas)) { inflated.append(data); } @@ -2164,8 +2166,10 @@ writeNumber(((unsigned)emptyStreamVector.size() + 7) / 8); writeBoolVector(emptyStreamVector); - QVector<bool> emptyFileVector, antiVector; - int numEmptyFiles = 0, numAntiItems = 0; + QVector<bool> emptyFileVector; + QVector<bool> antiVector; + int numEmptyFiles = 0; + int numAntiItems = 0; for (int i = 0; i < fileInfos.size(); i++) { const FileInfo *file = fileInfos.at(i); if (!file->hasStream) { @@ -2906,8 +2910,9 @@ if (!entry) { K7ZipFileEntry *e = new K7ZipFileEntry(this, fileName, perm, mtime, user, group, QString() /*symlink*/, d->outData.size(), 0 /*unknown yet*/, d->outData); - if (!parentDir->addEntryV2(e)) + if (!parentDir->addEntryV2(e)) { return false; + } d->m_entryList << e; d->m_currentFile = e; } else { @@ -2995,8 +3000,9 @@ K7ZipFileEntry *e = new K7ZipFileEntry(this, fileName, perm, mtime, user, group, target, 0, 0, nullptr); d->outData.append(encodedTarget); - if (!parentDir->addEntryV2(e)) + if (!parentDir->addEntryV2(e)) { return false; + } d->m_entryList << e; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.85.0/src/karchive.cpp new/karchive-5.86.0/src/karchive.cpp --- old/karchive-5.85.0/src/karchive.cpp 2021-07-30 12:23:48.000000000 +0200 +++ new/karchive-5.86.0/src/karchive.cpp 2021-09-04 17:41:08.000000000 +0200 @@ -811,14 +811,17 @@ static QFileDevice::Permissions withExecutablePerms(QFileDevice::Permissions filePerms, mode_t perms) { - if (perms & 01) + if (perms & 01) { filePerms |= QFileDevice::ExeOther; + } - if (perms & 010) + if (perms & 010) { filePerms |= QFileDevice::ExeGroup; + } - if (perms & 0100) + if (perms & 0100) { filePerms |= QFileDevice::ExeOwner; + } return filePerms; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/karchive-5.85.0/src/kcompressiondevice.cpp new/karchive-5.86.0/src/kcompressiondevice.cpp --- old/karchive-5.85.0/src/kcompressiondevice.cpp 2021-07-30 12:23:48.000000000 +0200 +++ new/karchive-5.86.0/src/kcompressiondevice.cpp 2021-09-04 17:41:08.000000000 +0200 @@ -35,14 +35,14 @@ class KCompressionDevicePrivate { public: - KCompressionDevicePrivate(KCompressionDevice *q) + KCompressionDevicePrivate(KCompressionDevice *qq) : bNeedHeader(true) , bSkipHeaders(false) , bOpenedUnderlyingDevice(false) , type(KCompressionDevice::None) , errorCode(QFileDevice::NoError) , deviceReadPos(0) - , q(q) + , q(qq) { } @@ -300,8 +300,9 @@ Q_ASSERT(d->filter->mode() == QIODevice::ReadOnly); if (pos == 0) { - if (!QIODevice::seek(pos)) + if (!QIODevice::seek(pos)) { return false; + } // We can forget about the cached data d->bNeedHeader = !d->bSkipHeaders;
