[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: gnome-maps: Fix runtime error.
From: |
guix-commits |
Subject: |
01/01: gnu: gnome-maps: Fix runtime error. |
Date: |
Wed, 7 Aug 2019 13:03:49 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 9fa7c20be969eee7fa04d94fafeac94818fff01a
Author: Ricardo Wurmus <address@hidden>
Date: Wed Aug 7 19:02:10 2019 +0200
gnu: gnome-maps: Fix runtime error.
Fixes <https://bugs.gnu.org/35761>.
* gnu/packages/geo.scm (gnome-maps)[arguments]: Add lib output of
gnome-online-accounts and geocode-glib to LD_LIBRARY_PATH.
[inputs]: Add gnome-online-accounts:lib.
---
gnu/packages/geo.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 8005c46..edb3b49 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -131,7 +131,12 @@ topology functions.")
(gi-typelib-path (getenv "GI_TYPELIB_PATH"))
(goa-path (string-append
(assoc-ref inputs "gnome-online-accounts")
+ "/lib:"
+ (assoc-ref inputs "gnome-online-accounts:lib")
"/lib"))
+ (geocode-glib-path (string-append
+ (assoc-ref inputs "geocode-glib")
+ "/lib"))
(webkitgtk-path (string-append
(assoc-ref inputs "webkitgtk")
"/lib")))
@@ -141,7 +146,8 @@ topology functions.")
;; There seems to be no way to embed the path of
;; libgoa-1.0.so.0, libwebkit2gtk-4.0.so.37 and
;; libjavascriptcoregtk-4.0.so.18.
- `("LD_LIBRARY_PATH" ":" prefix (,goa-path ,webkitgtk-path)))
+ `("LD_LIBRARY_PATH" ":" prefix
+ (,goa-path ,webkitgtk-path ,geocode-glib-path)))
#t))))))
(native-inputs
`(("gobject-introspection" ,gobject-introspection)
@@ -163,6 +169,7 @@ topology functions.")
("gjs" ,gjs)
("glib" ,glib)
("gnome-online-accounts" ,gnome-online-accounts)
+ ("gnome-online-accounts:lib" ,gnome-online-accounts "lib")
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("rest" ,rest)
("webkitgtk" ,webkitgtk)))