[oe] [meta-java][PATCH] javasqlite: add support

Feng Mu Feng.Mu at windriver.com
Thu Jun 2 01:51:13 UTC 2016


Attached please find the new PATCH.

Changes against v1:

diff --git
a/recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch b/recipes-core/javasqlite/files/0
index d9f85e4..fc0da70 100644
---
a/recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch
+++
b/recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch
@@ -3,6 +3,8 @@ From: Feng Mu <Feng.Mu at windriver.com>
 Date: Fri, 27 May 2016 16:44:33 +0800
 Subject: [PATCH] fix errors during cross compile
 
+Upstream-Status: Inappropriate [embedded specific]
+
 Signed-off-by: Feng Mu <Feng.Mu at windriver.com>
 ---
  Makefile.in  |  56 +++++++--
diff --git a/recipes-core/javasqlite/javasqlite_20150419.bb
b/recipes-core/javasqlite/javasqlite_20150419.bb
index 785ac5a..d6259a9 100644
--- a/recipes-core/javasqlite/javasqlite_20150419.bb
+++ b/recipes-core/javasqlite/javasqlite_20150419.bb
@@ -34,6 +34,7 @@ EXTRA_OECONF = " \
 
 EXTRA_OEMAKE = "DESTDIR=${D}"
 
+# This dev package contains an '.so' file used for jni development
 INSANE_SKIP_${PN}-dev = "dev-elf"
 
 do_configure_append (){


/Feng

On Wed, 2016-06-01 at 12:32 +0300, Maxin B. John wrote:
> Hi,
> 
> On Wed, Jun 01, 2016 at 09:43:42AM +0800, Feng Mu wrote:
> > Javasqlite is a Java wrapper including a basic JDBC driver
> > for SQLite 2/3.
> > 
> > Signed-off-by: Feng Mu <Feng.Mu at windriver.com>
> > ---
> >  .../0001-fix-errors-during-cross-compile.patch     | 533 +++++++++++++++++++++
> >  recipes-core/javasqlite/javasqlite_20150419.bb     |  41 ++
> >  2 files changed, 574 insertions(+)
> >  create mode 100644 recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch
> >  create mode 100644 recipes-core/javasqlite/javasqlite_20150419.bb
> > 
> > diff --git a/recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch b/recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch
> > new file mode 100644
> > index 0000000..d9f85e4
> > --- /dev/null
> > +++ b/recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch
> > @@ -0,0 +1,533 @@
> > +From 7714a4c0e589f8b654e1270575512555ea4ad6c7 Mon Sep 17 00:00:00 2001
> > +From: Feng Mu <Feng.Mu at windriver.com>
> > +Date: Fri, 27 May 2016 16:44:33 +0800
> > +Subject: [PATCH] fix errors during cross compile
> 
> Missing upstream-status
> 
> > +Signed-off-by: Feng Mu <Feng.Mu at windriver.com>
> > +---
> > + Makefile.in  |  56 +++++++--
> > + configure.in | 382 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
> > + 2 files changed, 423 insertions(+), 14 deletions(-)
> > +
> 
> <snip>
> 
> > +
> > +SRC_URI[md5sum] = "242e384c1cd863d6996a35cf8c1c1e97"
> > +SRC_URI[sha256sum] = "b6b26e2c1a2174f5525d904eb3ff698c3f7089f0d4b4c84cf6121da08c8d801f"
> > +
> > +EXTRA_OECONF = " \
> > +    --with-sqlite3=${STAGING_DIR_NATIVE}/usr \
> > +    --with-sqlite3-target=${STAGING_DIR_TARGET}/usr \
> > +    --with-jdk=${STAGING_DIR_NATIVE}/usr/lib/jvm/icedtea7-native/ \
> > +    "
> > +
> > +EXTRA_OEMAKE = "DESTDIR=${D}"
> > +
> 
> It will be better if we have a comment explaining the reason for using INSANE_SKIP.
> 
> > +INSANE_SKIP_${PN}-dev = "dev-elf"
> > +
> > +do_configure_append (){
> > +	cp ${S}/*-libtool ${S}/libtool
> > +}
> 
> Best Regards,
> Maxin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-javasqlite-add-support.patch
Type: text/x-patch
Size: 24085 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160602/f31137b1/attachment-0002.bin>


More information about the Openembedded-devel mailing list