From 286ef5d97c2054c4361f728d2c92587084262e46 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Mon, 3 Jun 2019 01:32:55 +0300 Subject: gnu: gpxsee: Upgrade to 7.8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/gps.scm (gpxsee): Update to 7.8. [arguments]: Leave "config.h" unchanged in 'configure' phase. Remove 'install' phase. [home-page, synopsis, description]: Update. Signed-off-by: Ludovic Courtès --- gnu/packages/gps.scm | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) (limited to 'gnu/packages/gps.scm') diff --git a/gnu/packages/gps.scm b/gnu/packages/gps.scm index 66e091ddbf..ec45704029 100644 --- a/gnu/packages/gps.scm +++ b/gnu/packages/gps.scm @@ -175,7 +175,7 @@ coordinates as well as partial support for adjustments in global coordinate syst (define-public gpxsee (package (name "gpxsee") - (version "4.19") + (version "7.8") (source (origin (method url-fetch) (uri @@ -184,7 +184,7 @@ coordinates as well as partial support for adjustments in global coordinate syst (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "00j0gjldw1kn3i45dppld1pz8r4s1g7lw89k7gfvvqbjjyjih1wg")))) + "1k9nbs3knl6s0s4bf1rgrc9lwczawnzm7629igw0zmxb5yka7d9v")))) (build-system gnu-build-system) (arguments '(#:phases @@ -195,27 +195,16 @@ coordinates as well as partial support for adjustments in global coordinate syst (for-each (lambda (file) (invoke "lrelease" file)) (find-files "lang" "\\.ts")) - (substitute* "src/config.h" - (("/usr/share/gpxsee") - (string-append - (assoc-ref outputs "out") "/share/gpxsee"))) (invoke "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))))) + (assoc-ref outputs "out")))))))) (inputs `(("qtbase" ,qtbase))) (native-inputs `(("qttools" ,qttools))) - (home-page "http://www.gpxsee.org") - (synopsis "GPX file viewer and analyzer") + (home-page "https://www.gpxsee.org") + (synopsis "GPS log file viewer and analyzer") (description - "GPXSee is a Qt-based GPS log file viewer and analyzer that supports GPX, -TCX, KML, FIT, IGC and NMEA files.") + "GPXSee is a Qt-based GPS log file viewer and analyzer that supports +all common GPS log file formats.") (license license:gpl3))) -- cgit v1.2.3 From ed8a551653e3d833d3c9cbbd412782acfb26f666 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 13 Jun 2019 11:03:46 +0200 Subject: gnu: gpxsee: Fetch from Git instead of a generated tarball. * gnu/packages/gps.scm (gpxsee)[source]: Use 'git-fetch'. --- gnu/packages/gps.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gnu/packages/gps.scm') diff --git a/gnu/packages/gps.scm b/gnu/packages/gps.scm index ec45704029..75212ed60e 100644 --- a/gnu/packages/gps.scm +++ b/gnu/packages/gps.scm @@ -177,14 +177,14 @@ coordinates as well as partial support for adjustments in global coordinate syst (name "gpxsee") (version "7.8") (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")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/tumic0/GPXSee") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1k9nbs3knl6s0s4bf1rgrc9lwczawnzm7629igw0zmxb5yka7d9v")))) + "1ymqz4wrl9ghkyyqi2vrnlyvz3fc84s3p8a1dkiqlvyvj360ck9j")))) (build-system gnu-build-system) (arguments '(#:phases -- cgit v1.2.3