X-Loop: help-debbugs@HIDDEN Subject: [bug#66861] [PATCH 5/7] gnu: Add plasma-shell-applet-window-buttons. Resent-From: Sughosha <sughosha@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: guix-patches@HIDDEN Resent-Date: Tue, 31 Oct 2023 20:21:07 +0000 Resent-Message-ID: <handler.66861.B.169878363527330 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 66861 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66861 <at> debbugs.gnu.org Cc: Sughosha <sughosha@HIDDEN> X-Debbugs-Original-To: guix-patches@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.169878363527330 (code B ref -1); Tue, 31 Oct 2023 20:21:07 +0000 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qxvE2-00076d-Nt for submit <at> 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 <sughosha@HIDDEN>) id 1qxvDn-00074g-Pb for submit <at> 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 <sughosha@HIDDEN>) id 1qxvD9-000868-50 for guix-patches@HIDDEN; 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 <sughosha@HIDDEN>) id 1qxvD6-0003SR-SK for guix-patches@HIDDEN; 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 <sughosha@HIDDEN> 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== Date: Tue, 31 Oct 2023 21:18:59 +0100 Message-ID: <a7d52d165548905269f3af5ef53af669ddad007a.1698783239.git.sughosha@HIDDEN> In-Reply-To: <cover.1698783239.git.sughosha@HIDDEN> References: <cover.1698783239.git.sughosha@HIDDEN> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=sughosha@HIDDEN; 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-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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@HIDDEN> +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@HIDDEN") + + 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
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Sughosha <sughosha@HIDDEN> Subject: bug#66861: Acknowledgement ([PATCH 5/7] gnu: Add plasma-shell-applet-window-buttons.) Message-ID: <handler.66861.B.169878363527330.ack <at> debbugs.gnu.org> References: <a7d52d165548905269f3af5ef53af669ddad007a.1698783239.git.sughosha@HIDDEN> X-Gnu-PR-Message: ack 66861 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 66861 <at> debbugs.gnu.org Date: Tue, 31 Oct 2023 20:21:07 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): guix-patches@HIDDEN If you wish to submit further information on this problem, please send it to 66861 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 66861: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D66861 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 31 Oct 2023 20:39:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 31 16:39:43 2023 Received: from localhost ([127.0.0.1]:49343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qxvWZ-0001m2-IU for submit <at> 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 <sughosha@HIDDEN>) id 1qxvWW-0001lr-9Y for control <at> 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 <control <at> debbugs.gnu.org>; 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 <control <at> debbugs.gnu.org>; 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 <sughosha@HIDDEN> To: control <at> debbugs.gnu.org Subject: Message-ID: <06D9CCE6-7AB5-4878-A922-0DE5DD9502AA@HIDDEN> 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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 <!DOCTYPE html><html><body><div dir=3D"auto">merge 66856 66855 66860 66854 = 66859 66861 66857 66858<br>quit</div></body></html> ------CQTKBDDJQY0AQUOO2R2LHCP5NCBCQR--
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.