Hello community,

here is the log from the commit of package karchive for openSUSE:Factory 
checked in at 2019-10-14 13:33:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/karchive (Old)
 and      /work/SRC/openSUSE:Factory/.karchive.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "karchive"

Mon Oct 14 13:33:13 2019 rev:71 rq:738005 version:5.63.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/karchive/karchive.changes        2019-09-23 
12:21:41.817764685 +0200
+++ /work/SRC/openSUSE:Factory/.karchive.new.2352/karchive.changes      
2019-10-14 13:34:15.978528963 +0200
@@ -1,0 +2,10 @@
+Sun Oct  6 13:26:16 UTC 2019 - Christophe Giboudeaux <[email protected]>
+
+- Update to 5.63.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.63.0.php
+- Changes since 5.62.0:
+  * Port away from deprecated methods in Qt 5.14
+
+-------------------------------------------------------------------

Old:
----
  karchive-5.62.0.tar.xz
  karchive-5.62.0.tar.xz.sig

New:
----
  karchive-5.63.0.tar.xz
  karchive-5.63.0.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ karchive.spec ++++++
--- /var/tmp/diff_new_pack.PODsdS/_old  2019-10-14 13:34:16.538527503 +0200
+++ /var/tmp/diff_new_pack.PODsdS/_new  2019-10-14 13:34:16.542527493 +0200
@@ -17,7 +17,7 @@
 
 
 %define lname   libKF5Archive5
-%define _tar_path 5.62
+%define _tar_path 5.63
 # 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.62.0
+Version:        5.63.0
 Release:        0
 Summary:        Qt 5 addon providing access to numerous types of archives
 License:        LGPL-2.1-or-later
@@ -37,12 +37,12 @@
 Source2:        frameworks.keyring
 %endif
 Source99:       baselibs.conf
-BuildRequires:  cmake >= 3.0
+BuildRequires:  cmake >= 3.5
 BuildRequires:  extra-cmake-modules >= %{_kf5_bugfix_version}
 BuildRequires:  fdupes
 BuildRequires:  kf5-filesystem
 BuildRequires:  pkgconfig
-BuildRequires:  cmake(Qt5Core) >= 5.6.0
+BuildRequires:  cmake(Qt5Core) >= 5.11.0
 BuildRequires:  pkgconfig(bzip2)
 BuildRequires:  pkgconfig(liblzma)
 BuildRequires:  pkgconfig(zlib)
@@ -71,7 +71,7 @@
 Group:          Development/Libraries/KDE
 Requires:       %{lname} = %{version}
 Requires:       extra-cmake-modules
-Requires:       cmake(Qt5Core) >= 5.6.0
+Requires:       cmake(Qt5Core) >= 5.11.0
 
 %description devel
 KArchive provides classes for easy reading, creation and manipulation of


++++++ karchive-5.62.0.tar.xz -> karchive-5.63.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/karchive-5.62.0/CMakeLists.txt 
new/karchive-5.63.0/CMakeLists.txt
--- old/karchive-5.62.0/CMakeLists.txt  2019-09-07 14:32:34.000000000 +0200
+++ new/karchive-5.63.0/CMakeLists.txt  2019-10-06 11:33:32.000000000 +0200
@@ -1,10 +1,10 @@
 cmake_minimum_required(VERSION 3.5)
 
