aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gpsd
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2010-08-27 17:52:30 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2010-08-28 00:13:36 +0200
commit12ac96f04739c9fc23047102c9e3fabd1da5c365 (patch)
tree4d102870e8b80293fa39c3d04bab5bc84a07def9 /recipes/gpsd
parent6b1924c3ceaf2879bfeef5dcdc810bfedf47aa9e (diff)
downloadopenembedded-12ac96f04739c9fc23047102c9e3fabd1da5c365.tar.gz
gpsd: add 2.95 version which fixes python binding issues
gpsd 2.94 is known to have python binding issues: *From #gpsd in Freenode: Aug 26 14:48:15 <lindi-> GNUtoo|laptop: hmm, 2.94 sounds suspicious, i think the python bindings were bit buggy at that time *And I tried a python test program available here: http://lindi.iki.fi/lindi/gpsd/gpsd-get-position3 It failed to print something when a fix was there with 2.94 and succeded with 2.95 libtool.patch was rebased configure-libusb.patch didn't need to be rebased as it landed upstream Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Diffstat (limited to 'recipes/gpsd')
-rw-r--r--recipes/gpsd/gpsd-2.95/libtool.patch16
-rw-r--r--recipes/gpsd/gpsd_2.95.bb14
2 files changed, 30 insertions, 0 deletions
diff --git a/recipes/gpsd/gpsd-2.95/libtool.patch b/recipes/gpsd/gpsd-2.95/libtool.patch
new file mode 100644
index 0000000000..7b78a72d84
--- /dev/null
+++ b/recipes/gpsd/gpsd-2.95/libtool.patch
@@ -0,0 +1,16 @@
+Index: gpsd-2.95/Makefile.am
+===================================================================
+--- gpsd-2.95.orig/Makefile.am 2010-08-26 15:31:38.804330723 +0200
++++ gpsd-2.95/Makefile.am 2010-08-26 15:31:57.170020341 +0200
+@@ -253,9 +253,9 @@
+ # Warning: This overrides autoconf's normal link-line generation process
+ if LIBGPSMM_ENABLE
+ libgps_la_SOURCES += libgpsmm.cpp
+-libgps_la_LINK = /bin/sh ./libtool --tag=CXX --mode=link g++ $(libgps_la_LDFLAGS) -o $@
++libgps_la_LINK = $(LIBTOOL) --tag=CXX --mode=link g++ $(libgps_la_LDFLAGS) -o $@
+ else
+-libgps_la_LINK = /bin/sh ./libtool --tag=CC --mode=link gcc $(libgps_la_LDFLAGS) -o $@
++libgps_la_LINK = $(LIBTOOL) --tag=CC --mode=link gcc $(libgps_la_LDFLAGS) -o $@
+ endif
+
+ nodist_libgpsd_la_SOURCES = packet_names.h ais_json.i
diff --git a/recipes/gpsd/gpsd_2.95.bb b/recipes/gpsd/gpsd_2.95.bb
new file mode 100644
index 0000000000..27aa851246
--- /dev/null
+++ b/recipes/gpsd/gpsd_2.95.bb
@@ -0,0 +1,14 @@
+require gpsd.inc
+
+DEPENDS += "libusb1"
+
+SRC_URI += "file://libtool.patch \
+ "
+EXTRA_OECONF += "--disable-libQgpsmm"
+
+SRC_URI[gpsd.md5sum] = "12535a9ed9fecf9ea2c5bdc9840da5ae"
+SRC_URI[gpsd.sha256sum] = "832343a53921a8371efa540ba57c91dadedda445e571c1beb97c06539ef450ae"
+
+PR = "${INC_PR}.0"
+
+PARALLEL_MAKE = ""