Hello community,

here is the log from the commit of package kmbox for openSUSE:Factory checked 
in at 2019-04-26 22:49:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kmbox (Old)
 and      /work/SRC/openSUSE:Factory/.kmbox.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kmbox"

Fri Apr 26 22:49:25 2019 rev:44 rq:696282 version:19.04.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kmbox/kmbox.changes      2019-03-11 
11:11:13.101415934 +0100
+++ /work/SRC/openSUSE:Factory/.kmbox.new.5536/kmbox.changes    2019-04-26 
22:49:27.253489937 +0200
@@ -1,0 +2,32 @@
+Sat Apr 20 06:51:56 UTC 2019 - [email protected]
+
+- Update to 19.04.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-19.04.0.php
+- No code changes since 19.03.90
+
+-------------------------------------------------------------------
+Tue Apr 09 20:54:42 UTC 2019 - [email protected]
+
+- Update to 19.03.90
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/announce-applications-19.04-rc.php
+- Changes since 19.03.80:
+  * Convert to camelcase include
+  * Fix compile, Qt5Widgets_VERSION isn't defined, use Qt5Core_VERSION instead
+  * Workaround qt5.13 bug
+
+-------------------------------------------------------------------
+Wed Mar 27 06:41:04 UTC 2019 - [email protected]
+
+- Update to 19.03.80
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/announce-applications-19.04-beta.php
+- Changes since 18.12.3:
+  * Make it compile without foreach
+  * Fix minor typos
+
+-------------------------------------------------------------------

Old:
----
  kmbox-18.12.3.tar.xz

New:
----
  kmbox-19.04.0.tar.xz

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

Other differences:
------------------
++++++ kmbox.spec ++++++
--- /var/tmp/diff_new_pack.MkKfcV/_old  2019-04-26 22:49:27.861489626 +0200
+++ /var/tmp/diff_new_pack.MkKfcV/_new  2019-04-26 22:49:27.865489625 +0200
@@ -21,7 +21,7 @@
 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
 %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print 
$1"."$2}')}
 Name:           kmbox
-Version:        18.12.3
+Version:        19.04.0
 Release:        0
 Summary:        KDE PIM Libraries: Mailbox functionality
 License:        LGPL-2.1-or-later

++++++ kmbox-18.12.3.tar.xz -> kmbox-19.04.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kmbox-18.12.3/.gitignore new/kmbox-19.04.0/.gitignore
--- old/kmbox-18.12.3/.gitignore        2019-02-24 12:47:50.000000000 +0100
+++ new/kmbox-19.04.0/.gitignore        2019-04-08 13:51:23.000000000 +0200
@@ -16,6 +16,6 @@
 Makefile
 avail
 random_seed
-/build/
+/build*/
 CMakeLists.txt.user*
 *.unc-backup*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kmbox-18.12.3/CMakeLists.txt 
new/kmbox-19.04.0/CMakeLists.txt
--- old/kmbox-18.12.3/CMakeLists.txt    2019-02-24 12:47:50.000000000 +0100
+++ new/kmbox-19.04.0/CMakeLists.txt    2019-04-08 13:51:23.000000000 +0200
@@ -1,11 +1,11 @@
-cmake_minimum_required(VERSION 3.0)
-set(PIM_VERSION "5.10.3")
+cmake_minimum_required(VERSION 3.5)
+set(PIM_VERSION "5.11.0")
 
 project(KMbox VERSION ${PIM_VERSION})
 
 # ECM setup
-set(KF5_VERSION "5.51.0")
-find_package(ECM ${KF5_VERSION} CONFIG REQUIRED)
+set(KF5_MIN_VERSION "5.56.0")
+find_package(ECM ${KF5_MIN_VERSION} CONFIG REQUIRED)
 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
 
 include(GenerateExportHeader)
@@ -23,7 +23,7 @@
 
 
 set(KMBOX_LIB_VERSION ${PIM_VERSION})
