Return-Path: Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by mail.openembedded.org (Postfix) with ESMTP id A6B7F608B7 for ; Tue, 27 Oct 2015 20:28:16 +0000 (UTC) Received: by wijp11 with SMTP id p11so231385275wij.0 for ; Tue, 27 Oct 2015 13:28:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=Mcu5kVBvAsh07sL0M776oanoahryciz/UTFyMdzieDQ=; b=LAvQYn2e4Zhr2dfZWP3Hc93SrDYDkTcooYlpBZIrHmJzTVWYf4K47nhWeDscmzEXNc A15UAmmAQegiqcmRaiITByB7f+mbmRqJNLkOAaszbi9O71MJIDBfwxvBGKad5sHd/5og 1IShEYQOxqEVhbEjuar8Lz6Yttn6M0NKJH1ZMfvprD1EpEic9yzkovjoHlTFE4o+AaLA 4tga4LeEsdeRj04ZSenXYTqpOmRF3cYtbWqht4Cmswd0R/qoNzsZ9uKxZ3m1+hlBzepp 60wm0RmKPmSeSeFIXEoO9koOvGMEsn9sD8LMEeP7AUxeJyUsC/DhRtTGnyJzZFrIm91q yOWQ== X-Received: by 10.194.62.15 with SMTP id u15mr32303773wjr.18.1445977696214; Tue, 27 Oct 2015 13:28:16 -0700 (PDT) Received: from ernie.rdm.local (rademacherexchange.de. [46.245.221.222]) by smtp.gmail.com with ESMTPSA id jt9sm31541906wjc.24.2015.10.27.13.28.15 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 27 Oct 2015 13:28:15 -0700 (PDT) From: Jens Rehsack Message-Id: Date: Tue, 27 Oct 2015 21:28:15 +0100 To: OE-devel Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) Subject: [meta-java][PATCH 2/4] meta-java: rely on well known bootstrap-path X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2015 20:28:17 -0000 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 --- classes/java-bootstrap-components.bbclass | 7 +++++++ classes/java-library.bbclass | 3 ++- recipes-core/ant/ant-native_1.8.1.bb | 2 +- recipes-core/cacao/cacao_1.6.1.bb | 4 +++- recipes-core/classpath/classpath.inc | 4 ++-- recipes-core/classpathx/gnujaf_1.1.1.bb | 2 +- recipes-core/classpathx/gnumail_1.1.2.bb | 2 +- recipes-core/classpathx/inetlib_1.1.1.bb | 2 +- recipes-core/ecj/ecj-bootstrap-native.bb | 2 +- recipes-core/ecj/libecj-bootstrap.inc | 2 +- recipes-core/icedtea/icedtea7-native.inc | 2 +- recipes-core/jacl/jacl_1.4.1.bb | 2 +- recipes-core/jakarta-commons/commons-logging_1.1.1.bb | 2 ++ recipes-core/jakarta-commons/commons-net_1.4.1.bb | 2 ++ recipes-core/jakarta-libs/avalon-framework-api_4.3.bb | 2 +- recipes-core/jakarta-libs/bsf_2.4.0.bb | 2 +- recipes-core/jakarta-libs/log4j1.2_1.2.17.bb | 2 +- recipes-core/jakarta-libs/logkit_1.2.2.bb | 2 +- recipes-core/jakarta-libs/oro_2.0.8.bb | 2 +- recipes-core/jakarta-libs/poi_3.0.bb | 2 +- recipes-core/jakarta-libs/regexp_1.5.bb | 2 +- recipes-core/jamvm/jamvm.inc | 4 ++-- recipes-core/jcraft/jsch_0.1.40.bb | 2 +- recipes-core/jcraft/jzlib_1.0.7.bb | 2 +- recipes-core/jdepend/jdepend_2.9.1.bb | 2 +- recipes-core/jlex/jlex_1.2.6.bb | 2 +- recipes-core/junit/junit4_4.3.1.bb | 4 +--- recipes-core/junit/junit_3.8.2.bb | 2 +- recipes-core/rhino/rhino_1.7r4.bb | 2 +- recipes-core/servlet-api/servlet2.3_4.1.37.bb | 4 +--- recipes-core/servlet-api/servlet2.4_5.5.26.bb | 2 -- recipes-core/xalan-j/xalan-j_2.7.1.bb | 2 +- recipes-core/xerces-j/xerces-j_2.11.0.bb | 6 +++--- recipes-core/xml-commons/jaxp1.3_1.4.01.bb | 4 +--- recipes-core/xml-commons/xml-commons-resolver1.1_1.2.bb | 6 +++--- recipes-core/xml-commons/xpp2_2.1.10.bb | 2 -- recipes-core/xml-commons/xpp3_1.1.3.4.O.bb | 2 -- 37 files changed, 51 insertions(+), 49 deletions(-) create mode 100644 classes/java-bootstrap-components.bbclass diff --git a/classes/java-bootstrap-components.bbclass = b/classes/java-bootstrap-components.bbclass new file mode 100644 index 0000000..76e6b25 --- /dev/null +++ b/classes/java-bootstrap-components.bbclass @@ -0,0 +1,7 @@ +# This is to be used by recipes which rely on java-library.bbclass +# infrastructure and their a *-native recipe are parts of the bootstrap +# process +#=20 + +DEPENDS_prepend_class-native =3D " ecj-bootstrap-native " +DEPENDS_prepend_class-target =3D " virtual/javac-native " diff --git a/classes/java-library.bbclass b/classes/java-library.bbclass index 144cd2f..a192f14 100644 --- a/classes/java-library.bbclass +++ b/classes/java-library.bbclass @@ -35,7 +35,8 @@ def java_package_name(d): =20 JPN ?=3D "${@java_package_name(d)}" =20 -DEPENDS_prepend =3D "virtual/javac-native fastjar-native " +DEPENDS_prepend =3D " fastjar-native " +DEPENDS_prepend_class-target =3D " virtual/javac-native " =20 PACKAGES +=3D "${JPN}" =20 diff --git a/recipes-core/ant/ant-native_1.8.1.bb = b/recipes-core/ant/ant-native_1.8.1.bb index 35b45d6..6cdbc80 100644 --- a/recipes-core/ant/ant-native_1.8.1.bb +++ b/recipes-core/ant/ant-native_1.8.1.bb @@ -11,7 +11,7 @@ SRC_URI =3D = "http://archive.apache.org/dist/ant/source/apache-ant-${PV}-src.tar.gz =20 S =3D "${WORKDIR}/apache-ant-${PV}" =20 -inherit java-library java-native +inherit java-library java-native java-bootstrap-components =20 DEPENDS =3D " \ jsch-native bsf-native xalan-j-native xerces-j-native \ diff --git a/recipes-core/cacao/cacao_1.6.1.bb = b/recipes-core/cacao/cacao_1.6.1.bb index f88293b..6e2fb99 100644 --- a/recipes-core/cacao/cacao_1.6.1.bb +++ b/recipes-core/cacao/cacao_1.6.1.bb @@ -7,7 +7,9 @@ SECTION =3D "interpreters" DEPENDS_class-native =3D "zlib-native libtool-native ecj-initial-native = fastjar-native classpath-native bdwgc-native" PROVIDES_class-native =3D "virtual/java-native" =20 -DEPENDS =3D "zlib libtool classpath virtual/javac-native bdwgc" +DEPENDS_class-target =3D " virtual/javac-native " + +DEPENDS =3D "zlib libtool classpath bdwgc" RPROVIDES_${PN} =3D "java2-runtime" =20 SRC_URI =3D = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV= }.tar.xz \ diff --git a/recipes-core/classpath/classpath.inc = b/recipes-core/classpath/classpath.inc index 1bdfd78..c56c0c3 100644 --- a/recipes-core/classpath/classpath.inc +++ b/recipes-core/classpath/classpath.inc @@ -7,9 +7,9 @@ LICENSE =3D "Classpath" =20 PBN =3D "classpath" =20 -inherit autotools java gettext +inherit autotools java gettext java-bootstrap-components =20 -DEPENDS =3D "virtual/javac-native fastjar-native zip-native gmp = antlr-native gtk+ gconf libxtst file" +DEPENDS =3D " fastjar-native zip-native gmp antlr-native gtk+ gconf = libxtst file" =20 RPROVIDES_${PN} =3D "" =20 diff --git a/recipes-core/classpathx/gnujaf_1.1.1.bb = b/recipes-core/classpathx/gnujaf_1.1.1.bb index 0bd8b57..5520ef7 100644 --- a/recipes-core/classpathx/gnujaf_1.1.1.bb +++ b/recipes-core/classpathx/gnujaf_1.1.1.bb @@ -10,7 +10,7 @@ SRC_URI =3D = "http://ftp.gnu.org/gnu/classpathx/activation-${PV}.tar.gz \ file://MimeType-symbols-fix.patch \ " =20 -inherit java-library +inherit java-library java-bootstrap-components =20 S =3D "${WORKDIR}/activation-${PV}" =20 diff --git a/recipes-core/classpathx/gnumail_1.1.2.bb = b/recipes-core/classpathx/gnumail_1.1.2.bb index 5e81a45..41417c0 100644 --- a/recipes-core/classpathx/gnumail_1.1.2.bb +++ b/recipes-core/classpathx/gnumail_1.1.2.bb @@ -8,7 +8,7 @@ SRC_URI =3D = "http://ftp.gnu.org/gnu/classpathx/mail-${PV}.tar.gz \ file://datadir_java.patch \ " =20 -inherit java-library autotools +inherit java-library java-bootstrap-components autotools =20 S =3D "${WORKDIR}/mail-${PV}" =20 diff --git a/recipes-core/classpathx/inetlib_1.1.1.bb = b/recipes-core/classpathx/inetlib_1.1.1.bb index f078e33..3b3f299 100644 --- a/recipes-core/classpathx/inetlib_1.1.1.bb +++ b/recipes-core/classpathx/inetlib_1.1.1.bb @@ -9,7 +9,7 @@ SRC_URI =3D = "http://ftp.gnu.org/gnu/classpath/${BP}.tar.gz \ file://datadir_java.patch \ " =20 -inherit java-library autotools +inherit java-library java-bootstrap-components autotools =20 JPN =3D "libgnuinet-java" =20 diff --git a/recipes-core/ecj/ecj-bootstrap-native.bb = b/recipes-core/ecj/ecj-bootstrap-native.bb index e159c9d..a4a1c17 100644 --- a/recipes-core/ecj/ecj-bootstrap-native.bb +++ b/recipes-core/ecj/ecj-bootstrap-native.bb @@ -12,7 +12,7 @@ LIC_FILES_CHKSUM =3D = "file://${COREBASE}/LICENSE;md5=3D4d92cd373abda3937c2bc47fbc49d " PR =3D "r1" =20 -DEPENDS =3D "libecj-bootstrap-native virtual/java-native" +DEPENDS =3D "libecj-bootstrap-native cacao-native" =20 PROVIDES =3D "virtual/javac-native" =20 diff --git a/recipes-core/ecj/libecj-bootstrap.inc = b/recipes-core/ecj/libecj-bootstrap.inc index 020b8d3..a634a31 100644 --- a/recipes-core/ecj/libecj-bootstrap.inc +++ b/recipes-core/ecj/libecj-bootstrap.inc @@ -5,7 +5,7 @@ HOMEPAGE =3D "http://www.eclipse.org/" LICENSE =3D "EPL-1.0" LIC_FILES_CHKSUM =3D = "file://${COMMON_LICENSE_DIR}/EPL-1.0;md5=3D57f8d5e2b3e98ac6e088986c12bf94= e6" =20 -DEPENDS =3D "fastjar-native jikes-initial-native = virtual/java-initial-native" +DEPENDS =3D "fastjar-native jikes-initial-native cacao-initial-native" =20 INC_PR =3D "r5" =20 diff --git a/recipes-core/icedtea/icedtea7-native.inc = b/recipes-core/icedtea/icedtea7-native.inc index 43385e9..279700b 100644 --- a/recipes-core/icedtea/icedtea7-native.inc +++ b/recipes-core/icedtea/icedtea7-native.inc @@ -3,7 +3,7 @@ HOMEPAGE =3D "http://icedtea.classpath.org" LICENSE =3D "GPL-2.0-with-classpath-exception" INC_PR =3D "r1" =20 -DEPENDS =3D "virtual/javac-native virtual/java-native classpath-native = \ +DEPENDS =3D "fastjar-native cacao-native classpath-native \ rhino-native ant-native libxslt-native attr-native \ giflib-native jpeg-native libpng-native \ glib-2.0-native freetype-native zlib-native \ diff --git a/recipes-core/jacl/jacl_1.4.1.bb = b/recipes-core/jacl/jacl_1.4.1.bb index b413719..f9808ca 100644 --- a/recipes-core/jacl/jacl_1.4.1.bb +++ b/recipes-core/jacl/jacl_1.4.1.bb @@ -10,7 +10,7 @@ HOMEPAGE =3D "http://sourceforge.net/projects/tcljava" =20 SRC_URI =3D "http://downloads.sourceforge.net/tcljava/jacl${PV}.tar.gz" =20 -inherit java-library +inherit java-library java-bootstrap-components =20 S =3D "${WORKDIR}/jacl${PV}" =20 diff --git a/recipes-core/jakarta-commons/commons-logging_1.1.1.bb = b/recipes-core/jakarta-commons/commons-logging_1.1.1.bb index b3b508a..8b1efe0 100644 --- a/recipes-core/jakarta-commons/commons-logging_1.1.1.bb +++ b/recipes-core/jakarta-commons/commons-logging_1.1.1.bb @@ -1,5 +1,7 @@ require jakarta-commons.inc =20 +inherit java-bootstrap-components + PR =3D "${INC_PR}.1" =20 DESCRIPTION =3D "Java Internet protocol suite library" diff --git a/recipes-core/jakarta-commons/commons-net_1.4.1.bb = b/recipes-core/jakarta-commons/commons-net_1.4.1.bb index 275ebb9..7c03b82 100644 --- a/recipes-core/jakarta-commons/commons-net_1.4.1.bb +++ b/recipes-core/jakarta-commons/commons-net_1.4.1.bb @@ -1,5 +1,7 @@ require jakarta-commons.inc =20 +inherit java-bootstrap-components + PR =3D "${INC_PR}.1" =20 DESCRIPTION =3D "Java Internet protocol suite library" diff --git a/recipes-core/jakarta-libs/avalon-framework-api_4.3.bb = b/recipes-core/jakarta-libs/avalon-framework-api_4.3.bb index 081cfe7..2e2bb59 100644 --- a/recipes-core/jakarta-libs/avalon-framework-api_4.3.bb +++ b/recipes-core/jakarta-libs/avalon-framework-api_4.3.bb @@ -9,7 +9,7 @@ SRC_URI =3D " \ = http://archive.apache.org/dist/avalon/logkit/source/logkit-1.2.2-src.tar.g= z;name=3Dlogkit \ " =20 -inherit java-library +inherit java-library java-bootstrap-components =20 do_compile() { mkdir -p build diff --git a/recipes-core/jakarta-libs/bsf_2.4.0.bb = b/recipes-core/jakarta-libs/bsf_2.4.0.bb index 0213004..e23503c 100644 --- a/recipes-core/jakarta-libs/bsf_2.4.0.bb +++ b/recipes-core/jakarta-libs/bsf_2.4.0.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM =3D = "file://LICENSE.txt;md5=3Db1e01b26bacfc2232046c90a330332b3" =20 SRC_URI =3D = "http://archive.apache.org/dist/jakarta/bsf/source/bsf-src-${PV}.tar.gz" =20 -inherit java-library +inherit java-library java-bootstrap-components =20 DEPENDS =3D "jacl commons-logging rhino xalan-j bcel" DEPENDS_virtclass-native =3D "jacl-native commons-logging-native = rhino-native xalan-j-native bcel-native" diff --git a/recipes-core/jakarta-libs/log4j1.2_1.2.17.bb = b/recipes-core/jakarta-libs/log4j1.2_1.2.17.bb index b4ccd2c..50ef4a2 100644 --- a/recipes-core/jakarta-libs/log4j1.2_1.2.17.bb +++ b/recipes-core/jakarta-libs/log4j1.2_1.2.17.bb @@ -7,7 +7,7 @@ PR =3D "r2" =20 SRC_URI =3D = "http://archive.apache.org/dist/logging/log4j/${PV}/log4j-${PV}.tar.gz" =20 -inherit java-library +inherit java-library java-bootstrap-components =20 DEPENDS =3D "gnumail gnujaf" DEPENDS_virtclass-native =3D "gnumail-native gnujaf-native" diff --git a/recipes-core/jakarta-libs/logkit_1.2.2.bb = b/recipes-core/jakarta-libs/logkit_1.2.2.bb index c3b612b..24fdfac 100644 --- a/recipes-core/jakarta-libs/logkit_1.2.2.bb +++ b/recipes-core/jakarta-libs/logkit_1.2.2.bb @@ -6,7 +6,7 @@ PR =3D "r1" =20 SRC_URI =3D = "http://archive.apache.org/dist/avalon/logkit/source/${BP}-src.tar.gz" =20 -inherit java-library +inherit java-library java-bootstrap-components =20 S =3D "${WORKDIR}/${BP}-dev" =20 diff --git a/recipes-core/jakarta-libs/oro_2.0.8.bb = b/recipes-core/jakarta-libs/oro_2.0.8.bb index 0a7fba3..308eb55 100644 --- a/recipes-core/jakarta-libs/oro_2.0.8.bb +++ b/recipes-core/jakarta-libs/oro_2.0.8.bb @@ -6,7 +6,7 @@ PR =3D "r1" =20 SRC_URI =3D = "http://archive.apache.org/dist/jakarta/oro/source/jakarta-${BP}.tar.gz" =20 -inherit java-library +inherit java-library java-bootstrap-components =20 S =3D "${WORKDIR}/jakarta-${BP}" =20 diff --git a/recipes-core/jakarta-libs/poi_3.0.bb = b/recipes-core/jakarta-libs/poi_3.0.bb index f9178f2..55279c1 100644 --- a/recipes-core/jakarta-libs/poi_3.0.bb +++ b/recipes-core/jakarta-libs/poi_3.0.bb @@ -9,7 +9,7 @@ S =3D "${WORKDIR}/${BPN}-3.0-rc4" =20 inherit java-library =20 -DEPENDS =3D "fastjar-native commons-collections3 commons-logging = commons-lang commons-beanutils log4j1.2 xalan-j" +DEPENDS =3D "commons-collections3 commons-logging commons-lang = commons-beanutils log4j1.2 xalan-j" =20 do_compile() { mkdir -p build diff --git a/recipes-core/jakarta-libs/regexp_1.5.bb = b/recipes-core/jakarta-libs/regexp_1.5.bb index ce6150c..d482e4a 100644 --- a/recipes-core/jakarta-libs/regexp_1.5.bb +++ b/recipes-core/jakarta-libs/regexp_1.5.bb @@ -6,7 +6,7 @@ PR =3D "r1" =20 SRC_URI =3D = "http://archive.apache.org/dist/jakarta/regexp/source/jakarta-${BP}.tar.gz= " =20 -inherit java-library +inherit java-library java-bootstrap-components =20 S =3D "${WORKDIR}/jakarta-${BP}" =20 diff --git a/recipes-core/jamvm/jamvm.inc b/recipes-core/jamvm/jamvm.inc index 5893cbc..6480225 100644 --- a/recipes-core/jamvm/jamvm.inc +++ b/recipes-core/jamvm/jamvm.inc @@ -3,7 +3,7 @@ HOMEPAGE =3D "http://jamvm.sourceforge.net/" LICENSE =3D "GPL-2.0" LIC_FILES_CHKSUM =3D = "file://COPYING;md5=3D0636e73ff0215e8d672dc4c32c317bb3" =20 -DEPENDS =3D "zlib classpath virtual/javac-native libffi" +DEPENDS =3D "zlib classpath libffi" DEPENDS_virtclass-native =3D "zlib-native classpath-native = ecj-initial-native libffi-native" =20 RDEPENDS_${PN} =3D "classpath" @@ -21,7 +21,7 @@ SRC_URI =3D = "${SOURCEFORGE_MIRROR}/jamvm/jamvm-${PV}.tar.gz \ " =20 =20 -inherit java autotools update-alternatives pkgconfig +inherit java autotools update-alternatives pkgconfig = java-bootstrap-components =20 # This uses 32 bit arm, so force the instruction set to arm, not thumb ARM_INSTRUCTION_SET =3D "arm" diff --git a/recipes-core/jcraft/jsch_0.1.40.bb = b/recipes-core/jcraft/jsch_0.1.40.bb index 337a8eb..d22eb0a 100644 --- a/recipes-core/jcraft/jsch_0.1.40.bb +++ b/recipes-core/jcraft/jsch_0.1.40.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM =3D = "file://LICENSE.txt;md5=3D55e3b6a0987ccd0c34530f3df2d206ae" =20 SRC_URI =3D "${SOURCEFORGE_MIRROR}/jsch/jsch-${PV}.zip" =20 -inherit java-library +inherit java-library java-bootstrap-components =20 DEPENDS =3D "jzlib" DEPENDS_virtclass-native =3D "jzlib-native" diff --git a/recipes-core/jcraft/jzlib_1.0.7.bb = b/recipes-core/jcraft/jzlib_1.0.7.bb index b6f3f64..79fc4d4 100644 --- a/recipes-core/jcraft/jzlib_1.0.7.bb +++ b/recipes-core/jcraft/jzlib_1.0.7.bb @@ -6,7 +6,7 @@ HOMEPAGE =3D "http://www.jcraft.com/jzlib" =20 SRC_URI =3D "http://www.jcraft.com/jzlib/jzlib-${PV}.tar.gz" =20 -inherit java-library +inherit java-library java-bootstrap-components =20 do_compile() { mkdir -p build diff --git a/recipes-core/jdepend/jdepend_2.9.1.bb = b/recipes-core/jdepend/jdepend_2.9.1.bb index 9f74f44..8f41c00 100644 --- a/recipes-core/jdepend/jdepend_2.9.1.bb +++ b/recipes-core/jdepend/jdepend_2.9.1.bb @@ -8,7 +8,7 @@ HOMEPAGE =3D = "http://clarkware.com/software/JDepend.html" =20 SRC_URI =3D "http://www.clarkware.com/software/jdepend-${PV}.zip" =20 -inherit java-library +inherit java-library java-bootstrap-components =20 do_compile() { mkdir -p build diff --git a/recipes-core/jlex/jlex_1.2.6.bb = b/recipes-core/jlex/jlex_1.2.6.bb index 4dbe63e..9290fa5 100644 --- a/recipes-core/jlex/jlex_1.2.6.bb +++ b/recipes-core/jlex/jlex_1.2.6.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM =3D = "file://${COREBASE}/LICENSE;md5=3D4d92cd373abda3937c2bc47fbc49d RDEPENDS_${PN} =3D "java2-runtime" RDEPENDS_${PN}_virtclass-native =3D "" =20 -inherit java-library +inherit java-library java-bootstrap-components =20 SRC_URI =3D = "http://www.cs.princeton.edu/~appel/modern/java/JLex/Archive/${PV}/Main.ja= va \ file://jlex \ diff --git a/recipes-core/junit/junit4_4.3.1.bb = b/recipes-core/junit/junit4_4.3.1.bb index 1cb8674..8d9dd31 100644 --- a/recipes-core/junit/junit4_4.3.1.bb +++ b/recipes-core/junit/junit4_4.3.1.bb @@ -8,9 +8,7 @@ SRC_URI =3D = "http://downloads.sourceforge.net/junit/junit-${PV}-src.jar" =20 S =3D "${WORKDIR}" =20 -inherit java-library - -DEPENDS =3D "fastjar-native" +inherit java-library java-bootstrap-components =20 do_compile() { mkdir -p build diff --git a/recipes-core/junit/junit_3.8.2.bb = b/recipes-core/junit/junit_3.8.2.bb index bae022d..54ce9fe 100644 --- a/recipes-core/junit/junit_3.8.2.bb +++ b/recipes-core/junit/junit_3.8.2.bb @@ -11,7 +11,7 @@ S =3D "${WORKDIR}/junit${PV}" =20 DEPENDS +=3D "unzip-native" =20 -inherit java-library +inherit java-library java-bootstrap-components =20 do_unpackpost() { mkdir -p src diff --git a/recipes-core/rhino/rhino_1.7r4.bb = b/recipes-core/rhino/rhino_1.7r4.bb index 7898d23..76c3057 100644 --- a/recipes-core/rhino/rhino_1.7r4.bb +++ b/recipes-core/rhino/rhino_1.7r4.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM =3D = "file://LICENSE.txt;md5=3D8e2372bdbf22c99279ae4599a13cc458" =20 BBCLASSEXTEND =3D "native" =20 -inherit java-library +inherit java-library java-bootstrap-components =20 SRC_URI =3D "\ https://github.com/downloads/mozilla/rhino/rhino1_7R4.zip \ diff --git a/recipes-core/servlet-api/servlet2.3_4.1.37.bb = b/recipes-core/servlet-api/servlet2.3_4.1.37.bb index fbda5c8..f5f6d4a 100644 --- a/recipes-core/servlet-api/servlet2.3_4.1.37.bb +++ b/recipes-core/servlet-api/servlet2.3_4.1.37.bb @@ -6,12 +6,10 @@ PR =3D "r1" =20 SRC_URI =3D = "http://archive.apache.org/dist/tomcat/tomcat-4/v${PV}/src/apache-tomcat-$= {PV}-src.tar.gz" =20 -inherit java-library +inherit java-library java-bootstrap-components =20 S =3D "${WORKDIR}/apache-tomcat-${PV}-src/servletapi" =20 -DEPENDS =3D "fastjar-native" - # Value of implementation.revision in build.xml IMPL_REVISION =3D "1" =20 diff --git a/recipes-core/servlet-api/servlet2.4_5.5.26.bb = b/recipes-core/servlet-api/servlet2.4_5.5.26.bb index b34b23d..7d0feb3 100644 --- a/recipes-core/servlet-api/servlet2.4_5.5.26.bb +++ b/recipes-core/servlet-api/servlet2.4_5.5.26.bb @@ -9,8 +9,6 @@ S =3D = "${WORKDIR}/apache-tomcat-${PV}-src/servletapi/jsr154" =20 inherit java-library =20 -DEPENDS =3D "fastjar-native" - # Value of implementation.revision in build.xml IMPL_REVISION =3D "1" =20 diff --git a/recipes-core/xalan-j/xalan-j_2.7.1.bb = b/recipes-core/xalan-j/xalan-j_2.7.1.bb index 317b3c9..16f5396 100644 --- a/recipes-core/xalan-j/xalan-j_2.7.1.bb +++ b/recipes-core/xalan-j/xalan-j_2.7.1.bb @@ -21,7 +21,7 @@ SRC_URI =3D "\ =20 S =3D "${WORKDIR}/${BPN}_2_7_1" =20 -inherit java-library +inherit java-library java-bootstrap-components =20 JPN =3D "libxalan2-java" =20 diff --git a/recipes-core/xerces-j/xerces-j_2.11.0.bb = b/recipes-core/xerces-j/xerces-j_2.11.0.bb index f9e497e..4130457 100644 --- a/recipes-core/xerces-j/xerces-j_2.11.0.bb +++ b/recipes-core/xerces-j/xerces-j_2.11.0.bb @@ -16,12 +16,12 @@ SRC_URI =3D = "http://archive.apache.org/dist/xerces/j/Xerces-J-src.${PV}.tar.gz" =20 S =3D "${WORKDIR}/xerces-2_11_0" =20 -inherit java-library +inherit java-library java-bootstrap-components =20 JPN =3D "libxerces2-java" =20 -DEPENDS =3D "fastjar-native jaxp1.3 xml-commons-resolver1.1" -DEPENDS_virtclass-native =3D "fastjar-native jaxp1.3-native = xml-commons-resolver1.1-native" +DEPENDS =3D "jaxp1.3 xml-commons-resolver1.1" +DEPENDS_virtclass-native =3D "jaxp1.3-native = xml-commons-resolver1.1-native" =20 RDEPENDS_${PN} =3D "libjaxp1.3-java libxml-commons-resolver1.1-java" RDEPENDS_${PN}_virtclass-native =3D "" diff --git a/recipes-core/xml-commons/jaxp1.3_1.4.01.bb = b/recipes-core/xml-commons/jaxp1.3_1.4.01.bb index a6eeb57..765b766 100644 --- a/recipes-core/xml-commons/jaxp1.3_1.4.01.bb +++ b/recipes-core/xml-commons/jaxp1.3_1.4.01.bb @@ -11,9 +11,7 @@ LIC_FILES_CHKSUM =3D " \ =20 SRC_URI =3D = "http://archive.apache.org/dist/xml/commons/source/xml-commons-external-${= PV}-src.tar.gz;subdir=3D${BPN}-${PV}" =20 -inherit java-library - -DEPENDS =3D "fastjar-native" +inherit java-library java-bootstrap-components =20 JARFILENAME =3D "jaxp-1.3.jar" ALTJARFILENAMES =3D "xml-apis.jar" diff --git a/recipes-core/xml-commons/xml-commons-resolver1.1_1.2.bb = b/recipes-core/xml-commons/xml-commons-resolver1.1_1.2.bb index 5853895..ca1f2f2 100644 --- a/recipes-core/xml-commons/xml-commons-resolver1.1_1.2.bb +++ b/recipes-core/xml-commons/xml-commons-resolver1.1_1.2.bb @@ -6,12 +6,12 @@ LIC_FILES_CHKSUM =3D = "file://LICENSE.resolver.txt;md5=3Dd229da563da18fe5d58cd95a6467 =20 SRC_URI =3D = "http://archive.apache.org/dist/xml/commons/xml-commons-resolver-${PV}.tar= .gz" =20 -inherit java-library +inherit java-library java-bootstrap-components =20 S =3D "${WORKDIR}/xml-commons-resolver-${PV}" =20 -DEPENDS =3D "fastjar-native jaxp1.3" -DEPENDS_virtclass-native =3D "fastjar-native jaxp1.3-native" +DEPENDS =3D "jaxp1.3" +DEPENDS_virtclass-native =3D "jaxp1.3-native" =20 do_unpackpost() { find src -exec \ diff --git a/recipes-core/xml-commons/xpp2_2.1.10.bb = b/recipes-core/xml-commons/xpp2_2.1.10.bb index d3baca4..402d38d 100644 --- a/recipes-core/xml-commons/xpp2_2.1.10.bb +++ b/recipes-core/xml-commons/xpp2_2.1.10.bb @@ -9,8 +9,6 @@ S =3D "${WORKDIR}/PullParser${PV}" =20 inherit java-library =20 -DEPENDS =3D "fastjar-native virtual/javac-native" - do_compile() { if [ -d build-oe ]; then rm -rf build-oe diff --git a/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb = b/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb index bedb8a9..a472a0d 100644 --- a/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb +++ b/recipes-core/xml-commons/xpp3_1.1.3.4.O.bb @@ -8,8 +8,6 @@ SRC_URI =3D = "http://www.extreme.indiana.edu/dist/java-repository/xpp3/distribution =20 inherit java-library =20 -DEPENDS =3D "fastjar-native virtual/javac-native" - PACKAGES =3D "libxpp3-xpath-java ${JPN}" =20 do_compile() { --=20 1.9.1 --=20 Jens Rehsack - rehsack@gmail.com