aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-03-31README: typo fix (s/lease/least/)Mario Domenech Goulart
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-31rxtx: put .jar and .so files into the same package (librxtx-java)Mario Domenech Goulart
That's how Debian does, supposedly because it does not make sense to ship .jar and .so files into separate packages. Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-11openjdk-7-jre: RDEPENDS openjdk-7-commonMagnus Olsson
-jre binaries such as keytool, policytool and more requires libjli.so so ensure there's a RDEPEND that provides it. Same goes for openjdk-7-java (java binary FILERDEPENDS libjli.so). Both of these already DEPENDS -common, so the build was not broken before but this patch will also silence the QA file-rdeps issue. Signed-off-by: Magnus Olsson <magnus@minimum.se> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-11rxtx: add patch to support i.MX serial portsMario Domenech Goulart
Support for /dev/ttymxc* devices. Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-11rxtx: update to the latest Debian patchsetMario Domenech Goulart
Update the recipe to apply all patches available from git://anonscm.debian.org/pkg-java/rxtx.git as of a4cd13e04254cea7842df2e30e9d12e9765a3ef9. Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-11initials: silence "populate_sysroot manifest not found" warningsMagnus Olsson
A number of recipes in meta-java use autotools.bbclass for building; internally it uses the sstate-control populate_sysroot manifests to locate and copy aslocals for configure dependencies as part of the do_configure step. The manifest path differs depending on if it's a native package or not so autotools.bbclass looks at the package name to determine if its native or not (it's native if it ends with "-native"). The warnings are emitted because a few (native) recipes in meta-java (such as cacao-initial, classpath-initial and more) are incorrectly being classified as non-native by autotools.bbclass, which makes it look for the manifest in the wrong place and finally gives up with the warning: WARNING: /home/oe/tmp-glibc/sstate-control/manifest-mymachine-libecj-bootstrap.populate_sysroot not found This happens for cacao-initial, classpath-initial, ecj-initial, libecj-boostrap, jamvm-initial and jikes-initial since they are all native and rely on autotools. This patch renames the recipes so they end with -native, e.g ecj-initial-native. It also updates the recipes so they DEPEND on the corresponding new name. This helps autotools.bbclass to properly classify the recipes are native and silence the warnings. Signed-off-by: Magnus Olsson <magnus@minimum.se> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-26icedtea7-native: remove currency data generation expiration dateHugo Vasconcelos Saldanha
Removes a currency date expiration check whis causes a build failure. Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-26gnujaf: remove unnecessary reference to autotoolsHugo Vasconcelos Saldanha
do_install was calling an unnecessary 'make install'. oe_jarinstall provided by java-library class is sufficient. Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-26cacao: create the link /usr/bin/java in cacao-nativeHugo Vasconcelos Saldanha
In native build, the link is not created by update-alternatives. Some package builds were failing, like gnumail and gnujaf, if cacao was the PREFERRED_PROVIDER_virtual/java-native. Something similiar is currently done with jamvm-native. Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-17cacao: upgrade m4 macros in source treeHugo Vasconcelos Saldanha
Before configuring package, we upgrade m4 macros with a call to libtoolize. Otherwise, compiling would fail with a complain about different versions of libtool. Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-17mark broken recipes with PNBLACKLISTMax Krummenacher
While testing commit 'java-library: inherit allarch' I found some recipes throwing errors in do_compile. The recipes jaxme and xom currently don't build with compiler errors. jaxen, dom4j, jdom, commons-jxpath, commons-configuration depend directly or indirectly on jaxme and/or xom and thus are unbildable. Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-17antlr: fix override for native buildMax Krummenacher
The override virtclass_native has been deprecated and removed from the buildsystem, use class-native instead. While at it fix whitespace issues. Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-17java-library: inherit allarchMax Krummenacher
Use the allarch class to make every packages in the 'all' ARCH. Recipes inheriting java-library which build additional packages which don't belong in to all ARCH must manually setting PACKAGE_ARCH after inheritting java-library. This fixes the following error when building e.g. rhino for a second machine of different architecture in the same build directory: ERROR: The recipe rhino is trying to install files into a shared area when those files already exist. Those files and their manifest location are: /.../ipk/all/librhino-java_1.7r4-r0_all.ipk Matched in manifest-armv7at2hf-vfp-rhino-package_write_ipk Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-17rxtx: use autotools-brokensepMax Krummenacher
Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-17licence: add missing LIC_FILES_CHKSUMMax Krummenacher
While at it change the LICENSE string to the oe one if applicable. e.g. AL-2.0 -> Apache-2.0 Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-17cleanup whitespace in tasksMax Krummenacher
Indent with 4 spaces in task definitions. Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-25openjdk-6: Fix cross compilation for e6500 machinesZhenhua Luo
This is only way for compile for now since qemu can not run the sizers binary for e6500 machines. It segfaults so we disable generating sizes and also xawt and jawt which depends on sizers, this lets jre to cross compile for ppc/e6500 The fix is ported according to da0b3a20a67496dc8d4282d19a60672001b7f825 Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-25openjdk-6: do not run gamma test for cross compilesTing Liu
set CROSS_COMPILE_ARCH which will be checked before run gamma test. Fix the below issue: | make[6]: Leaving directory `.../openjdk-6-jre/6b32-1.13.4-r22.0/build/openjdk.build/hotspot/outputdir/linux_ppc64_zero/product' | cd linux_ppc64_zero/product && ./test_gamma | ./test_gamma: line 72: ./gamma: cannot execute binary file | make[5]: *** [productzero] Error 126 Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-25openjdk-6: pass option --disable-system-lcmsTing Liu
Fix the below issue: | checking whether to enable the use of LCMS2... yes | checking whether to use the system LCMS install... yes | checking for LCMS2... no | configure: error: Could not find LCMS >= 2.5; install it or build with --disable-system-lcms to use the in-tree copy. | Configure failed. The contents of all config.log files follows to aid debugging | ERROR: oe_runconf failed Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-25openjdk-6: Remove currency data generation expiration dateTing Liu
As the openjdk source was extracted during 'make patch-ecj' in do_configure, apply the patch via do_configure_append. icedtea6-1.13.4/Makefile.am:1200:stamps/extract-openjdk.stamp: stamps/download.stamp | if OPENJDK_SRC_DIR_FOUND | if ! test -d openjdk ; then \ | cp -pPR $(OPENJDK_SRC_DIR_LINK) $(OPENJDK_SRC_DIR) openjdk ; \ | fi | else | if USE_HG | if ! test -d openjdk ; then \ | cp -pPRl openjdk.hg openjdk ; \ | fi | else | set -e ; \ | if ! test -d openjdk ; \ | then \ | mkdir openjdk ; \ | $(TAR) xf $(OPENJDK_SRC_ZIP) -C openjdk; \ | chmod -R ug+w openjdk ; \ | sh $(abs_top_srcdir)/fsg.sh ; \ | fi | endif | endif Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-25README: improve copy/paste experianceMax Krummenacher
The section with stuff to be put in local.conf/distro conf currently can not be directly copy/pasted from the README - adding a missing " - putting a # before each comment - commenting out alternatives - fixing version string 6b27-1.12.8 - adding version 6b32-1.13.4 Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-25Revert "openjdk: Fix QEMU call to use sysroot for libs"Max Krummenacher
This reverts commit ab51e51d9a9a51bedd19de09bcba4ce830dfc5e7. Using an oe setup with ptest enabled makes qemu never to return due to testfiles staged by udev in the sysroot See also: http://lists.openembedded.org/pipermail/openembedded-core/2014-September/097098.html All binaries compiled for qemu are now linked with -static. The -L, -E parameters pointing to the sysroot and dynamic linker are not needed anymore and removel works around the issue. Further details: http://lists.openembedded.org/pipermail/openembedded-devel/2015-January/099795.html Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-25binaries run by qemu: link with -static, force ld.bfdMax Krummenacher
For machines using DEFAULTTUNE = "armv7ahf" or DEFAULTTUNE = "armv7athf" a build of openjdk-7 fails with segmentation faults during the qemu-arm runs. e.g. Segmentation fault (core dumped) | qemu-arm -cpu cortex-a8 -s 2097152 -L .../sysroots/colibri-t20 \ -E LD_LIBRARY_PATH=.../sysroots/colibri-t20/lib ./mkbc - bytecodes_arm.s I found that qemu-arm can not execute any binary which is compiled with the resulting compiler and is linked with the gold linker and the -static flag. Even a simple hello world program does not work. When executing that hello world on the real hardware it also generates a segmentation fault. Removing the -static flag or forcing the bfd linker fixed this. Note that other machines, colibri-t30 or i.mx6 based ones with neon but otherwise identical setup do not suffer from the issue. DEFAULTTUNE = "armv7athf-neon" works. While at it convert the sizer call for openjdk-7 used when building xawt also to use -static even though the code is currently disabled. Further details: http://lists.openembedded.org/pipermail/openembedded-devel/2015-January/099795.html Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-31icedtea: openjdk: Remove currency data generation expiration date.Alex Gonzalez
The currency data generation class makes a 10 years expiration date check. It might be reasonable to make sure the input data is updated periodically, but on an embedded system we don't want to have this type of built in time expirations. This commit removes the date expiration check. Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-31openjdk: Remove currency data generation expiration date.Alex Gonzalez
The currency data generation class makes a 10 years expiration date check. It might be reasonable to make sure the input data is updated periodically, but on an embedded system we don't want to have this type of built in time expirations. This commit removes the date expiration check. Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-30openjdk: Fix QEMU call to use sysroot for librariesOtavio Salvador
During the build, some utilities are ran using the QEMU however it wasn't using sysroot to load the Lib C and other base libraries. Pass the required options for QEMU to solve it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-30cacao: Update update-alternatives macros.Alex Gonzalez
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-12-30fastjar: Update update-alternatives macros.Alex Gonzalez
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-12-30jikes: Update update-alternatives macros.Alex Gonzalez
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
2014-12-30Revert "linux-libc-headers: Add support to build the 'native' package"Otavio Salvador
This reverts commit 219c6bfc9ae9456e06b08e1cc49c83060f5196d2. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-30Revert "icedtea6-native: Depends on linux-libc-headers-native"Otavio Salvador
This reverts commit 79c731ead1813a700b63dab5f728239b7d312e3c. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-30icedtea6-native: fix native-vsyscall failingMax Krummenacher
On a Fedora 20 build machine icedtea6-native fails with: x86_64-linux/icedtea6-native/1.8.11-r5.3/icedtea6-1.8.11/openjdk-ecj/hotspot/src/os/linux/vm/os_linux.cpp:2431:60: error: expression cannot be used as a function vgetcpu_t vgetcpu = (vgetcpu_t)VSYSCALL_ADDR(__NR_vgetcpu); ^ make[7]: *** [os_linux.o] Error 1 The patch makes the build succeed. (On an openSUSE 13.1 machine the build succeeds with and without the patch)
2014-12-26openjdk: fix do_install for out of source buildsMax Krummenacher
use ${B} to specify the build directory, thus keep working for daisy and older versions as well as for dizzy and newer. Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-20README: Improve contributing guidelinesOtavio Salvador
This improves the information regarding how to contribute to the layer. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-18Merge branch 'jamvm-fix' of https://github.com/merten/meta-java into pendingOtavio Salvador
* 'jamvm-fix' of https://github.com/merten/meta-java: jamvm: port to new update-alternatives
2014-12-17README: Update to DaisyOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-17Merge https://github.com/ronaldonunez/meta-java into pendingOtavio Salvador
* https://github.com/ronaldonunez/meta-java: openjdk-postinst.inc: Corrects empty jvm.cfg after postinst task.
2014-12-17Merge branch 'yocto_1.8' of https://github.com/mindrunner/meta-java into pendingOtavio Salvador
* 'yocto_1.8' of https://github.com/mindrunner/meta-java: openjdk-7: inherit pkgconfig ecj: fix unpackpost task openjdk: add pkgconfig support README: minor fixes README: update openjdk6 to the latest icedtea version openjdk6: add version 1.13.4 jamvm: update git url to sourceforge while berlios is gone java-test-image: add jamvm, cacao and classpath jamvm: update git version to ebd11bde0a97b57f0d18938c6b65468d3c932719 jamvm: add inherit pkgconfig README: update for icedtea version 1.12.8 cacao: fix target compilation and packaging openjdk-common.inc: fix qemu usage openjdk6: update icedtea 1.12 to version 1.12.8 libmatthew: Remove the dummy jar symlink openjdk-7-release-25b30.inc: add patch to fix hotstop build openjdk-7-release-25b30.inc: move nio patch to main section. openjdk-7-25b30: Forward port ppc patches
2014-12-16linux-libc-headers: Add support to build the 'native' packageOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-16icedtea6-native: Depends on linux-libc-headers-nativeOtavio Salvador
This fixes #74. The error was: ,---- | .../icedtea6-1.8.11/openjdk-ecj/hotspot/src/os/linux/vm/os_linux.cpp:2431:60: \ | error: expression cannot be used as a function | vgetcpu_t vgetcpu = (vgetcpu_t)VSYSCALL_ADDR(__NR_vgetcpu); `---- Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-24openjdk-postinst.inc: Corrects empty jvm.cfg after postinst task.Ronaldo Nunez
Signed-off-by: Ronaldo Nunez <ronaldo.nunez@fotosensores.com>
2014-11-23jamvm: port to new update-alternativesMerten Sach
2014-11-03Merge branch 'patch-1' of github.com:esven/meta-java into yocto_1.8Lukas Elsner
Conflicts: recipes-core/openjdk/openjdk-common.inc
2014-11-03Merge remote-tracking branch 'woglinde/dora' into testLukas Elsner
Conflicts: recipes-core/cacao/cacao_1.6.1.bb
2014-10-29openjdk-7: inherit pkgconfigSven Ebenfeld
Building OpenJDK-7 in Yocto 1.7 (Dizzy) quits with errors as follows. Inheriting pkgconfig fixes this problem. .../configure: line 8645: syntax error near unexpected token `NSS,' .../configure: line 8645: `PKG_CHECK_MODULES(NSS, nss, NSS_FOUND=yes, NSS_FOUND=no)'
2014-10-14ecj: fix unpackpost taskdoraCristian 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. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
2014-10-14openjdk: add pkgconfig supportCristian Iorga
pkgconfig is now enabled, so that pkg-config macros will not fail in configure stage. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
2014-07-20README: minor fixesHenning Heinold
* set the layer branches dora depends on to dora too * add libstdc++6 package as dependency for debian based distributions
2014-07-20README: update openjdk6 to the latest icedtea versionHenning Heinold
2014-07-20openjdk6: add version 1.13.4Henning Heinold