-set(KMIME_LIB_VERSION "5.10.3")
+set(KMIME_LIB_VERSION "5.11.0")
 
 ecm_setup_version(PROJECT VARIABLE_PREFIX KMBOX
                         VERSION_HEADER 
"${CMAKE_CURRENT_BINARY_DIR}/kmbox_version.h"
@@ -34,7 +34,13 @@
 ########### Find packages ###########
 find_package(KF5Mime ${KMIME_LIB_VERSION} CONFIG REQUIRED)
 
-add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
+# workaround for https://bugreports.qt.io/browse/QTBUG-74665 (bug in qt5.13 
reevaluate it)
+if (${Qt5Core_VERSION} STRGREATER "5.13")
+   MESSAGE(STATUS "Qt version: ${Qt5Core_VERSION} DISABLE compile without 
deprecated methods. bug QTBUG-74665")
+else()
+   add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
+endif()
+add_definitions(-DQT_NO_FOREACH)
 
 ########### Targets ###########
 add_subdirectory(src)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kmbox-18.12.3/autotests/mboxbenchmark.cpp 
new/kmbox-19.04.0/autotests/mboxbenchmark.cpp
--- old/kmbox-18.12.3/autotests/mboxbenchmark.cpp       2019-02-24 
12:47:50.000000000 +0100
+++ new/kmbox-19.04.0/autotests/mboxbenchmark.cpp       2019-04-08 
13:51:23.000000000 +0200
@@ -21,7 +21,7 @@
 
 #include <QCryptographicHash>
 
-#include <qtest.h>
+#include <QTest>
 #include <QTemporaryDir>
 
 QTEST_MAIN(MBoxBenchmark)
@@ -68,7 +68,8 @@
         mbox2.setLockType(MBox::None);
         mbox2.setUnlockTimeout(5000);
         mbox2.load(fileName());
-        foreach (const MBoxEntry &entry, mbox2.entries()) {
+        const auto lst = mbox2.entries();
+        for (const MBoxEntry &entry : lst) {
             mbox2.readMessage(entry);
         }
     }
@@ -95,7 +96,8 @@
         mbox2.load(fileName());
         mbox2.setUnlockTimeout(5000);   // Keep the mbox locked for five 
seconds.
 
-        foreach (const MBoxEntry &entry, mbox2.entries()) {
+        const auto lst = mbox2.entries();
+        for (const MBoxEntry &entry : lst) {
             mbox2.readMessage(entry);
         }
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kmbox-18.12.3/autotests/mboxtest.cpp 
new/kmbox-19.04.0/autotests/mboxtest.cpp
--- old/kmbox-18.12.3/autotests/mboxtest.cpp    2019-02-24 12:47:50.000000000 
+0100
+++ new/kmbox-19.04.0/autotests/mboxtest.cpp    2019-04-08 13:51:23.000000000 
+0200
@@ -21,7 +21,7 @@
 #include <QDir>
 #include <QFile>
 
-#include <qtest.h>
+#include <QTest>
 #include <QStandardPaths>
 #include <QTemporaryDir>
 
@@ -181,7 +181,7 @@
 
     QVERIFY(mbox.load(fileName()));
 
-    // First message added to an emtpy file should be at offset 0
+    // First message added to an empty file should be at offset 0
     QCOMPARE(mbox.entries().size(), 0);
     QCOMPARE(mbox.appendMessage(mMail1).messageOffset(), 
static_cast<quint64>(0));
     QCOMPARE(mbox.entries().size(), 1);
@@ -195,8 +195,8 @@
     QCOMPARE(mbox.entries().last().messageSize(), 
static_cast<quint64>(sEntry2.size()));
 
     // check if appended entries can be read
-    MBoxEntry::List list = mbox.entries();
-    foreach (const MBoxEntry &msgInfo, list) {
+    const MBoxEntry::List list = mbox.entries();
+    for (const MBoxEntry &msgInfo : list) {
         const QByteArray header = mbox.readMessageHeaders(msgInfo);
         QVERIFY(!header.isEmpty());
 
@@ -433,7 +433,7 @@
 
     const MBoxEntry::List list = mbox.entries();
 
-    foreach (const MBoxEntry &msgInfo, list) {
+    for (const MBoxEntry &msgInfo : list) {
         const QByteArray header = mbox.readMessageHeaders(msgInfo);
         QVERIFY(!header.isEmpty());
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kmbox-18.12.3/metainfo.yaml 
new/kmbox-19.04.0/metainfo.yaml
--- old/kmbox-18.12.3/metainfo.yaml     2019-02-24 12:47:50.000000000 +0100
+++ new/kmbox-19.04.0/metainfo.yaml     2019-04-08 13:51:23.000000000 +0200
@@ -3,7 +3,11 @@
 tier: 3
 type: functional
 platforms:
-    - name: All
+    - name: Linux
+    - name: FreeBSD
+    - name: Windows
+    - name: MacOSX
+    - name: Android        
 portingAid: false
 deprecated: false
 release: false
@@ -14,5 +18,3 @@
 
 public_lib: true
 group: kdepim
-platforms:
-    - name: Linux
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kmbox-18.12.3/src/mbox.cpp 
new/kmbox-19.04.0/src/mbox.cpp
--- old/kmbox-18.12.3/src/mbox.cpp      2019-02-24 12:47:50.000000000 +0100
+++ new/kmbox-19.04.0/src/mbox.cpp      2019-04-08 13:51:23.000000000 +0200
@@ -339,7 +339,7 @@
     if (deletedEntries.size() == d->mEntries.size()) {
         d->mEntries.clear();
         d->mMboxFile.resize(0);
-        qCDebug(KMBOX_LOG) << "Purge comleted successfully, unlocking the 
file.";
+        qCDebug(KMBOX_LOG) << "Purge completed successfully, unlocking the 
file.";
         return unlock();
     }
 
@@ -409,7 +409,7 @@
     d->mMboxFile.resize(writeOffset);
     d->mEntries = resultingEntryList;
 
-    qCDebug(KMBOX_LOG) << "Purge comleted successfully, unlocking the file.";
+    qCDebug(KMBOX_LOG) << "Purge completed successfully, unlocking the file.";
     if (movedEntries) {
         *movedEntries = tmpMovedEntries;
     }
@@ -666,7 +666,7 @@
 
     switch (d->mLockType) {
     case ProcmailLockfile:
-        // QFile::remove returns true on succes so negate the result.
+        // QFile::remove returns true on success so negate the result.
         if (!d->mLockFileName.isEmpty()) {
             rc = !QFile(d->mLockFileName).remove();
         } else {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kmbox-18.12.3/src/mbox.h new/kmbox-19.04.0/src/mbox.h
--- old/kmbox-18.12.3/src/mbox.h        2019-02-24 12:47:50.000000000 +0100
+++ new/kmbox-19.04.0/src/mbox.h        2019-04-08 13:51:23.000000000 +0200
@@ -248,8 +248,8 @@
     /**
      * Returns if the current access mode is set to readOnly.
      *
-     * The access mode can either be set explicitely with setReadOnly() or
-     * implicitely by calling load() on a readOnly file.
+     * The access mode can either be set explicitly with setReadOnly() or
+     * implicitly by calling load() on a readOnly file.
      *
      * @since 4.14.5
      */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kmbox-18.12.3/src/mbox_p.h 
new/kmbox-19.04.0/src/mbox_p.h
--- old/kmbox-18.12.3/src/mbox_p.h      2019-02-24 12:47:50.000000000 +0100
+++ new/kmbox-19.04.0/src/mbox_p.h      2019-04-08 13:51:23.000000000 +0200
@@ -66,7 +66,7 @@
     static QByteArray escapeFrom(const QByteArray &msg);
 
     /**
-     * Generates a mbox message sperator line for given message.
+     * Generates a mbox message separator line for given message.
      */
     static QByteArray mboxMessageSeparator(const QByteArray &msg);
 


Reply via email to