unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#66856] [PATCH 0/7] Add some themes and extensions for KDE Plasma.
@ 2023-10-31 20:18 Sughosha via Guix-patches via
  2023-10-31 20:18 ` [bug#66855] [PATCH 1/7] gnu: Add flat-remix-kde-theme Sughosha via Guix-patches via
                   ` (8 more replies)
  0 siblings, 9 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-10-31 20:18 UTC (permalink / raw)
  To: 66856; +Cc: Sughosha

This series of patches adds some themes and extensions for KDE Plasma.

Sughosha (7):
  gnu: Add flat-remix-kde-theme.
  gnu: Add plasma-shell-applet-advanced-radio-player.
  gnu: Add plasma-shell-applet-better-inline-clock.
  gnu: Add plasma-shell-applet-window-appmenu.
  gnu: Add plasma-shell-applet-window-buttons.
  gnu: Add plasma-shell-applet-window-title.
  gnu: Add plasma-shell-wallpaper-active-blur.

 gnu/local.mk                                  |   2 +
 gnu/packages/kde-xyz.scm                      | 245 ++++++++++++++++++
 ...sion-window-buttons-applet-fix-build.patch |  52 ++++
 3 files changed, 299 insertions(+)
 create mode 100644 gnu/packages/kde-xyz.scm
 create mode 100644 gnu/packages/patches/plasma-shell-extension-window-buttons-applet-fix-build.patch


base-commit: c0895371c5759c7d9edb330774e90f192cc4cf2c
-- 
2.41.0





^ permalink raw reply	[flat|nested] 24+ messages in thread

