forked from pool/applet-window-buttons
Compare commits
20 Commits
592d7845c8
...
fc6c3d6b9f
Author | SHA256 | Date | |
---|---|---|---|
fc6c3d6b9f | |||
|
e9a9c2d56d | ||
|
9e626f95b2 | ||
7367f57ba8 | |||
|
7f60b64672 | ||
|
bf07990461 | ||
5cbee398a4 | |||
|
3412ba9419 | ||
bfb944de87 | |||
|
e76a967ce9 | ||
c6d10df5e7 | |||
9d8f62ca56 | |||
aee9297bb3 | |||
|
0d498a10d8 | ||
|
9f8d991227 | ||
456a040d5e | |||
7b231e6d0f | |||
25cb8847b5 | |||
a66bf0ae2c | |||
01f8f77481 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:76508d05238d74cddf6f88a8260d720c5d2288f8bd537bf59b9d1ce5151c1c91
|
||||
size 58644
|
3
applet-window-buttons-0.11.1.tar.gz
Normal file
3
applet-window-buttons-0.11.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0588a3bba77206766549139b4bee1a08b7be7a7113e658f746709b9ee4d3017a
|
||||
size 58160
|
@@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 15 18:27:00 UTC 2023 - Cor Blom <cornelis@solcon.nl>
|
||||
|
||||
- Add kdecoration-5.27.patch to fix build with Plasma 5.27
|
||||
- Increase version requirement for plasma and kdecoration to 5.27
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 12 16:43:41 UTC 2022 - Cor Blom <cornelis@solcon.nl>
|
||||
|
||||
- Update to 0.11.1:
|
||||
* Add missing version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 12 11:50:06 UTC 2022 - Cor Blom <cornelis@solcon.nl>
|
||||
|
||||
- Uupdate to 0.11.0:
|
||||
* support Plasma 5.24 way of discovering themes from theme engines
|
||||
* hide when preserveemptyspace is selected
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 5 13:48:51 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Fix installation (again) when using plasma-framework 5.89.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 4 16:49:26 UTC 2021 - Cor Blom <cornelis@solcon.nl>
|
||||
|
||||
- Update to 0.10.1:
|
||||
* fix glitches with slide-in/out animations
|
||||
* improve cpu and hard disk usage
|
||||
* remove all workarounds related to faulty buttons painting
|
||||
* respect and trust bug fixes in decorations provided with Plasma 5.23.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 21 12:58:27 UTC 2021 - Cor Blom <cornelis@solcon.nl>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package applet-window-buttons
|
||||
#
|
||||
# Copyright (c) 2021 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
|
||||
@@ -16,17 +16,19 @@
|
||||
#
|
||||
|
||||
|
||||
%define kf5_version 5.38
|
||||
%define qt5_version 5.9
|
||||
%define kf5_version 5.81
|
||||
%define qt5_version 5.15
|
||||
|
||||
Name: applet-window-buttons
|
||||
Version: 0.10.0
|
||||
Version: 0.11.1
|
||||
Release: 0
|
||||
Summary: Plasma 5 applet to show window buttons in panels
|
||||
License: GPL-2.0-or-later
|
||||
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: kwindowsystem-devel >= %{kf5_version}
|
||||
BuildRequires: kxmlgui-devel >= %{kf5_version}
|
||||
BuildRequires: libSM-devel
|
||||
BuildRequires: plasma-framework-devel >= %{kf5_version}
|
||||
BuildRequires: plasma5-workspace-devel >= 5.23
|
||||
BuildRequires: cmake(KDecoration2) >= 5.23
|
||||
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 @@ one's panels. This plasmoid is coming from Latte land, but it can also
|
||||
support Plasma panels.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build
|
||||
@@ -69,7 +71,7 @@ support Plasma panels.
|
||||
%{_kf5_qmldir}/org/kde/appletdecoration
|
||||
%dir %{_kf5_plasmadir}/plasmoids
|
||||
%{_kf5_plasmadir}/plasmoids/org.kde.windowbuttons
|
||||
%if %{pkg_vcmp plasma-framework-devel < 5.84}
|
||||
%if %{pkg_vcmp cmake(KF5Plasma) < 5.84} || %{pkg_vcmp cmake(KF5Plasma) >= 5.89}
|
||||
%{_kf5_servicesdir}/plasma-applet-org.kde.windowbuttons.desktop
|
||||
%endif
|
||||
%{_kf5_appstreamdir}/org.kde.windowbuttons.appdata.xml
|
||||
|
52
kdecoration-5.27.patch
Normal file
52
kdecoration-5.27.patch
Normal file
@@ -0,0 +1,52 @@
|
||||
From 924994e10402921bf22fefc099bca2914989081c Mon Sep 17 00:00:00 2001
|
||||
From: Dmitry Chermnykh <76gh6rvso@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 "mvourlakos@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;
|
Reference in New Issue
Block a user