[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: gnome-weather: Work around desktop applicati
From: |
guix-commits |
Subject: |
branch master updated: gnu: gnome-weather: Work around desktop application startup failure. |
Date: |
Sun, 05 Apr 2020 08:58:36 -0400 |
This is an automated email from the git hooks/post-receive script.
ambrevar pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 4391fef gnu: gnome-weather: Work around desktop application startup
failure.
4391fef is described below
commit 4391fefc5e3a679825527d4567067f639972473f
Author: Pierre Neidhardt <address@hidden>
AuthorDate: Sun Apr 5 12:55:16 2020 +0200
gnu: gnome-weather: Work around desktop application startup failure.
* gnu/packages/gnome.scm (gnome-weather)[arguments]: Replace Exec= line with
gnome-weather.
---
gnu/packages/gnome.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 5954b8c..257cc5e 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -7728,6 +7728,17 @@ associations for GNOME.")
("gjs" ,gjs)
("gnome-desktop" ,gnome-desktop)
("libgweather" ,libgweather)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'fix-desktop-file
+ ;; FIXME: "gapplication launch org.gnome.Weather" fails for some
reason.
+ ;; See https://issues.guix.gnu.org/issue/39324.
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (applications (string-append out "/share/applications")))
+ (substitute* (string-append applications
"/org.gnome.Weather.desktop")
+ (("Exec=.*") "Exec=gnome-weather\n"))))))))
(synopsis "Weather monitoring for GNOME desktop")
(description "GNOME Weather is a small application that allows you to
monitor the current weather conditions for your city, or anywhere in the
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: gnome-weather: Work around desktop application startup failure.,
guix-commits <=