antlr/cup: inherit java-bootstrap-components
PATCH 1/1 antlr/cup: inherit java-bootstrap-components
From: Jackie Huang <[email protected]>
This should be part of the following commit but missed:
commit 04d5d0bf414c05ca59618d77f17ff9898aa1c566
Author: Jens Rehsack <[email protected]> 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.
--- recipes-core/antlr/antlr_2.7.7.bb | 2 +- recipes-core/cup/cup_0.10k.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
recipes-core/antlr/antlr_2.7.7.bb +1 -1
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=361934e706423915b4d9f413ad37fb65" SRC_URI = "http://www.antlr2.org/download/${BP}.tar.gz" SRC_URI_append_class-native = " file://runantlr" -inherit java-library +inherit java-library java-bootstrap-components do_configure_class-native() { sed -i -e"s|@JAR_FILE@|${STAGING_DATADIR_JAVA_NATIVE}/antlr.jar|" ${WORKDIR}/runantlr
recipes-core/cup/cup_0.10k.bb +1 -1
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=2c9db91c00f38e52cfc8e67bafaa7c RDEPENDS_${PN} = "java2-runtime" RDEPENDS_${PN}_virtclass-native = "" -inherit java-library +inherit java-library java-bootstrap-components SRC_URI = "http://www.cs.princeton.edu/~appel/modern/java/CUP/java_${BPN}_v10k.tar.gz \ file://cup \
Signature · 1 line
2.3.5
Quoted 52 lines
Am 09.12.2015 um 08:15 schrieb [email protected]:
From: Jackie Huang <[email protected]>
This should be part of the following commit but missed:
commit04d5d0bf414c05ca59618d77f17ff9898aa1c566Author: Jens Rehsack <[email protected]> Date: Tue Dec 8 14:51:50 2015 +0100meta-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 <[email protected]>Signed-off-by Maxin B. John <[email protected]>Signed-off-by Jackie Huang <[email protected]>---
recipes-core/antlr/antlr_2.7.7.bb | 2 +-
recipes-core/cup/cup_0.10k.bb | 2 +-2 files changed, 2 insertions(+), 2 deletions(-)recipes-core/antlr/antlr_2.7.7.bb +0
-0@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=361934e706423915b4d9f413ad37fb65"
SRC_URI= "http://www.antlr2.org/download/${BP}.tar.gz" SRC_URI_append_class-native = " file://runantlr"recipes-core/antlr/antlr_2.7.7.bb +1
-1-inherit java-library +inherit java-library java-bootstrap-componentsdo_configure_class-native() { sed -i -e"s|@JAR_FILE@|${STAGING_DATADIR_JAVA_NATIVE}/antlr.jar|" ${WORKDIR}/runantlrrecipes-core/cup/cup_0.10k.bb +0
-0@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=2c9db91c00f38e52cfc8e67bafaa7cRDEPENDS_${PN} = "java2-runtime"
RDEPENDS_${PN}_virtclass-native = ""recipes-core/cup/cup_0.10k.bb +1
-1-inherit java-library +inherit java-library java-bootstrap-components
Quoted 5 lines
SRC_URI = "http://www.cs.princeton.edu/~appel/modern/java/CUP/java_${BPN}_v10k.tar.gz \ file://cup \--
2.3.5
It's very likely that I didn't catch the very latest dependency, even checking multiple times.
Usually an already published history shouldn't been rewritten (I would be fine with that, but maybe other users get offended).
Cheers
--
Jens Rehsack - [email protected]