mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: xfce4-whiskermenu-plugin: Fix installed shell script.
* gnu/packages/xfce.scm (xfce4-whiskermenu-plugin): Fix installed shell script. [arguments]: Add phase fix-shell-script to substitute paths to xfce4-panel and gettext. [inputs]: Add gettext-minimal. Co-authored-by: Kei Kebreau <kkebreau@posteo.net> Signed-off-by: Kei Kebreau <kkebreau@posteo.net>
This commit is contained in:
parent
d2ff5931ab
commit
476f19f57a
1 changed files with 12 additions and 1 deletions
|
@ -38,6 +38,7 @@ (define-module (gnu packages xfce)
|
|||
#:use-module (gnu packages cdrom)
|
||||
#:use-module (gnu packages fontutils)
|
||||
#:use-module (gnu packages freedesktop)
|
||||
#:use-module (gnu packages gettext)
|
||||
#:use-module (gnu packages glib)
|
||||
#:use-module (gnu packages gnome)
|
||||
#:use-module (gnu packages gstreamer)
|
||||
|
@ -592,11 +593,21 @@ (define-public xfce4-whiskermenu-plugin
|
|||
(inputs
|
||||
`(("xfce4-panel" ,xfce4-panel)
|
||||
("garcon" ,garcon)
|
||||
("gettext" ,gettext-minimal)
|
||||
("exo" ,exo)
|
||||
("gtk+" ,gtk+)
|
||||
("libxfce4ui" ,libxfce4ui)))
|
||||
(arguments
|
||||
`(#:tests? #f)) ; no tests
|
||||
`(#: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)))))
|
||||
(home-page "https://goodies.xfce.org/projects/panel-plugins/xfce4-whiskermenu-plugin")
|
||||
(synopsis "Application menu panel plugin for Xfce")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue