summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't depend on a hardcoded compilerMario Domenech Goulart2015-08-183-3/+3
| | | | | | | | | | | | | The recipes below depended on a hardcoded native compile (ecj-initial-native). Since we may use another native compiler to build them, we set the dependency in virtual/javac-native instead. * cacao * classpath-native * jamvm Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-7: remove IcedTea 2.5.4, OpenJDK 7u75b13Richard Leitner2015-08-1822-1375/+0
| | | | | | | | OpenJDK 7 was previously updated to IcedTea 2.6.1, 7u85b01. Therefore the old version is removed now. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* README: Update PREFERRED_VERSION to new openjdk-7 85b01-2.6.1Richard Leitner2015-08-181-1/+1
| | | | | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-7: Add IcedTea 2.6.1 OpenJDK 7u85b01Richard Leitner2015-08-1811-0/+657
| | | | | Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-7-common.inc: bump PR to 6Richard Leitner2015-08-181-1/+1
| | | | | | | Increment the PR of openjdk-7-common.inc due to the previous changes. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-7-common: fix FILES_openjdk-7-jre_appendRichard Leitner2015-08-181-7/+7
| | | | | | | | Use the PN variable instead of the hardcoded "openjdk-7-jre" string. Furthermore fix the indentation of its content. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-7: move "--disable-pulse-java" from common to 75b13 onlyRichard Leitner2015-08-182-1/+2
| | | | | | | | The "--disable-pulse-java" configuration is no longer available in IcedTea 2.6.1, therefore move it to the 2.5.4 (75b13) version only. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-7-common: explicitely disable PCSC and SCTPRichard Leitner2015-08-181-0/+7
| | | | | | | | PCSC default value was changed to true and SCTP was added during the 2.6.0 IcedTea release so disable them both explicitely in openjdk-7-common.inc Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Add explict getVar param for (non) expansionOtavio Salvador2015-07-061-1/+1
| | | | | | | | | | | | Rather than just use d.getVar(X), use the more explict d.getVar(X, False) since at some point in the future, having the default of expansion would be nice. This is the first step towards that. This patch was mostly made using the command: sed -e 's:\(getVar([^,()]*\)\s*):\1, False):g' -i `grep -ril getVar *` Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-7: fix patchAmy Fong2015-06-231-1/+1
| | | | | | | Fixing what looks like a hand edited patch error Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Maxin B. John <maxin.john@enea.com>
* README: Update PREFERRED_VERSION to new OpenJDK-7 version 75b13-2.5.4Sven Ebenfeld2015-04-281-1/+1
| | | | | Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* java-test-image: remove busybox-hwclockSven Ebenfeld2015-04-281-1/+1
| | | | | | | | 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>
* java-test-image: Add openjdk-7-vm-zero packageSven Ebenfeld2015-04-281-1/+1
| | | | | | | | 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>
* openjdk-7: remove IcedTea 2.3.12, OpenJDK 7u25b30Sven Ebenfeld2015-04-2835-1739/+0
| | | | | | | 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>
* openjdk-7: Add libxslt-native and krb5 as dependencySven Ebenfeld2015-04-281-2/+2
| | | | | Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-7: use icedtea7-native as dependency instead of icedtea6Sven Ebenfeld2015-04-281-2/+2
| | | | | | | 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>
* openjdk-7: Add IcedTea 2.5.4 OpenJDK 7u75b13Sven Ebenfeld2015-04-2823-0/+1374
| | | | | Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* icedtea7-native: remove unused patchSven Ebenfeld2015-04-281-91/+0
| | | | | Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* icedtea7-native: fix build with gcc 4.9Sven Ebenfeld2015-04-282-0/+31
| | | | | Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* icedtea7-native: Add attr-native and libxslt-native as dependencySven Ebenfeld2015-04-281-1/+1
| | | | | Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-6: Add libxslt-native as dependencyOtavio Salvador2015-04-011-1/+1
| | | | | | | | 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>
* cacao: fix problem with internal garbage collectorHugo Vasconcelos Saldanha2015-03-312-4/+64
| | | | | | | | | | | 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>
* icedtea6-native.inc: remove --disable-nppluginMario Domenech Goulart2015-03-311-1/+0
| | | | | | | | | | 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>
* openjdk-7: add /usr/lib/jni to DEFAULT_LIBPATHMario Domenech Goulart2015-03-312-0/+21
| | | | | | | | | 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>
* cacao-initial-native, jamvm-initial-native: provide virtual/java-initial-nativeMario Domenech Goulart2015-03-314-4/+4
| | | | | | | | | 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>
* README: typo fix (s/lease/least/)Mario Domenech Goulart2015-03-311-1/+1
| | | | | Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* rxtx: put .jar and .so files into the same package (librxtx-java)Mario Domenech Goulart2015-03-311-2/+8
| | | | | | | | 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>
* openjdk-7-jre: RDEPENDS openjdk-7-commonMagnus Olsson2015-03-111-1/+2
| | | | | | | | | | | | | -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>
* rxtx: add patch to support i.MX serial portsMario Domenech Goulart2015-03-112-1/+29
| | | | | | | Support for /dev/ttymxc* devices. Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* rxtx: update to the latest Debian patchsetMario Domenech Goulart2015-03-117-1/+724
| | | | | | | | | 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>
* initials: silence "populate_sysroot manifest not found" warningsMagnus Olsson2015-03-1111-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* icedtea7-native: remove currency data generation expiration dateHugo Vasconcelos Saldanha2015-02-262-0/+27
| | | | | | | | 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>
* gnujaf: remove unnecessary reference to autotoolsHugo Vasconcelos Saldanha2015-02-261-1/+1
| | | | | | | | 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>
* cacao: create the link /usr/bin/java in cacao-nativeHugo Vasconcelos Saldanha2015-02-261-0/+4
| | | | | | | | | | | 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>
* cacao: upgrade m4 macros in source treeHugo Vasconcelos Saldanha2015-02-171-0/+2
| | | | | | | | | 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>
* mark broken recipes with PNBLACKLISTMax Krummenacher2015-02-177-0/+35
| | | | | | | | | | | | | 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>
* antlr: fix override for native buildMax Krummenacher2015-02-171-9/+9
| | | | | | | | | | 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>
* java-library: inherit allarchMax Krummenacher2015-02-173-3/+7
| | | | | | | | | | | | | | | | | | 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>
* rxtx: use autotools-brokensepMax Krummenacher2015-02-171-1/+1
| | | | | Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* licence: add missing LIC_FILES_CHKSUMMax Krummenacher2015-02-1720-11/+28
| | | | | | | | 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>
* cleanup whitespace in tasksMax Krummenacher2015-02-176-109/+108
| | | | | | | 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>
* openjdk-6: Fix cross compilation for e6500 machinesZhenhua Luo2015-01-251-0/+14
| | | | | | | | | | | | | | 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>
* openjdk-6: do not run gamma test for cross compilesTing Liu2015-01-251-0/+1
| | | | | | | | | | | | | 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>
* openjdk-6: pass option --disable-system-lcmsTing Liu2015-01-251-0/+1
| | | | | | | | | | | | | 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>
* openjdk-6: Remove currency data generation expiration dateTing Liu2015-01-252-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* README: improve copy/paste experianceMax Krummenacher2015-01-251-7/+9
| | | | | | | | | | | | | 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>
* Revert "openjdk: Fix QEMU call to use sysroot for libs"Max Krummenacher2015-01-251-1/+1
| | | | | | | | | | | | | | | | | | | 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>
* binaries run by qemu: link with -static, force ld.bfdMax Krummenacher2015-01-257-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* icedtea: openjdk: Remove currency data generation expiration date.Alex Gonzalez2014-12-312-0/+26
| | | | | | | | | | | | | 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>
* openjdk: Remove currency data generation expiration date.Alex Gonzalez2014-12-312-0/+27
| | | | | | | | | | | | | | 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>