aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-04-28README: Update PREFERRED_VERSION to new OpenJDK-7 version 75b13-2.5.4Sven Ebenfeld
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28java-test-image: remove busybox-hwclockSven Ebenfeld
busybox-hwclock fails installing for me and I don't see the point for leaving it in the image. So I removed it. Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28java-test-image: Add openjdk-7-vm-zero packageSven Ebenfeld
There is no point in not installing the ZeroVM of OpenJDK-7 in a java-test-image. Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28openjdk-7: remove IcedTea 2.3.12, OpenJDK 7u25b30Sven Ebenfeld
We have now updated to IcedTea 2.5.4, so we can remove the old version. Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28openjdk-7: Add libxslt-native and krb5 as dependencySven Ebenfeld
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28openjdk-7: use icedtea7-native as dependency instead of icedtea6Sven Ebenfeld
Due to problems when using native rmic, I switched to using icedtea7. Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28openjdk-7: Add IcedTea 2.5.4 OpenJDK 7u75b13Sven Ebenfeld
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28icedtea7-native: remove unused patchSven Ebenfeld
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28icedtea7-native: fix build with gcc 4.9Sven Ebenfeld
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28icedtea7-native: Add attr-native and libxslt-native as dependencySven Ebenfeld
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-01openjdk-6: Add libxslt-native as dependencyOtavio Salvador
The build system looks for xsltproc during configure, when bootstrap is required, so we need to have it around. This has been catch when building the recipe in a clean tmp directory. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-31cacao: fix problem with internal garbage collectorHugo Vasconcelos Saldanha
Cacao uses an internal version of bdwgc that was being installed (headers, libs, etc.) together with the JVM, unnecessarily conflicting with original bdwgc package. A patch from Gentoo is applied so the system's bdwgc is used instead. Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-31icedtea6-native.inc: remove --disable-nppluginMario Domenech Goulart
Fixes: WARNING: QA Issue: icedtea6-native: configure was passed unrecognised options: --disable-npplugin Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-31openjdk-7: add /usr/lib/jni to DEFAULT_LIBPATHMario Domenech Goulart
Some recipes install JNI-based bindings into /usr/lib/jni (e.g., rxtx), so it's sensible to add this directory to DEFAULT_LIBPATH (java.library.path). That's also how Debian does. Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-31cacao-initial-native, jamvm-initial-native: provide virtual/java-initial-nativeMario Domenech Goulart
Since bd9c6023, virtual/java-initial is provided by cacao-initial-native and jamvm-initial-native. For consistency, this commit makes them provide virtual/java-initial-native instead. Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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