aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-10-28README: remove PREFERRED_VERSION from instructionsRichard Leitner
Due to the fact that currently only one openjdk-7-jre and icedtea7-native version is included in meta-java, their PREFERRED_VERSION selections are removed from the usage instructions in the README file. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-28openjdk-7: update to IcedTea 2.6.2 OpenJDK 7u91b01Richard Leitner
IcedTea 2.6.2 provides OpenJDK 7u91, which adds the October 2015 security updates. For more details see: http://blog.fuseyism.com/index.php/2015/10/23/security-icedtea-2-6-2-for-openjdk-7-released/ Furthermore the patches directory for OpenJDK-7 was renamed to avoid the version number. This makes it easier for upgrades and to see diff's between patches. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-28README: remove instructions for OpenJDK6Richard Leitner
Due to the fact OpenJDK6 was removed from meta-java, remove also its usage instructions from the README file. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-23icedtea7-native: Fix memory leak when compiled with GCC 5.0+Erkka Kääriä
Hotspot compiler has a bug where signed integers could overflow. This is undefined behaviour, and causes massive memory leak when compiled with GCC 5.0+, causing the build to fail. This is fixed by backporting patch from https://bugs.openjdk.java.net/browse/JDK-8078666 where it was fixed by Severin Gehwolf. Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2015-10-23cacao-initial-native: Fix undefined behaviour in gcErkka Kääriä
Upstream-Status: Backport Fixes undefined behaviour in boehm GC used by cacao-initial-native as suggested at https://github.com/ivmai/bdwgc/commit/16780405c899f01119bc45167122b4242f6b34fb. The undefined behaviour at very least causes a segmentation fault during classpath-native configure step with Fedora 22. Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2015-10-19openjdk7: remove broken/unsupported VM'sJens Rehsack
Since Shark is utterly broken and cacao and jamvm are terrible slow compared to zero, it's pointless to support them for targets with limited resources unless there is active maintainership taken by responsible person. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-19icedtea7: allow modern Linux being used, eitherJens Rehsack
Since Yocto Project has a reasonable definition of supported build hosts, we shouldn't restrict to e.g. pre 4.x kernels as icedtea7 expects. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-19openjdk-6: removeJens Rehsack
Since OpenJDK-6 is not maintained anymore, it's more reasonable to move to OpenJDK-8 instead of sticking at unmaintained, upstream not supported VM version. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-16README: update contact infoMaxin B. John
Signed-off-by: Maxin B. John <maxin.john@intel.com>
2015-10-15openjdk: Avoid extra-noise because of self-satisfying dependencyJens Rehsack
I realized one small issue last days: the dependency of openjdk-*-demos on java2-vm, which is provided by the current recipe (eg. openjdk-7) causes bitbake scan for alternatives (eg. java2-vm provided by openjdk-6) without any need. I would recommend to remove such a generic dependency: * openjdk-6-demos require openjdk-6-jre, period. * openjdk-7-demos require openjdk-7-jre, period. * openjdk-8-demos require openjdk-8-jre, period. There is no sense in satisfying openjdk-8-demos with openjdk-6-jre (even if it might be possible). Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-15meta-java: avoid garbadge files making noise when gitting around :)Jens Rehsack
Adding a .gitignore file ignoring the typical noise when applying patches, working with common editors and so on. Based on .gitignore of meta-openembedded. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-15icedtea7-native: compiling without x11Jens Rehsack
Allow building icedtea7 without any X11 dependency. This affects the native part only which is required to bootstrap openjdk-8-native for cross-compiling openjdk-8, but should be adoptable for cross-compiled recipe as well as for openjdk-6. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-15cacao-initial-native: Fix sed matchingErkka Kääriä
The recipe uses sed to patch src/scripts/java.in so that it execs cacao-initial instead of cacao. However, if configure step is run again, -initial is appended again to the string, leading to 'exec cacao-initial-initial'. This causes the build to fail. This is fixed by changing the sed command to consider larger portion of the source string. This ensures that the -initial is only appended once. Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2015-08-26Revert "Don't depend on a hardcoded compiler"Otavio Salvador
This reverts commit 15ed9662e26ed4ac8d843fb9d2335a49a9c03088. The change has break external builds causing build failures. The change here needs to be revisited to avoid the breakages and than re-applied. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-18rxtx: drop dependency on fastjar-native; depend on virtual/javac-nativeMario Domenech Goulart
fastjar-native must be provided by either virtual/javac-native itself or by a recipe virtual/javac-native depends on. Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-18Avoid parse time errors due to dependency on x11, for distros without x11Mario Domenech Goulart
BitBake raises some errors when processing recipes that depend on x11 for distros that don't have x11 in DISTRO_FEATURES. To work around that issue, REQUIRED_DISTRO_FEATURES = "x11" (from distro_features_check.bbclass) has been set for the following recipes: * cacao * classpath * jamvm * openjdk-6-release * openjdk-7-release That makes BitBake skip those recipes during the cache generation (they'd still be parsed, but ignored). Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-18Don't depend on a hardcoded compilerMario Domenech Goulart
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>
2015-08-18openjdk-7: remove IcedTea 2.5.4, OpenJDK 7u75b13Richard Leitner
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>
2015-08-18README: Update PREFERRED_VERSION to new openjdk-7 85b01-2.6.1Richard Leitner
Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-18openjdk-7: Add IcedTea 2.6.1 OpenJDK 7u85b01Richard Leitner
Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-18openjdk-7-common.inc: bump PR to 6Richard Leitner
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>
2015-08-18openjdk-7-common: fix FILES_openjdk-7-jre_appendRichard Leitner
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>
2015-08-18openjdk-7: move "--disable-pulse-java" from common to 75b13 onlyRichard Leitner
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>
2015-08-18openjdk-7-common: explicitely disable PCSC and SCTPRichard Leitner
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>
2015-07-06Add explict getVar param for (non) expansionOtavio Salvador
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>
2015-06-23openjdk-7: fix patchAmy Fong
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>
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>