From unknown Wed Jun 18 23:11:29 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#66861 <66861@debbugs.gnu.org> To: bug#66861 <66861@debbugs.gnu.org> Subject: Status: [PATCH 5/7] gnu: Add plasma-shell-applet-window-buttons. Reply-To: bug#66861 <66861@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:11:29 +0000 retitle 66861 [PATCH 5/7] gnu: Add plasma-shell-applet-window-buttons. reassign 66861 guix-patches submitter 66861 Sughosha severity 66861 normal tag 66861 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 31 16:20:35 2023 Received: (at submit) by debbugs.gnu.org; 31 Oct 2023 20:20:35 +0000 Received: from localhost ([127.0.0.1]:49275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxvE2-00076d-Nt for submit@debbugs.gnu.org; Tue, 31 Oct 2023 16:20:35 -0400 Received: from lists.gnu.org ([2001:470:142::17]:34004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxvDn-00074g-Pb for submit@debbugs.gnu.org; Tue, 31 Oct 2023 16:20:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qxvD9-000868-50 for guix-patches@gnu.org; Tue, 31 Oct 2023 16:19:39 -0400 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qxvD6-0003SR-SK for guix-patches@gnu.org; Tue, 31 Oct 2023 16:19:38 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id E967744E7B; Tue, 31 Oct 2023 21:19:29 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4j9A93q45WTN; Tue, 31 Oct 2023 21:19:28 +0100 (CET) From: Sughosha DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1698783568; bh=ZVem1sic58DTxHkT23S4t2FOvZYSMGTHIATMzBZ8AWQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=KKw5Baau9CfgOWqQTwJ2zjVRtuAwSmS+lem4joinr5WW4cOaZlsqZ/YoPWMU9t44F wPyjuIGxX/ygOu2zXv/zuzcCEQ89uCJw1ykJeq4Qb7ko4r3uPwuSfNvVWclfqCPM/0 uf20fkec/sSogO1dx62Suyn8whl2FsaXknZAUofQReetWIt02FRbT58IKLrFzIoclr M8bZOwSOKg3eGk7Rty44wMjlbwyH7UmOL0d0QSCqfIUNTTHIb4I6kdlq/D5RFnPNMX CHqcqD8q7/i/6JztG0dAAYWEE+vPFc0UpJDXrYRfm4ypnhTrYokP64PE1MEzeJ5/qz Pl3/Iviy91WUQ== To: guix-patches@gnu.org Subject: [PATCH 5/7] gnu: Add plasma-shell-applet-window-buttons. Date: Tue, 31 Oct 2023 21:18:59 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=sughosha@disroot.org; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: Sughosha X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * gnu/packages/kde-xyz.scm (plasma-shell-applet-window-buttons): New variable. * gnu/packages/patches/plasma-shell-extension-window-buttons-applet-fix-build.patch: New file. * gnu/local.mk: Register it. Change-Id: I6e9d9b6acda80d038060b04502aaa40c1cb548a3 --- gnu/local.mk | 1 + gnu/packages/kde-xyz.scm | 37 +++++++++++++ ...sion-window-buttons-applet-fix-build.patch | 52 +++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 gnu/packages/patches/plasma-shell-extension-window-buttons-applet-fix-build.patch diff --git a/gnu/local.mk b/gnu/local.mk index 03e8c28d45..41e3b71346 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1747,6 +1747,7 @@ dist_patch_DATA = \ %D%/packages/patches/petri-foo-0.1.87-fix-recent-file-not-exist.patch \ %D%/packages/patches/php-fix-streams-copy-length.patch \ %D%/packages/patches/plasma-framework-fix-KF5PlasmaMacros.cmake.patch \ + %D%/packages/patches/plasma-shell-extension-window-buttons-applet-fix-build.patch \ %D%/packages/patches/pocketfft-cpp-prefer-preprocessor-if.patch \ %D%/packages/patches/pokerth-boost.patch \ %D%/packages/patches/ppsspp-disable-upgrade-and-gold.patch \ diff --git a/gnu/packages/kde-xyz.scm b/gnu/packages/kde-xyz.scm index cde12d45b4..42d5046cf2 100644 --- a/gnu/packages/kde-xyz.scm +++ b/gnu/packages/kde-xyz.scm @@ -152,3 +152,40 @@ (define-public plasma-shell-applet-window-appmenu "This plasmoid shows the current window appmenu in Plasma panels or Latte Dock.") (license license:gpl2+)))) + +(define-public plasma-shell-applet-window-buttons + (package + (name "plasma-shell-applet-window-buttons") + (version "0.11.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/psifidotos/applet-window-buttons") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1wbiw5gz6fp8rf2f8sd3ibgkx9abvi0d3s0xz6m3p6n4cvdky323")) + (patches + (search-patches + "plasma-shell-extension-window-buttons-applet-fix-build.patch")))) + (build-system qt-build-system) + (native-inputs + (list extra-cmake-modules)) + (inputs + (list kcmutils + kconfigwidgets + kcoreaddons + kdeclarative + ki18n + kservice + kwindowsystem + plasma-framework + qtdeclarative-5)) + (propagated-inputs + (list kdecoration)) + (home-page "https://github.com/psifidotos/applet-window-buttons") + (synopsis "Window buttons in Plasma panels") + (description + "This plasmoid shows window buttons in Plasma panels or Latte Dock.") + (license license:gpl2+))) diff --git a/gnu/packages/patches/plasma-shell-extension-window-buttons-applet-fix-build.patch b/gnu/packages/patches/plasma-shell-extension-window-buttons-applet-fix-build.patch new file mode 100644 index 0000000000..afbb62eb30 --- /dev/null +++ b/gnu/packages/patches/plasma-shell-extension-window-buttons-applet-fix-build.patch @@ -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; -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 31 16:39:43 2023 Received: (at control) by debbugs.gnu.org; 31 Oct 2023 20:39:43 +0000 Received: from localhost ([127.0.0.1]:49343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxvWZ-0001m2-IU for submit@debbugs.gnu.org; Tue, 31 Oct 2023 16:39:43 -0400 Received: from layka.disroot.org ([178.21.23.139]:54940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxvWW-0001lr-9Y for control@debbugs.gnu.org; Tue, 31 Oct 2023 16:39:42 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1633B44EA0 for ; Tue, 31 Oct 2023 21:39:05 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dgq8EyLlFHYQ for ; Tue, 31 Oct 2023 21:39:04 +0100 (CET) Date: Tue, 31 Oct 2023 21:39:03 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1698784744; bh=xNBGfLijjmhdmM4PyHvP7HeUOqufC4Iw7KHNniJH5UQ=; h=Date:From:To:Subject; b=f8fBOccjKocpN4AAg5AduYNJKSch8bnWygHA1OJPh78ZRqtHy+otCK+9M2BqSweBr ushy3F6R9w7o+UTU1h/YY607hUimfy/+rTXVVzPg9TDZY38dqQUyY8W1O5bNWNg3fb z0WCAeP++rFgUXpcEztac08D6+YODWQ9q8ds43h34iGv1GG6tbNlC1EUKMkq64sZOl NF1qLWcoXMu0knC9+0T5b21GSsCGNC/RZmqBjZAtsQ7QQtbCwp1evB4u7sfYN4llSj zZm2PFBKVVNw7Qx1DCKsG/wOql9tECitBRp+1jY2ABEoyfDNKQ+1HbVcrA32+N+ARi jEBqFUoSGWXmg== From: Sughosha To: control@debbugs.gnu.org Subject: Message-ID: <06D9CCE6-7AB5-4878-A922-0DE5DD9502AA@disroot.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----CQTKBDDJQY0AQUOO2R2LHCP5NCBCQR Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 66856 66855 66860 66854 66859 66861 66857 66858 quit merge 66856 66855 66860 66854 66859 66861 66857 66858 quit Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 HTML_MESSAGE BODY: HTML included in message 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) ------CQTKBDDJQY0AQUOO2R2LHCP5NCBCQR Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable merge 66856 66855 66860 66854 66859 66861 66857 66858 quit ------CQTKBDDJQY0AQUOO2R2LHCP5NCBCQR Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
merge 66856 66855 66860 66854 = 66859 66861 66857 66858
quit
------CQTKBDDJQY0AQUOO2R2LHCP5NCBCQR--