emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#30358: closed ([PATCH] gnu: Add gpxsee.)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#30358: closed ([PATCH] gnu: Add gpxsee.)
Date: Tue, 06 Feb 2018 14:53:02 +0000

Your message dated Tue, 06 Feb 2018 15:52:21 +0100
with message-id <address@hidden>
and subject line Re: [bug#30358] [PATCH] gnu: Add gpxsee.
has caused the debbugs.gnu.org bug report #30358,
regarding [PATCH] gnu: Add gpxsee.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
30358: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30358
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add gpxsee. Date: Mon, 5 Feb 2018 15:21:08 +0100
* gnu/packages/gps.scm (gpxsee): New variable.
---
 gnu/packages/gps.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/gnu/packages/gps.scm b/gnu/packages/gps.scm
index 732c073b5..b9d0d3109 100644
--- a/gnu/packages/gps.scm
+++ b/gnu/packages/gps.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2014, 2015 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2016, 2017 Efraim Flashner <address@hidden>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
+;;; Copyright © 2018 Mathieu Othacehe <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -171,3 +172,51 @@ useful in measurements where Global Positioning System 
(GPS) is not available,
 such as underground.  It features the ability to adjust in local Cartesian
 coordinates as well as partial support for adjustments in global coordinate 
systems.")
     (license license:gpl3+)))
+
+(define-public gpxsee
+  (package
+    (name "gpxsee")
+    (version "4.19")
+    (source (origin
+              (method url-fetch)
+              (uri
+               (string-append "https://github.com/tumic0/GPXSee/archive/";
+                              version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "00j0gjldw1kn3i45dppld1pz8r4s1g7lw89k7gfvvqbjjyjih1wg"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'configure
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (for-each (lambda (file)
+                         (system* "lrelease" file))
+                       (find-files "lang" "\\.ts"))
+             (substitute* "src/config.h"
+               (("/usr/share/gpxsee")
+                (string-append
+                 (assoc-ref outputs "out") "/share/gpxsee/")))
+             (zero?
+              (system* "qmake"
+                       (string-append "PREFIX="
+                                      (assoc-ref outputs "out"))))))
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out"))
+                    (share (string-append out "/share/gpxsee/")))
+               (install-file "GPXSee" (string-append out "/bin/GPXSee"))
+               (install-file "pkg/maps.txt" share))
+             #t)))))
+    (inputs
+     `(("qtbase" ,qtbase)))
+    (native-inputs
+     `(("qttools" ,qttools)))
+    (home-page "http://www.gpxsee.org";)
+    (synopsis "GPX file viewer and analyser")
+    (description
+     "GPXSee is a Qt-based GPS log file viewer and analyzer that supports GPX,
+TCX, KML, FIT, IGC and NMEA files.")
+    (license license:gpl3)))
-- 
2.16.1




--- End Message ---
--- Begin Message --- Subject: Re: [bug#30358] [PATCH] gnu: Add gpxsee. Date: Tue, 06 Feb 2018 15:52:21 +0100 User-agent: mu4e 0.9.18; emacs 25.3.1
Hi Danny,

> "analyser" or "analyzer" ?
>
> Otherwise LGTM!

I choose analyzer and pushed, thanks.

Mathieu


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]