Hello community, here is the log from the commit of package kmbox for openSUSE:Factory checked in at 2016-01-10 13:05:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kmbox (Old) and /work/SRC/openSUSE:Factory/.kmbox.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kmbox" Changes: -------- --- /work/SRC/openSUSE:Factory/kmbox/kmbox.changes 2015-11-15 12:37:14.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.kmbox.new/kmbox.changes 2016-01-10 13:05:44.000000000 +0100 @@ -1,0 +2,14 @@ +Sun Dec 13 13:22:18 UTC 2015 - [email protected] + +- Update to KDE Applications 15.12.0 + * KDE Applications 15.12.0 + * https://www.kde.org/announcements/announce-applications-15.12.0.php + * boo#958887 + + +------------------------------------------------------------------- +Fri Dec 11 01:31:48 UTC 2015 - [email protected] + +- Remove superfluous libpth-devel dependency + +------------------------------------------------------------------- Old: ---- kmbox-15.08.3.tar.xz New: ---- kmbox-15.12.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kmbox.spec ++++++ --- /var/tmp/diff_new_pack.yD7kky/_old 2016-01-10 13:05:45.000000000 +0100 +++ /var/tmp/diff_new_pack.yD7kky/_new 2016-01-10 13:05:45.000000000 +0100 @@ -17,7 +17,7 @@ Name: kmbox -Version: 15.08.3 +Version: 15.12.0 Release: 0 %define kf5_version 5.1.0 Summary: KDE PIM Libraries: Mailbox functionality @@ -51,7 +51,6 @@ BuildRequires: libKF5AkonadiPrivate-devel >= 1.72.43 BuildRequires: libassuan-devel BuildRequires: libical-devel >= 0.42 -BuildRequires: libpth-devel BuildRequires: libxslt-devel BuildRequires: openldap2-devel BuildRequires: phonon4qt5-devel ++++++ kmbox-15.08.3.tar.xz -> kmbox-15.12.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmbox-15.08.3/CMakeLists.txt new/kmbox-15.12.0/CMakeLists.txt --- old/kmbox-15.08.3/CMakeLists.txt 2015-08-31 11:24:03.000000000 +0200 +++ new/kmbox-15.12.0/CMakeLists.txt 2015-11-07 13:04:19.000000000 +0100 @@ -3,7 +3,7 @@ project(KMbox) # ECM setup -find_package(ECM 5.12.0 CONFIG REQUIRED) +find_package(ECM 5.14.0 CONFIG REQUIRED) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) include(GenerateExportHeader) @@ -15,6 +15,7 @@ include(KDEInstallDirs) include(KDECMakeSettings) include(KDEFrameworkCompilerSettings) +include(ECMQtDeclareLoggingCategory) set(KF5_VERSION "5.12.0") set(KMBOX_LIB_VERSION "4.79.0") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmbox-15.08.3/src/CMakeLists.txt new/kmbox-15.12.0/src/CMakeLists.txt --- old/kmbox-15.08.3/src/CMakeLists.txt 2015-08-31 11:24:03.000000000 +0200 +++ new/kmbox-15.12.0/src/CMakeLists.txt 2015-11-07 13:04:19.000000000 +0100 @@ -2,9 +2,10 @@ mboxentry.cpp mbox_p.cpp mbox.cpp - kmbox_debug.cpp ) +ecm_qt_declare_logging_category(kmbox_SRCS HEADER kmbox_debug.h IDENTIFIER KMBOX_LOG CATEGORY_NAME log_kmbox) + add_library(KF5Mbox ${kmbox_SRCS}) generate_export_header(KF5Mbox BASE_NAME kmbox) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmbox-15.08.3/src/kmbox_debug.cpp new/kmbox-15.12.0/src/kmbox_debug.cpp --- old/kmbox-15.08.3/src/kmbox_debug.cpp 2015-08-31 11:24:03.000000000 +0200 +++ new/kmbox-15.12.0/src/kmbox_debug.cpp 1970-01-01 01:00:00.000000000 +0100 @@ -1,22 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 2014 Laurent Montel <[email protected]> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#include "kmbox_debug.h" -Q_LOGGING_CATEGORY(KMBOX_LOG, "log_kmbox") - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmbox-15.08.3/src/kmbox_debug.h new/kmbox-15.12.0/src/kmbox_debug.h --- old/kmbox-15.08.3/src/kmbox_debug.h 2015-08-31 11:24:03.000000000 +0200 +++ new/kmbox-15.12.0/src/kmbox_debug.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,27 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 2014 Laurent Montel <[email protected]> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KMBOX_DEBUG_H -#define KMBOX_DEBUG_H - -#include <QLoggingCategory> -Q_DECLARE_LOGGING_CATEGORY(KMBOX_LOG) - -#endif - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmbox-15.08.3/src/mbox.cpp new/kmbox-15.12.0/src/mbox.cpp --- old/kmbox-15.08.3/src/mbox.cpp 2015-08-31 11:24:03.000000000 +0200 +++ new/kmbox-15.12.0/src/mbox.cpp 2015-11-07 13:04:19.000000000 +0100 @@ -128,6 +128,7 @@ } MBoxEntry::List result; + result.reserve(d->mEntries.size()); foreach (const MBoxEntry &entry, d->mEntries) { if (!deletedEntries.contains(entry)) { @@ -235,7 +236,7 @@ switch (d->mLockType) { case ProcmailLockfile: - args << QLatin1String("-l20") << QLatin1String("-r5"); + args << QStringLiteral("-l20") << QStringLiteral("-r5"); if (!d->mLockFileName.isEmpty()) { args << QString::fromLocal8Bit(QFile::encodeName(d->mLockFileName)); } else { @@ -243,7 +244,7 @@ QLatin1String(".lock"))); } - rc = QProcess::execute(QLatin1String("lockfile"), args); + rc = QProcess::execute(QStringLiteral("lockfile"), args); if (rc != 0) { qCDebug(KMBOX_LOG) << "lockfile -l20 -r5 " << d->mMboxFile.fileName() << ": Failed (" << rc << ") switching to read only mode"; @@ -256,7 +257,7 @@ case MuttDotlock: args << QString::fromLocal8Bit(QFile::encodeName(d->mMboxFile.fileName())); - rc = QProcess::execute(QLatin1String("mutt_dotlock"), args); + rc = QProcess::execute(QStringLiteral("mutt_dotlock"), args); if (rc != 0) { qCDebug(KMBOX_LOG) << "mutt_dotlock " << d->mMboxFile.fileName() @@ -269,9 +270,9 @@ break; case MuttDotlockPrivileged: - args << QLatin1String("-p") + args << QStringLiteral("-p") << QString::fromLocal8Bit(QFile::encodeName(d->mMboxFile.fileName())); - rc = QProcess::execute(QLatin1String("mutt_dotlock"), args); + rc = QProcess::execute(QStringLiteral("mutt_dotlock"), args); if (rc != 0) { qCDebug(KMBOX_LOG) << "mutt_dotlock -p " << d->mMboxFile.fileName() << ":" @@ -623,14 +624,14 @@ switch (ltype) { case ProcmailLockfile: - if (QStandardPaths::findExecutable(QLatin1String("lockfile")).isEmpty()) { + if (QStandardPaths::findExecutable(QStringLiteral("lockfile")).isEmpty()) { qCDebug(KMBOX_LOG) << "Could not find the lockfile executable"; return false; } break; case MuttDotlock: // fall through case MuttDotlockPrivileged: - if (QStandardPaths::findExecutable(QLatin1String("mutt_dotlock")).isEmpty()) { + if (QStandardPaths::findExecutable(QStringLiteral("mutt_dotlock")).isEmpty()) { qCDebug(KMBOX_LOG) << "Could not find the mutt_dotlock executable"; return false; } @@ -675,15 +676,15 @@ break; case MuttDotlock: - args << QLatin1String("-u") + args << QStringLiteral("-u") << QString::fromLocal8Bit(QFile::encodeName(d->mMboxFile.fileName())); - rc = QProcess::execute(QLatin1String("mutt_dotlock"), args); + rc = QProcess::execute(QStringLiteral("mutt_dotlock"), args); break; case MuttDotlockPrivileged: - args << QLatin1String("-u") << QLatin1String("-p") + args << QStringLiteral("-u") << QStringLiteral("-p") << QString::fromLocal8Bit(QFile::encodeName(d->mMboxFile.fileName())); - rc = QProcess::execute(QLatin1String("mutt_dotlock"), args); + rc = QProcess::execute(QStringLiteral("mutt_dotlock"), args); break; case None: // Fall through. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmbox-15.08.3/src/mbox.h new/kmbox-15.12.0/src/mbox.h --- old/kmbox-15.08.3/src/mbox.h 2015-08-31 11:24:03.000000000 +0200 +++ new/kmbox-15.12.0/src/mbox.h 2015-11-07 13:04:19.000000000 +0100 @@ -260,6 +260,7 @@ private: //@cond PRIVATE + Q_DISABLE_COPY(MBox) friend class MBoxPrivate; MBoxPrivate *const d; //@endcond diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmbox-15.08.3/src/mbox_p.cpp new/kmbox-15.12.0/src/mbox_p.cpp --- old/kmbox-15.08.3/src/mbox_p.cpp 2015-08-31 11:24:03.000000000 +0200 +++ new/kmbox-15.12.0/src/mbox_p.cpp 2015-11-07 13:04:19.000000000 +0100 @@ -27,7 +27,7 @@ MBoxPrivate::MBoxPrivate(MBox *mbox) : mInitialMboxFileSize(0), mMBox(mbox), - mSeparatorMatcher(QLatin1String("^From .*[0-9][0-9]:[0-9][0-9]")), mReadOnly(false) + mSeparatorMatcher(QStringLiteral("^From .*[0-9][0-9]:[0-9][0-9]")), mReadOnly(false) { connect(&mUnlockTimer, &QTimer::timeout, this, &MBoxPrivate::unlockMBox); } @@ -108,7 +108,7 @@ if (!from || from->addresses().isEmpty()) { separator += "[email protected]"; } else { - separator += from->addresses().first() + ' '; + separator += from->addresses().at(0) + ' '; } // format dateTime according to the mbox "standard" RFC4155 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmbox-15.08.3/src/mboxentry.cpp new/kmbox-15.12.0/src/mboxentry.cpp --- old/kmbox-15.08.3/src/mboxentry.cpp 2015-08-31 11:24:03.000000000 +0200 +++ new/kmbox-15.12.0/src/mboxentry.cpp 2015-11-07 13:04:19.000000000 +0100 @@ -24,12 +24,12 @@ using namespace KMBox; MBoxEntry::MBoxEntry() - : d(new Private) + : d(new MBoxEntryPrivate) { } MBoxEntry::MBoxEntry(quint64 offset) - : d(new Private) + : d(new MBoxEntryPrivate) { d->mOffset = offset; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmbox-15.08.3/src/mboxentry.h new/kmbox-15.12.0/src/mboxentry.h --- old/kmbox-15.08.3/src/mboxentry.h 2015-08-31 11:24:03.000000000 +0200 +++ new/kmbox-15.12.0/src/mboxentry.h 2015-11-07 13:04:19.000000000 +0100 @@ -29,7 +29,7 @@ namespace KMBox { - +class MBoxEntryPrivate; /** * @short A class that encapsulates an entry of a MBox. * @@ -113,8 +113,7 @@ //@cond PRIVATE friend class MBox; - class Private; - QSharedDataPointer<Private> d; + QSharedDataPointer<MBoxEntryPrivate> d; //@endcond }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kmbox-15.08.3/src/mboxentry_p.h new/kmbox-15.12.0/src/mboxentry_p.h --- old/kmbox-15.08.3/src/mboxentry_p.h 2015-08-31 11:24:03.000000000 +0200 +++ new/kmbox-15.12.0/src/mboxentry_p.h 2015-11-07 13:04:19.000000000 +0100 @@ -25,15 +25,15 @@ namespace KMBox { -class MBoxEntry::Private : public QSharedData +class MBoxEntryPrivate : public QSharedData { public: - Private() + MBoxEntryPrivate() : mOffset(0), mMessageSize(0), mSeparatorSize(0) { } - Private(const Private &other) + MBoxEntryPrivate(const MBoxEntryPrivate &other) : QSharedData(other) { mOffset = other.mOffset;
