aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2011-05-31 21:42:30 +0000
committerutx@penguin.cz <utx@penguin.cz>2011-05-31 21:42:30 +0000
commitdbc1e12e03d23f2f02446aedf0dd9086bb438f41 (patch)
treef5c47bbbd52bbb71308353cc99b3e132141cefee
parent936cf6aac940006a9136452fffd2b470a758b0f6 (diff)
downloadopenembedded-dbc1e12e03d23f2f02446aedf0dd9086bb438f41.zip
openembedded-dbc1e12e03d23f2f02446aedf0dd9086bb438f41.tar.gz
openembedded-dbc1e12e03d23f2f02446aedf0dd9086bb438f41.tar.bz2
mtkbabel: Upgrade to version 0.8.2.
Signed-off-by: Stanislav Brabec <utx@penguin.cz>
-rw-r--r--recipes/mtkbabel/files/fast-logging.patch45
-rw-r--r--recipes/mtkbabel/mtkbabel_0.8.2.bb (renamed from recipes/mtkbabel/mtkbabel_0.8.bb)9
2 files changed, 4 insertions, 50 deletions
diff --git a/recipes/mtkbabel/files/fast-logging.patch b/recipes/mtkbabel/files/fast-logging.patch
deleted file mode 100644
index bc03732..0000000
--- a/recipes/mtkbabel/files/fast-logging.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-Many MTK devices allow to set distances from 0.1 m and time 0.1 km/h.
-Modify limits accordingly.
-FIXME: Entering non-integer values should be possible.
-Index: mtkbabel-0.8/mtkbabel
-===================================================================
---- mtkbabel-0.8.orig/mtkbabel 2009-01-20 21:27:52.000000000 +0000
-+++ mtkbabel-0.8/mtkbabel 2009-04-28 21:16:41.000000000 +0000
-@@ -241,7 +241,7 @@
- -p port Communication port, default: $port
- -R Recover from disabled log: erase data and reset recording criteria
- -r time:distance:speed Set logging criteria (zero to disable):
-- every 1-999 seconds, every 10-9999 meters, over 10-999 km/h
-+ every 1-999 seconds, every 1-9999 meters, over 1-999 km/h
- -s speed Serial port speed, default $baudrate baud
- -t Create a gpx file with tracks
- -v Print MTKBabel version and exit
-@@ -376,11 +376,11 @@
- packet_send(sprintf('PMTK182,1,3,%u', $time * 10));
- packet_wait('PMTK001,182,1,3');
- }
-- if (defined($distance) and (($distance >= 10 and $distance <= 9999) or ($distance == 0))) {
-+ if (defined($distance) and (($distance >= 1 and $distance <= 9999) or ($distance == 0))) {
- packet_send(sprintf('PMTK182,1,4,%u', $distance * 10));
- packet_wait('PMTK001,182,1,3');
- }
-- if (defined($speed) and (($speed >= 10 and $speed <= 999) or ($speed == 0))) {
-+ if (defined($speed) and (($speed >= 1 and $speed <= 999) or ($speed == 0))) {
- packet_send(sprintf('PMTK182,1,5,%u', $speed * 10));
- packet_wait('PMTK001,182,1,3');
- }
-Index: mtkbabel-0.8/mtkbabel.1
-===================================================================
---- mtkbabel-0.8.orig/mtkbabel.1 2009-01-20 21:27:52.000000000 +0000
-+++ mtkbabel-0.8/mtkbabel.1 2009-04-28 21:17:29.000000000 +0000
-@@ -124,8 +124,8 @@
- Recover from disabled log: erase data and reset recording criteria.
- .TP
- .BR "\-r" " time:distance:speed"
--Set logging criteria (zero to disable): every 1-999 seconds, every 10-9999
--meters, over 10-999 km/h.
-+Set logging criteria (zero to disable): every 1-999 seconds, every 1-9999
-+meters, over 1-999 km/h.
- .TP
- .BR "\-s" " speed"
- Serial port speed, default
diff --git a/recipes/mtkbabel/mtkbabel_0.8.bb b/recipes/mtkbabel/mtkbabel_0.8.2.bb
index f9029c5..422cf8f 100644
--- a/recipes/mtkbabel/mtkbabel_0.8.bb
+++ b/recipes/mtkbabel/mtkbabel_0.8.2.bb
@@ -3,12 +3,11 @@ DESCRIPTION = "Control program for GPS units using the MediaTek (MTK) chipset"
HOMEPAGE = "http://www.rigacci.org/wiki/doku.php/doc/appunti/hardware/gps_logger_i_blue_747"
LICENSE = "GPL"
PACKAGE_ARCH = "all"
-PR = "r2"
+PR = "r0"
RDEPENDS_${PN} = "libdevice-serialport-perl libtimedate-perl perl-module-file-basename perl-module-getopt-std"
-SRC_URI = "${SOURCEFORGE_MIRROR}/sourceforge/${PN}/${P}.tar.gz \
- file://fast-logging.patch"
+SRC_URI = "${SOURCEFORGE_MIRROR}/sourceforge/${PN}/${P}.tar.gz"
do_install() {
install -d ${D}${bindir}
@@ -17,5 +16,5 @@ do_install() {
install -m 0644 mtkbabel.1 ${D}${mandir}/man1/
}
-SRC_URI[md5sum] = "d5518b678bffb58ceeae898d950ee27e"
-SRC_URI[sha256sum] = "591597c0787822c9fd56c7a3da214e81edd3c98f32d16858221e02dfc0f63779"
+SRC_URI[md5sum] = "2c33519ac28afce2ba9da2db6fb83e47"
+SRC_URI[sha256sum] = "3c7b7959b7d0394a99fc95fd524b9a698c19bfe0b59188bd3cf7bb15f81ed6df"