[bug#72991,04/11] gnu: xfce4-whiskermenu-plugin: Update to 2.8.3.

Message ID 4b95c67acef66eff2c9a921d933d9a92cdc09372.1725321401.git.iyzsong@member.fsf.org
State New
Headers
Series xfce 4.18 updates |

Commit Message

iyzsong--- via Guix-patches via Sept. 3, 2024, midnight UTC
  From: 宋文武 <iyzsong@member.fsf.org>

* gnu/packages/xfce.scm (xfce4-whiskermenu-plugin): Update to 2.8.3.
[inputs]: Add accountsservice and gtk-layer-shell.
[arguments]: Remove 'fix-shell-script phase.

Change-Id: I87fc277c5e32674a505a532ad129c75d24d854a5
---
 gnu/packages/xfce.scm | 19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)
  

Patch

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index 11becd38d2..99a6fd7503 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -525,7 +525,7 @@  (define-public xfce4-pulseaudio-plugin
 (define-public xfce4-whiskermenu-plugin
   (package
     (name "xfce4-whiskermenu-plugin")
-    (version "2.7.3")
+    (version "2.8.3")
     (source
      (origin
        (method url-fetch)
@@ -533,28 +533,21 @@  (define-public xfce4-whiskermenu-plugin
                            "xfce4-whiskermenu-plugin/" (version-major+minor version) "/"
                            "xfce4-whiskermenu-plugin-" version ".tar.bz2"))
        (sha256
-        (base32 "1sg6kx52c5j1l7y6z156gxk4b0ppj210i40hzbvqqf35jvn9j9ns"))))
+        (base32 "1l4wzirqk754cliwyhl28f460xkqzqi9a9s7jirx164gcn3w4xp7"))))
     (build-system cmake-build-system)
     (native-inputs
      (list pkg-config intltool))
     (inputs
-     (list xfce4-panel
+     (list accountsservice
+           xfce4-panel
            garcon
            gettext-minimal
            exo
            gtk
+           gtk-layer-shell
            libxfce4ui))
     (arguments
-     `(#:tests? #f                      ; no tests
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'fix-shell-script
-           (lambda* (#:key inputs #:allow-other-keys)
-             (substitute* (string-append "panel-plugin/xfce4-popup-whiskermenu.in")
-               (("@CMAKE_INSTALL_FULL_BINDIR@")
-                (string-append (assoc-ref inputs "xfce4-panel") "/bin"))
-               (("gettext") (which "gettext")))
-             #t)))))
+     (list #:tests? #f))                ; no tests
     (home-page "https://goodies.xfce.org/projects/panel-plugins/xfce4-whiskermenu-plugin")
     (synopsis "Application menu panel plugin for Xfce")
     (description