[oe-commits] Graeme Gregory : libgpsmgr_0.1.bb : apply patch to remove debian requirement, update staging.

git version control git at git.openembedded.org
Mon Feb 22 22:08:10 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: d88aa38f6b3117996af10d8c5a4ea76128f3cdc0
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d88aa38f6b3117996af10d8c5a4ea76128f3cdc0

Author: Graeme Gregory <dp at xora.org.uk>
Date:   Mon Feb 22 22:07:47 2010 +0000

libgpsmgr_0.1.bb : apply patch to remove debian requirement, update staging.

http://wiki.navit-project.org/index.php/Navit_on_OpenEmbedded_for_n810 has
a patch that is required on non debian systems.

---

 .../maemo4/libgpsmgr/configure-fix-version.patch   |   17 +++++++++++++++++
 recipes/maemo4/libgpsmgr_0.1.bb                    |   10 ++++------
 2 files changed, 21 insertions(+), 6 deletions(-)

diff --git a/recipes/maemo4/libgpsmgr/configure-fix-version.patch b/recipes/maemo4/libgpsmgr/configure-fix-version.patch
new file mode 100644
index 0000000..2ab6c40
--- /dev/null
+++ b/recipes/maemo4/libgpsmgr/configure-fix-version.patch
@@ -0,0 +1,17 @@
+Patch to fix compilation on systems not debian. Taken from
+
+http://wiki.navit-project.org/index.php/Navit_on_OpenEmbedded_for_n810#libgpsmgr_patch
+
+Index: libgpsmgr-0.1/configure.ac
+===================================================================
+--- libgpsmgr-0.1.orig/configure.ac
++++ libgpsmgr-0.1/configure.ac
+@@ -1,6 +1,5 @@
+-AC_INIT(Makefile.am)
+-AM_INIT_AUTOMAKE(libgpsmgr, patsubst(esyscmd([dpkg-parsechangelog | sed -n '/^Version: \(.*\)$/ {s//\1/;p}']), [
+-]))
++AC_INIT(Makefile.am, [0.1])
++AM_INIT_AUTOMAKE(libgpsmgr, [0.1])
+ AM_CONFIG_HEADER(config.h)
+ 
+ AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug],[Debug (default=no)])])
diff --git a/recipes/maemo4/libgpsmgr_0.1.bb b/recipes/maemo4/libgpsmgr_0.1.bb
index bcbb4ce..0a1141e 100644
--- a/recipes/maemo4/libgpsmgr_0.1.bb
+++ b/recipes/maemo4/libgpsmgr_0.1.bb
@@ -2,12 +2,10 @@ LICENSE = "nokia"
 
 # This is proprietary software in Chinook, so we have to stay with the last released
 # free version.
-SRC_URI = "http://repository.maemo.org/pool/bora/free/source/${PN}_${PV}-10.tar.gz"
+SRC_URI = "http://repository.maemo.org/pool/bora/free/source/${PN}_${PV}-10.tar.gz \
+           file://configure-fix-version.patch;patch=1"
 
-inherit autotools pkgconfig
-
-do_stage() {
-  autotools_stage_all
-}
+PR = "r1"
 
+inherit autotools
 





More information about the Openembedded-commits mailing list