summaryrefslogtreecommitdiff
path: root/packages/openmoko-projects
diff options
context:
space:
mode:
authorJohn Lee <john_lee@openmoko.org>2008-04-23 12:19:11 +0000
committerJohn Lee <john_lee@openmoko.org>2008-04-23 12:19:11 +0000
commit554dd5264077a47371c781c616696347ff7ac877 (patch)
treebe9e88daabb651c966f29990959a2a21a22736d3 /packages/openmoko-projects
parent6460bd7c88c00f79d6e6ec5157256bdfffd70754 (diff)
tangogps: tangoGPS is a lightweight and fast mapping application designed
for OpenMoko/Neo1973, using OpenStreetMap.org maps and displaying your current position and track. applied changes from 6b6f52153dc207c2f96bbaa72c7da5c3df057896 through a1dbfb7ee9885518ffbf9f32565ae25635e17da5
Diffstat (limited to 'packages/openmoko-projects')
-rw-r--r--packages/openmoko-projects/tangogps/.mtn2git_empty0
-rw-r--r--packages/openmoko-projects/tangogps/global-config-h.patch30
-rw-r--r--packages/openmoko-projects/tangogps_0.7.bb17
3 files changed, 47 insertions, 0 deletions
diff --git a/packages/openmoko-projects/tangogps/.mtn2git_empty b/packages/openmoko-projects/tangogps/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/openmoko-projects/tangogps/.mtn2git_empty
diff --git a/packages/openmoko-projects/tangogps/global-config-h.patch b/packages/openmoko-projects/tangogps/global-config-h.patch
new file mode 100644
index 0000000000..973710c942
--- /dev/null
+++ b/packages/openmoko-projects/tangogps/global-config-h.patch
@@ -0,0 +1,30 @@
+Index: tangoGPS-0.7/src/globals.c
+===================================================================
+--- tangoGPS-0.7.orig/src/globals.c 2008-03-13 14:21:02.000000000 +0800
++++ tangoGPS-0.7/src/globals.c 2008-03-13 14:28:49.000000000 +0800
+@@ -3,11 +3,11 @@
+ * License GPLv2
+ ****************************************************************************/
+
++#include "globals.h"
++
+ #include <gtk/gtk.h>
+ #include <gps.h>
+
+-#include "globals.h"
+-
+ GdkPixmap *pixmap = NULL;
+ GtkWidget *window1 = NULL;
+ GtkWidget *window2 = NULL;
+Index: tangoGPS-0.7/src/globals.h
+===================================================================
+--- tangoGPS-0.7.orig/src/globals.h 2008-03-13 14:27:46.000000000 +0800
++++ tangoGPS-0.7/src/globals.h 2008-03-13 14:27:48.000000000 +0800
+@@ -1,3 +1,7 @@
++#ifdef HAVE_CONFIG_H
++# include <config.h>
++#endif
++
+ #include <gtk/gtk.h>
+ #include <gconf/gconf-client.h>
+
diff --git a/packages/openmoko-projects/tangogps_0.7.bb b/packages/openmoko-projects/tangogps_0.7.bb
new file mode 100644
index 0000000000..63513ffe00
--- /dev/null
+++ b/packages/openmoko-projects/tangogps_0.7.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "tangoGPS map"
+AUTHOR = "Marcus Bauer <marcus.bauer@gmail.com>"
+HOMEPAGE = "http://tangogps.org/"
+SECTION = "openmoko/pim"
+PRIORITY = "optional"
+LICENSE = "GPLv2"
+DEPENDS = "curl gtk+ gpsd"
+PR = "r1"
+
+SRC_URI = "http://tangogps.org/tangoGPS-0.7.tar.gz \
+ file://global-config-h.patch;patch=1"
+
+S = "${WORKDIR}/tangoGPS-0.7"
+
+inherit autotools
+
+CPPFLAGS += "-I${STAGING_INCDIR}/gconf/2/"