Hello community, here is the log from the commit of package kiconthemes for openSUSE:Factory checked in at 2018-04-19 15:16:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kiconthemes (Old) and /work/SRC/openSUSE:Factory/.kiconthemes.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kiconthemes" Thu Apr 19 15:16:36 2018 rev:55 rq:596875 version:5.45.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kiconthemes/kiconthemes.changes 2018-03-20 21:45:43.177311226 +0100 +++ /work/SRC/openSUSE:Factory/.kiconthemes.new/kiconthemes.changes 2018-04-19 15:16:38.198197681 +0200 @@ -1,0 +2,14 @@ +Sat Apr 14 13:19:04 CEST 2018 - [email protected] + +- Update to 5.45.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.45.0.php +- Changes since 5.44.0: + * Make KIconEngine export comment accurate + * Fix some warning + * Fix build on Android + * Remove not necessary QtCore and co + * Avoid an asan runtime error + +------------------------------------------------------------------- Old: ---- kiconthemes-5.44.0.tar.xz New: ---- kiconthemes-5.45.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kiconthemes.spec ++++++ --- /var/tmp/diff_new_pack.6S5aiQ/_old 2018-04-19 15:16:38.878170625 +0200 +++ /var/tmp/diff_new_pack.6S5aiQ/_new 2018-04-19 15:16:38.878170625 +0200 @@ -18,13 +18,13 @@ %bcond_without lang %define lname libKF5IconThemes5 -%define _tar_path 5.44 +%define _tar_path 5.45 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_kf5_bugfix_version: %global _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} Name: kiconthemes -Version: 5.44.0 +Version: 5.45.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 3.0 ++++++ kiconthemes-5.44.0.tar.xz -> kiconthemes-5.45.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.44.0/CMakeLists.txt new/kiconthemes-5.45.0/CMakeLists.txt --- old/kiconthemes-5.44.0/CMakeLists.txt 2018-03-03 11:04:07.000000000 +0100 +++ new/kiconthemes-5.45.0/CMakeLists.txt 2018-04-07 21:36:06.000000000 +0200 @@ -1,12 +1,12 @@ cmake_minimum_required(VERSION 3.0) -set(KF5_VERSION "5.44.0") # handled by release scripts -set(KF5_DEP_VERSION "5.44.0") # handled by release scripts +set(KF5_VERSION "5.45.0") # handled by release scripts +set(KF5_DEP_VERSION "5.45.0") # handled by release scripts project(KIconThemes VERSION ${KF5_VERSION}) # ECM setup include(FeatureSummary) -find_package(ECM 5.44.0 NO_MODULE) +find_package(ECM 5.45.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) @@ -33,7 +33,7 @@ SOVERSION 5) # Dependencies -set(REQUIRED_QT_VERSION 5.7.0) +set(REQUIRED_QT_VERSION 5.8.0) find_package(Qt5Widgets ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE) find_package(Qt5Svg ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE) find_package(Qt5DBus ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.44.0/po/ca@valencia/kiconthemes5.po new/kiconthemes-5.45.0/po/ca@valencia/kiconthemes5.po --- old/kiconthemes-5.44.0/po/ca@valencia/kiconthemes5.po 2018-03-03 11:04:07.000000000 +0100 +++ new/kiconthemes-5.45.0/po/ca@valencia/kiconthemes5.po 2018-04-07 21:36:06.000000000 +0200 @@ -57,7 +57,7 @@ #: kicondialog.cpp:325 #, kde-format msgid "Search interactively for icon names (e.g. folder)." -msgstr "Busca noms d'icona interactivament (p. ex. carpeta)." +msgstr "Cerca noms d'icona interactivament (p. ex. carpeta)." #: kicondialog.cpp:355 #, kde-format diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.44.0/po/id/kiconthemes5.po new/kiconthemes-5.45.0/po/id/kiconthemes5.po --- old/kiconthemes-5.44.0/po/id/kiconthemes5.po 2018-03-03 11:04:07.000000000 +0100 +++ new/kiconthemes-5.45.0/po/id/kiconthemes5.po 2018-04-07 21:36:06.000000000 +0200 @@ -7,7 +7,7 @@ "Project-Id-Version: \n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2016-11-19 20:11+0100\n" -"PO-Revision-Date: 2018-03-02 21:29+0700\n" +"PO-Revision-Date: 2018-04-03 06:29+0700\n" "Last-Translator: Wantoyo <[email protected]>\n" "Language-Team: Indonesian <[email protected]>\n" "Language: id\n" @@ -105,4 +105,4 @@ #: kicondialog.cpp:602 #, kde-format msgid "*.png *.xpm *.svg *.svgz|Icon Files (*.png *.xpm *.svg *.svgz)" -msgstr "*.png *.xpm *.svg *.svgz|Fail Ikon (*.png *.xpm *.svg *.svgz)" +msgstr "*.png *.xpm *.svg *.svgz|File Ikon (*.png *.xpm *.svg *.svgz)" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.44.0/po/zh_CN/kiconthemes5.po new/kiconthemes-5.45.0/po/zh_CN/kiconthemes5.po --- old/kiconthemes-5.44.0/po/zh_CN/kiconthemes5.po 2018-03-03 11:04:07.000000000 +0100 +++ new/kiconthemes-5.45.0/po/zh_CN/kiconthemes5.po 2018-04-07 21:36:06.000000000 +0200 @@ -17,7 +17,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: http://bugs.kde.org\n" "POT-Creation-Date: 2016-11-19 20:11+0100\n" -"PO-Revision-Date: 2018-02-28 02:23-0500\n" +"PO-Revision-Date: 2018-04-05 09:22-0400\n" "Last-Translator: guoyunhebrave <[email protected]>\n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.44.0/src/kiconbutton.cpp new/kiconthemes-5.45.0/src/kiconbutton.cpp --- old/kiconthemes-5.44.0/src/kiconbutton.cpp 2018-03-03 11:04:07.000000000 +0100 +++ new/kiconthemes-5.45.0/src/kiconbutton.cpp 2018-04-07 21:36:06.000000000 +0200 @@ -13,7 +13,7 @@ #include "kiconbutton.h" -#include <QtCore/QFileInfo> +#include <QFileInfo> #include "kicondialog.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.44.0/src/kicondialog.cpp new/kiconthemes-5.45.0/src/kicondialog.cpp --- old/kiconthemes-5.44.0/src/kicondialog.cpp 2018-03-03 11:04:07.000000000 +0100 +++ new/kiconthemes-5.45.0/src/kicondialog.cpp 2018-04-07 21:36:06.000000000 +0200 @@ -17,7 +17,7 @@ #include <klistwidgetsearchline.h> #include <klocalizedstring.h> #ifndef _WIN32_WCE -#include <QtSvg/QSvgRenderer> +#include <QSvgRenderer> #endif #include <QApplication> @@ -27,9 +27,9 @@ #include <QGroupBox> #include <QLayout> #include <QLabel> -#include <QtCore/QTimer> +#include <QTimer> #include <QRadioButton> -#include <QtCore/QFileInfo> +#include <QFileInfo> #include <QProgressBar> #include <QPainter> #include <QScrollBar> @@ -44,9 +44,9 @@ { public: KIconCanvasDelegate(KIconCanvas *parent, QAbstractItemDelegate *defaultDelegate); - ~KIconCanvasDelegate() {} - void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const Q_DECL_OVERRIDE; - QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const Q_DECL_OVERRIDE; + ~KIconCanvasDelegate() override {} + void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override; + QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override; private: KIconCanvas *m_iconCanvas = nullptr; QAbstractItemDelegate *m_defaultDelegate = nullptr; @@ -236,7 +236,7 @@ virtual ~ShowEventFilter() {} private: - bool eventFilter(QObject *watched, QEvent *event) Q_DECL_OVERRIDE + bool eventFilter(QObject *watched, QEvent *event) override { if (event->type() == QEvent::Show) { KIconDialog *q = static_cast<KIconDialog *>(parent()); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.44.0/src/kicondialog.h new/kiconthemes-5.45.0/src/kicondialog.h --- old/kiconthemes-5.44.0/src/kicondialog.h 2018-03-03 11:04:07.000000000 +0100 +++ new/kiconthemes-5.45.0/src/kicondialog.h 2018-04-07 21:36:06.000000000 +0200 @@ -17,7 +17,7 @@ #include "kiconthemes_export.h" #include <QDialog> -#include <QtCore/QStringList> +#include <QStringList> #include <QPushButton> #include <kiconloader.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.44.0/src/kicondialog_p.h new/kiconthemes-5.45.0/src/kicondialog_p.h --- old/kiconthemes-5.44.0/src/kicondialog_p.h 2018-03-03 11:04:07.000000000 +0100 +++ new/kiconthemes-5.45.0/src/kicondialog_p.h 2018-04-07 21:36:06.000000000 +0200 @@ -14,7 +14,7 @@ #ifndef KICONDIALOG_P_H #define KICONDIALOG_P_H -#include <QtCore/QStringList> +#include <QStringList> #include <QFileDialog> #include <QPushButton> #include <QPointer> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.44.0/src/kiconeffect.cpp new/kiconthemes-5.45.0/src/kiconeffect.cpp --- old/kiconthemes-5.44.0/src/kiconeffect.cpp 2018-03-03 11:04:07.000000000 +0100 +++ new/kiconthemes-5.45.0/src/kiconeffect.cpp 2018-04-07 21:36:06.000000000 +0200 @@ -40,12 +40,24 @@ class KIconEffectPrivate { public: - int effect[6][3]; - float value[6][3]; - QColor color[6][3]; - bool trans[6][3]; - QString key[6][3]; - QColor color2[6][3]; + // http://en.cppreference.com/w/cpp/language/zero_initialization + KIconEffectPrivate() + : effect{{}} + , value{{}} + , color{{}} + , trans{{}} + , key{{}} + , color2{{}} + { + } + +public: + int effect[KIconLoader::LastGroup][KIconLoader::LastState]; + float value[KIconLoader::LastGroup][KIconLoader::LastState]; + QColor color[KIconLoader::LastGroup][KIconLoader::LastState]; + bool trans[KIconLoader::LastGroup][KIconLoader::LastState]; + QString key[KIconLoader::LastGroup][KIconLoader::LastState]; + QColor color2[KIconLoader::LastGroup][KIconLoader::LastState]; }; KIconEffect::KIconEffect() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.44.0/src/kiconeffect.h new/kiconthemes-5.45.0/src/kiconeffect.h --- old/kiconthemes-5.44.0/src/kiconeffect.h 2018-03-03 11:04:07.000000000 +0100 +++ new/kiconthemes-5.45.0/src/kiconeffect.h 2018-04-07 21:36:06.000000000 +0200 @@ -29,7 +29,7 @@ #include <QImage> #include <QPixmap> #include <QColor> -#include <QtCore/QRect> +#include <QRect> class KIconEffectPrivate; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.44.0/src/kiconengine.cpp new/kiconthemes-5.45.0/src/kiconengine.cpp --- old/kiconthemes-5.44.0/src/kiconengine.cpp 2018-03-03 11:04:07.000000000 +0100 +++ new/kiconthemes-5.45.0/src/kiconengine.cpp 2018-04-07 21:36:06.000000000 +0200 @@ -41,7 +41,6 @@ { int kstate; switch (mode) { - default: case QIcon::Normal: kstate = KIconLoader::DefaultState; break; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.44.0/src/kiconengine.h new/kiconthemes-5.45.0/src/kiconengine.h --- old/kiconthemes-5.44.0/src/kiconengine.h 2018-03-03 11:04:07.000000000 +0100 +++ new/kiconthemes-5.45.0/src/kiconengine.h 2018-04-07 21:36:06.000000000 +0200 @@ -40,7 +40,7 @@ * * @author Hamish Rodda <[email protected]> */ -class KICONTHEMES_EXPORT KIconEngine : public QIconEngine // only exported for kdelibs4support's KIcon +class KICONTHEMES_EXPORT KIconEngine : public QIconEngine // exported for kdelibs4support's KIcon and plasma integration { public: /** @@ -62,25 +62,25 @@ /** * Destructor. */ - virtual ~KIconEngine(); + ~KIconEngine() override; /// Reimplementation - QSize actualSize(const QSize &size, QIcon::Mode mode, QIcon::State state) Q_DECL_OVERRIDE; + QSize actualSize(const QSize &size, QIcon::Mode mode, QIcon::State state) override; /// Reimplementation - void paint(QPainter *painter, const QRect &rect, QIcon::Mode mode, QIcon::State state) Q_DECL_OVERRIDE; + void paint(QPainter *painter, const QRect &rect, QIcon::Mode mode, QIcon::State state) override; /// Reimplementation - QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state) Q_DECL_OVERRIDE; + QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state) override; /// Reimplementation - QString iconName() const Q_DECL_OVERRIDE; + QString iconName() const override; /// Reimplementation - QList<QSize> availableSizes(QIcon::Mode mode, QIcon::State state) const Q_DECL_OVERRIDE; + QList<QSize> availableSizes(QIcon::Mode mode, QIcon::State state) const override; - QString key() const Q_DECL_OVERRIDE; - QIconEngine *clone() const Q_DECL_OVERRIDE; - bool read(QDataStream &in) Q_DECL_OVERRIDE; - bool write(QDataStream &out) const Q_DECL_OVERRIDE; + QString key() const override; + QIconEngine *clone() const override; + bool read(QDataStream &in) override; + bool write(QDataStream &out) const override; - void virtual_hook(int id, void *data) Q_DECL_OVERRIDE; + void virtual_hook(int id, void *data) override; private: //TODO KF6: move those into the d-pointer diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.44.0/src/kiconloader.cpp new/kiconthemes-5.45.0/src/kiconloader.cpp --- old/kiconthemes-5.44.0/src/kiconloader.cpp 2018-03-03 11:04:07.000000000 +0100 +++ new/kiconthemes-5.45.0/src/kiconloader.cpp 2018-04-07 21:36:06.000000000 +0200 @@ -27,13 +27,13 @@ #include <qplatformdefs.h> //for readlink #include <assert.h> -#include <QtCore/QCache> -#include <QtCore/QFileInfo> -#include <QtCore/QDir> -#include <QtCore/QBuffer> -#include <QtCore/QDataStream> -#include <QtCore/QByteArray> -#include <QtCore/QStringBuilder> // % operator for QString +#include <QCache> +#include <QFileInfo> +#include <QDir> +#include <QBuffer> +#include <QDataStream> +#include <QByteArray> +#include <QStringBuilder> // % operator for QString #include <QElapsedTimer> #include <QGuiApplication> #include <QIcon> @@ -47,7 +47,7 @@ #include <kconfiggroup.h> #include <kshareddatacache.h> #include <ksharedconfig.h> -#include <QtDBus/QDBusConnection> +#include <QDBusConnection> #include <QDBusMessage> #include <QSvgRenderer> #include <QXmlStreamReader> @@ -612,7 +612,7 @@ // loading config and default sizes initIconThemes(); KIconTheme *defaultSizesTheme = links.empty() ? nullptr : links.first()->theme; - mpGroups = new KIconGroup[(int) KIconLoader::LastGroup]; + mpGroups = new KIconGroup[static_cast<int>(KIconLoader::LastGroup)]; for (KIconLoader::Group i = KIconLoader::FirstGroup; i < KIconLoader::LastGroup; ++i) { if (groups[i] == nullptr) { break; @@ -1342,7 +1342,7 @@ QImage img; if (!path.isEmpty()) { - img = d->createIconImage(path, size, (KIconLoader::States)state); + img = d->createIconImage(path, size, static_cast<KIconLoader::States>(state)); } if (group >= 0) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.44.0/src/kiconloader.h new/kiconthemes-5.45.0/src/kiconloader.h --- old/kiconthemes-5.44.0/src/kiconloader.h 2018-03-03 11:04:07.000000000 +0100 +++ new/kiconthemes-5.45.0/src/kiconloader.h 2018-04-07 21:36:06.000000000 +0200 @@ -22,9 +22,9 @@ #ifndef KICONLOADER_H #define KICONLOADER_H -#include <QtCore/QString> -#include <QtCore/QStringList> -#include <QtCore/QObject> +#include <QString> +#include <QStringList> +#include <QObject> #include <kiconthemes_export.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.44.0/src/kicontheme.cpp new/kiconthemes-5.45.0/src/kicontheme.cpp --- old/kiconthemes-5.44.0/src/kicontheme.cpp 2018-03-03 11:04:07.000000000 +0100 +++ new/kiconthemes-5.45.0/src/kicontheme.cpp 2018-04-07 21:36:06.000000000 +0200 @@ -27,10 +27,10 @@ #include <QCoreApplication> #include <QAction> -#include <QtCore/QMap> -#include <QtCore/QSet> -#include <QtCore/QFileInfo> -#include <QtCore/QDir> +#include <QMap> +#include <QSet> +#include <QFileInfo> +#include <QDir> #include <QDebug> #include <QResource> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.44.0/src/kicontheme.h new/kiconthemes-5.45.0/src/kicontheme.h --- old/kiconthemes-5.44.0/src/kicontheme.h 2018-03-03 11:04:07.000000000 +0100 +++ new/kiconthemes-5.45.0/src/kicontheme.h 2018-04-07 21:36:06.000000000 +0200 @@ -25,9 +25,9 @@ #include <kiconthemes_export.h> -#include <QtCore/QString> -#include <QtCore/QStringList> -#include <QtCore/QList> +#include <QString> +#include <QStringList> +#include <QList> #include "kiconloader.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.44.0/src/tools/kiconfinder/kiconfinder.cpp new/kiconthemes-5.45.0/src/tools/kiconfinder/kiconfinder.cpp --- old/kiconthemes-5.44.0/src/tools/kiconfinder/kiconfinder.cpp 2018-03-03 11:04:07.000000000 +0100 +++ new/kiconthemes-5.45.0/src/tools/kiconfinder/kiconfinder.cpp 2018-04-07 21:36:06.000000000 +0200 @@ -23,7 +23,7 @@ #include <kiconloader.h> #include <../kiconthemes_version.h> -#include <cstdio> +#include <stdio.h> int main(int argc, char *argv[]) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.44.0/tests/kiconloadertest.cpp new/kiconthemes-5.45.0/tests/kiconloadertest.cpp --- old/kiconthemes-5.44.0/tests/kiconloadertest.cpp 2018-03-03 11:04:07.000000000 +0100 +++ new/kiconthemes-5.45.0/tests/kiconloadertest.cpp 2018-04-07 21:36:06.000000000 +0200 @@ -2,7 +2,7 @@ #include <qapplication.h> #include <QDebug> -#include <QtCore/QDate> +#include <QDate> #include <QPixmap> #include <stdio.h>
