Skip to contentSkip to conversation

meta-java fixes

PATCH In review Cristian Iorga 2 participants 5 messages Oct 10, 2014 – Nov 13, 2014

lore
Share & tools
lore
#0 lore raw

cover meta-java fixes

meta-java build time fixes with the pre 1.7 Yocto Project release.

Cristian Iorga (2):
openjdk: add pkgconfig support
ecj: fix unpackpost task

 recipes-core/ecj/libecj-bootstrap.inc   | 2 +-
 recipes-core/openjdk/openjdk-common.inc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/2 openjdk: add pkgconfig support

pkgconfig is now enabled, so that pkg-config
macros will not fail in configure stage.

---
 recipes-core/openjdk/openjdk-common.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-core/openjdk/openjdk-common.inc +1 -1
index e7211e5..e1c0d2e 100644
@@ -17,7 +17,7 @@ DEPENDS_append_libc-uclibc = " virtual/libiconv "
 # because structure sizes and/or alignment may differ.
 DEPENDS_append = " qemu-native "
 
-inherit java autotools gettext qemu
+inherit java autotools gettext qemu pkgconfig
 
 # OpenJDK uses slightly different names for certain arches. We need to know
 #	this to create some files which are expected by the build.
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/2 ecj: fix unpackpost task

In reply to Cristian Iorga

ecj recipe is built as initial and as native, as such, unpackpost is run multiple times over the same code source. Added check if a move operation hasn't been already executed.

---
 recipes-core/ecj/libecj-bootstrap.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-core/ecj/libecj-bootstrap.inc +1 -1
index 9e1cc1d..cd9d90f 100644
@@ -29,7 +29,7 @@ do_unpackpost() {
   rm -rf META-INF
 
   # Move source into separate subdir.
-  if [ -d org ]; then
+  if [ -d org  -a ! -d source/org ]; then
     mv org source/
   fi
   # Remove stuff unneeded for the bootstrap compiler.
Signature · 1 line
1.9.1
#3 lore raw
In reply to Cristian Iorga
Quoted 18 lines · Cristian Iorga

meta-java build time fixes with the pre 1.7 Yocto Project release.

Cristian Iorga (2):
openjdk: add pkgconfig support
ecj: fix unpackpost task

 recipes-core/ecj/libecj-bootstrap.inc   | 2 +-
 recipes-core/openjdk/openjdk-common.inc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 7 lines
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Hi,

thanks for the patches I have applied them for the dora branch, master is still building.

Bye Henning

#4 lore raw

Hi Henning,
Will these patches get integrated in master?
Also, I am not familiar with the release cycle of meta-java, is there some place where I can get this info from?

Regards,
Cristian Iorga
Yocto Project
Intel Corporation

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Henning Heinold
Sent: Tuesday, October 14, 2014 10:11 PM
To: [email protected]
Subject: Re: [oe] [PATCH 0/2] meta-java fixes

Quoted 18 lines · Cristian Iorga

meta-java build time fixes with the pre 1.7 Yocto Project release.

Cristian Iorga (2):
openjdk: add pkgconfig support
ecj: fix unpackpost task

 recipes-core/ecj/libecj-bootstrap.inc   | 2 +-
 recipes-core/openjdk/openjdk-common.inc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 7 lines
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Hi,

thanks for the patches I have applied them for the dora branch, master is still building.

Bye Henning

Signature · 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel