[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/06: gnu: polari: Use polari command to launch Polari.
From: |
guix-commits |
Subject: |
06/06: gnu: polari: Use polari command to launch Polari. |
Date: |
Wed, 15 Dec 2021 14:40:04 -0500 (EST) |
lilyp pushed a commit to branch master
in repository guix.
commit b574ccc45371eb5c1df3089be783fedb39273e33
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Wed Dec 15 20:37:02 2021 +0100
gnu: polari: Use polari command to launch Polari.
The rationale for patching the Exec line is similar to what is done for
gnome-weather.
* gnu/packages/gnome.scm (polari)[#:phases]: Add ‘fix-desktop-file’ phase.
---
gnu/packages/gnome.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index ad49f6e..9248475 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -11564,6 +11564,13 @@ environment.")
(substitute* "meson/meson-postinstall.sh"
(("gtk-update-icon-cache") (which "true")))
#t))
+ (add-after 'install 'fix-desktop-file
+ ;; Hardcode launcher to be on the safe side
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (substitute* (string-append out "/share/applications/"
+ "org.gnome.Polari.desktop")
+ (("Exec=.*") "Exec=" out "/bin/polari")))))
(add-after 'glib-or-gtk-wrap 'wrap-typelib
(lambda* (#:key outputs #:allow-other-keys)
(let ((prog (string-append (assoc-ref outputs "out")
- branch master updated (3eadcdc -> b574ccc), guix-commits, 2021/12/15
- 02/06: gnu: polari: Update to 40.1., guix-commits, 2021/12/15
- 01/06: gnu: gitg: Fix compilation., guix-commits, 2021/12/15
- 04/06: gnu: gnome-shell-extension-dash-to-panel: Update to 45., guix-commits, 2021/12/15
- 03/06: gnu: gnome-shell-extension-dash-to-dock: Update to 71., guix-commits, 2021/12/15
- 05/06: gnu: gnome-shell-extensions: Update to 41.0., guix-commits, 2021/12/15
- 06/06: gnu: polari: Use polari command to launch Polari.,
guix-commits <=