[gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
commit: a105b5200dbc61fbaa58761944b261d9670bcdee Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Tue Mar 12 20:44:22 2024 + Commit: Miroslav Šulc gentoo org> CommitDate: Mon Apr 15 10:25:22 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a105b520 dev-java/rhino: switch to dev-java/ant Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/35723/commits/df4f15a1c8372f666592634d37922efe010dc8c9 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/rhino/{rhino-1.7.14.ebuild => rhino-1.7.14-r1.ebuild} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-java/rhino/rhino-1.7.14.ebuild b/dev-java/rhino/rhino-1.7.14-r1.ebuild similarity index 95% rename from dev-java/rhino/rhino-1.7.14.ebuild rename to dev-java/rhino/rhino-1.7.14-r1.ebuild index 0826d783bf62..8676a8e192ab 100644 --- a/dev-java/rhino/rhino-1.7.14.ebuild +++ b/dev-java/rhino/rhino-1.7.14-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -30,7 +30,7 @@ RESTRICT="test" DEPEND=">=virtual/jdk-1.8:* test? ( - dev-java/ant-junit:0 + >=dev-java/ant-1.10.14-r3:0[junit] dev-java/emma:0 dev-java/jakarta-xml-soap-api:1 dev-java/jmh-core:0 @@ -50,7 +50,7 @@ JAVA_SRC_DIR=( "src" "toolsrc" "xmlimplsrc" ) JAVA_RESOURCE_DIRS="res" JAVA_MAIN_CLASS="org.mozilla.javascript.tools.shell.Main" -JAVA_TEST_GENTOO_CLASSPATH="ant-junit,emma,hamcrest-core-1.3,jakarta-xml-soap-api-1,jmh-core,junit-4,snakeyaml" +JAVA_TEST_GENTOO_CLASSPATH="ant,emma,hamcrest-core-1.3,jakarta-xml-soap-api-1,jmh-core,junit-4,snakeyaml" JAVA_TEST_SRC_DIRS="testsrc" JAVA_TEST_RESOURCE_DIRS="testres"
[gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/files/, dev-java/rhino/
commit: 93eb3953f544606e5ff49246533f5d086dd2387b Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Fri Apr 8 16:01:48 2022 + Commit: Miroslav Šulc gentoo org> CommitDate: Sat Apr 9 04:58:34 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93eb3953 dev-java/rhino: drop 1.7.7-r1 Closes: https://bugs.gentoo.org/837302 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/24957 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/rhino/Manifest| 1 - .../files/rhino-1.7.7-testsrc-build.xml.patch | 40 - dev-java/rhino/rhino-1.7.7-r1.ebuild | 95 -- 3 files changed, 136 deletions(-) diff --git a/dev-java/rhino/Manifest b/dev-java/rhino/Manifest index 569bb6a5f328..df2bb4acf7d4 100644 --- a/dev-java/rhino/Manifest +++ b/dev-java/rhino/Manifest @@ -1,2 +1 @@ -DIST Rhino1_7_7_RELEASE.zip 6059127 BLAKE2B 431885bf287da524cfc82e6594802c93e75d48177b4056e9b893d7c852c3c3b30291d616a140981e520fdebacf5cbc8b802a6137f0e29a369f1d01cc771c6b77 SHA512 ce89b6a153d62dd459a86360c67d6db4b05922d8ab49a8d45ccb0deb0f639cd819f0ad75cb4929eda6b7f0fd6ddb5879a4035de6968283317bfd0e93d2bb744e DIST rhino-1.7.14.tar.gz 4694660 BLAKE2B d6ba958265c4ebf881161d0b61f598ac7e82d7be4e6b0fbd6416e7b0af7835058a2744ab5524b6ff698159898e962cc246ac559e9c5db1b4467b147700e894e0 SHA512 f20e8a8f7c78c88d815c53f89f3f18a53c2e86d92a284cd275aa5556c08962d2905f2d4fc829e5cb61d416cd55b13323d9a110f4f492f588a149b4d2105b21a1 diff --git a/dev-java/rhino/files/rhino-1.7.7-testsrc-build.xml.patch b/dev-java/rhino/files/rhino-1.7.7-testsrc-build.xml.patch deleted file mode 100644 index 4760e980245d.. --- a/dev-java/rhino/files/rhino-1.7.7-testsrc-build.xml.patch +++ /dev/null @@ -1,40 +0,0 @@ testsrc/build.xml.orig 2015-08-05 23:41:56.81500 + -+++ testsrc/build.xml 2015-08-05 23:46:10.02600 + -@@ -46,15 +46,8 @@ - --> - - -- -- -- -- -- -- - - -- - - -- - - - -- -- -- -- -- -- -+ - - - diff --git a/dev-java/rhino/rhino-1.7.7-r1.ebuild b/dev-java/rhino/rhino-1.7.7-r1.ebuild deleted file mode 100644 index 656ddd97e01f.. --- a/dev-java/rhino/rhino-1.7.7-r1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -JAVA_PKG_IUSE="doc examples source test" -MAVEN_ID="org.mozilla:rhino:1.7.7" - -inherit java-pkg-2 java-ant-2 versionator - -# rhino -> Rhino -MY_PN="${PN^}" - -# 1.7.7 -> 1_7_7 -MY_PV="$(replace_all_version_separators _ ${PV})" - -# rhino1.7.7 -MY_P="${PN}${PV}" - -# Rhino1_7_7_RELEASE -MY_RELEASE="${MY_PN}${MY_PV}_RELEASE" - -DESCRIPTION="An open-source implementation of JavaScript written in Java" -SRC_URI="https://github.com/mozilla/${PN}/archive/${MY_RELEASE}.zip; -HOMEPAGE="http://www.mozilla.org/rhino/; - -LICENSE="MPL-1.1 GPL-2" -SLOT="1.6" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" -IUSE="" - -# ../rhino-Rhino1_7_7_RELEASE -S="${WORKDIR}/${PN}-${MY_RELEASE}" - -CDEPEND="" -RDEPEND=">=virtual/jre-1.6 - ${CDEPEND}" -DEPEND=">=virtual/jdk-1.6 - test? ( - dev-java/emma:0 - dev-java/junit:4 - dev-java/ant-junit:0 - dev-java/hamcrest-core:1.3 - ) - ${CDEPEND}" - -JAVA_ANT_REWRITE_CLASSPATH="yes" - -PATCHES=( - "${FILESDIR}"/${P}-testsrc-build.xml.patch -) - -EANT_TEST_TARGET="junit" - -# StackOverFlow errors arise on some tests. -# Further, the test suite takes way too much time (> 5 min). -# Maybe reduce the numbers of tests? -RESTRICT="test" - -java_prepare() { - java-pkg_clean - - epatch "${PATCHES[@]}" - - if use test; then - mkdir lib || die - java-pkg_jar-from --build-only emma emma.jar lib/emma.jar - java-pkg_jar-from --build-only emma emma_ant.jar lib/emma_ant.jar - java-pkg_jar-from --build-only hamcrest-core-1.3 hamcrest-core.jar lib/hamcrest.jar - java-pkg_jar-from --build-only junit-4 junit.jar lib/junit.jar - fi -} - -src_compile() { - java-pkg-2_src_compile - - if use source; then - EANT_BUILD_TARGET="source-zip" \ - java-pkg-2_src_compile - fi -} - -src_test() { - java-pkg-2_src_test -} - -src_install() { - java-pkg_dojar build/${MY_P}/js.jar - - java-pkg_dolauncher jsscript-${SLOT} \ - --main org.mozilla.javascript.tools.shell.Main - - use doc && java-pkg_dojavadoc "build/${MY_P}/javadoc" - use examples && java-pkg_doexamples examples - use source && java-pkg_dosrc {src,toolsrc,xmlimplsrc}/org -}
[gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
commit: 2af0356cf79db626924f88788a2816233d28424d Author: Arthur Zamarin gentoo org> AuthorDate: Fri Apr 8 14:31:05 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Apr 8 14:31:05 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2af0356c dev-java/rhino: Stabilize 1.7.14 ppc64, #835644 Signed-off-by: Arthur Zamarin gentoo.org> dev-java/rhino/rhino-1.7.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/rhino/rhino-1.7.14.ebuild b/dev-java/rhino/rhino-1.7.14.ebuild index 46feeadf4fe3..0826d783bf62 100644 --- a/dev-java/rhino/rhino-1.7.14.ebuild +++ b/dev-java/rhino/rhino-1.7.14.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/mozilla/rhino; SRC_URI="https://github.com/mozilla/rhino/archive/Rhino${PV//./_}_Release.tar.gz -> ${P}.tar.gz" LICENSE="MPL-1.1 GPL-2" -KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" SLOT="1.6" # There are too many test failures:
[gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
commit: b36ded7eaec77fb5521dad3cc84327bbf73bd2a5 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Apr 8 14:31:01 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Apr 8 14:31:01 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b36ded7e dev-java/rhino: Stabilize 1.7.14 arm64, #835644 Signed-off-by: Arthur Zamarin gentoo.org> dev-java/rhino/rhino-1.7.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/rhino/rhino-1.7.14.ebuild b/dev-java/rhino/rhino-1.7.14.ebuild index 607e89943e24..46feeadf4fe3 100644 --- a/dev-java/rhino/rhino-1.7.14.ebuild +++ b/dev-java/rhino/rhino-1.7.14.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/mozilla/rhino; SRC_URI="https://github.com/mozilla/rhino/archive/Rhino${PV//./_}_Release.tar.gz -> ${P}.tar.gz" LICENSE="MPL-1.1 GPL-2" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" +KEYWORDS="amd64 ~arm arm64 ~ppc64 x86" SLOT="1.6" # There are too many test failures:
[gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
commit: d6462273af7436a806828681afe1de9c803a50aa Author: Jakov Smolić gentoo org> AuthorDate: Thu Apr 7 20:55:44 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Thu Apr 7 20:57:35 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6462273 dev-java/rhino: Stabilize 1.7.14 x86, #835644 Signed-off-by: Jakov Smolić gentoo.org> dev-java/rhino/rhino-1.7.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/rhino/rhino-1.7.14.ebuild b/dev-java/rhino/rhino-1.7.14.ebuild index 3b8aa915941e..607e89943e24 100644 --- a/dev-java/rhino/rhino-1.7.14.ebuild +++ b/dev-java/rhino/rhino-1.7.14.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/mozilla/rhino; SRC_URI="https://github.com/mozilla/rhino/archive/Rhino${PV//./_}_Release.tar.gz -> ${P}.tar.gz" LICENSE="MPL-1.1 GPL-2" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" SLOT="1.6" # There are too many test failures:
[gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
commit: e375038f3d2c671ff329a28c8cef570f9da22e83 Author: Jakov Smolić gentoo org> AuthorDate: Thu Apr 7 20:55:11 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Thu Apr 7 20:57:28 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e375038f dev-java/rhino: Stabilize 1.7.14 amd64, #835644 Signed-off-by: Jakov Smolić gentoo.org> dev-java/rhino/rhino-1.7.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/rhino/rhino-1.7.14.ebuild b/dev-java/rhino/rhino-1.7.14.ebuild index f73aed7eae8d..3b8aa915941e 100644 --- a/dev-java/rhino/rhino-1.7.14.ebuild +++ b/dev-java/rhino/rhino-1.7.14.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/mozilla/rhino; SRC_URI="https://github.com/mozilla/rhino/archive/Rhino${PV//./_}_Release.tar.gz -> ${P}.tar.gz" LICENSE="MPL-1.1 GPL-2" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86" SLOT="1.6" # There are too many test failures:
[gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
commit: 690ea2107a2cf63e474657946ede38b69aff0149 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Mar 18 08:12:13 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Mar 18 08:12:13 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=690ea210 dev-java/rhino: Keyword 1.7.14 arm64, #835347 Signed-off-by: Arthur Zamarin gentoo.org> dev-java/rhino/rhino-1.7.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/rhino/rhino-1.7.14.ebuild b/dev-java/rhino/rhino-1.7.14.ebuild index b63bd8a8a466..f73aed7eae8d 100644 --- a/dev-java/rhino/rhino-1.7.14.ebuild +++ b/dev-java/rhino/rhino-1.7.14.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/mozilla/rhino; SRC_URI="https://github.com/mozilla/rhino/archive/Rhino${PV//./_}_Release.tar.gz -> ${P}.tar.gz" LICENSE="MPL-1.1 GPL-2" -KEYWORDS="~amd64 ~arm ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" SLOT="1.6" # There are too many test failures:
[gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
commit: fc1311ba0799057af55ef45223028c53b9606f66 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Mar 18 08:06:42 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Mar 18 08:06:42 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc1311ba dev-java/rhino: Keyword 1.7.14 arm, #835347 Signed-off-by: Arthur Zamarin gentoo.org> dev-java/rhino/rhino-1.7.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/rhino/rhino-1.7.14.ebuild b/dev-java/rhino/rhino-1.7.14.ebuild index 8ffc6baa20d3..b63bd8a8a466 100644 --- a/dev-java/rhino/rhino-1.7.14.ebuild +++ b/dev-java/rhino/rhino-1.7.14.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/mozilla/rhino; SRC_URI="https://github.com/mozilla/rhino/archive/Rhino${PV//./_}_Release.tar.gz -> ${P}.tar.gz" LICENSE="MPL-1.1 GPL-2" -KEYWORDS="~amd64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86" SLOT="1.6" # There are too many test failures:
[gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
commit: 4a45dc31fb2b70b4b5588339ac5844875eab1e77 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Mar 18 08:02:29 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Mar 18 08:02:29 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a45dc31 dev-java/rhino: Keyword 1.7.14 ppc64, #835347 Signed-off-by: Arthur Zamarin gentoo.org> dev-java/rhino/rhino-1.7.14.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/rhino/rhino-1.7.14.ebuild b/dev-java/rhino/rhino-1.7.14.ebuild index e2d55459ce0f..8ffc6baa20d3 100644 --- a/dev-java/rhino/rhino-1.7.14.ebuild +++ b/dev-java/rhino/rhino-1.7.14.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/mozilla/rhino; SRC_URI="https://github.com/mozilla/rhino/archive/Rhino${PV//./_}_Release.tar.gz -> ${P}.tar.gz" LICENSE="MPL-1.1 GPL-2" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~ppc64 ~x86" SLOT="1.6" # There are too many test failures:
[gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
commit: 3e16b3ba49d912597b978a901b0d111331f29061 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Wed Feb 2 20:58:06 2022 + Commit: Sam James gentoo org> CommitDate: Tue Mar 15 17:22:04 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e16b3ba dev-java/rhino: Bump to 1.7.14 Closes: https://bugs.gentoo.org/575590 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Signed-off-by: Sam James gentoo.org> dev-java/rhino/Manifest| 1 + dev-java/rhino/rhino-1.7.14.ebuild | 113 + 2 files changed, 114 insertions(+) diff --git a/dev-java/rhino/Manifest b/dev-java/rhino/Manifest index c66f7621da10..569bb6a5f328 100644 --- a/dev-java/rhino/Manifest +++ b/dev-java/rhino/Manifest @@ -1 +1,2 @@ DIST Rhino1_7_7_RELEASE.zip 6059127 BLAKE2B 431885bf287da524cfc82e6594802c93e75d48177b4056e9b893d7c852c3c3b30291d616a140981e520fdebacf5cbc8b802a6137f0e29a369f1d01cc771c6b77 SHA512 ce89b6a153d62dd459a86360c67d6db4b05922d8ab49a8d45ccb0deb0f639cd819f0ad75cb4929eda6b7f0fd6ddb5879a4035de6968283317bfd0e93d2bb744e +DIST rhino-1.7.14.tar.gz 4694660 BLAKE2B d6ba958265c4ebf881161d0b61f598ac7e82d7be4e6b0fbd6416e7b0af7835058a2744ab5524b6ff698159898e962cc246ac559e9c5db1b4467b147700e894e0 SHA512 f20e8a8f7c78c88d815c53f89f3f18a53c2e86d92a284cd275aa5556c08962d2905f2d4fc829e5cb61d416cd55b13323d9a110f4f492f588a149b4d2105b21a1 diff --git a/dev-java/rhino/rhino-1.7.14.ebuild b/dev-java/rhino/rhino-1.7.14.ebuild new file mode 100644 index ..e2d55459ce0f --- /dev/null +++ b/dev-java/rhino/rhino-1.7.14.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.mozilla:rhino:1.7.14" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="An open-source implementation of JavaScript written in Java" +HOMEPAGE="https://github.com/mozilla/rhino; +SRC_URI="https://github.com/mozilla/rhino/archive/Rhino${PV//./_}_Release.tar.gz -> ${P}.tar.gz" + +LICENSE="MPL-1.1 GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="1.6" + +# There are too many test failures: +# FAILURES!!! +# Tests run: 10504, Failures: 613 +# With openjdk-11 tests even fail to compile: +# ./testsrc/tests/src/com/netscape/javascript/qa/liveconnect/LiveConnectTest.java:104: error: cannot find symbol +# global = JSObject.getWindow( this ); +# ^ +# symbol: method getWindow(LiveConnectTest) +# location: class JSObject +RESTRICT="test" + +DEPEND=">=virtual/jdk-1.8:* + test? ( + dev-java/ant-junit:0 + dev-java/emma:0 + dev-java/jakarta-xml-soap-api:1 + dev-java/jmh-core:0 + dev-java/hamcrest-core:1.3 + dev-java/snakeyaml:0 + ) + ${CDEPEND}" + +RDEPEND=">=virtual/jre-1.8:* + ${CDEPEND}" + +DOCS=( {CODE_OF_CONDUCT,README,RELEASE-NOTES,RELEASE-STEPS}.md {NOTICE-tools,NOTICE}.txt ) + +S="${WORKDIR}/rhino-Rhino${PV//./_}_Release" + +JAVA_SRC_DIR=( "src" "toolsrc" "xmlimplsrc" ) +JAVA_RESOURCE_DIRS="res" +JAVA_MAIN_CLASS="org.mozilla.javascript.tools.shell.Main" + +JAVA_TEST_GENTOO_CLASSPATH="ant-junit,emma,hamcrest-core-1.3,jakarta-xml-soap-api-1,jmh-core,junit-4,snakeyaml" +JAVA_TEST_SRC_DIRS="testsrc" +JAVA_TEST_RESOURCE_DIRS="testres" + +# https://github.com/mozilla/rhino/blob/Rhino1_7_14_Release/build.gradle#L81-L87 +JAVA_TEST_EXTRA_ARGS=( + -Djava.awt.headless=true + -Dmozilla.js.tests=testsrc/tests + -Dmozilla.js.tests.timeout=6 + -Duser.language=en + -Duser.country=US + -Duser.timezone=America/Los_Angeles + -Dfile.encoding=UTF-8 +) + +src_prepare() { + default + java-pkg_clean + + mkdir -p res/org/mozilla/javascript/tools/{resources,debugger} || die + + cp -r "src/org" "res" || die + find "res" -type f -name '*.java' -exec rm -rf {} + || die + + cp {toolsrc,res}/org/mozilla/javascript/tools/resources/Messages.properties || die + cp {toolsrc,res}/org/mozilla/javascript/tools/debugger/test.js || die + + mv {src,testsrc}/org/mozilla/javascript/engine || die + cp -r "testsrc" "testres" || die + find "testres" -type f -name '*.java' -exec rm -rf {} + || die + + rm testsrc/tests/src/com/netscape/javascript/qa/drivers/LiveConnectDrv.java || die + rm testsrc/tests/src/com/netscape/javascript/qa/drivers/LiveConnectEnv.java || die + rm testsrc/tests/src/com/netscape/javascript/qa/drivers/LiveNavDrv.java || die + rm testsrc/tests/src/com/netscape/javascript/qa/drivers/LiveNavEnv.java || die + rm testsrc/tests/src/com/netscape/javascript/qa/drivers/MacRefEnv.java || die + rm testsrc/tests/src/com/netscape/javascript/qa/drivers/NavDrv.java || die + rm
[gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
commit: 9e07e463081a24499f110ffc82ae90b7560e5113 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Mon Feb 28 16:29:31 2022 + Commit: Sam James gentoo org> CommitDate: Tue Mar 15 17:22:06 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e07e463 dev-java/rhino: Add changelog to metadata.xml Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/24365 Signed-off-by: Sam James gentoo.org> dev-java/rhino/metadata.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-java/rhino/metadata.xml b/dev-java/rhino/metadata.xml index 603129d072cc..8ba5d74b80e6 100644 --- a/dev-java/rhino/metadata.xml +++ b/dev-java/rhino/metadata.xml @@ -12,5 +12,7 @@ mozilla/rhino + https://github.com/mozilla/rhino/blob/master/RELEASE-NOTES.md + https://github.com/mozilla/rhino/issues
[gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
commit: 40b7b112486b573cfbea9502ecc4bf16e2dac228 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Wed Jan 12 10:27:22 2022 + Commit: Miroslav Šulc gentoo org> CommitDate: Fri Jan 14 08:43:35 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40b7b112 dev-java/rhino: MAVEN_ID Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Signed-off-by: Miroslav Šulc gentoo.org> dev-java/rhino/rhino-1.7.7-r1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-java/rhino/rhino-1.7.7-r1.ebuild b/dev-java/rhino/rhino-1.7.7-r1.ebuild index 0ed1121c184c..656ddd97e01f 100644 --- a/dev-java/rhino/rhino-1.7.7-r1.ebuild +++ b/dev-java/rhino/rhino-1.7.7-r1.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="5" JAVA_PKG_IUSE="doc examples source test" +MAVEN_ID="org.mozilla:rhino:1.7.7" + inherit java-pkg-2 java-ant-2 versionator # rhino -> Rhino
[gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
commit: d62a9e1efaa7d0f7e60d381289e867a8231d9a37 Author: Alexis Ballier gentoo org> AuthorDate: Wed Jul 12 17:09:38 2017 + Commit: Alexis Ballier gentoo org> CommitDate: Wed Jul 12 18:40:02 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d62a9e1e dev-java/rhino: keyword ~arm64 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-java/rhino/rhino-1.7.7-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-java/rhino/rhino-1.7.7-r1.ebuild b/dev-java/rhino/rhino-1.7.7-r1.ebuild index 134b07cdd7c..6183419c40e 100644 --- a/dev-java/rhino/rhino-1.7.7-r1.ebuild +++ b/dev-java/rhino/rhino-1.7.7-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -23,7 +23,7 @@ HOMEPAGE="http://www.mozilla.org/rhino/; LICENSE="MPL-1.1 GPL-2" SLOT="1.6" -KEYWORDS="amd64 ~arm ppc64 x86" +KEYWORDS="amd64 ~arm ~arm64 ppc64 x86" IUSE="" # ../rhino-Rhino1_7_7_RELEASE
[gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/files/, dev-java/rhino/
commit: d53ff204309b1e75190277f93c2eaeea0b4a64a0 Author: Patrice Clement gentoo org> AuthorDate: Wed Oct 28 21:00:47 2015 + Commit: Patrice Clement gentoo org> CommitDate: Wed Oct 28 21:08:41 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d53ff204 dev-java/rhino: Clean up old. Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement gentoo.org> dev-java/rhino/Manifest | 3 - dev-java/rhino/files/00_dont-fetch-swing-ex.patch | 10 --- dev-java/rhino/files/1.5.5_jdk15.patch| 23 -- dev-java/rhino/files/public-NativeScript.patch| 11 --- dev-java/rhino/files/rhino-1.6-noget.patch| 12 --- dev-java/rhino/rhino-1.6.5.ebuild | 61 -- dev-java/rhino/rhino-1.7.2-r2.ebuild | 63 --- dev-java/rhino/rhino-1.7.7.ebuild | 98 --- 8 files changed, 281 deletions(-) diff --git a/dev-java/rhino/Manifest b/dev-java/rhino/Manifest index 69f4fab..3fc41b1 100644 --- a/dev-java/rhino/Manifest +++ b/dev-java/rhino/Manifest @@ -1,4 +1 @@ DIST Rhino1_7_7_RELEASE.zip 6059127 SHA256 0ef505aee093c690025c4484ce108b6e735e05baa3181bb56fdec4cb6b8b0107 SHA512 ce89b6a153d62dd459a86360c67d6db4b05922d8ab49a8d45ccb0deb0f639cd819f0ad75cb4929eda6b7f0fd6ddb5879a4035de6968283317bfd0e93d2bb744e WHIRLPOOL 0f54840077e46a6ac31e23784b3c13881a774356df14274fc9ffdf93eb3d7b92e830d8e51494931819a609a971bb6744cf961c2c168bb94b4e42d3eb0896 -DIST rhino-swing-ex-1.0.zip 19708 SHA256 062837ddb18951ace41ba0050aec95a690c00190a6218e5c9591c381035dfa7d SHA512 f2c1f970595cb08ac301d2fc21e0a2f1090b2007c849d993094ef3215a39456a5865bcaaf9424da93a09d6f0d151be6ec77f844bde2540d725c85c4b54a5f248 WHIRLPOOL 4dd40c1c80a70cd08584ac44abd3b42a790080f93449da8e241ed568ff5b3a5ac6cef12951632eba91547845be49401102d072b05a83a3ed78705acd768b1ced -DIST rhino1_6R5.zip 1822832 SHA256 02a4f17121f148c94ac65fb6d9eb4a817ce86c378c96cc94e9fc1b087b34526f SHA512 bd10b2e687925e06a5a4da5bc0e29a65cff08fc26792e3183f2ab28efb71efcdbc2fb08142be2fd2622c0b94dfa2691ce898ba847935def780e8686a879720f0 WHIRLPOOL 5fda95c5a99a6e99322a81fda513135cece56df0c7d17efcaea0b5f9f8f63b3adccd47bf30f26521b36e33f34e642e05107d7e0f202b8d532356884954d01049 -DIST rhino1_7R2.zip 2996867 SHA256 677f7dc1b67a1587bc03974d5f0720474a56b8f29835e1d860739908df8462dc SHA512 e4472e11377e93b64df3a2a9f266956d86ba78c85ceba57ff05c983d577143351fcbbbc0b63f7034718fd74c13a9e50bac6e8813f320b86fcd09b571e919b858 WHIRLPOOL 546f9a0e565881dd6128e000ca8c8e017cf7432e40df885268c4827e2dbd28f86cde37dbc7284bd1b08b062060eca1465716f850dbd54f176ead475b4b55351d diff --git a/dev-java/rhino/files/00_dont-fetch-swing-ex.patch b/dev-java/rhino/files/00_dont-fetch-swing-ex.patch deleted file mode 100644 index 9949751..000 --- a/dev-java/rhino/files/00_dont-fetch-swing-ex.patch +++ /dev/null @@ -1,10 +0,0 @@ toolsrc/build.xml 2004-03-25 15:54:34.0 +0100 -+++ toolsrc/build-patch.xml2004-06-19 23:48:07.225123288 +0200 -@@ -20,7 +20,6 @@ - --http://java.sun.com/products/jfc/tsc/articles/treetable2/downloads/src.zip; dest="${nest}/${build.dir}/swingExSrc.zip"/> - - - diff --git a/dev-java/rhino/files/1.5.5_jdk15.patch b/dev-java/rhino/files/1.5.5_jdk15.patch deleted file mode 100644 index 0948921..000 --- a/dev-java/rhino/files/1.5.5_jdk15.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -urpN rhino1_5R5.old/toolsrc/org/mozilla/javascript/tools/shell/JavaPolicySecurity.java rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/JavaPolicySecurity.java rhino1_5R5.old/toolsrc/org/mozilla/javascript/tools/shell/JavaPolicySecurity.java 2004-03-25 15:54:34.0 +0100 -+++ rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/JavaPolicySecurity.java 2005-02-01 13:58:26.521223264 +0100 -@@ -124,7 +124,7 @@ public class JavaPolicySecurity extends - - public JavaPolicySecurity() { - // To trigger error on jdk-1.1 with lazy load --new CodeSource(null, null); -+new CodeSource(null, (java.security.cert.Certificate[])null); - } - - protected void callProcessFileSecure(final Context cx, -@@ -167,8 +167,8 @@ public class JavaPolicySecurity extends - } - - private ProtectionDomain getUrlDomain(URL url) { --CodeSource cs = new CodeSource(url, null); --PermissionCollection pc = Policy.getPolicy().getPermissions(cs); -+CodeSource cs = new CodeSource(url, (java.security.cert.Certificate[])null); -+ PermissionCollection pc = Policy.getPolicy().getPermissions(cs); - return new ProtectionDomain(cs, pc); - } - diff --git a/dev-java/rhino/files/public-NativeScript.patch b/dev-java/rhino/files/public-NativeScript.patch deleted file mode 100644 index 026bced..000 --- a/dev-java/rhino/files/public-NativeScript.patch +++ /dev/null @@ -1,11 +0,0 @@ rhino1_5R5/src/org/mozilla/javascript/NativeScript.java.orig
[gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
commit: 8ab02abd6848d300382e6849e2fff5d65685659f Author: Patrice Clement gentoo org> AuthorDate: Wed Oct 28 20:59:36 2015 + Commit: Patrice Clement gentoo org> CommitDate: Wed Oct 28 21:08:38 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ab02abd dev-java/rhino: Stable for amd64. Stable for ppc+ppc64+x86 using the ALLARCHES policy. Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement gentoo.org> dev-java/rhino/rhino-1.7.7-r1.ebuild | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/dev-java/rhino/rhino-1.7.7-r1.ebuild b/dev-java/rhino/rhino-1.7.7-r1.ebuild index 1d9411c..ebdf486 100644 --- a/dev-java/rhino/rhino-1.7.7-r1.ebuild +++ b/dev-java/rhino/rhino-1.7.7-r1.ebuild @@ -24,7 +24,7 @@ HOMEPAGE="http://www.mozilla.org/rhino/; LICENSE="MPL-1.1 GPL-2" SLOT="1.6" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ppc ppc64 x86" IUSE="" # ../rhino-Rhino1_7_7_RELEASE @@ -56,13 +56,9 @@ EANT_TEST_TARGET="junit" RESTRICT="test" java_prepare() { - find . \ - -type f \ - -name \*.jar \ - -print \ - -exec rm -v {} \; || die "Couldn't delete bundled jar files." + java-pkg_clean - epatch ${PATCHES[@]} + epatch "${PATCHES[@]}" if use test; then mkdir lib || die
[gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
commit: 346168e31149bce833b378fe16c6f46163fd0aec Author: James Le Cuirot gentoo org> AuthorDate: Wed Oct 28 23:23:22 2015 + Commit: James Le Cuirot gentoo org> CommitDate: Wed Oct 28 23:23:22 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=346168e3 dev-java/rhino: Add ~arm keyword to unbreak the tree The test flag has been temporarily masked on arm until the jflex sub-dependency is sorted out. This should happen shortly. Package-Manager: portage-2.2.20.1 dev-java/rhino/rhino-1.7.7-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-java/rhino/rhino-1.7.7-r1.ebuild b/dev-java/rhino/rhino-1.7.7-r1.ebuild index ebdf486..753aa18 100644 --- a/dev-java/rhino/rhino-1.7.7-r1.ebuild +++ b/dev-java/rhino/rhino-1.7.7-r1.ebuild @@ -24,7 +24,7 @@ HOMEPAGE="http://www.mozilla.org/rhino/; LICENSE="MPL-1.1 GPL-2" SLOT="1.6" -KEYWORDS="amd64 ppc ppc64 x86" +KEYWORDS="amd64 ~arm ppc ppc64 x86" IUSE="" # ../rhino-Rhino1_7_7_RELEASE
[gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
commit: 4fe789cd4ef2ca50c156056c6c93fbb7e8faa51e Author: Patrice Clement monsieurp AT gentoo DOT org AuthorDate: Wed Aug 12 16:04:13 2015 + Commit: Patrice Clement monsieurp AT gentoo DOT org CommitDate: Wed Aug 12 16:05:21 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fe789cd dev-java/rhino: reduce SLOT back to 1.6. Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement monsieurp AT gentoo.org dev-java/rhino/rhino-1.7.7-r1.ebuild | 98 1 file changed, 98 insertions(+) diff --git a/dev-java/rhino/rhino-1.7.7-r1.ebuild b/dev-java/rhino/rhino-1.7.7-r1.ebuild new file mode 100644 index 000..1d9411c --- /dev/null +++ b/dev-java/rhino/rhino-1.7.7-r1.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +JAVA_PKG_IUSE=doc examples source test +inherit java-pkg-2 java-ant-2 versionator + +# rhino - Rhino +MY_PN=${PN^} + +# 1.7.7 - 1_7_7 +MY_PV=$(replace_all_version_separators _ ${PV}) + +# rhino1.7.7 +MY_P=${PN}${PV} + +# Rhino1_7_7_RELEASE +MY_RELEASE=${MY_PN}${MY_PV}_RELEASE + +DESCRIPTION=An open-source implementation of JavaScript written in Java +SRC_URI=https://github.com/mozilla/${PN}/archive/${MY_RELEASE}.zip; +HOMEPAGE=http://www.mozilla.org/rhino/; + +LICENSE=MPL-1.1 GPL-2 +SLOT=1.6 +KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 +IUSE= + +# ../rhino-Rhino1_7_7_RELEASE +S=${WORKDIR}/${PN}-${MY_RELEASE} + +CDEPEND= +RDEPEND==virtual/jre-1.6 + ${CDEPEND} +DEPEND==virtual/jdk-1.6 + test? ( + dev-java/emma:0 + dev-java/junit:4 + dev-java/ant-junit:0 + dev-java/hamcrest-core:1.3 + ) + ${CDEPEND} + +JAVA_ANT_REWRITE_CLASSPATH=yes + +PATCHES=( + ${FILESDIR}/${P}-testsrc-build.xml.patch +) + +EANT_TEST_TARGET=junit + +# StackOverFlow errors arise on some tests. +# Further, the test suite takes way too much time ( 5 min). +# Maybe reduce the numbers of tests? +RESTRICT=test + +java_prepare() { + find . \ + -type f \ + -name \*.jar \ + -print \ + -exec rm -v {} \; || die Couldn't delete bundled jar files. + + epatch ${PATCHES[@]} + + if use test; then + mkdir lib || die + java-pkg_jar-from --build-only emma emma.jar lib/emma.jar + java-pkg_jar-from --build-only emma emma_ant.jar lib/emma_ant.jar + java-pkg_jar-from --build-only hamcrest-core-1.3 hamcrest-core.jar lib/hamcrest.jar + java-pkg_jar-from --build-only junit-4 junit.jar lib/junit.jar + fi +} + +src_compile() { + java-pkg-2_src_compile + + if use source; then + EANT_BUILD_TARGET=source-zip \ + java-pkg-2_src_compile + fi +} + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_dojar build/${MY_P}/js.jar + + java-pkg_dolauncher jsscript-${SLOT} \ + --main org.mozilla.javascript.tools.shell.Main + + use doc java-pkg_dojavadoc build/${MY_P}/javadoc + use examples java-pkg_doexamples examples + use source java-pkg_dosrc {src,toolsrc,xmlimplsrc}/org +}
[gentoo-commits] repo/gentoo:master commit in: dev-java/rhino/
commit: 4ca49ac6cbee203d87c682c8a6170bb591dcce5e Author: Justin Lecher jlec AT gentoo DOT org AuthorDate: Sun Aug 9 12:00:36 2015 + Commit: Justin Lecher jlec AT gentoo DOT org CommitDate: Sun Aug 9 12:29:01 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ca49ac6 dev-java/rhino: Updating remote-id in metadata.xml Package-Manager: portage-2.2.20 Signed-off-by: Justin Lecher jlec AT gentoo.org dev-java/rhino/metadata.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-java/rhino/metadata.xml b/dev-java/rhino/metadata.xml index edd5474..47f3275 100644 --- a/dev-java/rhino/metadata.xml +++ b/dev-java/rhino/metadata.xml @@ -7,4 +7,7 @@ It is typically embedded into Java applications to provide scripting to end users. /longdescription + upstream + remote-id type=githubmozilla/rhino/remote-id + /upstream /pkgmetadata