Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kiconthemes for openSUSE:Factory checked in at 2022-02-24 18:19:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kiconthemes (Old) and /work/SRC/openSUSE:Factory/.kiconthemes.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kiconthemes" Thu Feb 24 18:19:37 2022 rev:105 rq:954255 version:5.91.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kiconthemes/kiconthemes.changes 2022-01-11 21:19:00.788948004 +0100 +++ /work/SRC/openSUSE:Factory/.kiconthemes.new.1958/kiconthemes.changes 2022-02-24 18:21:49.890684299 +0100 @@ -1,0 +2,12 @@ +Sun Feb 6 10:17:02 UTC 2022 - Christophe Giboudeaux <[email protected]> + +- Update to 5.91.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/5/5.91.0 +- Changes since 5.90.0: + * Check executables exist in PATH before passing them to QProcess + * Add Linux Qt6 CI + * Don't create a new KColorScheme for each KIconColors + +------------------------------------------------------------------- Old: ---- kiconthemes-5.90.0.tar.xz kiconthemes-5.90.0.tar.xz.sig New: ---- kiconthemes-5.91.0.tar.xz kiconthemes-5.91.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kiconthemes.spec ++++++ --- /var/tmp/diff_new_pack.YLspUW/_old 2022-02-24 18:21:50.406684161 +0100 +++ /var/tmp/diff_new_pack.YLspUW/_new 2022-02-24 18:21:50.406684161 +0100 @@ -17,14 +17,14 @@ %define lname libKF5IconThemes5 -%define _tar_path 5.90 +%define _tar_path 5.91 # 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 released Name: kiconthemes -Version: 5.90.0 +Version: 5.91.0 Release: 0 Summary: Icon GUI utilities License: LGPL-2.1-or-later AND GPL-2.0-or-later @@ -112,14 +112,12 @@ %{_kf5_debugdir}/*.renamecategories %files devel +%dir %{_kf5_plugindir}/designer %{_kf5_bindir}/kiconfinder5 %{_kf5_libdir}/libKF5IconThemes.so %{_kf5_libdir}/cmake/KF5IconThemes/ -%{_kf5_includedir}/*.h -%dir %{_kf5_includedir}/*/ -%dir %{_kf5_plugindir}/designer +%{_kf5_includedir}/KIconThemes %{_kf5_plugindir}/designer/kiconthemes5widgets.so -%{_kf5_includedir}/*/ %{_kf5_mkspecsdir}/qt_KIconThemes.pri %changelog ++++++ kiconthemes-5.90.0.tar.xz -> kiconthemes-5.91.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.90.0/.gitlab-ci.yml new/kiconthemes-5.91.0/.gitlab-ci.yml --- old/kiconthemes-5.90.0/.gitlab-ci.yml 2022-01-01 13:31:29.000000000 +0100 +++ new/kiconthemes-5.91.0/.gitlab-ci.yml 2022-02-05 22:24:25.000000000 +0100 @@ -5,3 +5,4 @@ - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.yml - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/android.yml - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd.yml + - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux-qt6.yml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.90.0/CMakeLists.txt new/kiconthemes-5.91.0/CMakeLists.txt --- old/kiconthemes-5.90.0/CMakeLists.txt 2022-01-01 13:31:29.000000000 +0100 +++ new/kiconthemes-5.91.0/CMakeLists.txt 2022-02-05 22:24:25.000000000 +0100 @@ -1,12 +1,12 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "5.90.0") # handled by release scripts -set(KF_DEP_VERSION "5.90.0") # handled by release scripts +set(KF_VERSION "5.91.0") # handled by release scripts +set(KF_DEP_VERSION "5.91.0") # handled by release scripts project(KIconThemes VERSION ${KF_VERSION}) # ECM setup include(FeatureSummary) -find_package(ECM 5.90.0 NO_MODULE) +find_package(ECM 5.91.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) @@ -98,7 +98,7 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kiconthemes_version.h - DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF} COMPONENT Devel + DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF}/KIconThemes COMPONENT Devel ) feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.90.0/po/zh_CN/kiconthemes5.po new/kiconthemes-5.91.0/po/zh_CN/kiconthemes5.po --- old/kiconthemes-5.90.0/po/zh_CN/kiconthemes5.po 2022-01-01 13:31:29.000000000 +0100 +++ new/kiconthemes-5.91.0/po/zh_CN/kiconthemes5.po 2022-02-05 22:24:25.000000000 +0100 @@ -17,7 +17,7 @@ "Project-Id-Version: kdeorg\n" "Report-Msgid-Bugs-To: https://bugs.kde.org\n" "POT-Creation-Date: 2021-11-30 00:41+0000\n" -"PO-Revision-Date: 2021-12-22 14:05\n" +"PO-Revision-Date: 2022-01-08 15:22\n" "Last-Translator: \n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.90.0/src/kiconcolors.cpp new/kiconthemes-5.91.0/src/kiconcolors.cpp --- old/kiconthemes-5.90.0/src/kiconcolors.cpp 2022-01-01 13:31:29.000000000 +0100 +++ new/kiconthemes-5.91.0/src/kiconcolors.cpp 2022-02-05 22:24:25.000000000 +0100 @@ -56,8 +56,13 @@ QColor neutralText; QColor negativeText; QColor activeText; + static std::optional<QPalette> lastPalette; + static std::optional<KColorScheme> lastColorScheme; }; +std::optional<QPalette> KIconColorsPrivate::lastPalette; +std::optional<KColorScheme> KIconColorsPrivate::lastColorScheme; + KIconColors::KIconColors() : KIconColors(QPalette()) { @@ -98,11 +103,15 @@ d->highlight = palette.highlight().color(); d->highlightedText = palette.highlightedText().color(); - KColorScheme scheme(QPalette::Active, KColorScheme::Window); - d->positiveText = scheme.foreground(KColorScheme::PositiveText).color().name(); - d->neutralText = scheme.foreground(KColorScheme::NeutralText).color().name(); - d->negativeText = scheme.foreground(KColorScheme::NegativeText).color().name(); - d->activeText = scheme.foreground(KColorScheme::ActiveText).color().name(); + if (!d->lastColorScheme || !d->lastPalette || palette != d->lastPalette) { + d->lastPalette = palette; + d->lastColorScheme = KColorScheme(QPalette::Active, KColorScheme::Window); + } + + d->positiveText = d->lastColorScheme->foreground(KColorScheme::PositiveText).color().name(); + d->neutralText = d->lastColorScheme->foreground(KColorScheme::NeutralText).color().name(); + d->negativeText = d->lastColorScheme->foreground(KColorScheme::NegativeText).color().name(); + d->activeText = d->lastColorScheme->foreground(KColorScheme::ActiveText).color().name(); } KIconColors::~KIconColors() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kiconthemes-5.90.0/src/tools/ksvg2icns/ksvg2icns.cpp new/kiconthemes-5.91.0/src/tools/ksvg2icns/ksvg2icns.cpp --- old/kiconthemes-5.90.0/src/tools/ksvg2icns/ksvg2icns.cpp 2022-01-01 13:31:29.000000000 +0100 +++ new/kiconthemes-5.91.0/src/tools/ksvg2icns/ksvg2icns.cpp 2022-02-05 22:24:25.000000000 +0100 @@ -15,6 +15,7 @@ #include <QGuiApplication> #include <QPainter> +#include <QStandardPaths> #include <QSvgRenderer> #include "../../../kiconthemes_version.h" @@ -119,6 +120,10 @@ } // convert the iconset to icns using the "iconutil" command + const QString iconutilExec = QStandardPaths::findExecutable(QStringLiteral("iconutil")); + if (iconutilExec.isEmpty()) { + EXIT_ON_ERROR(false, "Could not find iconutil executable in PATH.\n"); + } const QString outIcns = QFileInfo(svgFileName).baseName() + QStringLiteral(".icns"); @@ -128,7 +133,7 @@ QProcess iconUtil; - iconUtil.start(QStringLiteral("iconutil"), utilArgs, QIODevice::ReadOnly); + iconUtil.start(iconutilExec, utilArgs, QIODevice::ReadOnly); isOk = iconUtil.waitForFinished(-1); EXIT_ON_ERROR(isOk, "Unable to launch iconutil: %s\n", qPrintable(iconUtil.errorString()));
