Hello community, here is the log from the commit of package kiconthemes for openSUSE:Factory checked in at 2020-01-14 21:01:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kiconthemes (Old) and /work/SRC/openSUSE:Factory/.kiconthemes.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kiconthemes" Tue Jan 14 21:01:38 2020 rev:79 rq:763463 version:5.66.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kiconthemes/kiconthemes.changes 2019-12-18 14:42:50.917788505 +0100 +++ /work/SRC/openSUSE:Factory/.kiconthemes.new.6675/kiconthemes.changes 2020-01-14 21:04:44.738692389 +0100 @@ -1,0 +2,14 @@ +Sun Jan 5 09:02:10 UTC 2020 - Christophe Giboudeaux <[email protected]> + +- Update to 5.66.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.66.0.php +- Changes since 5.65.0: + * Set breeze as default theme when reading from configuration file + * Qt 5.12 is now required so remove the ifdef + * Deprecate the top-level IconSize() function + * Update the obsolete projects.kde.org URL + * Fix centering scaled icons on high dpi pixmaps + +------------------------------------------------------------------- Old: ---- kiconthemes-5.65.0.tar.xz kiconthemes-5.65.0.tar.xz.sig New: ---- kiconthemes-5.66.0.tar.xz kiconthemes-5.66.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kiconthemes.spec ++++++ --- /var/tmp/diff_new_pack.QhCsyA/_old 2020-01-14 21:04:45.374692684 +0100 +++ /var/tmp/diff_new_pack.QhCsyA/_new 2020-01-14 21:04:45.386692690 +0100 @@ -17,14 +17,14 @@ %define lname libKF5IconThemes5 -%define _tar_path 5.65 +%define _tar_path 5.66 # 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: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_without lang Name: kiconthemes -Version: 5.65.0 +Version: 5.66.0 Release: 0 Summary: Icon GUI utilities License: LGPL-2.1-or-later AND GPL-2.0-or-later ++++++ kiconthemes-5.65.0.tar.xz -> kiconthemes-5.66.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.65.0/CMakeLists.txt new/kiconthemes-5.66.0/CMakeLists.txt --- old/kiconthemes-5.65.0/CMakeLists.txt 2019-12-07 22:44:00.000000000 +0100 +++ new/kiconthemes-5.66.0/CMakeLists.txt 2020-01-04 11:08:50.000000000 +0100 @@ -1,13 +1,13 @@ cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.65.0") # handled by release scripts -set(KF5_DEP_VERSION "5.65.0") # handled by release scripts +set(KF5_VERSION "5.66.0") # handled by release scripts +set(KF5_DEP_VERSION "5.66.0") # handled by release scripts project(KIconThemes VERSION ${KF5_VERSION}) # ECM setup include(FeatureSummary) -find_package(ECM 5.65.0 NO_MODULE) -set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://projects.kde.org/projects/kdesupport/extra-cmake-modules") +find_package(ECM 5.66.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) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH}) @@ -38,7 +38,7 @@ SOVERSION 5) # Dependencies -set(REQUIRED_QT_VERSION 5.11.0) +set(REQUIRED_QT_VERSION 5.12.0) find_package(Qt5Widgets ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE) find_package(Qt5Svg ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE) if (NOT ANDROID) @@ -55,7 +55,7 @@ remove_definitions(-DQT_NO_CAST_FROM_ASCII) remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY) add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) -add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x053f00) +add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054100) add_definitions(-DQT_NO_FOREACH) add_definitions(-DTRANSLATION_DOMAIN=\"kiconthemes5\") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.65.0/po/ia/kiconthemes5.po new/kiconthemes-5.66.0/po/ia/kiconthemes5.po --- old/kiconthemes-5.65.0/po/ia/kiconthemes5.po 2019-12-07 22:44:00.000000000 +0100 +++ new/kiconthemes-5.66.0/po/ia/kiconthemes5.po 2020-01-04 11:08:50.000000000 +0100 @@ -1,15 +1,15 @@ # Copyright (C) YEAR This_file_is_part_of_KDE # This file is distributed under the same license as the PACKAGE package. # -# g.sora <[email protected]>, 2010, 2011, 2012, 2013, 2017. +# g.sora <[email protected]>, 2010, 2011, 2012, 2013, 2017, 2019. msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2019-08-15 02:37+0200\n" -"PO-Revision-Date: 2017-01-15 19:48+0100\n" -"Last-Translator: giovanni <[email protected]>\n" -"Language-Team: Interlingua <[email protected]>\n" +"PO-Revision-Date: 2019-12-22 22:17+0100\n" +"Last-Translator: Giovanni Sora <[email protected]>\n" +"Language-Team: Interlingua <[email protected]>\n" "Language: ia\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -103,8 +103,8 @@ msgstr "Omne" #: kicondialog.cpp:604 -#, fuzzy, kde-format -#| msgid "*.png *.xpm *.svg *.svgz|Icon Files (*.png *.xpm *.svg *.svgz)" +#, kde-format msgid "" "*.ico *.png *.xpm *.svg *.svgz|Icon Files (*.ico *.png *.xpm *.svg *.svgz)" -msgstr "*.png *.xpm *.svg *.svgz|Files de icone (*.png *.xpm *.svg *.svgz)" +msgstr "" +"*.ico *.png *.xpm *.svg *.svgz|Icon Files (*.ico *.png *.xpm *.svg *.svgz)" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.65.0/po/zh_TW/kiconthemes5.po new/kiconthemes-5.66.0/po/zh_TW/kiconthemes5.po --- old/kiconthemes-5.65.0/po/zh_TW/kiconthemes5.po 2019-12-07 22:44:00.000000000 +0100 +++ new/kiconthemes-5.66.0/po/zh_TW/kiconthemes5.po 2020-01-04 11:08:50.000000000 +0100 @@ -17,7 +17,7 @@ "POT-Creation-Date: 2019-08-15 02:37+0200\n" "PO-Revision-Date: 2018-07-09 21:40+0800\n" "Last-Translator: pan93412 <[email protected]>\n" -"Language-Team: Chinese <[email protected]>\n" +"Language-Team: Chinese <[email protected]>\n" "Language: zh_TW\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.65.0/src/CMakeLists.txt new/kiconthemes-5.66.0/src/CMakeLists.txt --- old/kiconthemes-5.65.0/src/CMakeLists.txt 2019-12-07 22:44:00.000000000 +0100 +++ new/kiconthemes-5.66.0/src/CMakeLists.txt 2020-01-04 11:08:50.000000000 +0100 @@ -23,7 +23,7 @@ GROUP_BASE_NAME KF VERSION ${KF5_VERSION} DEPRECATED_BASE_VERSION 0 - DEPRECATION_VERSIONS 4.8 5.0 5.63 5.64 5.65 + DEPRECATION_VERSIONS 4.8 5.0 5.63 5.64 5.65 5.66 EXCLUDE_DEPRECATED_BEFORE_AND_AT ${EXCLUDE_DEPRECATED_BEFORE_AND_AT} ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.65.0/src/kiconengine.cpp new/kiconthemes-5.66.0/src/kiconengine.cpp --- old/kiconthemes-5.65.0/src/kiconengine.cpp 2019-12-07 22:44:00.000000000 +0100 +++ new/kiconthemes-5.66.0/src/kiconengine.cpp 2020-01-04 11:08:50.000000000 +0100 @@ -104,11 +104,13 @@ } QPixmap pix2(size); - pix2.setDevicePixelRatio(pix.devicePixelRatio()); + auto dpr = pix.devicePixelRatio(); + pix2.setDevicePixelRatio(dpr); pix2.fill(QColor(0, 0, 0, 0)); QPainter painter(&pix2); - painter.drawPixmap(QPoint((pix2.width() - pix.width()) / 2, (pix2.height() - pix.height()) / 2), pix); + const QPoint newTopLeft((pix2.width() - pix.width()) / (2*dpr), (pix2.height() - pix.height()) / (2*dpr)); + painter.drawPixmap(newTopLeft, pix); return pix2; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.65.0/src/kiconloader.cpp new/kiconthemes-5.66.0/src/kiconloader.cpp --- old/kiconthemes-5.65.0/src/kiconloader.cpp 2019-12-07 22:44:00.000000000 +0100 +++ new/kiconthemes-5.66.0/src/kiconloader.cpp 2020-01-04 11:08:50.000000000 +0100 @@ -560,9 +560,8 @@ { KSharedConfig::Ptr sharedConfig = KSharedConfig::openConfig(); sharedConfig->reparseConfiguration(); - const QString newThemeName = sharedConfig->group("Icons") - .readEntry("Theme", QString()); + .readEntry("Theme", QStringLiteral("breeze")); if (!newThemeName.isEmpty()) { // If we're refreshing icons the Qt platform plugin has probably // already cached the old theme, which will accidentally filter back @@ -1778,11 +1777,13 @@ } #endif +#if KICONTHEMES_BUILD_DEPRECATED_SINCE(5, 66) int IconSize(KIconLoader::Group group) { KIconLoader *loader = KIconLoader::global(); return loader->currentSize(group); } +#endif QPixmap KIconLoader::unknown() { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.65.0/src/kiconloader.h new/kiconthemes-5.66.0/src/kiconloader.h --- old/kiconthemes-5.65.0/src/kiconloader.h 2019-12-07 22:44:00.000000000 +0100 +++ new/kiconthemes-5.66.0/src/kiconloader.h 2020-01-04 11:08:50.000000000 +0100 @@ -707,11 +707,16 @@ KICONTHEMES_EXPORT QIcon UserIconSet(const QString &name); #endif +#if KICONTHEMES_ENABLE_DEPRECATED_SINCE(5, 66) /** * \relates KIconLoader * Returns the current icon size for a specific group. + * @deprecated since 5.66 Prefer QStyle::pixelMetric. + * If that's not an option for now, use KIconLoader::currentSize. */ +KICONTHEMES_DEPRECATED_VERSION(5, 66, "Use QStyle::pixelMetric or KIconLoader::currentSize") KICONTHEMES_EXPORT int IconSize(KIconLoader::Group group); +#endif namespace KDE { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.65.0/src/kicontheme.cpp new/kiconthemes-5.66.0/src/kicontheme.cpp --- old/kiconthemes-5.65.0/src/kicontheme.cpp 2019-12-07 22:44:00.000000000 +0100 +++ new/kiconthemes-5.66.0/src/kicontheme.cpp 2020-01-04 11:08:50.000000000 +0100 @@ -77,9 +77,7 @@ // since it's almost sure it'll be there static void setBreezeFallback() { -#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0) QIcon::setFallbackThemeName(QStringLiteral("breeze")); -#endif } Q_COREAPP_STARTUP_FUNCTION(setBreezeFallback) @@ -604,7 +602,7 @@ if (theme.isEmpty() || theme == QLatin1String("hicolor")) { // Still no theme, try config with kdeglobals. KConfigGroup cg(KSharedConfig::openConfig(), "Icons"); - theme = cg.readEntry("Theme", QString()); + theme = cg.readEntry("Theme", QStringLiteral("breeze")); } if (theme.isEmpty() || theme == QLatin1String("hicolor")) { // Still no good theme, use default.
