Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kde-gtk-config6 for openSUSE:Factory checked in at 2024-11-06 16:50:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kde-gtk-config6 (Old) and /work/SRC/openSUSE:Factory/.kde-gtk-config6.new.2020 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kde-gtk-config6" Wed Nov 6 16:50:19 2024 rev:15 rq:1221527 version:6.2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/kde-gtk-config6/kde-gtk-config6.changes 2024-10-24 15:41:03.259874742 +0200 +++ /work/SRC/openSUSE:Factory/.kde-gtk-config6.new.2020/kde-gtk-config6.changes 2024-11-06 16:51:05.597914661 +0100 @@ -1,0 +2,10 @@ +Tue Nov 5 13:30:14 UTC 2024 - Fabian Vogt <fab...@ritter-vogt.de> + +- Update to 6.2.3: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.2.3 +- Changes since 6.2.2: + * update version for new release + * Gracefully handle decoration plugin failing to load + +------------------------------------------------------------------- Old: ---- kde-gtk-config-6.2.2.tar.xz kde-gtk-config-6.2.2.tar.xz.sig New: ---- kde-gtk-config-6.2.3.tar.xz kde-gtk-config-6.2.3.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kde-gtk-config6.spec ++++++ --- /var/tmp/diff_new_pack.CsDZuq/_old 2024-11-06 16:51:07.489993609 +0100 +++ /var/tmp/diff_new_pack.CsDZuq/_new 2024-11-06 16:51:07.501994109 +0100 @@ -25,7 +25,7 @@ %{!?_plasma6_version: %define _plasma6_version %(echo %{_plasma6_bugfix} | awk -F. '{print $1"."$2}')} %bcond_without released Name: kde-gtk-config6 -Version: 6.2.2 +Version: 6.2.3 Release: 0 Summary: Daemon for GTK2 and GTK3 Applications Appearance Under KDE License: GPL-3.0-or-later AND LGPL-3.0-or-later @@ -111,6 +111,7 @@ %{_kf6_sharedir}/kcm-gtk-module/ %{_kf6_sharedir}/kconf_update/gtkconfig.upd %{_kf6_sharedir}/kconf_update/remove_window_decorations_from_gtk_css.sh +%{_kf6_debugdir}/kde-gtk-config.categories %files gtk3 %license LICENSES/* ++++++ kde-gtk-config-6.2.2.tar.xz -> kde-gtk-config-6.2.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kde-gtk-config-6.2.2/CMakeLists.txt new/kde-gtk-config-6.2.3/CMakeLists.txt --- old/kde-gtk-config-6.2.2/CMakeLists.txt 2024-10-22 14:55:30.000000000 +0200 +++ new/kde-gtk-config-6.2.3/CMakeLists.txt 2024-11-05 13:35:02.000000000 +0100 @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.16) project(kde-gtk-config) -set(PROJECT_VERSION "6.2.2") +set(PROJECT_VERSION "6.2.3") set(QT_MIN_VERSION "6.7.0") set(KF6_MIN_VERSION "6.5.0") @@ -23,6 +23,7 @@ include(KDECompilerSettings NO_POLICY_SCOPE) include(KDEClangFormat) include(KDEGitCommitHooks) +include(ECMQtDeclareLoggingCategory) find_package(Qt6 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS DBus Svg) find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS ColorScheme CoreAddons Config GuiAddons DBusAddons WindowSystem) @@ -58,6 +59,12 @@ add_subdirectory(color-reload-module) add_subdirectory(window-decorations-reload-module) +ecm_qt_install_logging_categories( + EXPORT KDE_GTK_CONFIG + FILE kde-gtk-config.categories + DESTINATION ${KDE_INSTALL_LOGGINGCATEGORIESDIR} +) + # add clang-format target for all our real source files file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h) kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kde-gtk-config-6.2.2/kded/kwin_bridge/CMakeLists.txt new/kde-gtk-config-6.2.3/kded/kwin_bridge/CMakeLists.txt --- old/kde-gtk-config-6.2.2/kded/kwin_bridge/CMakeLists.txt 2024-10-22 14:55:30.000000000 +0200 +++ new/kde-gtk-config-6.2.3/kded/kwin_bridge/CMakeLists.txt 2024-11-05 13:35:02.000000000 +0100 @@ -18,3 +18,8 @@ KF6::CoreAddons Qt::Svg ) + +ecm_qt_declare_logging_category(KWinBridge HEADER debug.h IDENTIFIER KWINBRIDGE_LOG CATEGORY_NAME org.kde.plasma.gtkconfig.kwinbridge + DESCRIPTION "KDE GTK Config KWin Bridge" + EXPORT KDE_GTK_CONFIG +) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kde-gtk-config-6.2.2/kded/kwin_bridge/dummydecorationbridge.cpp new/kde-gtk-config-6.2.3/kded/kwin_bridge/dummydecorationbridge.cpp --- old/kde-gtk-config-6.2.2/kded/kwin_bridge/dummydecorationbridge.cpp 2024-10-22 14:55:30.000000000 +0200 +++ new/kde-gtk-config-6.2.3/kded/kwin_bridge/dummydecorationbridge.cpp 2024-11-05 13:35:02.000000000 +0100 @@ -5,6 +5,7 @@ */ #include <QCoreApplication> +#include <QDebug> #include <QMouseEvent> #include <KConfigGroup> @@ -16,6 +17,7 @@ #include <KPluginMetaData> #include <KSharedConfig> +#include "debug.h" #include "decorationpainter.h" #include "dummydecoratedclient.h" #include "dummydecorationbridge.h" @@ -48,20 +50,27 @@ const QString pluginPath = windowDecorationPluginPath(decorationTheme); m_pluginLoader.setFileName(pluginPath); m_factory = qobject_cast<KPluginFactory *>(m_pluginLoader.instance()); + if (m_factory) { const QVariantMap args({{QStringLiteral("bridge"), QVariant::fromValue(this)}}); m_decoration = m_factory->create<KDecoration2::Decoration>(m_factory, QVariantList({args})); - } - auto decorationSettings = std::make_shared<KDecoration2::DecorationSettings>(this); - m_decoration->setSettings(decorationSettings); - m_decoration->init(); - - // Update decoration settings, e.g. Breeze's "Draw a circle around close button" - if (m_settings) { - Q_EMIT m_settings->decorationSettings()->reconfigured(); + if (m_decoration) { + auto decorationSettings = std::make_shared<KDecoration2::DecorationSettings>(this); + m_decoration->setSettings(decorationSettings); + m_decoration->init(); + + // Update decoration settings, e.g. Breeze's "Draw a circle around close button" + if (m_settings) { + Q_EMIT m_settings->decorationSettings()->reconfigured(); + } + enableAnimations(); + } else { + qCWarning(KWINBRIDGE_LOG) << "Loading decoration" << pluginPath << "failed" << m_pluginLoader.errorString(); + } + } else { + qCWarning(KWINBRIDGE_LOG) << "Loading factory for decoration" << pluginPath << "failed" << m_pluginLoader.errorString(); } - enableAnimations(); } DummyDecorationBridge::~DummyDecorationBridge()