diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-01-17 17:44:22 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-01-17 17:44:22 +0000 |
| commit | 7632b34e6ed07bcc4fb9768ae7f1ada4bc0c5c45 (patch) | |
| tree | ed15e8795eee3436b6adc17c30f8b9cbf6df83c0 /dev-java | |
| parent | f3cb5e39d493ee8cb26522cab48c1f35d5eeb032 (diff) | |
| download | baldeagleos-repo-7632b34e6ed07bcc4fb9768ae7f1ada4bc0c5c45.tar.gz baldeagleos-repo-7632b34e6ed07bcc4fb9768ae7f1ada4bc0c5c45.tar.xz baldeagleos-repo-7632b34e6ed07bcc4fb9768ae7f1ada4bc0c5c45.zip | |
Adding metadata
Diffstat (limited to 'dev-java')
| -rw-r--r-- | dev-java/aspectj/aspectj-1.9.7-r1.ebuild (renamed from dev-java/aspectj/aspectj-1.9.7.ebuild) | 10 | ||||
| -rw-r--r-- | dev-java/xalan-serializer/xalan-serializer-2.7.3-r1.ebuild | 46 | ||||
| -rw-r--r-- | dev-java/xalan/xalan-2.7.3-r1.ebuild | 45 | ||||
| -rw-r--r-- | dev-java/xerces/xerces-2.12.2-r2.ebuild | 61 |
4 files changed, 157 insertions, 5 deletions
diff --git a/dev-java/aspectj/aspectj-1.9.7.ebuild b/dev-java/aspectj/aspectj-1.9.7-r1.ebuild index 4f7ef2231ed2..e3b7c408c182 100644 --- a/dev-java/aspectj/aspectj-1.9.7.ebuild +++ b/dev-java/aspectj/aspectj-1.9.7-r1.ebuild @@ -1,14 +1,14 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 JAVA_PKG_IUSE="doc source" inherit java-pkg-2 java-pkg-simple DESCRIPTION="A seamless aspect-oriented extension to the Java programming language" HOMEPAGE="https://eclipse.org/aspectj/" -SRC_URI="https://github.com/eclipse/org.aspectj/archive/refs/tags/V${PV//./_}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/eclipse-aspectj/aspectj/archive/V${PV//./_}.tar.gz -> ${P}.tar.gz" LICENSE="EPL-1.0" SLOT="0" @@ -16,7 +16,7 @@ KEYWORDS="amd64 x86" CDEPEND="dev-java/asm:9 dev-java/commons-logging:0 - dev-java/ant-apache-regexp:0" + dev-java/jakarta-regexp:1.4" DEPEND="${CDEPEND} >=virtual/jdk-1.8:*" RDEPEND="${CDEPEND} @@ -26,7 +26,7 @@ BDEPEND="app-arch/zip" S=${WORKDIR}/org.${P//./_} JAVA_GENTOO_CLASSPATH_EXTRA="aspectjweaver.jar" -JAVA_GENTOO_CLASSPATH="commons-logging,asm-9,ant-apache-regexp" +JAVA_GENTOO_CLASSPATH="commons-logging,asm-9,jakarta-regexp-1.4" JAVA_ENCODING="iso8859-1" src_compile() { diff --git a/dev-java/xalan-serializer/xalan-serializer-2.7.3-r1.ebuild b/dev-java/xalan-serializer/xalan-serializer-2.7.3-r1.ebuild new file mode 100644 index 000000000000..a7d63b1cf700 --- /dev/null +++ b/dev-java/xalan-serializer/xalan-serializer-2.7.3-r1.ebuild @@ -0,0 +1,46 @@ +# 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:serializer: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" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=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.xml.serializer.Version" +JAVA_RESOURCE_DIRS="resources" +JAVA_SRC_DIR="src" + +src_prepare() { + java-pkg-2_src_prepare + # kill all non-serializer sources to ease javadocs and dosrc + find src/org/ -type f ! -path "src/org/apache/xml/serializer/*" -delete || die + + # java-pkg-simple.eclass wants resources in JAVA_RESOURCE_DIRS + mkdir -p resources || die + pushd src > /dev/null || die + find org -type f \ + ! -name '*.java' \ + ! -name 'Version.src' \ + ! -name 'package.html' \ + | xargs cp --parent -t ../resources || die + popd > /dev/null || die +} diff --git a/dev-java/xalan/xalan-2.7.3-r1.ebuild b/dev-java/xalan/xalan-2.7.3-r1.ebuild new file mode 100644 index 000000000000..a020d52b03ec --- /dev/null +++ b/dev-java/xalan/xalan-2.7.3-r1.ebuild @@ -0,0 +1,45 @@ +# 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" +} diff --git a/dev-java/xerces/xerces-2.12.2-r2.ebuild b/dev-java/xerces/xerces-2.12.2-r2.ebuild new file mode 100644 index 000000000000..4a694d86e922 --- /dev/null +++ b/dev-java/xerces/xerces-2.12.2-r2.ebuild @@ -0,0 +1,61 @@ +# 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="xerces:xercesImpl:2.12.2" + +inherit java-pkg-2 java-pkg-simple verify-sig + +DESCRIPTION="Xerces Java XML parser" +HOMEPAGE="https://xerces.apache.org/xerces2-j/index.html" +SRC_URI="mirror://apache/xerces/j/source/Xerces-J-src.${PV}.tar.gz + verify-sig? ( https://downloads.apache.org/xerces/j/source/Xerces-J-src.${PV}.tar.gz.asc )" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +CP_DEPEND=" + dev-java/xml-commons-external:1.4 + dev-java/xml-commons-resolver:0" + +DEPEND=" + ${CP_DEPEND} + >=virtual/jdk-1.8:*" + +RDEPEND=" + ${CP_DEPEND} + >=virtual/jre-1.8:*" + +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-xerces-j )" +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/xerces-j.apache.org.asc" + +DOCS=( LICENSE NOTICE README {LICENSE.resolver,LICENSE.serializer,NOTICE.resolver,NOTICE.serializer}.txt ) +HTML_DOCS=( {LICENSE.DOM-documentation,LICENSE.DOM-software,LICENSE-SAX,Readme}.html ) + +S="${WORKDIR}/${P//./_}" + +JAVA_SRC_DIR="src" +JAVA_RESOURCE_DIRS="resources" + +src_prepare() { + java-pkg-2_src_prepare + # java-pkg-simple.eclass wants resources in JAVA_RESOURCE_DIRS + mkdir -p "resources/META-INF/services"|| die + pushd "src" > /dev/null || die + find -type f \ + \( -name 'javax.xml.*Factory' \ + -or -name '*DOMImplementationSourceList' \ + -or -name 'org.xml.sax.driver' \) \ + | xargs mv -t ../resources/META-INF/services || die + find -type f \ + ! -name '*.java' \ + ! -name 'manifest.xerces' \ + ! -name 'package.html' \ + ! -name '*Configuration' \ + ! -name '*DOMImplementationSourceImpl' \ + | xargs cp --parent -t ../resources || die + popd > /dev/null || die +} |