* [bug#66855] [PATCH 1/7] gnu: Add flat-remix-kde-theme.
  2023-10-31 20:18 [bug#66856] [PATCH 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
@ 2023-10-31 20:18 ` Sughosha via Guix-patches via
  2023-10-31 20:18 ` [bug#66860] [PATCH 2/7] gnu: Add plasma-shell-applet-advanced-radio-player Sughosha via Guix-patches via
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-10-31 20:18 UTC (permalink / raw)
  To: 66855; +Cc: Sughosha

* gnu/packages/kde-xyz.scm: New file.

* gnu/local.mk: Register it.

Change-Id: I5fbf36de902f553f94bdc2436cef9142302daac9
---
 gnu/local.mk             |  1 +
 gnu/packages/kde-xyz.scm | 55 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)
 create mode 100644 gnu/packages/kde-xyz.scm

diff --git a/gnu/local.mk b/gnu/local.mk
index 27e57302ae..03e8c28d45 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -377,6 +377,7 @@ GNU_SYSTEM_MODULES =				\
   %D%/packages/kde-plasma.scm			\
   %D%/packages/kde-systemtools.scm		\
   %D%/packages/kde-utils.scm			\
+  %D%/packages/kde-xyz.scm			\
   %D%/packages/kerberos.scm			\
   %D%/packages/kodi.scm				\
   %D%/packages/language.scm			\
diff --git a/gnu/packages/kde-xyz.scm b/gnu/packages/kde-xyz.scm
new file mode 100644
index 0000000000..840014de5c
--- /dev/null
+++ b/gnu/packages/kde-xyz.scm
@@ -0,0 +1,55 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2023 Sughosha <sughosha@disroot.org>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages kde-xyz)
+  #:use-module (guix build-system copy)
+  #:use-module (guix gexp)
+  #:use-module (guix git-download)
+  #:use-module (guix packages)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (gnu packages gnome-xyz))
+
+(define-public flat-remix-kde-theme
+  (let ((commit "18ac464d5b77dd140aeb6c6b98d687c086959247")
+        (revision "0"))
+    (package
+      (name "flat-remix-kde-theme")
+      (version (git-version "0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/daniruiz/flat-remix-kde")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "05wxcjpg3qgyc2jiidb8506s1ah7yhilb1ifk2xd61xmy7d1xmz6"))))
+      (build-system copy-build-system)
+      (arguments
+       `(#:install-plan
+         `(("." "/share"
+            #:include-regexp ("/aurorae/" "/color-schemes/" "/plasma/")))))
+      (propagated-inputs
+       (list flat-remix-gtk-theme flat-remix-icon-theme))
+      (home-page "https://drasite.com/flat-remix-kde")
+      (synopsis "KDE  theme with material design")
+      (description "Flat Remix KDE is a KDE theme inspired by material design.
+It is mostly flat using a colorful palette with some shadows, highlights, and
+gradients for some depth.")
+    (license license:gpl3+))))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66860] [PATCH 2/7] gnu: Add plasma-shell-applet-advanced-radio-player.
  2023-10-31 20:18 [bug#66856] [PATCH 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
  2023-10-31 20:18 ` [bug#66855] [PATCH 1/7] gnu: Add flat-remix-kde-theme Sughosha via Guix-patches via
@ 2023-10-31 20:18 ` Sughosha via Guix-patches via
  2023-10-31 20:18 ` [bug#66854] [PATCH 3/7] gnu: Add plasma-shell-applet-better-inline-clock Sughosha via Guix-patches via
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-10-31 20:18 UTC (permalink / raw)
  To: 66860; +Cc: Sughosha

* gnu/packages/kde-xyz.scm (plasma-shell-extension-advanced-radio-player): New variable.

Change-Id: I9c7bfd11cf4906b6096c75e0251235e6b5b5ecbb
---
 gnu/packages/kde-xyz.scm | 32 +++++++++++++++++++++++++++++++-
 1 file changed, 31 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/kde-xyz.scm b/gnu/packages/kde-xyz.scm
index 840014de5c..7fdd107750 100644
--- a/gnu/packages/kde-xyz.scm
+++ b/gnu/packages/kde-xyz.scm
@@ -22,7 +22,8 @@ (define-module (gnu packages kde-xyz)
   #:use-module (guix git-download)
   #:use-module (guix packages)
   #:use-module ((guix licenses) #:prefix license:)
-  #:use-module (gnu packages gnome-xyz))
+  #:use-module (gnu packages gnome-xyz)
+  #:use-module (gnu packages qt))
 
 (define-public flat-remix-kde-theme
   (let ((commit "18ac464d5b77dd140aeb6c6b98d687c086959247")
@@ -53,3 +54,32 @@ (define-public flat-remix-kde-theme
 It is mostly flat using a colorful palette with some shadows, highlights, and
 gradients for some depth.")
     (license license:gpl3+))))
+
+(define-public plasma-shell-applet-advanced-radio-player
+  ;; Version is not tagget, but given in package/metadata.desktop.
+  (let ((commit "894973f4d5948ce400c2a3d28def4cea3c274c47") ;version 2.4
+        (revision "0"))
+    (package
+      (name "plasma-shell-applet-advanced-radio-player")
+      (version (git-version "2.4" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://invent.kde.org/saurov/arp")
+                       (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "17h79bl6akyhjh53hdp7g4a7kki8v8m2zvqs1qi0isf3nlvz0dwm"))))
+      (build-system copy-build-system)
+      (arguments
+       `(#:install-plan
+         `(("package" "/share/plasma/plasmoids/org.kde.plasma.advancedradio"))))
+      (propagated-inputs
+       (list qtmultimedia-5))
+      (home-page "https://invent.kde.org/saurov/arp")
+      (synopsis "Radio player extension for Plasma shell")
+      (description
+       "Advanced Radio Player is a radio player extension for Plasma shell,
+with editable list of stations.")
+    (license license:lgpl2.0+))))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66854] [PATCH 3/7] gnu: Add plasma-shell-applet-better-inline-clock.
  2023-10-31 20:18 [bug#66856] [PATCH 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
  2023-10-31 20:18 ` [bug#66855] [PATCH 1/7] gnu: Add flat-remix-kde-theme Sughosha via Guix-patches via
  2023-10-31 20:18 ` [bug#66860] [PATCH 2/7] gnu: Add plasma-shell-applet-advanced-radio-player Sughosha via Guix-patches via
@ 2023-10-31 20:18 ` Sughosha via Guix-patches via
  2023-10-31 20:18 ` [bug#66859] [PATCH 4/7] gnu: Add plasma-shell-applet-window-appmenu Sughosha via Guix-patches via
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-10-31 20:18 UTC (permalink / raw)
  To: 66854; +Cc: Sughosha

* gnu/packages/kde-xyz.scm (plasma-shell-applet-better-inline-clock): New variable.

Change-Id: I223ec9aa9075713f6f97b1f0393c36e7035ca52e
---
 gnu/packages/kde-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/kde-xyz.scm b/gnu/packages/kde-xyz.scm
index 7fdd107750..5aeae290c8 100644
--- a/gnu/packages/kde-xyz.scm
+++ b/gnu/packages/kde-xyz.scm
@@ -83,3 +83,29 @@ (define-public plasma-shell-applet-advanced-radio-player
        "Advanced Radio Player is a radio player extension for Plasma shell,
 with editable list of stations.")
     (license license:lgpl2.0+))))
+
+(define-public plasma-shell-applet-better-inline-clock
+  (let ((commit "bbad71b48073879f16b484788d01831ad53316b5") ;version 3.1
+        (revision "0"))
+    (package
+      (name "plasma-shell-applet-better-inline-clock")
+      (version "3.1")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/MarianArlt/kde-plasmoid-betterinlineclock")
+                       (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "079k170dvga736hv4pi1n4mbqdwk1wl6n7x4blf22mn53zlcrl84"))))
+      (build-system copy-build-system)
+      (arguments
+       `(#:install-plan
+         `(("org.kde.plasma.betterinlineclock"
+            "/share/plasma/plasmoids/org.kde.plasma.betterinlineclock"))))
+      (home-page "https://github.com/MarianArlt/kde-plasmoid-betterinlineclock")
+      (synopsis "Single line clock applet for Plasma shell")
+      (description
+       "This package provides single line clock applet for Plasma shell.")
+      (license license:gpl2+))))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66859] [PATCH 4/7] gnu: Add plasma-shell-applet-window-appmenu.
  2023-10-31 20:18 [bug#66856] [PATCH 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
                   ` (2 preceding siblings ...)
  2023-10-31 20:18 ` [bug#66854] [PATCH 3/7] gnu: Add plasma-shell-applet-better-inline-clock Sughosha via Guix-patches via
@ 2023-10-31 20:18 ` Sughosha via Guix-patches via
  2023-10-31 20:18 ` [bug#66861] [PATCH 5/7] gnu: Add plasma-shell-applet-window-buttons Sughosha via Guix-patches via
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-10-31 20:18 UTC (permalink / raw)
  To: 66859; +Cc: Sughosha

* gnu/packages/kde-xyz.scm (plasma-shell-applet-window-appmenu): New variable.

Change-Id: I44db8f08a841669ae750aaf0a58c931d46fe0a99
---
 gnu/packages/kde-xyz.scm | 45 +++++++++++++++++++++++++++++++++++++++-
 1 file changed, 44 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/kde-xyz.scm b/gnu/packages/kde-xyz.scm
index 5aeae290c8..cde12d45b4 100644
--- a/gnu/packages/kde-xyz.scm
+++ b/gnu/packages/kde-xyz.scm
@@ -18,12 +18,16 @@
 
 (define-module (gnu packages kde-xyz)
   #:use-module (guix build-system copy)
+  #:use-module (guix build-system qt)
   #:use-module (guix gexp)
   #:use-module (guix git-download)
   #:use-module (guix packages)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages gnome-xyz)
-  #:use-module (gnu packages qt))
+  #:use-module (gnu packages kde-frameworks)
+  #:use-module (gnu packages kde-plasma)
+  #:use-module (gnu packages qt)
+  #:use-module (gnu packages xorg))
 
 (define-public flat-remix-kde-theme
   (let ((commit "18ac464d5b77dd140aeb6c6b98d687c086959247")
@@ -109,3 +113,42 @@ (define-public plasma-shell-applet-better-inline-clock
       (description
        "This package provides single line clock applet for Plasma shell.")
       (license license:gpl2+))))
+
+(define-public plasma-shell-applet-window-appmenu
+  ;; This commit fixes appmenu being unresponsive when hovering over other
+  ;; options after clicking on one.
+  (let ((commit "e044296256c866177c5c929f9280fb86b26dbf06")
+        (revision "0"))
+    (package
+      (name "plasma-shell-applet-window-appmenu")
+      (version (git-version "0.8.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                       (url "https://github.com/psifidotos/applet-window-appmenu")
+                       (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0n8jgn6vaw4ncvrqm1snn6izg16by1f9rzkjypphr8a6z65nz2dn"))))
+      (build-system qt-build-system)
+      (native-inputs
+       (list extra-cmake-modules))
+      (inputs
+       (list libsm
+             kconfigwidgets
+             kdecoration
+             kirigami
+             kitemmodels
+             kwayland
+             kwindowsystem
+             plasma-framework
+             plasma-workspace
+             qtdeclarative-5
+             qtx11extras))
+      (home-page "https://github.com/psifidotos/applet-window-appmenu")
+      (synopsis "Appmenu applet for Plasma shell")
+      (description
+       "This plasmoid shows the current window appmenu in Plasma panels or
+Latte Dock.")
+      (license license:gpl2+))))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66861] [PATCH 5/7] gnu: Add plasma-shell-applet-window-buttons.
  2023-10-31 20:18 [bug#66856] [PATCH 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
                   ` (3 preceding siblings ...)
  2023-10-31 20:18 ` [bug#66859] [PATCH 4/7] gnu: Add plasma-shell-applet-window-appmenu Sughosha via Guix-patches via
@ 2023-10-31 20:18 ` Sughosha via Guix-patches via
  2023-10-31 20:19 ` [bug#66857] [PATCH 6/7] gnu: Add plasma-shell-applet-window-title Sughosha via Guix-patches via
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-10-31 20:18 UTC (permalink / raw)
  To: 66861; +Cc: Sughosha

* 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





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66857] [PATCH 6/7] gnu: Add plasma-shell-applet-window-title.
  2023-10-31 20:18 [bug#66856] [PATCH 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
                   ` (4 preceding siblings ...)
  2023-10-31 20:18 ` [bug#66861] [PATCH 5/7] gnu: Add plasma-shell-applet-window-buttons Sughosha via Guix-patches via
@ 2023-10-31 20:19 ` Sughosha via Guix-patches via
  2023-10-31 20:19 ` [bug#66858] [PATCH 7/7] gnu: Add plasma-shell-wallpaper-active-blur Sughosha via Guix-patches via
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-10-31 20:19 UTC (permalink / raw)
  To: 66857; +Cc: Sughosha

* gnu/packages/kde-xyz.scm (plasma-shell-applet-window-title): New variable.

Change-Id: I1e08861c4c44d8b6e621a30c8cb562f9129f6f08
---
 gnu/packages/kde-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/kde-xyz.scm b/gnu/packages/kde-xyz.scm
index 42d5046cf2..c9e8308fbf 100644
--- a/gnu/packages/kde-xyz.scm
+++ b/gnu/packages/kde-xyz.scm
@@ -189,3 +189,32 @@ (define-public plasma-shell-applet-window-buttons
     (description
      "This plasmoid shows window buttons in Plasma panels or Latte Dock.")
     (license license:gpl2+)))
+
+(define-public plasma-shell-applet-window-title
+  (package
+    (name "plasma-shell-applet-window-title")
+    (version "0.7.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/psifidotos/applet-window-title")
+                     (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "01n663sy638v80gfclhy50xr22wlhg00yhgzwnsiqjvk42if49ib"))))
+    (build-system copy-build-system)
+    (arguments
+     `(#:install-plan
+       `(("." "/share/plasma/plasmoids/org.kde.windowtitle"
+          #:include-regexp ("/contents/" "metadata.desktop")))))
+    (inputs
+     (list kdeclarative
+           kirigami
+           plasma-workspace))
+    (home-page "https://github.com/psifidotos/applet-window-title")
+    (synopsis "Application title and icon for active window for Plasma shell")
+    (description
+     "This plasmoid shows the current window title and icon in Plasma panels or
+Latte Dock.")
+    (license license:gpl2+)))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66858] [PATCH 7/7] gnu: Add plasma-shell-wallpaper-active-blur.
  2023-10-31 20:18 [bug#66856] [PATCH 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
                   ` (5 preceding siblings ...)
  2023-10-31 20:19 ` [bug#66857] [PATCH 6/7] gnu: Add plasma-shell-applet-window-title Sughosha via Guix-patches via
@ 2023-10-31 20:19 ` Sughosha via Guix-patches via
  2023-11-03  0:14 ` [bug#66856] [PATCH v2 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
  2023-11-04  0:36 ` [bug#66856] [PATCH v3 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
  8 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-10-31 20:19 UTC (permalink / raw)
  To: 66858; +Cc: Sughosha

* gnu/packages/kde-xyz.scm (plasma-shell-wallpaper-active-blur): New variable.

Change-Id: I612d5885b65779100aee41879701df499b0b863b
---
 gnu/packages/kde-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/kde-xyz.scm b/gnu/packages/kde-xyz.scm
index c9e8308fbf..f98a9c4af9 100644
--- a/gnu/packages/kde-xyz.scm
+++ b/gnu/packages/kde-xyz.scm
@@ -218,3 +218,28 @@ (define-public plasma-shell-applet-window-title
      "This plasmoid shows the current window title and icon in Plasma panels or
 Latte Dock.")
     (license license:gpl2+)))
+
+(define-public plasma-shell-wallpaper-active-blur
+  (package
+    (name "plasma-shell-wallpaper-active-blur")
+    (version "2.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/bouteillerAlan/blurredwallpaper")
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0b688d4p8n1wkhw3bp1zhxi5xbx806fy5hcgc8jrjj2kaclk408n"))))
+    (build-system copy-build-system)
+    (arguments
+     `(#:install-plan
+       `(("." "/share/plasma/wallpapers/a2n.blur"
+          #:include-regexp ("/assets/" "/contents/" "metadata.json")))))
+    (home-page "https://github.com/bouteillerAlan/blurredwallpaper")
+    (synopsis "Blurred wallpaper plugin for Plasma shell")
+    (description
+     "This Plasma wallpaper plugin blurs the wallpaper when a window is
+active.")
+    (license license:gpl2+)))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66856] [PATCH v2 0/7] Add some themes and extensions for KDE Plasma.
  2023-10-31 20:18 [bug#66856] [PATCH 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
                   ` (6 preceding siblings ...)
  2023-10-31 20:19 ` [bug#66858] [PATCH 7/7] gnu: Add plasma-shell-wallpaper-active-blur Sughosha via Guix-patches via
@ 2023-11-03  0:14 ` Sughosha via Guix-patches via
  2023-11-03  0:14   ` [bug#66856] [PATCH v2 1/7] gnu: Add flat-remix-kde-theme Sughosha via Guix-patches via
                     ` (6 more replies)
  2023-11-04  0:36 ` [bug#66856] [PATCH v3 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
  8 siblings, 7 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-03  0:14 UTC (permalink / raw)
  To: 66856; +Cc: Sughosha

This series of patches adds some themes and extensions for KDE Plasma.

Sughosha (7):
  gnu: Add flat-remix-kde-theme.
  gnu: Add plasma-shell-applet-advanced-radio-player.
  gnu: Add plasma-shell-applet-better-inline-clock.
  gnu: Add plasma-shell-applet-window-appmenu.
  gnu: Add plasma-shell-applet-window-buttons.
  gnu: Add plasma-shell-applet-window-title.
  gnu: Add plasma-shell-wallpaper-active-blur.

 gnu/local.mk                                  |   2 +
 gnu/packages/kde-xyz.scm                      | 255 ++++++++++++++++++
 ...sion-window-buttons-applet-fix-build.patch |  52 ++++
 3 files changed, 309 insertions(+)
 create mode 100644 gnu/packages/kde-xyz.scm
 create mode 100644 gnu/packages/patches/plasma-shell-extension-window-buttons-applet-fix-build.patch


base-commit: c0895371c5759c7d9edb330774e90f192cc4cf2c
-- 
2.41.0





^ permalink raw reply	[flat|nested] 24+ messages in thread

* [bug#66856] [PATCH v2 1/7] gnu: Add flat-remix-kde-theme.
  2023-11-03  0:14 ` [bug#66856] [PATCH v2 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
@ 2023-11-03  0:14   ` Sughosha via Guix-patches via
  2023-11-03  0:14   ` [bug#66856] [PATCH v2 2/7] gnu: Add plasma-shell-applet-advanced-radio-player Sughosha via Guix-patches via
                     ` (5 subsequent siblings)
  6 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-03  0:14 UTC (permalink / raw)
  To: 66856; +Cc: Sughosha

* gnu/packages/kde-xyz.scm: New file.

* gnu/local.mk: Register it.

Change-Id: I5fbf36de902f553f94bdc2436cef9142302daac9
---
 gnu/local.mk             |  1 +
 gnu/packages/kde-xyz.scm | 55 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)
 create mode 100644 gnu/packages/kde-xyz.scm

diff --git a/gnu/local.mk b/gnu/local.mk
index 27e57302ae..03e8c28d45 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -377,6 +377,7 @@ GNU_SYSTEM_MODULES =				\
   %D%/packages/kde-plasma.scm			\
   %D%/packages/kde-systemtools.scm		\
   %D%/packages/kde-utils.scm			\
+  %D%/packages/kde-xyz.scm			\
   %D%/packages/kerberos.scm			\
   %D%/packages/kodi.scm				\
   %D%/packages/language.scm			\
diff --git a/gnu/packages/kde-xyz.scm b/gnu/packages/kde-xyz.scm
new file mode 100644
index 0000000000..840014de5c
--- /dev/null
+++ b/gnu/packages/kde-xyz.scm
@@ -0,0 +1,55 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2023 Sughosha <sughosha@disroot.org>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages kde-xyz)
+  #:use-module (guix build-system copy)
+  #:use-module (guix gexp)
+  #:use-module (guix git-download)
+  #:use-module (guix packages)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (gnu packages gnome-xyz))
+
+(define-public flat-remix-kde-theme
+  (let ((commit "18ac464d5b77dd140aeb6c6b98d687c086959247")
+        (revision "0"))
+    (package
+      (name "flat-remix-kde-theme")
+      (version (git-version "0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/daniruiz/flat-remix-kde")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "05wxcjpg3qgyc2jiidb8506s1ah7yhilb1ifk2xd61xmy7d1xmz6"))))
+      (build-system copy-build-system)
+      (arguments
+       `(#:install-plan
+         `(("." "/share"
+            #:include-regexp ("/aurorae/" "/color-schemes/" "/plasma/")))))
+      (propagated-inputs
+       (list flat-remix-gtk-theme flat-remix-icon-theme))
+      (home-page "https://drasite.com/flat-remix-kde")
+      (synopsis "KDE  theme with material design")
+      (description "Flat Remix KDE is a KDE theme inspired by material design.
+It is mostly flat using a colorful palette with some shadows, highlights, and
+gradients for some depth.")
+    (license license:gpl3+))))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66856] [PATCH v2 2/7] gnu: Add plasma-shell-applet-advanced-radio-player.
  2023-11-03  0:14 ` [bug#66856] [PATCH v2 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
  2023-11-03  0:14   ` [bug#66856] [PATCH v2 1/7] gnu: Add flat-remix-kde-theme Sughosha via Guix-patches via
@ 2023-11-03  0:14   ` Sughosha via Guix-patches via
  2023-11-03  0:14   ` [bug#66856] [PATCH v2 3/7] gnu: Add plasma-shell-applet-better-inline-clock Sughosha via Guix-patches via
                     ` (4 subsequent siblings)
  6 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-03  0:14 UTC (permalink / raw)
  To: 66856; +Cc: Sughosha

* gnu/packages/kde-xyz.scm (plasma-shell-extension-advanced-radio-player): New variable.

Change-Id: I9c7bfd11cf4906b6096c75e0251235e6b5b5ecbb
---
 gnu/packages/kde-xyz.scm | 34 +++++++++++++++++++++++++++++++++-
 1 file changed, 33 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/kde-xyz.scm b/gnu/packages/kde-xyz.scm
index 840014de5c..e5855487af 100644
--- a/gnu/packages/kde-xyz.scm
+++ b/gnu/packages/kde-xyz.scm
@@ -22,7 +22,8 @@ (define-module (gnu packages kde-xyz)
   #:use-module (guix git-download)
   #:use-module (guix packages)
   #:use-module ((guix licenses) #:prefix license:)
-  #:use-module (gnu packages gnome-xyz))
+  #:use-module (gnu packages gnome-xyz)
+  #:use-module (gnu packages qt))
 
 (define-public flat-remix-kde-theme
   (let ((commit "18ac464d5b77dd140aeb6c6b98d687c086959247")
@@ -53,3 +54,34 @@ (define-public flat-remix-kde-theme
 It is mostly flat using a colorful palette with some shadows, highlights, and
 gradients for some depth.")
     (license license:gpl3+))))
+
+(define-public plasma-shell-applet-advanced-radio-player
+  ;; Version is not tagget, but given in package/metadata.desktop.
+  (let ((commit "894973f4d5948ce400c2a3d28def4cea3c274c47") ;version 2.4
+        (revision "0"))
+    (package
+      (name "plasma-shell-applet-advanced-radio-player")
+      (version (git-version "2.4" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+            (url "https://invent.kde.org/saurov/arp")
+            (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "17h79bl6akyhjh53hdp7g4a7kki8v8m2zvqs1qi0isf3nlvz0dwm"))))
+      (build-system copy-build-system)
+      (arguments
+       `(#:install-plan
+         `(("package"
+            "/share/plasma/plasmoids/org.kde.plasma.advancedradio"))))
+      (propagated-inputs
+       (list qtmultimedia-5))
+      (home-page "https://invent.kde.org/saurov/arp")
+      (synopsis "Radio player extension for Plasma shell")
+      (description
+       "Advanced Radio Player is a radio player extension for Plasma shell,
+with editable list of stations.")
+    (license license:lgpl2.0+))))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66856] [PATCH v2 3/7] gnu: Add plasma-shell-applet-better-inline-clock.
  2023-11-03  0:14 ` [bug#66856] [PATCH v2 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
  2023-11-03  0:14   ` [bug#66856] [PATCH v2 1/7] gnu: Add flat-remix-kde-theme Sughosha via Guix-patches via
  2023-11-03  0:14   ` [bug#66856] [PATCH v2 2/7] gnu: Add plasma-shell-applet-advanced-radio-player Sughosha via Guix-patches via
@ 2023-11-03  0:14   ` Sughosha via Guix-patches via
  2023-11-03  0:14   ` [bug#66856] [PATCH v2 4/7] gnu: Add plasma-shell-applet-window-appmenu Sughosha via Guix-patches via
                     ` (3 subsequent siblings)
  6 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-03  0:14 UTC (permalink / raw)
  To: 66856; +Cc: Sughosha

* gnu/packages/kde-xyz.scm (plasma-shell-applet-better-inline-clock): New variable.

Change-Id: I223ec9aa9075713f6f97b1f0393c36e7035ca52e
---
 gnu/packages/kde-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/kde-xyz.scm b/gnu/packages/kde-xyz.scm
index e5855487af..7bd85091ba 100644
--- a/gnu/packages/kde-xyz.scm
+++ b/gnu/packages/kde-xyz.scm
@@ -85,3 +85,32 @@ (define-public plasma-shell-applet-advanced-radio-player
        "Advanced Radio Player is a radio player extension for Plasma shell,
 with editable list of stations.")
     (license license:lgpl2.0+))))
+
+(define-public plasma-shell-applet-better-inline-clock
+  (let ((commit "bbad71b48073879f16b484788d01831ad53316b5") ;version 3.1
+        (revision "0"))
+    (package
+      (name "plasma-shell-applet-better-inline-clock")
+      (version "3.1")
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+            (url
+             "https://github.com/MarianArlt/kde-plasmoid-betterinlineclock")
+            (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "079k170dvga736hv4pi1n4mbqdwk1wl6n7x4blf22mn53zlcrl84"))))
+      (build-system copy-build-system)
+      (arguments
+       `(#:install-plan
+         `(("org.kde.plasma.betterinlineclock"
+            "/share/plasma/plasmoids/org.kde.plasma.betterinlineclock"))))
+      (home-page
+       "https://github.com/MarianArlt/kde-plasmoid-betterinlineclock")
+      (synopsis "Single line clock applet for Plasma shell")
+      (description
+       "This package provides single line clock applet for Plasma shell.")
+      (license license:gpl2+))))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66856] [PATCH v2 4/7] gnu: Add plasma-shell-applet-window-appmenu.
  2023-11-03  0:14 ` [bug#66856] [PATCH v2 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
                     ` (2 preceding siblings ...)
  2023-11-03  0:14   ` [bug#66856] [PATCH v2 3/7] gnu: Add plasma-shell-applet-better-inline-clock Sughosha via Guix-patches via
@ 2023-11-03  0:14   ` Sughosha via Guix-patches via
  2023-11-03  0:14   ` [bug#66856] [PATCH v2 5/7] gnu: Add plasma-shell-applet-window-buttons Sughosha via Guix-patches via
                     ` (2 subsequent siblings)
  6 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-03  0:14 UTC (permalink / raw)
  To: 66856; +Cc: Sughosha

* gnu/packages/kde-xyz.scm (plasma-shell-applet-window-appmenu): New variable.

Change-Id: I44db8f08a841669ae750aaf0a58c931d46fe0a99
---
 gnu/packages/kde-xyz.scm | 46 +++++++++++++++++++++++++++++++++++++++-
 1 file changed, 45 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/kde-xyz.scm b/gnu/packages/kde-xyz.scm
index 7bd85091ba..53a60ce65f 100644
--- a/gnu/packages/kde-xyz.scm
+++ b/gnu/packages/kde-xyz.scm
@@ -18,12 +18,16 @@
 
 (define-module (gnu packages kde-xyz)
   #:use-module (guix build-system copy)
+  #:use-module (guix build-system qt)
   #:use-module (guix gexp)
   #:use-module (guix git-download)
   #:use-module (guix packages)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages gnome-xyz)
-  #:use-module (gnu packages qt))
+  #:use-module (gnu packages kde-frameworks)
+  #:use-module (gnu packages kde-plasma)
+  #:use-module (gnu packages qt)
+  #:use-module (gnu packages xorg))
 
 (define-public flat-remix-kde-theme
   (let ((commit "18ac464d5b77dd140aeb6c6b98d687c086959247")
@@ -114,3 +118,43 @@ (define-public plasma-shell-applet-better-inline-clock
       (description
        "This package provides single line clock applet for Plasma shell.")
       (license license:gpl2+))))
+
+(define-public plasma-shell-applet-window-appmenu
+  ;; This commit fixes appmenu being unresponsive when hovering over other
+  ;; options after clicking on one.
+  (let ((commit "e044296256c866177c5c929f9280fb86b26dbf06")
+        (revision "0"))
+    (package
+      (name "plasma-shell-applet-window-appmenu")
+      (version (git-version "0.8.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+            (url "https://github.com/psifidotos/applet-window-appmenu")
+            (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0n8jgn6vaw4ncvrqm1snn6izg16by1f9rzkjypphr8a6z65nz2dn"))))
+      (build-system qt-build-system)
+      (native-inputs
+       (list extra-cmake-modules))
+      (inputs
+       (list libsm
+             kconfigwidgets
+             kdecoration
+             kirigami
+             kitemmodels
+             kwayland
+             kwindowsystem
+             plasma-framework
+             plasma-workspace
+             qtdeclarative-5
+             qtx11extras))
+      (home-page "https://github.com/psifidotos/applet-window-appmenu")
+      (synopsis "Appmenu applet for Plasma shell")
+      (description
+       "This plasmoid shows the current window appmenu in Plasma panels or
+Latte Dock.")
+      (license license:gpl2+))))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66856] [PATCH v2 5/7] gnu: Add plasma-shell-applet-window-buttons.
  2023-11-03  0:14 ` [bug#66856] [PATCH v2 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
                     ` (3 preceding siblings ...)
  2023-11-03  0:14   ` [bug#66856] [PATCH v2 4/7] gnu: Add plasma-shell-applet-window-appmenu Sughosha via Guix-patches via
@ 2023-11-03  0:14   ` Sughosha via Guix-patches via
  2023-11-03  0:14   ` [bug#66856] [PATCH v2 6/7] gnu: Add plasma-shell-applet-window-title Sughosha via Guix-patches via
  2023-11-03  0:14   ` [bug#66856] [PATCH v2 7/7] gnu: Add plasma-shell-wallpaper-active-blur Sughosha via Guix-patches via
  6 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-03  0:14 UTC (permalink / raw)
  To: 66856; +Cc: Sughosha

* 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                      | 39 ++++++++++++++
 ...sion-window-buttons-applet-fix-build.patch | 52 +++++++++++++++++++
 3 files changed, 92 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 53a60ce65f..2df9cada5e 100644
--- a/gnu/packages/kde-xyz.scm
+++ b/gnu/packages/kde-xyz.scm
@@ -23,6 +23,7 @@ (define-module (gnu packages kde-xyz)
   #:use-module (guix git-download)
   #:use-module (guix packages)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (gnu packages)
   #:use-module (gnu packages gnome-xyz)
   #:use-module (gnu packages kde-frameworks)
   #:use-module (gnu packages kde-plasma)
@@ -158,3 +159,41 @@ (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





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66856] [PATCH v2 6/7] gnu: Add plasma-shell-applet-window-title.
  2023-11-03  0:14 ` [bug#66856] [PATCH v2 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
                     ` (4 preceding siblings ...)
  2023-11-03  0:14   ` [bug#66856] [PATCH v2 5/7] gnu: Add plasma-shell-applet-window-buttons Sughosha via Guix-patches via
@ 2023-11-03  0:14   ` Sughosha via Guix-patches via
  2023-11-03  0:14   ` [bug#66856] [PATCH v2 7/7] gnu: Add plasma-shell-wallpaper-active-blur Sughosha via Guix-patches via
  6 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-03  0:14 UTC (permalink / raw)
  To: 66856; +Cc: Sughosha

* gnu/packages/kde-xyz.scm (plasma-shell-applet-window-title): New variable.

Change-Id: I1e08861c4c44d8b6e621a30c8cb562f9129f6f08
---
 gnu/packages/kde-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/kde-xyz.scm b/gnu/packages/kde-xyz.scm
index 2df9cada5e..1fc44bd846 100644
--- a/gnu/packages/kde-xyz.scm
+++ b/gnu/packages/kde-xyz.scm
@@ -197,3 +197,33 @@ (define-public plasma-shell-applet-window-buttons
     (description
      "This plasmoid shows window buttons in Plasma panels or Latte Dock.")
     (license license:gpl2+)))
+
+(define-public plasma-shell-applet-window-title
+  (package
+    (name "plasma-shell-applet-window-title")
+    (version "0.7.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+          (url "https://github.com/psifidotos/applet-window-title")
+          (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "01n663sy638v80gfclhy50xr22wlhg00yhgzwnsiqjvk42if49ib"))))
+    (build-system copy-build-system)
+    (arguments
+     `(#:install-plan
+       `(("." "/share/plasma/plasmoids/org.kde.windowtitle"
+          #:include-regexp ("/contents/" "metadata.desktop")))))
+    (inputs
+     (list kdeclarative
+           kirigami
+           plasma-workspace))
+    (home-page "https://github.com/psifidotos/applet-window-title")
+    (synopsis "Application title and icon for active window for Plasma shell")
+    (description
+     "This plasmoid shows the current window title and icon in Plasma panels or
+Latte Dock.")
+    (license license:gpl2+)))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66856] [PATCH v2 7/7] gnu: Add plasma-shell-wallpaper-active-blur.
  2023-11-03  0:14 ` [bug#66856] [PATCH v2 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
                     ` (5 preceding siblings ...)
  2023-11-03  0:14   ` [bug#66856] [PATCH v2 6/7] gnu: Add plasma-shell-applet-window-title Sughosha via Guix-patches via
@ 2023-11-03  0:14   ` Sughosha via Guix-patches via
  6 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-03  0:14 UTC (permalink / raw)
  To: 66856; +Cc: Sughosha

* gnu/packages/kde-xyz.scm (plasma-shell-wallpaper-active-blur): New variable.

Change-Id: I879d939ca58f32514a6ac69477aadcc285a2d750
---
 gnu/packages/kde-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/kde-xyz.scm b/gnu/packages/kde-xyz.scm
index 1fc44bd846..1407720a8a 100644
--- a/gnu/packages/kde-xyz.scm
+++ b/gnu/packages/kde-xyz.scm
@@ -227,3 +227,29 @@ (define-public plasma-shell-applet-window-title
      "This plasmoid shows the current window title and icon in Plasma panels or
 Latte Dock.")
     (license license:gpl2+)))
+
+(define-public plasma-shell-wallpaper-active-blur
+  (package
+    (name "plasma-shell-wallpaper-active-blur")
+    (version "2.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+          (url "https://github.com/bouteillerAlan/blurredwallpaper")
+          (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0b688d4p8n1wkhw3bp1zhxi5xbx806fy5hcgc8jrjj2kaclk408n"))))
+    (build-system copy-build-system)
+    (arguments
+     `(#:install-plan
+       `(("." "/share/plasma/wallpapers/a2n.blur"
+          #:include-regexp ("/assets/" "/contents/" "metadata.json")))))
+    (home-page "https://github.com/bouteillerAlan/blurredwallpaper")
+    (synopsis "Blurred wallpaper plugin for Plasma shell")
+    (description
+     "This Plasma wallpaper plugin blurs the wallpaper when a window is
+active.")
+    (license license:gpl2+)))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66856] [PATCH v3 0/7] Add some themes and extensions for KDE Plasma.
  2023-10-31 20:18 [bug#66856] [PATCH 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
                   ` (7 preceding siblings ...)
  2023-11-03  0:14 ` [bug#66856] [PATCH v2 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
@ 2023-11-04  0:36 ` Sughosha via Guix-patches via
  2023-11-04  0:36   ` [bug#66856] [PATCH v3 1/7] gnu: Add flat-remix-kde-theme Sughosha via Guix-patches via
                     ` (6 more replies)
  8 siblings, 7 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-04  0:36 UTC (permalink / raw)
  To: 66856; +Cc: Sughosha

This series of patches adds some themes and extensions for KDE Plasma.

Sughosha (7):
  gnu: Add flat-remix-kde-theme.
  gnu: Add plasma-applet-advanced-radio-player.
  gnu: Add plasma-applet-better-inline-clock.
  gnu: Add plasma-applet-window-appmenu.
  gnu: Add plasma-applet-window-buttons.
  gnu: Add plasma-applet-window-title.
  gnu: Add plasma-wallpaper-active-blur.

 gnu/local.mk                                  |   2 +
 gnu/packages/kde-xyz.scm                      | 255 ++++++++++++++++++
 ...sion-window-buttons-applet-fix-build.patch |  52 ++++
 3 files changed, 309 insertions(+)
 create mode 100644 gnu/packages/kde-xyz.scm
 create mode 100644 gnu/packages/patches/plasma-shell-extension-window-buttons-applet-fix-build.patch


base-commit: c0895371c5759c7d9edb330774e90f192cc4cf2c
-- 
2.41.0





^ permalink raw reply	[flat|nested] 24+ messages in thread

* [bug#66856] [PATCH v3 1/7] gnu: Add flat-remix-kde-theme.
  2023-11-04  0:36 ` [bug#66856] [PATCH v3 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
@ 2023-11-04  0:36   ` Sughosha via Guix-patches via
  2023-11-04  0:36   ` [bug#66856] [PATCH v3 2/7] gnu: Add plasma-applet-advanced-radio-player Sughosha via Guix-patches via
                     ` (5 subsequent siblings)
  6 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-04  0:36 UTC (permalink / raw)
  To: 66856; +Cc: Sughosha

* gnu/packages/kde-xyz.scm: New file.

* gnu/local.mk: Register it.

Change-Id: I5fbf36de902f553f94bdc2436cef9142302daac9
---
 gnu/local.mk             |  1 +
 gnu/packages/kde-xyz.scm | 55 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)
 create mode 100644 gnu/packages/kde-xyz.scm

diff --git a/gnu/local.mk b/gnu/local.mk
index 27e57302ae..03e8c28d45 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -377,6 +377,7 @@ GNU_SYSTEM_MODULES =				\
   %D%/packages/kde-plasma.scm			\
   %D%/packages/kde-systemtools.scm		\
   %D%/packages/kde-utils.scm			\
+  %D%/packages/kde-xyz.scm			\
   %D%/packages/kerberos.scm			\
   %D%/packages/kodi.scm				\
   %D%/packages/language.scm			\
diff --git a/gnu/packages/kde-xyz.scm b/gnu/packages/kde-xyz.scm
new file mode 100644
index 0000000000..840014de5c
--- /dev/null
+++ b/gnu/packages/kde-xyz.scm
@@ -0,0 +1,55 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2023 Sughosha <sughosha@disroot.org>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages kde-xyz)
+  #:use-module (guix build-system copy)
+  #:use-module (guix gexp)
+  #:use-module (guix git-download)
+  #:use-module (guix packages)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (gnu packages gnome-xyz))
+
+(define-public flat-remix-kde-theme
+  (let ((commit "18ac464d5b77dd140aeb6c6b98d687c086959247")
+        (revision "0"))
+    (package
+      (name "flat-remix-kde-theme")
+      (version (git-version "0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/daniruiz/flat-remix-kde")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "05wxcjpg3qgyc2jiidb8506s1ah7yhilb1ifk2xd61xmy7d1xmz6"))))
+      (build-system copy-build-system)
+      (arguments
+       `(#:install-plan
+         `(("." "/share"
+            #:include-regexp ("/aurorae/" "/color-schemes/" "/plasma/")))))
+      (propagated-inputs
+       (list flat-remix-gtk-theme flat-remix-icon-theme))
+      (home-page "https://drasite.com/flat-remix-kde")
+      (synopsis "KDE  theme with material design")
+      (description "Flat Remix KDE is a KDE theme inspired by material design.
+It is mostly flat using a colorful palette with some shadows, highlights, and
+gradients for some depth.")
+    (license license:gpl3+))))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66856] [PATCH v3 2/7] gnu: Add plasma-applet-advanced-radio-player.
  2023-11-04  0:36 ` [bug#66856] [PATCH v3 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
  2023-11-04  0:36   ` [bug#66856] [PATCH v3 1/7] gnu: Add flat-remix-kde-theme Sughosha via Guix-patches via
@ 2023-11-04  0:36   ` Sughosha via Guix-patches via
  2023-11-04  0:36   ` [bug#66856] [PATCH v3 3/7] gnu: Add plasma-applet-better-inline-clock Sughosha via Guix-patches via
                     ` (4 subsequent siblings)
  6 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-04  0:36 UTC (permalink / raw)
  To: 66856; +Cc: Sughosha

* gnu/packages/kde-xyz.scm (plasma-extension-advanced-radio-player): New variable.

Change-Id: I9c7bfd11cf4906b6096c75e0251235e6b5b5ecbb
---
 gnu/packages/kde-xyz.scm | 34 +++++++++++++++++++++++++++++++++-
 1 file changed, 33 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/kde-xyz.scm b/gnu/packages/kde-xyz.scm
index 840014de5c..9a55c7114e 100644
--- a/gnu/packages/kde-xyz.scm
+++ b/gnu/packages/kde-xyz.scm
@@ -22,7 +22,8 @@ (define-module (gnu packages kde-xyz)
   #:use-module (guix git-download)
   #:use-module (guix packages)
   #:use-module ((guix licenses) #:prefix license:)
-  #:use-module (gnu packages gnome-xyz))
+  #:use-module (gnu packages gnome-xyz)
+  #:use-module (gnu packages qt))
 
 (define-public flat-remix-kde-theme
   (let ((commit "18ac464d5b77dd140aeb6c6b98d687c086959247")
@@ -53,3 +54,34 @@ (define-public flat-remix-kde-theme
 It is mostly flat using a colorful palette with some shadows, highlights, and
 gradients for some depth.")
     (license license:gpl3+))))
+
+(define-public plasma-applet-advanced-radio-player
+  ;; Version is not tagget, but given in package/metadata.desktop.
+  (let ((commit "894973f4d5948ce400c2a3d28def4cea3c274c47") ;version 2.4
+        (revision "0"))
+    (package
+      (name "plasma-applet-advanced-radio-player")
+      (version (git-version "2.4" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+            (url "https://invent.kde.org/saurov/arp")
+            (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "17h79bl6akyhjh53hdp7g4a7kki8v8m2zvqs1qi0isf3nlvz0dwm"))))
+      (build-system copy-build-system)
+      (arguments
+       `(#:install-plan
+         `(("package"
+            "/share/plasma/plasmoids/org.kde.plasma.advancedradio"))))
+      (propagated-inputs
+       (list qtmultimedia-5))
+      (home-page "https://invent.kde.org/saurov/arp")
+      (synopsis "Radio player extension for Plasma")
+      (description
+       "Advanced Radio Player is a radio player extension for Plasma, with
+editable list of stations.")
+    (license license:lgpl2.0+))))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66856] [PATCH v3 3/7] gnu: Add plasma-applet-better-inline-clock.
  2023-11-04  0:36 ` [bug#66856] [PATCH v3 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
  2023-11-04  0:36   ` [bug#66856] [PATCH v3 1/7] gnu: Add flat-remix-kde-theme Sughosha via Guix-patches via
  2023-11-04  0:36   ` [bug#66856] [PATCH v3 2/7] gnu: Add plasma-applet-advanced-radio-player Sughosha via Guix-patches via
@ 2023-11-04  0:36   ` Sughosha via Guix-patches via
  2023-11-04  0:36   ` [bug#66856] [PATCH v3 4/7] gnu: Add plasma-applet-window-appmenu Sughosha via Guix-patches via
                     ` (3 subsequent siblings)
  6 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-04  0:36 UTC (permalink / raw)
  To: 66856; +Cc: Sughosha

* gnu/packages/kde-xyz.scm (plasma-applet-better-inline-clock): New variable.

Change-Id: If73674849dc8941f7dfcbc35a1243af12dbb7419
---
 gnu/packages/kde-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/kde-xyz.scm b/gnu/packages/kde-xyz.scm
index 9a55c7114e..613733a7b0 100644
--- a/gnu/packages/kde-xyz.scm
+++ b/gnu/packages/kde-xyz.scm
@@ -85,3 +85,32 @@ (define-public plasma-applet-advanced-radio-player
        "Advanced Radio Player is a radio player extension for Plasma, with
 editable list of stations.")
     (license license:lgpl2.0+))))
+
+(define-public plasma-applet-better-inline-clock
+  (let ((commit "bbad71b48073879f16b484788d01831ad53316b5") ;version 3.1
+        (revision "0"))
+    (package
+      (name "plasma-applet-better-inline-clock")
+      (version "3.1")
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+            (url
+             "https://github.com/MarianArlt/kde-plasmoid-betterinlineclock")
+            (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "079k170dvga736hv4pi1n4mbqdwk1wl6n7x4blf22mn53zlcrl84"))))
+      (build-system copy-build-system)
+      (arguments
+       `(#:install-plan
+         `(("org.kde.plasma.betterinlineclock"
+            "/share/plasma/plasmoids/org.kde.plasma.betterinlineclock"))))
+      (home-page
+       "https://github.com/MarianArlt/kde-plasmoid-betterinlineclock")
+      (synopsis "Single line clock applet for Plasma")
+      (description
+       "This package provides single line clock applet for Plasma.")
+      (license license:gpl2+))))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66856] [PATCH v3 4/7] gnu: Add plasma-applet-window-appmenu.
  2023-11-04  0:36 ` [bug#66856] [PATCH v3 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
                     ` (2 preceding siblings ...)
  2023-11-04  0:36   ` [bug#66856] [PATCH v3 3/7] gnu: Add plasma-applet-better-inline-clock Sughosha via Guix-patches via
@ 2023-11-04  0:36   ` Sughosha via Guix-patches via
  2023-11-04  0:36   ` [bug#66856] [PATCH v3 5/7] gnu: Add plasma-applet-window-buttons Sughosha via Guix-patches via
                     ` (2 subsequent siblings)
  6 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-04  0:36 UTC (permalink / raw)
  To: 66856; +Cc: Sughosha

* gnu/packages/kde-xyz.scm (plasma-applet-window-appmenu): New variable.

Change-Id: I3bb2bd8faa11224ea226aa3753e0c66d99db4798
---
 gnu/packages/kde-xyz.scm | 46 +++++++++++++++++++++++++++++++++++++++-
 1 file changed, 45 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/kde-xyz.scm b/gnu/packages/kde-xyz.scm
index 613733a7b0..c24c50f60a 100644
--- a/gnu/packages/kde-xyz.scm
+++ b/gnu/packages/kde-xyz.scm
@@ -18,12 +18,16 @@
 
 (define-module (gnu packages kde-xyz)
   #:use-module (guix build-system copy)
+  #:use-module (guix build-system qt)
   #:use-module (guix gexp)
   #:use-module (guix git-download)
   #:use-module (guix packages)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages gnome-xyz)
-  #:use-module (gnu packages qt))
+  #:use-module (gnu packages kde-frameworks)
+  #:use-module (gnu packages kde-plasma)
+  #:use-module (gnu packages qt)
+  #:use-module (gnu packages xorg))
 
 (define-public flat-remix-kde-theme
   (let ((commit "18ac464d5b77dd140aeb6c6b98d687c086959247")
@@ -114,3 +118,43 @@ (define-public plasma-applet-better-inline-clock
       (description
        "This package provides single line clock applet for Plasma.")
       (license license:gpl2+))))
+
+(define-public plasma-applet-window-appmenu
+  ;; This commit fixes appmenu being unresponsive when hovering over other
+  ;; options after clicking on one.
+  (let ((commit "e044296256c866177c5c929f9280fb86b26dbf06")
+        (revision "0"))
+    (package
+      (name "plasma-applet-window-appmenu")
+      (version (git-version "0.8.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+            (url "https://github.com/psifidotos/applet-window-appmenu")
+            (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0n8jgn6vaw4ncvrqm1snn6izg16by1f9rzkjypphr8a6z65nz2dn"))))
+      (build-system qt-build-system)
+      (native-inputs
+       (list extra-cmake-modules))
+      (inputs
+       (list libsm
+             kconfigwidgets
+             kdecoration
+             kirigami
+             kitemmodels
+             kwayland
+             kwindowsystem
+             plasma-framework
+             plasma-workspace
+             qtdeclarative-5
+             qtx11extras))
+      (home-page "https://github.com/psifidotos/applet-window-appmenu")
+      (synopsis "Appmenu applet for Plasma")
+      (description
+       "This plasmoid shows the current window appmenu in Plasma panels or
+Latte Dock.")
+      (license license:gpl2+))))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66856] [PATCH v3 5/7] gnu: Add plasma-applet-window-buttons.
  2023-11-04  0:36 ` [bug#66856] [PATCH v3 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
                     ` (3 preceding siblings ...)
  2023-11-04  0:36   ` [bug#66856] [PATCH v3 4/7] gnu: Add plasma-applet-window-appmenu Sughosha via Guix-patches via
@ 2023-11-04  0:36   ` Sughosha via Guix-patches via
  2023-11-04  0:37   ` [bug#66856] [PATCH v3 6/7] gnu: Add plasma-applet-window-title Sughosha via Guix-patches via
  2023-11-04  0:37   ` [bug#66856] [PATCH v3 7/7] gnu: Add plasma-wallpaper-active-blur Sughosha via Guix-patches via
  6 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-04  0:36 UTC (permalink / raw)
  To: 66856; +Cc: Sughosha

* gnu/packages/kde-xyz.scm (plasma-applet-window-buttons): New variable.

Change-Id: I4c84e71e10fd8294ab1c81248ddf86909e714286
---
 gnu/local.mk                                  |  1 +
 gnu/packages/kde-xyz.scm                      | 39 ++++++++++++++
 ...sion-window-buttons-applet-fix-build.patch | 52 +++++++++++++++++++
 3 files changed, 92 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 c24c50f60a..da9d477fd1 100644
--- a/gnu/packages/kde-xyz.scm
+++ b/gnu/packages/kde-xyz.scm
@@ -23,6 +23,7 @@ (define-module (gnu packages kde-xyz)
   #:use-module (guix git-download)
   #:use-module (guix packages)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (gnu packages)
   #:use-module (gnu packages gnome-xyz)
   #:use-module (gnu packages kde-frameworks)
   #:use-module (gnu packages kde-plasma)
@@ -158,3 +159,41 @@ (define-public plasma-applet-window-appmenu
        "This plasmoid shows the current window appmenu in Plasma panels or
 Latte Dock.")
       (license license:gpl2+))))
+
+(define-public plasma-applet-window-buttons
+  (package
+    (name "plasma-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





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66856] [PATCH v3 6/7] gnu: Add plasma-applet-window-title.
  2023-11-04  0:36 ` [bug#66856] [PATCH v3 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
                     ` (4 preceding siblings ...)
  2023-11-04  0:36   ` [bug#66856] [PATCH v3 5/7] gnu: Add plasma-applet-window-buttons Sughosha via Guix-patches via
@ 2023-11-04  0:37   ` Sughosha via Guix-patches via
  2023-11-04  0:37   ` [bug#66856] [PATCH v3 7/7] gnu: Add plasma-wallpaper-active-blur Sughosha via Guix-patches via
  6 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-04  0:37 UTC (permalink / raw)
  To: 66856; +Cc: Sughosha

* gnu/packages/kde-xyz.scm (plasma-applet-window-title): New variable.

Change-Id: I3d49c3e91cea4add08e8c3124d14d5dcafe1d42e
---
 gnu/packages/kde-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/kde-xyz.scm b/gnu/packages/kde-xyz.scm
index da9d477fd1..1eb9d7e163 100644
--- a/gnu/packages/kde-xyz.scm
+++ b/gnu/packages/kde-xyz.scm
@@ -197,3 +197,33 @@ (define-public plasma-applet-window-buttons
     (description
      "This plasmoid shows window buttons in Plasma panels or Latte Dock.")
     (license license:gpl2+)))
+
+(define-public plasma-applet-window-title
+  (package
+    (name "plasma-applet-window-title")
+    (version "0.7.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+          (url "https://github.com/psifidotos/applet-window-title")
+          (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "01n663sy638v80gfclhy50xr22wlhg00yhgzwnsiqjvk42if49ib"))))
+    (build-system copy-build-system)
+    (arguments
+     `(#:install-plan
+       `(("." "/share/plasma/plasmoids/org.kde.windowtitle"
+          #:include-regexp ("/contents/" "metadata.desktop")))))
+    (inputs
+     (list kdeclarative
+           kirigami
+           plasma-workspace))
+    (home-page "https://github.com/psifidotos/applet-window-title")
+    (synopsis "Application title and icon for active window for Plasma")
+    (description
+     "This plasmoid shows the current window title and icon in Plasma panels or
+Latte Dock.")
+    (license license:gpl2+)))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

* [bug#66856] [PATCH v3 7/7] gnu: Add plasma-wallpaper-active-blur.
  2023-11-04  0:36 ` [bug#66856] [PATCH v3 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
                     ` (5 preceding siblings ...)
  2023-11-04  0:37   ` [bug#66856] [PATCH v3 6/7] gnu: Add plasma-applet-window-title Sughosha via Guix-patches via
@ 2023-11-04  0:37   ` Sughosha via Guix-patches via
  6 siblings, 0 replies; 24+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-04  0:37 UTC (permalink / raw)
  To: 66856; +Cc: Sughosha

* gnu/packages/kde-xyz.scm (plasma-wallpaper-active-blur): New variable.

Change-Id: I879d939ca58f32514a6ac69477aadcc285a2d750
---
 gnu/packages/kde-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/kde-xyz.scm b/gnu/packages/kde-xyz.scm
index 1eb9d7e163..22df7eab21 100644
--- a/gnu/packages/kde-xyz.scm
+++ b/gnu/packages/kde-xyz.scm
@@ -227,3 +227,29 @@ (define-public plasma-applet-window-title
      "This plasmoid shows the current window title and icon in Plasma panels or
 Latte Dock.")
     (license license:gpl2+)))
+
+(define-public plasma-wallpaper-active-blur
+  (package
+    (name "plasma-wallpaper-active-blur")
+    (version "2.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+          (url "https://github.com/bouteillerAlan/blurredwallpaper")
+          (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0b688d4p8n1wkhw3bp1zhxi5xbx806fy5hcgc8jrjj2kaclk408n"))))
+    (build-system copy-build-system)
+    (arguments
+     `(#:install-plan
+       `(("." "/share/plasma/wallpapers/a2n.blur"
+          #:include-regexp ("/assets/" "/contents/" "metadata.json")))))
+    (home-page "https://github.com/bouteillerAlan/blurredwallpaper")
+    (synopsis "Blurred wallpaper plugin for Plasma")
+    (description
+     "This Plasma wallpaper plugin blurs the wallpaper when a window is
+active.")
+    (license license:gpl2+)))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2023-11-04  0:39 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-31 20:18 [bug#66856] [PATCH 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
2023-10-31 20:18 ` [bug#66855] [PATCH 1/7] gnu: Add flat-remix-kde-theme Sughosha via Guix-patches via
2023-10-31 20:18 ` [bug#66860] [PATCH 2/7] gnu: Add plasma-shell-applet-advanced-radio-player Sughosha via Guix-patches via
2023-10-31 20:18 ` [bug#66854] [PATCH 3/7] gnu: Add plasma-shell-applet-better-inline-clock Sughosha via Guix-patches via
2023-10-31 20:18 ` [bug#66859] [PATCH 4/7] gnu: Add plasma-shell-applet-window-appmenu Sughosha via Guix-patches via
2023-10-31 20:18 ` [bug#66861] [PATCH 5/7] gnu: Add plasma-shell-applet-window-buttons Sughosha via Guix-patches via
2023-10-31 20:19 ` [bug#66857] [PATCH 6/7] gnu: Add plasma-shell-applet-window-title Sughosha via Guix-patches via
2023-10-31 20:19 ` [bug#66858] [PATCH 7/7] gnu: Add plasma-shell-wallpaper-active-blur Sughosha via Guix-patches via
2023-11-03  0:14 ` [bug#66856] [PATCH v2 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
2023-11-03  0:14   ` [bug#66856] [PATCH v2 1/7] gnu: Add flat-remix-kde-theme Sughosha via Guix-patches via
2023-11-03  0:14   ` [bug#66856] [PATCH v2 2/7] gnu: Add plasma-shell-applet-advanced-radio-player Sughosha via Guix-patches via
2023-11-03  0:14   ` [bug#66856] [PATCH v2 3/7] gnu: Add plasma-shell-applet-better-inline-clock Sughosha via Guix-patches via
2023-11-03  0:14   ` [bug#66856] [PATCH v2 4/7] gnu: Add plasma-shell-applet-window-appmenu Sughosha via Guix-patches via
2023-11-03  0:14   ` [bug#66856] [PATCH v2 5/7] gnu: Add plasma-shell-applet-window-buttons Sughosha via Guix-patches via
2023-11-03  0:14   ` [bug#66856] [PATCH v2 6/7] gnu: Add plasma-shell-applet-window-title Sughosha via Guix-patches via
2023-11-03  0:14   ` [bug#66856] [PATCH v2 7/7] gnu: Add plasma-shell-wallpaper-active-blur Sughosha via Guix-patches via
2023-11-04  0:36 ` [bug#66856] [PATCH v3 0/7] Add some themes and extensions for KDE Plasma Sughosha via Guix-patches via
2023-11-04  0:36   ` [bug#66856] [PATCH v3 1/7] gnu: Add flat-remix-kde-theme Sughosha via Guix-patches via
2023-11-04  0:36   ` [bug#66856] [PATCH v3 2/7] gnu: Add plasma-applet-advanced-radio-player Sughosha via Guix-patches via
2023-11-04  0:36   ` [bug#66856] [PATCH v3 3/7] gnu: Add plasma-applet-better-inline-clock Sughosha via Guix-patches via
2023-11-04  0:36   ` [bug#66856] [PATCH v3 4/7] gnu: Add plasma-applet-window-appmenu Sughosha via Guix-patches via
2023-11-04  0:36   ` [bug#66856] [PATCH v3 5/7] gnu: Add plasma-applet-window-buttons Sughosha via Guix-patches via
2023-11-04  0:37   ` [bug#66856] [PATCH v3 6/7] gnu: Add plasma-applet-window-title Sughosha via Guix-patches via
2023-11-04  0:37   ` [bug#66856] [PATCH v3 7/7] gnu: Add plasma-wallpaper-active-blur Sughosha via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).