Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package applet-window-buttons for openSUSE:Factory checked in at 2023-02-16 16:56:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/applet-window-buttons (Old) and /work/SRC/openSUSE:Factory/.applet-window-buttons.new.22824 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "applet-window-buttons" Thu Feb 16 16:56:17 2023 rev:15 rq:1066030 version:0.11.1 Changes: -------- --- /work/SRC/openSUSE:Factory/applet-window-buttons/applet-window-buttons.changes 2022-02-13 00:15:45.188176979 +0100 +++ /work/SRC/openSUSE:Factory/.applet-window-buttons.new.22824/applet-window-buttons.changes 2023-02-16 16:56:33.394869622 +0100 @@ -1,0 +2,6 @@ +Wed Feb 15 18:27:00 UTC 2023 - Cor Blom <corne...@solcon.nl> + +- Add kdecoration-5.27.patch to fix build with Plasma 5.27 +- Increase version requirement for plasma and kdecoration to 5.27 + +------------------------------------------------------------------- New: ---- kdecoration-5.27.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ applet-window-buttons.spec ++++++ --- /var/tmp/diff_new_pack.yHu98J/_old 2023-02-16 16:56:34.006872068 +0100 +++ /var/tmp/diff_new_pack.yHu98J/_new 2023-02-16 16:56:34.014872100 +0100 @@ -1,7 +1,7 @@ # # spec file for package applet-window-buttons # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,8 @@ Group: System/GUI/KDE URL: https://github.com/psifidotos/applet-window-buttons Source: https://github.com/psifidotos/applet-window-buttons/archive/%{version}/%{name}-%{version}.tar.gz +# Fix for building with 5.27, taken from: ;https://github.com/psifidotos/applet-window-buttons/pull/191 +Patch0: kdecoration-5.27.patch BuildRequires: extra-cmake-modules BuildRequires: fdupes BuildRequires: kconfig-devel >= %{kf5_version} @@ -39,8 +41,8 @@ BuildRequires: kxmlgui-devel >= %{kf5_version} BuildRequires: libSM-devel BuildRequires: plasma-framework-devel >= %{kf5_version} -BuildRequires: plasma5-workspace-devel >= 5.24 -BuildRequires: cmake(KDecoration2) >= 5.24 +BuildRequires: plasma5-workspace-devel >= 5.27 +BuildRequires: cmake(KDecoration2) >= 5.27 BuildRequires: cmake(Qt5Core) >= %{qt5_version} BuildRequires: cmake(Qt5DBus) >= %{qt5_version} BuildRequires: cmake(Qt5Quick) >= %{qt5_version} @@ -54,7 +56,7 @@ support Plasma panels. %prep -%autosetup +%autosetup -p1 %build %cmake_kf5 -d build ++++++ kdecoration-5.27.patch ++++++ >From 924994e10402921bf22fefc099bca2914989081c Mon Sep 17 00:00:00 2001 From: Dmitry Chermnykh <76gh6r...@relay.firefox.com> Date: Mon, 23 Jan 2023 21:21:47 +0500 Subject: [PATCH] Support building on plasma 5.26.90+ --- CMakeLists.txt | 2 +- libappletdecoration/previewclient.cpp | 5 +++++ libappletdecoration/previewclient.h | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5ecec88..43adaef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ set(EMAIL "mvourla...@gmail.com") set(QT_MIN_VERSION "5.15.0") set(KF5_MIN_VERSION "5.81.0") -set(KDECORATION2_MIN_VERSION "5.24.0") +set(KDECORATION2_MIN_VERSION "5.26.90") set(KF5_LOCALE_PREFIX "") diff --git a/libappletdecoration/previewclient.cpp b/libappletdecoration/previewclient.cpp index 2cf184b..3ffe358 100644 --- a/libappletdecoration/previewclient.cpp +++ b/libappletdecoration/previewclient.cpp @@ -263,6 +263,11 @@ WId PreviewClient::windowId() const return 0; } +QString PreviewClient::windowClass() const +{ + return QString("kwin_preview"); +} + QPalette PreviewClient::palette() const { return m_palette->palette(); diff --git a/libappletdecoration/previewclient.h b/libappletdecoration/previewclient.h index c479acc..e5fbe7a 100644 --- a/libappletdecoration/previewclient.h +++ b/libappletdecoration/previewclient.h @@ -74,6 +74,7 @@ class PreviewClient : public QObject, public KDecoration2::ApplicationMenuEnable QString caption() const override; WId decorationId() const override; WId windowId() const override; + QString windowClass() const override; int desktop() const override; QIcon icon() const override; bool isActive() const override;