[oe-commits] Martin Jansa : gpsd: add 2.91 needed for mcnavi (needs gps_waiting())
git version control
git at git.openembedded.org
Thu Apr 1 22:28:37 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 99e01c4f2f5c2de1621506358026a33ba9b1ac9d
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=99e01c4f2f5c2de1621506358026a33ba9b1ac9d
Author: Martin Jansa <Martin.Jansa at gmail.com>
Date: Fri Apr 2 00:21:07 2010 +0200
gpsd: add 2.91 needed for mcnavi (needs gps_waiting())
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
recipes/gpsd/files/cross-compile-on-gentoo.patch | 28 ++++++++++++++++++++++
recipes/gpsd/gpsd_2.91.bb | 10 ++++++++
2 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/recipes/gpsd/files/cross-compile-on-gentoo.patch b/recipes/gpsd/files/cross-compile-on-gentoo.patch
new file mode 100644
index 0000000..d3d3231
--- /dev/null
+++ b/recipes/gpsd/files/cross-compile-on-gentoo.patch
@@ -0,0 +1,28 @@
+diff -uNr gpsd-2.91.orig//configure.ac gpsd-2.91/configure.ac
+--- gpsd-2.91.orig//configure.ac 2010-03-01 22:56:56.000000000 +0100
++++ gpsd-2.91/configure.ac 2010-04-01 16:58:00.000000000 +0200
+@@ -974,12 +974,6 @@
+ AC_SUBST(MANTARGET)
+ AC_SUBST(MANFLAGS)
+
+-dnl Gentoo systems can have a problem with the Python path
+-if test -e /etc/gentoo-release; then
+- AC_MSG_WARN([This is a Gentoo system.])
+- AC_MSG_WARN([Adjust your PYTHONPATH to see library directories under /usr/local/lib])
+-fi
+-
+ dnl Output the configuration summary
+ echo ""
+ echo "=========================================="
+diff -uNr gpsd-2.91.orig//Makefile.am gpsd-2.91/Makefile.am
+--- gpsd-2.91.orig//Makefile.am 2010-04-02 00:04:47.000000000 +0200
++++ gpsd-2.91/Makefile.am 2010-04-02 00:03:18.000000000 +0200
+@@ -257,7 +257,7 @@
+
+ # Install Python modules
+ install-exec-local:
+- $(PYTHON) setup.py install --prefix=${prefix} # --root=$(DESTDIR)
++ $(PYTHON) setup.py install --prefix=${prefix} --root=$(DESTDIR)
+ endif
+
+ if LIBGPSMM_ENABLE
diff --git a/recipes/gpsd/gpsd_2.91.bb b/recipes/gpsd/gpsd_2.91.bb
new file mode 100644
index 0000000..d0e858d
--- /dev/null
+++ b/recipes/gpsd/gpsd_2.91.bb
@@ -0,0 +1,10 @@
+require gpsd.inc
+
+SRC_URI += "file://libtool.patch;patch=1 \
+ file://cross-compile-on-gentoo.patch;patch=1 "
+SRC_URI[gpsd.md5sum] = "c1f97199168c03a431db1a6559b13448"
+SRC_URI[gpsd.sha256sum] = "02ee0f0a86a3c74fe807ea0a3fce908cb94dd7ff3afcef0b1fb663a46c1f71d8"
+
+PR = "${INC_PR}.0"
+
+PARALLEL_MAKE = ""
More information about the Openembedded-commits
mailing list