summaryrefslogtreecommitdiff
path: root/packages/tangogps
diff options
context:
space:
mode:
authorShane Volpe <shanevolpe@gmail.com>2008-08-20 16:47:44 +0000
committerShane Volpe <shanevolpe@gmail.com>2008-08-20 16:47:44 +0000
commit82ca407ddec93623fee1d99f1605ba2417ce9204 (patch)
treec549ccd559bb23443eab006b1d3d2988263d0d27 /packages/tangogps
parent411fb3bd110dc22736434958bd66c2ee573a179d (diff)
parent21c3f941b0a83b20e346ec59fb0705082bc9becc (diff)
merge of '1000bbf185b8d82a04217a427713db28aa841cab'
and '72496963bc56d2931e759395604bb874363cb29a'
Diffstat (limited to 'packages/tangogps')
-rw-r--r--packages/tangogps/files/0004-Update-fix-timestamp-from-gypsy.patch18
-rw-r--r--packages/tangogps/tangogps-fso_0.9.2.bb3
2 files changed, 21 insertions, 0 deletions
diff --git a/packages/tangogps/files/0004-Update-fix-timestamp-from-gypsy.patch b/packages/tangogps/files/0004-Update-fix-timestamp-from-gypsy.patch
new file mode 100644
index 0000000000..d427108cc7
--- /dev/null
+++ b/packages/tangogps/files/0004-Update-fix-timestamp-from-gypsy.patch
@@ -0,0 +1,18 @@
+--- tangogps-0.9.2/src/gps_functions.c~ 2008-08-15 05:54:26.000000000 +0930
++++ tangogps-0.9.2/src/gps_functions.c 2008-08-15 23:29:19.000000000 +0930
+@@ -649,6 +649,7 @@
+ int timestamp, double latitude, double longitude, double altitude, void *user_data)
+ {
+ if (gpsdata->valid) {
++ gpsdata->fix.time = timestamp;
+ gpsdata->fix.latitude = latitude;
+ gpsdata->fix.longitude = longitude;
+ gpsdata->fix.altitude = altitude;
+@@ -664,6 +665,7 @@
+ static void on_course_changed(GypsyCourse *course, GypsyCourseFields fields_set,
+ int timestamp, double speed, double direction, double climb, void *user_data)
+ {
++ gpsdata->fix.time = timestamp;
+ gpsdata->fix.speed = speed/3.6;
+ gpsdata->fix.track = direction;
+ }
diff --git a/packages/tangogps/tangogps-fso_0.9.2.bb b/packages/tangogps/tangogps-fso_0.9.2.bb
index c3f202724f..22b65e7f4a 100644
--- a/packages/tangogps/tangogps-fso_0.9.2.bb
+++ b/packages/tangogps/tangogps-fso_0.9.2.bb
@@ -1,8 +1,11 @@
require tangogps.inc
+PR = "r1"
+
RDEPENDS = "frameworkd"
SRC_URI += "\
file://0002-Get-GPS-data-via-the-gypsy-interface.patch;patch=1 \
file://0003-Try-to-request-the-GPS-resource-from-ousaged.patch;patch=1 \
+ file://0004-Update-fix-timestamp-from-gypsy.patch;patch=1 \
"