Hello community, here is the log from the commit of package frameworkintegration for openSUSE:Factory checked in at 2020-03-19 19:41:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/frameworkintegration (Old) and /work/SRC/openSUSE:Factory/.frameworkintegration.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "frameworkintegration" Thu Mar 19 19:41:31 2020 rev:81 rq:785294 version:5.68.0 Changes: -------- --- /work/SRC/openSUSE:Factory/frameworkintegration/frameworkintegration.changes 2020-02-14 16:32:27.063421113 +0100 +++ /work/SRC/openSUSE:Factory/.frameworkintegration.new.3160/frameworkintegration.changes 2020-03-19 19:43:29.659959113 +0100 @@ -1,0 +2,11 @@ +Sun Mar 8 09:17:33 UTC 2020 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 5.68.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.68.0.php +- Changes since 5.67.0: + * Make it compile against qt5.15. SkipEmptyParts is part of Qt::. + * [KStyle] Set the color of KMessageWidgets to the correct one from the current color scheme + +------------------------------------------------------------------- Old: ---- frameworkintegration-5.67.0.tar.xz frameworkintegration-5.67.0.tar.xz.sig New: ---- frameworkintegration-5.68.0.tar.xz frameworkintegration-5.68.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ frameworkintegration.spec ++++++ --- /var/tmp/diff_new_pack.gjJP5X/_old 2020-03-19 19:43:30.291959480 +0100 +++ /var/tmp/diff_new_pack.gjJP5X/_new 2020-03-19 19:43:30.295959483 +0100 @@ -17,7 +17,7 @@ %define lname libKF5Style5 -%define _tar_path 5.67 +%define _tar_path 5.68 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) @@ -25,7 +25,7 @@ # Only needed for the package signature condition %bcond_without lang Name: frameworkintegration -Version: 5.67.0 +Version: 5.68.0 Release: 0 Summary: Plugins responsible for better integration of Qt applications in KDE Workspace License: LGPL-2.1-or-later ++++++ frameworkintegration-5.67.0.tar.xz -> frameworkintegration-5.68.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/frameworkintegration-5.67.0/.gitignore new/frameworkintegration-5.68.0/.gitignore --- old/frameworkintegration-5.67.0/.gitignore 2020-02-01 09:59:12.000000000 +0100 +++ new/frameworkintegration-5.68.0/.gitignore 2020-03-07 09:49:51.000000000 +0100 @@ -19,3 +19,4 @@ /build*/ CMakeLists.txt.user* *.unc-backup* +.cmake/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/frameworkintegration-5.67.0/CMakeLists.txt new/frameworkintegration-5.68.0/CMakeLists.txt --- old/frameworkintegration-5.67.0/CMakeLists.txt 2020-02-01 09:59:12.000000000 +0100 +++ new/frameworkintegration-5.68.0/CMakeLists.txt 2020-03-07 09:49:51.000000000 +0100 @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.67.0") # handled by release scripts -set(KF5_DEP_VERSION "5.67.0") # handled by release scripts +set(KF5_VERSION "5.68.0") # handled by release scripts +set(KF5_DEP_VERSION "5.68.0") # handled by release scripts project(FrameworkIntegration VERSION ${KF5_VERSION}) include(FeatureSummary) -find_package(ECM 5.67.0 NO_MODULE) +find_package(ECM 5.68.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) @@ -48,7 +48,7 @@ find_package(AppStreamQt 0.10.4) endif() add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00) -add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054200) +add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x054300) add_definitions(-DQT_NO_FOREACH) add_subdirectory(src) if (BUILD_TESTING) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/frameworkintegration-5.67.0/src/kpackage-install-handlers/kns/main.cpp new/frameworkintegration-5.68.0/src/kpackage-install-handlers/kns/main.cpp --- old/frameworkintegration-5.67.0/src/kpackage-install-handlers/kns/main.cpp 2020-02-01 09:59:12.000000000 +0100 +++ new/frameworkintegration-5.68.0/src/kpackage-install-handlers/kns/main.cpp 2020-03-07 09:49:51.000000000 +0100 @@ -65,7 +65,11 @@ return 1; } +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) const auto pathParts = url.path().split(QLatin1Char('/'), QString::SkipEmptyParts); +#else + const auto pathParts = url.path().split(QLatin1Char('/'), Qt::SkipEmptyParts); +#endif if (pathParts.size() != 2) { qWarning() << "wrong format in the url path" << url << pathParts; return 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/frameworkintegration-5.67.0/src/kstyle/kstyle.cpp new/frameworkintegration-5.68.0/src/kstyle/kstyle.cpp --- old/frameworkintegration-5.67.0/src/kstyle/kstyle.cpp 2020-02-01 09:59:12.000000000 +0100 +++ new/frameworkintegration-5.68.0/src/kstyle/kstyle.cpp 2020-03-07 09:49:51.000000000 +0100 @@ -57,6 +57,7 @@ #include <kconfiggroup.h> #include <kiconloader.h> +#include <KMessageWidget> #include <kcolorscheme.h> // ---------------------------------------------------------------------------- @@ -208,6 +209,27 @@ QObject::connect(shortcut, &QShortcut::activated, button, &QPushButton::click); } } + if (auto messageWidget = qobject_cast<KMessageWidget*>(w)) { + KColorScheme scheme; + QColor color; + QPalette palette = messageWidget->palette(); + switch (messageWidget->messageType()) { + case KMessageWidget::Positive: + color = scheme.foreground(KColorScheme::PositiveText).color(); + break; + case KMessageWidget::Information: + color = scheme.foreground(KColorScheme::ActiveText).color(); + break; + case KMessageWidget::Warning: + color = scheme.foreground(KColorScheme::NeutralText).color(); + break; + case KMessageWidget::Error: + color = scheme.foreground(KColorScheme::NegativeText).color(); + break; + } + palette.setColor(QPalette::Window, color); + messageWidget->setPalette(palette); + } QCommonStyle::polish(w); }