summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* openjdk-7: skip the already-stripped testJackie Huang2015-12-171-0/+4
| | | | | | | | | | libfreetype.so.6 is copied from STAGING_LIBDIR and binaries/libraries in sysroot are already stripped since the following commit in oe-core: "30f3774 staging: Strip files in sysroot" Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-7: drop an inappropriate patchJackie Huang2015-12-172-31/+0
| | | | | | | | | | | | | | | | | The patch icedtea-jdk-build-nio-gensor-genuc-gensc-static.patch is to add static option to build nio gensor/genuc/gensc, and was added when upgrading to IcedTea 2.6.1 OpenJDK 7u85b01. Another patch icedtea-jdk-nio-use-host-cc.patch uses host cc for nio build so it fails on host that lack of static libraries: | /usr/bin/ld: cannot find -lpthread And there is no comments explaining why it needs static linking, so drop the patch for now unless we have better understanding and make a more proper patch. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cacao: fix the depends for target packageJackie Huang2015-12-171-1/+1
| | | | | | | | | The target package also depends on classpath, zlib, etc, which is incorrect overrode, use _append for the class-target instead. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-8: fix rewrite QA warningsJens Rehsack2015-12-173-150/+122
| | | | | | | | | | | | | Fix bitbake warnings from variable renaming like Variable key FILES_${PN} (${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} ${sysconfdir} ${sharedstatedir} ${localstatedir} ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*${SOLIBS} ${base_prefix}/lib/udev/rules.d ${prefix}/lib/udev/rules.d ${datadir}/${BPN} ${libdir}/${BPN}/* ${datadir}/pixmaps ${datadir}/applications ${datadir}/idl ${datadir}/omf ${datadir}/sounds ${libdir}/bonobo/servers) replaces original key FILES_openjre-8 ( ${JRE_HOME}/bin/[a-z]* ${JRE_HOME}/lib/[a-z]* ${JRE_HOME}/LICENSE ${JRE_HOME}/release ). It is caused by using FILES_${PN} and FILES_{JDKPN} or FILES_${JREPN}, respectively. Moving FILES_{JDKPN} to openjdk-8_%.bb and FILES_${JREPN} to openjre-8_%.bb to allow consequently use FILES_${PN}. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* rxtx: put license to LICENSE_PATHJan Remmet2015-12-112-0/+565
| | | | | | | | fixes "WARNING: rxtx: No generic license file exists for: RXTXv2.1 in any provider" on fido Signed-off-by: Jan Remmet <j.remmet@phytec.de> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* antlr/cup: inherit java-bootstrap-componentsJackie Huang2015-12-112-2/+2
| | | | | | | | | | | | | | | | | | | | | | This should be part of the following commit but missed: commit 04d5d0bf414c05ca59618d77f17ff9898aa1c566 Author: Jens Rehsack <rehsack@gmail.com> Date: Tue Dec 8 14:51:50 2015 +0100 meta-java: rely on well known bootstrap-path Instead of potential circular depending virtual/javac-native (even this recipe provides such a useable java-native), rely on well known path via cacao-native to build up to icedtea7-native in reliable manner. virtual/javac-native should be used by parts not belonging to the bootstrap phase. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gnumail: Fix race condition in makefileErkka Kääriä2015-12-112-0/+130
| | | | | | | | | | | | | | | Parallel make does not handle multiple javac invocations correctly, as javac compiles any uncompiled dependencies on its own. This leads to a race condition where make may see incomplete class files and incorrectly assume that the class files has already been compiled. This ultimately causes incomplete class files to be included in one of the jars, causing build failures later one when javac attempts to use such class file. This issue is fixed by patching the makefile so that only one instance of javac is invoked, which compiles all the java files in one go. Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
* openjdk-8: add recipes for openjdk-8 and openjre-8Jens Rehsack2015-12-0823-12/+4735
| | | | | | | | | | | | | | | | | | | | | | | | This adds openjdk-8 for native and target builds and allows a stripped openjre-8 being built as well instead of trying to cherry-pick jre components from jdk-image. The recipes allow building openjdk-8 with or without: * x11 * cups * alsa/pulseaudio and let packager enable unlimited-crypto, if desired. To support certificate based java libraries, cacerts is created based on ca-certificates from OE-core. Since there can be only one PROVIDES for virtual/java-native and virtual/javac-native, move the provides to openjdk-8-native (I think everyone agrees it's a better choice than ecj-bootstrap-native). Plus: Applying a fix from openjdk-9 repository which fixes build issues using gcc5 Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Maxin B. John <maxin.john@intel.com>
* meta-java: rely on well known bootstrap-pathJens Rehsack2015-12-0837-49/+51
| | | | | | | | | | | | Instead of potential circular depending virtual/javac-native (even this recipe provides such a useable java-native), rely on well known path via cacao-native to build up to icedtea7-native in reliable manner. virtual/javac-native should be used by parts not belonging to the bootstrap phase. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Maxin B. John <maxin.john@intel.com>
* ecj-initial.in: Disable multithreading to mitigate segfaultingErkka Kääriä2015-11-101-1/+3
| | | | | | | | | | | | | | | Cacao-initial-native suffers from sporadic segmentation faults, when the Java program uses multiple Java threads, due to a race condition. In particular, jamvm-native and classpath-native builds would occasionally fail as the eclipse compiler used during build task by default uses multiple threads. As fixing the race condition would require large changes to the cacao-initial-native codebase, and as it is only used briefly during the bootstrapping process, it is easier and safer to just force ecj-initial to run in a singlethreaded mode. Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cacao: fix configure errorJens Rehsack2015-11-031-1/+1
| | | | | | | | This patch fixes the nowadays occuring configure error: rm: cannot remove 'src/mm/boehm-gc/ltmain.sh': No such file or directory Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Maxin B. John <maxin.john@intel.com>
* openjdk: fix indentationRichard Leitner2015-10-303-225/+223
| | | | | | | Change the indentation for all openjdk recipes to 4 spaces. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-7: remove openjdk-7-release-*.incRichard Leitner2015-10-303-66/+66
| | | | | | | | | Due to the fact we will always support only one OpenJDK 7 version the openjdk-7-release-*.inc is not needed. Therefore remove this file and split it content to openjdk-7_*.bb and openjdk-7-common.inc. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Avoid parse time errors due to dependency on x11, for distros without x11Jens Rehsack2015-10-297-9/+16
| | | | | | | | | | | | | | | | | | | | | 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 (_class-target) * classpath (_class-target) * jamvm (_class-target) * openjdk-7-release That makes BitBake skip those recipes during the cache generation (they'd still be parsed, but ignored). This patch improves the idea from Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Jens Rehsack <sno@netbsd.org> Acked-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* README: add -M to git format-patch suggestionRichard Leitner2015-10-281-1/+1
| | | | | | | | | Add the detect renames parameter to the git-format-patch suggestion in the README file. This should be used for patches sent to the mailinglist. For more information on the parameter see "man git-format-patch" Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* README: remove PREFERRED_VERSION from instructionsRichard Leitner2015-10-281-4/+0
| | | | | | | | | 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>
* openjdk-7: update to IcedTea 2.6.2 OpenJDK 7u91b01Richard Leitner2015-10-2813-37/+37
| | | | | | | | | | | | | 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>
* README: remove instructions for OpenJDK6Richard Leitner2015-10-281-9/+0
| | | | | | | | | 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>
* icedtea7-native: Fix memory leak when compiled with GCC 5.0+Erkka Kääriä2015-10-232-0/+51
| | | | | | | | | | | | | 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>
* cacao-initial-native: Fix undefined behaviour in gcErkka Kääriä2015-10-232-0/+36
| | | | | | | | | | | | | | 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>
* openjdk7: remove broken/unsupported VM'sJens Rehsack2015-10-193-46/+1
| | | | | | | | | 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>
* icedtea7: allow modern Linux being used, eitherJens Rehsack2015-10-192-0/+2
| | | | | | | | 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>
* openjdk-6: removeJens Rehsack2015-10-1992-6956/+0
| | | | | | | | 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>
* README: update contact infoMaxin B. John2015-10-161-1/+1
| | | | Signed-off-by: Maxin B. John <maxin.john@intel.com>
* openjdk: Avoid extra-noise because of self-satisfying dependencyJens Rehsack2015-10-152-2/+2
| | | | | | | | | | | | | | | | 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>
* meta-java: avoid garbadge files making noise when gitting around :)Jens Rehsack2015-10-151-0/+4
| | | | | | | | 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>
* icedtea7-native: compiling without x11Jens Rehsack2015-10-155-2/+119
| | | | | | | | | | | 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>
* cacao-initial-native: Fix sed matchingErkka Kääriä2015-10-151-1/+1
| | | | | | | | | | | | | 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>
* Revert "Don't depend on a hardcoded compiler"Otavio Salvador2015-08-263-3/+3
| | | | | | | | | | 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>
* rxtx: drop dependency on fastjar-native; depend on virtual/javac-nativeMario Domenech Goulart2015-08-181-1/+1
| | | | | | | | 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>
* Avoid parse time errors due to dependency on x11, for distros without x11Mario Domenech Goulart2015-08-184-4/+12
| | | | | | | | | | | | | | | | | | | 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>
* 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>