[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: qgis: Fix some plugins.
From: |
guix-commits |
Subject: |
branch master updated: gnu: qgis: Fix some plugins. |
Date: |
Sat, 04 Apr 2020 14:05:20 -0400 |
This is an automated email from the git hooks/post-receive script.
glv pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 5ef1b17 gnu: qgis: Fix some plugins.
5ef1b17 is described below
commit 5ef1b17578cc247df10257d982a4cd670a74a94a
Author: Guillaume Le Vaillant <address@hidden>
AuthorDate: Sat Apr 4 19:57:50 2020 +0200
gnu: qgis: Fix some plugins.
* gnu/packages/geo.scm (qgis)[arguments]: Add a 'wrap-gis' phase to set the
environment variables required by some plugins.
---
gnu/packages/geo.scm | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index e895c06..86385c1 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -1933,6 +1933,22 @@ growing set of geoscientific methods.")
(add-after 'wrap-python 'wrap-qt
(lambda* (#:key outputs #:allow-other-keys)
(wrap-qt-program (assoc-ref outputs "out") "qgis")
+ #t))
+ (add-after 'wrap-qt 'wrap-gis
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (saga (string-append (assoc-ref inputs "saga") "/bin"))
+ (grass-version ,(package-version grass))
+ (grass-majorminor (string-join
+ (list-head
+ (string-split grass-version #\.) 2)
+ ""))
+ (grass (string-append (assoc-ref inputs "grass")
+ "/grass" grass-majorminor)))
+ (wrap-program (string-append out "/bin/qgis")
+ `("PATH" ":" prefix (,saga))
+ `("QGIS_PREFIX_PATH" = (,out))
+ `("GISBASE" = (,grass))))
#t)))))
(inputs
`(("exiv2" ,exiv2)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: qgis: Fix some plugins.,
guix-commits <=