-set(KF5_VERSION "5.62.0") # handled by release scripts
+set(KF5_VERSION "5.63.0") # handled by release scripts
 project(KArchive VERSION ${KF5_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 5.62.0  NO_MODULE)
+find_package(ECM 5.63.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)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/karchive-5.62.0/autotests/karchivetest.cpp 
new/karchive-5.63.0/autotests/karchivetest.cpp
--- old/karchive-5.62.0/autotests/karchivetest.cpp      2019-09-07 
14:32:34.000000000 +0200
+++ new/karchive-5.63.0/autotests/karchivetest.cpp      2019-10-06 
11:33:32.000000000 +0200
@@ -314,7 +314,7 @@
     const QFileInfo fileInfo5(fileName);
     QVERIFY(fileInfo5.exists());
     QVERIFY(fileInfo5.isFile());
-    // Do not use fileInfo.readLink() for unix symlinks
+    // Do not use fileInfo.symLinkTarget() for unix symlinks
     // It returns the -full- path to the target, while we want the target 
string "as is".
     QString symLinkTarget;
     const QByteArray encodedFileName = QFile::encodeName(fileName);
@@ -493,7 +493,7 @@
     const QString owner = localFileData.owner();
     const QString group = localFileData.group();
     const QString emptyTime = QDateTime().toString(QStringLiteral("dd.MM.yyyy 
hh:mm:ss"));
-    const QDateTime creationTime = QFileInfo(fileName).created();
+    const QDateTime creationTime = QFileInfo(fileName).birthTime();
 
     // 1.6-1.7 ms per interaction, 2908428 instruction loads
     // After the "no tempfile when writing fix" this went down
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/karchive-5.62.0/src/CMakeLists.txt 
new/karchive-5.63.0/src/CMakeLists.txt
--- old/karchive-5.62.0/src/CMakeLists.txt      2019-09-07 14:32:34.000000000 
+0200
+++ new/karchive-5.63.0/src/CMakeLists.txt      2019-10-06 11:33:32.000000000 
+0200
@@ -112,6 +112,8 @@
         MD_MAINPAGE "${CMAKE_SOURCE_DIR}/README.md"
         LINK_QCHS
             Qt5Core_QCH
+        INCLUDE_DIRS
+            ${CMAKE_CURRENT_BINARY_DIR}
         BLANK_MACROS
             KARCHIVE_EXPORT
             KARCHIVE_DEPRECATED
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/karchive-5.62.0/src/k7zip.cpp 
new/karchive-5.63.0/src/k7zip.cpp
--- old/karchive-5.62.0/src/k7zip.cpp   2019-09-07 14:32:34.000000000 +0200
+++ new/karchive-5.63.0/src/k7zip.cpp   2019-10-06 11:33:32.000000000 +0200
@@ -1114,7 +1114,7 @@
 
     QDateTime t(QDate(year, month, day), QTime(hour, minute, second));
     t.setTimeSpec(Qt::UTC);
-    return t.toTime_t();
+    return t.toSecsSinceEpoch();
 }
 
 long long rtlSecondsSince1970ToSpecTime(quint32 seconds)
@@ -1710,7 +1710,7 @@
 
         fileInfo->path = path + entry->name();
         mTimesDefined.append(true);
-        mTimes.append(rtlSecondsSince1970ToSpecTime(entry->date().toTime_t()));
+        
mTimes.append(rtlSecondsSince1970ToSpecTime(entry->date().toSecsSinceEpoch()));
 
         if (entry->isFile()) {
             const K7ZipFileEntry *fileEntry = static_cast<const K7ZipFileEntry 
*>(entry);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/karchive-5.62.0/src/karchive.cpp 
new/karchive-5.63.0/src/karchive.cpp
--- old/karchive-5.62.0/src/karchive.cpp        2019-09-07 14:32:34.000000000 
+0200
+++ new/karchive-5.63.0/src/karchive.cpp        2019-10-06 11:33:32.000000000 
+0200
@@ -290,13 +290,13 @@
         setErrorString(
             tr("Failed accessing the file %1 for adding to the archive. The 
error was: %2")
             .arg(fileName)
-            .arg(QLatin1Literal{strerror(errno)}));
+            .arg(QLatin1String{strerror(errno)}));
         return false;
     }
 
     if (fileInfo.isSymLink()) {
         QString symLinkTarget;
-        // Do NOT use fileInfo.readLink() for unix symlinks!
+        // Do NOT use fileInfo.symLinkTarget() for unix symlinks!
         // It returns the -full- path to the target, while we want the target 
string "as is".
 #if defined(Q_OS_UNIX) && !defined(Q_OS_OS2EMX)
         const QByteArray encodedFileName = QFile::encodeName(fileName);
@@ -321,7 +321,7 @@
         }
         return writeSymLink(destName, symLinkTarget, fileInfo.owner(),
                             fileInfo.group(), fi.st_mode, fileInfo.lastRead(), 
fileInfo.lastModified(),
-                            fileInfo.created());
+                            fileInfo.birthTime());
     }/*end if*/
 
     qint64 size = fileInfo.size();
@@ -338,7 +338,7 @@
     }
 
     if (!prepareWriting(destName, fileInfo.owner(), fileInfo.group(), size,
-                        fi.st_mode, fileInfo.lastRead(), 
fileInfo.lastModified(), fileInfo.created())) {
+                        fi.st_mode, fileInfo.lastRead(), 
fileInfo.lastModified(), fileInfo.birthTime())) {
         //qCWarning(KArchiveLog) << " prepareWriting" << destName << "failed";
         return false;
     }
@@ -645,7 +645,7 @@
     if (time_t == uint(-1)) {
         return QDateTime();
     }
-    return QDateTime::fromTime_t(time_t);
+    return QDateTime::fromSecsSinceEpoch(time_t);
 }
 
 ////////////////////////////////////////////////////////////////////////
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/karchive-5.62.0/src/kzip.cpp 
new/karchive-5.63.0/src/kzip.cpp
--- old/karchive-5.62.0/src/kzip.cpp    2019-09-07 14:32:34.000000000 +0200
+++ new/karchive-5.63.0/src/kzip.cpp    2019-10-06 11:33:32.000000000 +0200
@@ -77,7 +77,7 @@
     QDate qd(y, o, d);
 
     QDateTime dt(qd, qt);
-    return dt.toTime_t();
+    return dt.toSecsSinceEpoch();
 }
 
 // == parsing routines for zip headers
@@ -968,7 +968,7 @@
             extfield[4] = 1 | 2 | 4;    // specify flags from local field
             // (unless I misread the spec)
             // provide only modification time
-            unsigned long time = (unsigned long)it.value()->date().toTime_t();
+            unsigned long time = (unsigned 
long)it.value()->date().toSecsSinceEpoch();
             extfield[5] = char(time);
             extfield[6] = char(time >> 8);
             extfield[7] = char(time >> 16);
@@ -1078,9 +1078,9 @@
         return false;
     }
 
-    uint atime = accessTime.toTime_t();
-    uint mtime = modificationTime.toTime_t();
-    uint ctime = creationTime.toTime_t();
+    uint atime = accessTime.toSecsSinceEpoch();
+    uint mtime = modificationTime.toSecsSinceEpoch();
+    uint ctime = creationTime.toSecsSinceEpoch();
 
     // Find or create parent dir
     KArchiveDirectory *parentDir = rootDir();


Reply via email to