aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/classpath
AgeCommit message (Collapse)Author
2022-08-22classpath: Use an include file for x11 feature checkAndrei Gherzan
This will make it easier to maintain reflecting the same distro check on packages depending on classpath (in the dependency chain). Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2022-03-22classpath: inherit pkgconfigZoltán Böszörményi
It fixes this error: | checking for pkg-config... no | *** The pkg-config script could not be found. Make sure it is | *** in your path, or set the PKG_CONFIG environment variable | *** to the full path to pkg-config. | *** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config. | configure: error: Library requirements (gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. | NOTE: The following config.log files may provide further information. | NOTE: .../work/core2-64-oe-linux/classpath/0.99-r3/build/config.log | ERROR: configure failed Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-08-11all: run convert-overrides (0.9.3) script to convert to new override formatAJ Bagwell
Signed-off-by: AJ Bagwell <anthony.bagwell@hivehome.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-02-21classpath-native and friends: inherit native lastDouglas Royds
Fixes QA Issue: classpath-native: native/nativesdk class is not inherited last Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2019-12-27recipes: rename distro_features_check to features_checkAlex Kiernan
Avoid warning due to the class rename in OE-Core. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2019-11-11classpath: add patch to fix BigDecimal.stripTrailingZeros()'s handling of 0.Chris Laplante
Previously, 'new BigDecimal("0").stripTrailingZeros()' would blow up: Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.charAt at java.math.BigDecimal.stripTrailingZeros Fixes https://sourceforge.net/p/saxon/mailman/message/27204592/ Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2019-11-11classpath: add patch to fix BigDecimal.compareTo()Chris Laplante
Prior to this patch compareTo couldn't handle operands with negative scales. It passes the following unit test from JDK8: http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/tip/test/java/math/BigDecimal/CompareToTests.java Signed-off-by: Chris Laplante <chris.laplante@agilent.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2019-07-09classpath: Fix build with targets aarch64Ricardo Ribalda Delgado
Fixes: | In file included from ../../../classpath-0.99/native/fdlibm/fdlibm.h:36, | from ../../../classpath-0.99/native/fdlibm/e_exp.c:76: | ../../../classpath-0.99/native/fdlibm/ieeefp.h:163:2: error: #error Endianess not declared!! | #error Endianess not declared!! | ^~~~~ | In file included from ../../classpath-0.99/native/fdlibm/fdlibm.h:40, Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2018-06-19classpath: harmonise -native and -initial-native recipesAndré Draszik
removing lots of code-duplication Signed-off-by: André Draszik <andre.draszik@jci.com> Tested-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2018-06-19set SUMMARY instead of DESCRIPTIONAndré Draszik
Short descriptions should go into SUMMARY (DESCRIPTION will get the same value if not set.) Signed-off-by: André Draszik <andre.draszik@jci.com> Tested-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2018-03-01classpath: remove unused patchMaxin B. John
Remove unused patch: fix-gmp.patch Signed-off-by: Maxin B. John <maxin.john@intel.com>
2017-03-03classpath-native: fix build dependenciesAdrian Calianu
Add missing dependencies in order to build according to latest changes done in poky where all dependencies must be installed relative to recipe WORKDIR. Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-02-05classpath: fix the licenseJackie Huang
There is no 'Classpath' license, set it as the same with classpath-native. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-01-04classpath: fix invalid optionsJackie Huang
After updated to version 0.99, the following options became invalid: * --with-ecj: use JAVAC env variable instead * --with-fastjar: change to --with-jar * --with-vm: uae JAVA env variable instead * --disable-qt4-peer: invalid even in 0.93, just drop it. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-01-04Missing inheritance and dependencies in some java packagesAmy Fong
icedtea7-native, openjdk-7, and jamvm-native requires pkg-config to configure without running into an error similar to 7554: syntax error near unexpected token `NSS,' 7554: `PKG_CHECK_MODULES(NSS, nss, NSS_FOUND=yes, NSS_FOUND=no)' classpath-native and jamvm-native both needs to depend on java-initial-native Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-04Revert "meta-java: rely on well known bootstrap-path"Jackie Huang
This reverts commit 04d5d0bf414c05ca59618d77f17ff9898aa1c566. Detail reason is in the following commit. Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2015-12-08meta-java: rely on well known bootstrap-pathJens Rehsack
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>
2015-10-29Avoid parse time errors due to dependency on x11, for distros without x11Jens Rehsack
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>
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-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-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>
2014-06-08Added patch to fix build of package classpath-0.99 with the freetype2 library.Martin Rösch
2013-09-29jamvm-native: separate bootclasspath out into shell scriptHenning Heinold
* instead of hardcode BCP and LD_LIBRARY_PATH into serval files use a shell script and set them there * this allow us again to use other vms for java-native
2013-09-29classpath: Adjust classpaths when using jamvm from sstateKhem Raj
when building from sstate and classpath wants to rebuild then jamvm still needs the new paths. Its needed for classpath since it does not inherit java-library class otherwise it would not be needed. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-04-14classpath-initial: fix do_install for removing the classpath toolsHenning Heinold
* bump PR Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
2013-03-16classpath: Add file to DEPENDSKhem Raj
shared state exposed this build time error | java_net_VMURLConnection.c:44:19: fatal error: magic.h: No such file or directory | compilation terminated. | make[3]: *** [java_net_VMURLConnection.lo] Error 1 | make[3]: *** Waiting for unfinished jobs.... classpath uses libmagic and file provides it so add that to depends Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-01-24classpath-initial: remove files shared with classpath-nativeHenning Heinold
* bump PR
2013-01-24classpath-initial: remove trailing whitespaceHenning Heinold
2013-01-24classpath-initial: fix bitbake files searchpathHenning Heinold
2012-11-27classpath: Fix build for 64bit target using lib64 for base_libdirKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-11-22recipes: Fix license strings to match common licensesKhem Raj
Fixes warnings like WARNING: bcel-native: No generic license file exists for: AL2.0 in any provider and so on Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-10-14classpath: avoid picking up gmp.h from the hostJan Luebbe
Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
2012-07-19classpath: fix new license checksumHenning Heinold
2012-07-19classpath: update to version 0.99Henning Heinold
* switch to INC_PR for native and initial * clean up dependencies * inherit gettext class instead of depeding directly on the package * clean up patches
2012-05-25classpath-native: sed out java-initial with sed in the tools and bump PRHenning Heinold
2012-04-04classpath-initial: fix installation of tools.zip fileOtavio Salvador
This fixes an unpredicability of sysroot tools.zip version as classpath-initial and classpath-native were installing the tools.zip at same path. We also bump PR of affected recipes to force them to rebuild. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-01-06classpath: set dev-so QA checks to ignoreKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
2011-12-23classpath: fixesKoen Kooi
* add license checksum * clarify license in recipe * remove obsolete PRIORITY field Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
2011-11-26meta-java: initial commitHenning Heinold
* taken over mostly stuff from oe classic * cleaned up recipes * added license checksums * bump icedtea6-native to 1.8.11 * use jamvm from git as native