--- Begin Message ---
Subject: |
[PATCH 2/3] gnu: Add osm-gps-map |
Date: |
Fri, 14 Jun 2019 19:27:50 +0200 |
* gnu/packages/geo.scm (osm-gps-map): New variable.
---
gnu/packages/geo.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index ec5ace3519..07831c85ca 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -869,3 +869,39 @@ dropping features at lower levels.")
OpenStreetMap project. They can be used to convert, filter and update
OpenStreetMap data files.")
(license license:agpl3)))
+
+(define-public osm-gps-map
+ (package
+ (name "osm-gps-map")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/nzjrs/osm-gps-map/releases/download/"
+ version
+ "/osm-gps-map-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "11imsf4cz1dpxdjh178k2s29axmq86rkfg1pqmn7incyxmjzhbwg"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("gnome-common" ,gnome-common)
+ ("gtk-doc" ,gtk-doc)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("cairo" ,cairo)
+ ("glib" ,glib)
+ ("gobject-introspection" ,gobject-introspection)
+ ("gtk+" ,gtk+)
+ ("libsoup" ,libsoup)))
+ (home-page "https://nzjrs.github.io/osm-gps-map/")
+ (synopsis "Gtk+ widget for displaying OpenStreetMap tiles")
+ (description
+ "A Gtk+ widget (and Python bindings) that when given GPS coordinates,
+draws a GPS track, and points of interest on a moving map display.
+Downloads map data from a number of websites, including
+@url{https://www.openstreetmap.org}.")
+ (license license:gpl2+)))
--
2.22.0
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#36211] [PATCH 2/3] gnu: Add osm-gps-map |
Date: |
Wed, 26 Jun 2019 15:34:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
Guillaume LE VAILLANT <address@hidden> skribis:
> * gnu/packages/geo.scm (osm-gps-map): New variable.
Applied with the changes below.
Ludo’.
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 07831c85ca..4cccd97643 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -879,10 +879,7 @@ OpenStreetMap data files.")
(method url-fetch)
(uri (string-append
"https://github.com/nzjrs/osm-gps-map/releases/download/"
- version
- "/osm-gps-map-"
- version
- ".tar.gz"))
+ version "/osm-gps-map-" version ".tar.gz"))
(sha256
(base32
"11imsf4cz1dpxdjh178k2s29axmq86rkfg1pqmn7incyxmjzhbwg"))))
@@ -898,10 +895,10 @@ OpenStreetMap data files.")
("gtk+" ,gtk+)
("libsoup" ,libsoup)))
(home-page "https://nzjrs.github.io/osm-gps-map/")
- (synopsis "Gtk+ widget for displaying OpenStreetMap tiles")
+ (synopsis "GTK+ widget for displaying OpenStreetMap tiles")
(description
- "A Gtk+ widget (and Python bindings) that when given GPS coordinates,
-draws a GPS track, and points of interest on a moving map display.
-Downloads map data from a number of websites, including
+ "This package provides a GTK+ widget (and Python bindings) that when
+given GPS coordinates,draws a GPS track, and points of interest on a moving
+map display. Downloads map data from a number of websites, including
@url{https://www.openstreetmap.org}.")
(license license:gpl2+)))
--- End Message ---