[SM-Commit] GIT changes to master grimoire by Florian Franzmann (0028024e12a6470accabe52321bf1bebdd365505)

Florian Franzmann scm at sourcemage.org
Wed May 9 13:11:15 EDT 2012


GIT changes to master grimoire by Florian Franzmann <siflfran at hawo.stw.uni-erlangen.de>:

 ChangeLog              |    4 ++++
 science/mkgmap/BUILD   |    3 +++
 science/mkgmap/DEPENDS |    2 ++
 science/mkgmap/DETAILS |   35 +++++++++++++++++++++++++++++++++++
 science/mkgmap/HISTORY |    3 +++
 science/mkgmap/INSTALL |    3 +++
 science/mkgmap/mkgmap  |    3 +++
 7 files changed, 53 insertions(+)

New commits:
commit 0028024e12a6470accabe52321bf1bebdd365505
Author: Florian Franzmann <siflfran at hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran at hawo.stw.uni-erlangen.de>

    science/mkgmap: new spell, a tool for generating Garmin img files from OpenStreetMap data

diff --git a/ChangeLog b/ChangeLog
index 2ccf5b2..2b4fd15 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-05-09 Florian Franzmann <siflfran at hawo.stw.uni-erlangen.de>
+	* science/mkgmap: new spell, a tool for generating Garmin img files from
+	  OpenStreetMap data
+
 2012-05-09 Ladislav Hagara <hgr at vabo.cz>
 	* crypto/npth: new spell, new GNU Portable Threads Library
 
diff --git a/science/mkgmap/BUILD b/science/mkgmap/BUILD
new file mode 100755
index 0000000..c080dbd
--- /dev/null
+++ b/science/mkgmap/BUILD
@@ -0,0 +1,3 @@
+. $INSTALL_ROOT/etc/profile.d/ant.sh  &&
+. $INSTALL_ROOT/etc/profile.d/java.sh &&
+ant
diff --git a/science/mkgmap/DEPENDS b/science/mkgmap/DEPENDS
new file mode 100755
index 0000000..108a8e5
--- /dev/null
+++ b/science/mkgmap/DEPENDS
@@ -0,0 +1,2 @@
+depends JDK &&
+depends ant 
diff --git a/science/mkgmap/DETAILS b/science/mkgmap/DETAILS
new file mode 100755
index 0000000..ee130cc
--- /dev/null
+++ b/science/mkgmap/DETAILS
@@ -0,0 +1,35 @@
+           SPELL=mkgmap
+         VERSION=r2277
+          SOURCE="${SPELL}-${VERSION}-src.tar.gz"
+   SOURCE_URL[0]=http://www.${SPELL}.org.uk/snapshots/${SOURCE}
+     SOURCE_HASH=sha512:a66c41cb9656d4eba4ac459715c32b381d604781ddcbee85a47f9deb608db8a76ab337726d0a6f99b115deb83da492e425e404ee474b4b2dbd9c4ecd55eed191
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+        WEB_SITE="http://www.mkgmap.org.uk/page/main"
+      LICENSE[0]=GPL
+         ENTERED=20120509
+           SHORT="converts OpenStreetMap data to Garmin's .img format"
+cat << EOF
+The mkgmap program takes OpenStreetMap data and generates a map in the Garmin
+.img file format so that it can be loaded onto compatible GPS units.
+
+* Generates a map directly from a file saved from JOSM or from an extract of
+  the main OSM planet file.
+* Converts several .osm files in one run of the program to create a map tile
+  set.
+* Creates a .tdb file and an overview map that can be used to view the maps in
+  MapSource or QLandkarte.
+* Creates a gmapsupp.img file that can be copied directly to an SD card.  *
+Can also combine previously produced .img files into one gmapsupp.img file.
+* Create a .tdb and overview map from previously produced .img files.  *
+The mapping between OSM features features in the Garmin map can be
+  customised.
+* Transliteration of characters to ascii where that is possible to enable
+  viewing on low end devices or for international maps.
+* Character set can be specified for display on capable GPS devices.  *
+Control over the zoom levels that any feature appears at.
+
+The program does not send the created maps to the GPS unit. This can be done
+with another program such as sendmap or qlandkarte gt. If your GPS device
+has a removable SD card, then you can just create a gmapsupp.img file and
+copy it to the cards in the Garmin directory.
+EOF
diff --git a/science/mkgmap/HISTORY b/science/mkgmap/HISTORY
new file mode 100644
index 0000000..006e1dd
--- /dev/null
+++ b/science/mkgmap/HISTORY
@@ -0,0 +1,3 @@
+2012-05-09 Florian Franzmann <siflfran at hawo.stw.uni-erlangen.de>
+	* BUILD, DEPENDS, DETAILS, INSTALL: spell created
+
diff --git a/science/mkgmap/INSTALL b/science/mkgmap/INSTALL
new file mode 100755
index 0000000..242a6bd
--- /dev/null
+++ b/science/mkgmap/INSTALL
@@ -0,0 +1,3 @@
+mkdir -p ${INSTALL_ROOT}/usr/share/mkgmap                                           &&
+install -m644 ${SOURCE_DIRECTORY}/dist/mkgmap.jar ${INSTALL_ROOT}/usr/share/mkgmap/ &&
+install -m755 ${SCRIPT_DIRECTORY}/mkgmap ${INSTALL_ROOT}/usr/bin/
diff --git a/science/mkgmap/mkgmap b/science/mkgmap/mkgmap
new file mode 100644
index 0000000..56556d9
--- /dev/null
+++ b/science/mkgmap/mkgmap
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+java -jar /usr/share/mkgmap/mkgmap.jar "$@"


More information about the SM-Commit mailing list