[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: gnome-maps: Patch DBUS service.
From: |
guix-commits |
Subject: |
03/03: gnu: gnome-maps: Patch DBUS service. |
Date: |
Tue, 29 Dec 2020 07:57:55 -0500 (EST) |
leoprikler pushed a commit to branch master
in repository guix.
commit a2d5f9f60d0f440e5d5ce1a1cc81743b27d6cede
Author: Leo Prikler <leo.prikler@student.tugraz.at>
AuthorDate: Mon May 11 13:30:44 2020 +0200
gnu: gnome-maps: Patch DBUS service.
* gnu/packages/geo.scm (gnome-maps):
[arguments]<#:phases>: Add patch-dbus-service.
---
gnu/packages/geo.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index b8daf32..f7f18cf 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -227,6 +227,12 @@ topology functions.")
(substitute* "meson_post_install.py"
(("gtk-update-icon-cache") "true"))
#t))
+ (add-after 'unpack 'patch-dbus-service
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "data/org.gnome.Maps.service.in"
+ (("@pkgdatadir@/org.gnome.Maps")
+ (string-append (assoc-ref outputs "out") "/bin/gnome-maps")))
+ #t))
(add-after 'install 'wrap
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))