diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-09-28 18:10:02 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-09-28 18:10:02 +0000 |
| commit | 3a3fddffe6b6a5d543501803e6214a0787f5f4e2 (patch) | |
| tree | 728a34df67ec8c02d34449fb2c57f515c75cf8e1 /dev-java | |
| parent | 4636778dc4c932df662f3087d1ff65366b2c4a61 (diff) | |
| download | baldeagleos-repo-3a3fddffe6b6a5d543501803e6214a0787f5f4e2.tar.gz baldeagleos-repo-3a3fddffe6b6a5d543501803e6214a0787f5f4e2.tar.xz baldeagleos-repo-3a3fddffe6b6a5d543501803e6214a0787f5f4e2.zip | |
Adding metadata
Diffstat (limited to 'dev-java')
| -rw-r--r-- | dev-java/javacup/Manifest | 1 | ||||
| -rw-r--r-- | dev-java/javacup/files/javacup-0.11b_beta20150326-build-xml-svn.patch | 44 | ||||
| -rw-r--r-- | dev-java/javacup/javacup-0.11b_p20151001-r1.ebuild | 91 | ||||
| -rw-r--r-- | dev-java/jflex/jflex-1.6.1-r2.ebuild | 126 | ||||
| -rw-r--r-- | dev-java/qdox/qdox-1.12.1-r5.ebuild | 96 | ||||
| -rw-r--r-- | dev-java/xalan/xalan-2.7.3-r1.ebuild | 45 |
6 files changed, 0 insertions, 403 deletions
diff --git a/dev-java/javacup/Manifest b/dev-java/javacup/Manifest index 5bb555f43821..d38691847d06 100644 --- a/dev-java/javacup/Manifest +++ b/dev-java/javacup/Manifest @@ -1,2 +1 @@ -DIST java-cup-src-11b-20151001.tar.gz 313405 BLAKE2B 126944916d120dd2150e4a665fea6d216f3d55e002a72b581621df726e4bf0e0664f9ff925189c97162582277c08a4f121e056299ea5a3f5c10cc31d7c0feb9c SHA512 70bb6a0e13fe52694980040205fcf5b3e904c4a07e50c7740c55cc3bb481496c5c071377757b94f59807b936b8c4fdde5423d78cc2d12a7ada1870f71cd9f47e DIST java-cup-src-11b-20160615.tar.gz 313847 BLAKE2B 0031cdb73471512162f69fff6ed47e91d78769c5162f37d4fdcef1c4b4be17ec9e950eda973a8842ae95423840be6c43a335180584b81c4618ea43cbfa926972 SHA512 532a8169f8e1ed2c637c66e7e21cc90eea363732870fbf4e3d66acbff03de3ba0583cefb7b4e7b8f8cb0c9bf1ca92dd5a59111860612bc7544e8beab87f5fbda diff --git a/dev-java/javacup/files/javacup-0.11b_beta20150326-build-xml-svn.patch b/dev-java/javacup/files/javacup-0.11b_beta20150326-build-xml-svn.patch deleted file mode 100644 index d5a14af3587b..000000000000 --- a/dev-java/javacup/files/javacup-0.11b_beta20150326-build-xml-svn.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 1a908a86fa6c253332b673ecc98e4ec8dffcdca2 Mon Sep 17 00:00:00 2001 -From: Sebastian Pipping <sebastian@pipping.org> -Date: Sat, 8 Aug 2015 14:49:02 +0200 -Subject: [PATCH] No longer query subversion revision - -There is not .svn folder shipped anyway ---- - build.xml | 13 +------------ - 1 file changed, 1 insertion(+), 12 deletions(-) - -diff --git a/build.xml b/build.xml -index 33f0c60..860bbb5 100644 ---- a/build.xml -+++ b/build.xml -@@ -18,17 +18,6 @@ - <mkdir dir="${classes}" /> - <mkdir dir="${dist}" /> - <loadfile property="cupversion" srcFile="version.txt"/> -- <exec executable="svn" outputproperty="svnversion"> -- <arg value="info"/> -- <redirector> -- <outputfilterchain> -- <linecontains> -- <contains value="Revision"/> -- </linecontains> -- <deletecharacters chars="Revision: "/> -- </outputfilterchain> -- </redirector> -- </exec> - </target> - - <property environment="env" /> -@@ -67,7 +56,7 @@ - <copy todir="${java}"><fileset dir="${src}"></fileset></copy> - <replace file="${java}/java_cup/version.java" - token="+ version_str" -- value='+ "v0.11b ${cupversion} (SVN rev ${svnversion})"'> -+ value='+ "v0.11b ${cupversion}"'> - </replace> - <javac srcdir="${java}" destdir="${classes}" verbose="off" listfiles="off" debug="on" source="1.5" target="1.5"> - <classpath refid="libraries"/> --- -2.5.0 - diff --git a/dev-java/javacup/javacup-0.11b_p20151001-r1.ebuild b/dev-java/javacup/javacup-0.11b_p20151001-r1.ebuild deleted file mode 100644 index 4fd75cc0bcbd..000000000000 --- a/dev-java/javacup/javacup-0.11b_p20151001-r1.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -MY_PV=${PV/_beta/-} -MY_PV=${MY_PV/_p/-} -MY_PV=${MY_PV#0.} -MY_P=java-cup-${MY_PV%-*} - -DESCRIPTION="CUP Parser Generator for Java" -HOMEPAGE="http://www2.cs.tum.edu/projects/cup/" -SRC_URI="http://www2.cs.tum.edu/projects/cup/releases/java-cup-src-${MY_PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -DEPEND="dev-java/ant-core:0 - dev-java/jflex:0 - >=virtual/jdk-1.8:*" - -RDEPEND=">=virtual/jre-1.8:*" - -JAVA_ANT_REWRITE_CLASSPATH="yes" -JAVA_ANT_CLASSPATH_TAGS+=" taskdef" - -S="${WORKDIR}" - -src_prepare() { - default - # Bizarrely, you can't build from the tarball without this patch. - eapply "${FILESDIR}"/${PN}-0.11b_beta20150326-build-xml-svn.patch - - # The JFlex package name has changed to lower case. - sed -i "s/JFlex\./jflex./g" build.xml || die - - # Remove the bundled JFlex. - rm -v bin/JFlex.jar || die -} - -src_configure() { - EANT_GENTOO_CLASSPATH_EXTRA=$(java-pkg_getjars --build-only ant-core,jflex) - java-ant-2_src_configure -} - -src_compile() { - # Annoyingly javacup bundles an older version of itself that will - # break jflex if that has already been built against this newer - # version beforehand. Even more annoyingly, the binary download is - # built with Java 8, which isn't much use to us. We therefore use - # any installed javacup that is newer than the bundled version where - # possible. If this approach turns out to be unworkable then we may - # just have to use the bundled jflex for bootstrapping. - if has_version \>=${CATEGORY}/${PN}-0.11b:${SLOT}; then - # Use PORTAGE_QUIET to suppress a QA warning that is spurious - # thanks to has_version above. This is Portage-specific but - # showing the warning elsewhere isn't the end of the world. - einfo "Bootstrapping with installed javacup ..." - EANT_GENTOO_CLASSPATH_EXTRA+=":$(PORTAGE_QUIET=1 java-pkg_getjars --build-only javacup)" eant - else - einfo "Bootstrapping with bundled javacup ..." - EANT_GENTOO_CLASSPATH_EXTRA+=":${S}/bin/${MY_P:0:-1}.jar" eant - fi - - # Clean everything except the new jar. - rm -rv java/ classes/ || die - - einfo "Recompiling with newly built javacup ..." - EANT_GENTOO_CLASSPATH_EXTRA+=":${S}/dist/${MY_P}.jar" eant - - use doc && ejavadoc -sourcepath src/ -d javadoc java_cup -} - -src_install() { - java-pkg_newjar dist/${MY_P}.jar - java-pkg_newjar dist/${MY_P}-runtime.jar ${PN}-runtime.jar - java-pkg_dolauncher ${PN} --jar ${PN}.jar - java-pkg_register-ant-task - - dodoc changelog.txt - docinto html - dodoc manual.html - - use source && java-pkg_dosrc java/* - use doc && java-pkg_dojavadoc javadoc -} diff --git a/dev-java/jflex/jflex-1.6.1-r2.ebuild b/dev-java/jflex/jflex-1.6.1-r2.ebuild deleted file mode 100644 index 17d1b99fd468..000000000000 --- a/dev-java/jflex/jflex-1.6.1-r2.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="JFlex is a lexical analyzer generator for Java" -HOMEPAGE="https://www.jflex.de/" -SRC_URI="https://${PN}.de/${P}.tar.gz" -S="${WORKDIR}/${P}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~ppc-macos ~x64-macos" -IUSE="examples test vim-syntax" -RESTRICT="!test? ( test )" - -CDEPEND=">=dev-java/ant-1.10.14:0" - -RDEPEND=">=virtual/jre-1.8:* - vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) - ${CDEPEND}" - -DEPEND=">=virtual/jdk-1.8:* - test? ( dev-java/junit:4 ) - ${CDEPEND}" - -PDEPEND="dev-java/javacup:0" - -JAVA_SRC_DIR="src/main/java" - -src_prepare() { - eapply_user - - # See below for details. - eapply "${FILESDIR}/icedtea-arm.patch" - - # We need the bundled jflex.jar. - rm -rv ${JAVA_SRC_DIR}/java_cup examples/pom.xml || die - - # Remove the bundled java-cup.jar if unneeded. - if has_version ${PDEPEND}; then - rm -v lib/java-cup-*.jar || die - fi -} - -src_configure() { - # javacup is a cyclic dependency. Use the package if we have it, - # otherwise use the bundled version and install the package later. - if has_version ${PDEPEND}; then - # Use PORTAGE_QUIET to suppress a QA warning that is spurious - # thanks to has_version above. This is Portage-specific but - # showing the warning elsewhere isn't the end of the world. - JAVACUP=$(PORTAGE_QUIET=1 java-pkg_getjar --build-only javacup javacup.jar) - else - JAVACUP=$(echo lib/java-cup-*.jar) - fi - - JAVA_GENTOO_CLASSPATH_EXTRA="$(java-pkg_getjar --build-only ant ant.jar):${JAVACUP}" -} - -jflex_compile() { - java "${@}" jflex.Main -d ${JAVA_SRC_DIR}/${PN} \ - --skel src/main/${PN}/skeleton.nested src/main/${PN}/LexScan.flex || die - java-pkg-simple_src_compile - java-pkg_addres ${PN}.jar src/main/resources -} - -src_compile() { - java -jar "${JAVACUP}" -destdir ${JAVA_SRC_DIR}/${PN} -package ${PN} \ - -parser LexParse -interface src/main/cup/LexParse.cup || die - - # The IcedTea ARM HotSpot port (as of 2.6.1) hangs when running - # jflex. We have patched jflex to fix it but we have to run the - # bundled version first. -Xint works around the problem. See - # http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2678. - use arm && local JFLEX_ARGS="-Xint" - - # First compile using the bundled jflex. - jflex_compile -cp "lib/${P}.jar:${JAVACUP}" ${JFLEX_ARGS} - - # Then recompile using the fresh jflex. - jflex_compile -cp "${PN}.jar:${JAVACUP}" -} - -src_install() { - java-pkg-simple_src_install - java-pkg_dolauncher ${PN} --main ${PN}.Main - - java-pkg_register-dependency javacup javacup-runtime.jar - java-pkg_register-ant-task - - use examples && java-pkg_doexamples examples - dodoc {changelog,README}.md - - if use doc; then - dodoc doc/*.pdf - docinto html - dodoc doc/*.{css,html,png} doc/COPYRIGHT - fi - - if use vim-syntax; then - insinto /usr/share/vim/vimfiles/syntax - doins lib/${PN}.vim - fi -} - -src_test() { - if use arm && java-pkg_current-vm-matches oracle-jdk-bin-1.8; then - # This results in a StackOverflowError as of 1.8.0.65 but works - # fine on icedtea:7. Don't know about icedtea:8 yet. - rm -v src/test/java/jflex/EmitterTest.java || die - fi - - local CP="src/test/java:${PN}.jar:${JAVA_GENTOO_CLASSPATH_EXTRA}:$(java-pkg_getjars junit-4)" - - local TESTS=$(find src/test/java -name "*Test*.java" -printf "%P\n") - TESTS="${TESTS//.java}" - TESTS="${TESTS//\//.}" - - ejavac -classpath "${CP}" $(find src/test/java -name "*.java") - ejunit4 -classpath "${CP}" ${TESTS} -} diff --git a/dev-java/qdox/qdox-1.12.1-r5.ebuild b/dev-java/qdox/qdox-1.12.1-r5.ebuild deleted file mode 100644 index a4419f6cf68e..000000000000 --- a/dev-java/qdox/qdox-1.12.1-r5.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="com.thoughtworks.qdox:qdox:1.12.1" - -inherit java-pkg-2 - -DESCRIPTION="Parser for extracting class/interface/method definitions" -HOMEPAGE="https://github.com/codehaus/qdox" -SRC_URI="https://github.com/codehaus/qdox/archive/${P}.tar.gz" -S="${WORKDIR}/${PN}-${PN}-${PV}" - -LICENSE="Apache-2.0" -SLOT="1.12" -KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~ppc-macos ~x64-macos" -IUSE="ant-task" -REQUIRED_USE="test? ( ant-task )" - -DEPEND=" - >=virtual/jdk-1.8:* - dev-java/byaccj:0 - dev-java/jflex:0 - dev-java/jmock:1.0 - ant-task? ( >=dev-java/ant-1.10.14-r3:0 ) - test? ( dev-java/junit:0 ) -" - -RDEPEND=" - >=virtual/jre-1.8:* - ant-task? ( >=dev-java/ant-1.10.14-r3:0 ) -" - -PATCHES=( - "${FILESDIR}/jflex-1.6.1.patch" -) - -src_prepare() { - default #780585 - java-pkg-2_src_prepare - - if ! use test ; then - rm src/java/com/thoughtworks/qdox/tools/QDoxTester.java - rm -rf src/java/com/thoughtworks/qdox/junit - rm -rf src/test - fi -} - -src_compile() { - jflex src/grammar/lexer.flex --skel src/grammar/skeleton.inner -d src/java/com/thoughtworks/qdox/parser/impl/ || die - byaccj -v -Jnorun -Jnoconstruct -Jclass=Parser -Jsemantic=Value -Jpackage=com.thoughtworks.qdox.parser.impl src/grammar/parser.y || die - mv Parser.java src/java/com/thoughtworks/qdox/parser/impl/ || die - - # create jar - mkdir -p build/classes || die - - local cp="$(java-pkg_getjars --build-only jmock-1.0)" - - if use test ; then - cp="${cp}:$(java-pkg_getjars --build-only junit)" - fi - - if use ant-task ; then - cp="${cp}:$(java-pkg_getjars --build-only ant)" - else - rm src/java/com/thoughtworks/qdox/ant/AbstractQdoxTask.java || die - fi - - ejavac -sourcepath . -d build/classes -classpath "${cp}" \ - $(find . -name "*.java") || die "Cannot compile sources" - - mkdir dist || die - cd build/classes || die - jar -cvf "${S}"/dist/${PN}.jar com || die "Cannot create JAR" - - # generate javadoc - if use doc ; then - cd "${S}" - mkdir javadoc || die - javadoc -d javadoc -sourcepath src/java -subpackages com -classpath "${cp}" - fi -} - -src_test() { - java -cp "${S}"/dist/${PN}.jar:$(java-pkg_getjars --build-only ant,junit,jmock-1.0) \ - com.thoughtworks.qdox.tools.QDoxTester src || die "Tests failed!" -} - -src_install() { - java-pkg_dojar dist/${PN}.jar - - use source && java-pkg_dosrc src/java/com - use doc && java-pkg_dojavadoc javadoc -} diff --git a/dev-java/xalan/xalan-2.7.3-r1.ebuild b/dev-java/xalan/xalan-2.7.3-r1.ebuild deleted file mode 100644 index c49a110bfdde..000000000000 --- a/dev-java/xalan/xalan-2.7.3-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source" -MAVEN_ID="xalan:xalan:2.7.3" - -inherit java-pkg-2 java-pkg-simple verify-sig - -DESCRIPTION="Transforming XML documents into HTML, text, or other XML document types" -HOMEPAGE="https://xalan.apache.org/" -SRC_URI="mirror://apache/xalan/xalan-j/source/xalan-j_${PV//./_}-src.tar.gz - verify-sig? ( https://downloads.apache.org/xalan/xalan-j/source/xalan-j_${PV//./_}-src.tar.gz.asc )" - -S="${WORKDIR}/xalan-j_${PV//./_}" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -CP_DEPEND=" - dev-java/bcel:0 - dev-java/javacup:0 - ~dev-java/xalan-serializer-${PV}:${SLOT} - dev-java/xerces:2 -" - -DEPEND="${CP_DEPEND} - >=virtual/jdk-1.8:*" - -RDEPEND="${CP_DEPEND} - >=virtual/jre-1.8:*" - -BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-xalan-j )" -VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/xalan-j.apache.org.asc" - -JAVA_MAIN_CLASS="org.apache.xalan.xslt.Process" -JAVA_SRC_DIR="src" - -src_prepare() { - java-pkg-2_src_prepare - # serializer is packaged separately - rm -r src/org/apache/xml/serializer || die "cannot remove serializer" -} |
