summaryrefslogtreecommitdiff
path: root/dev-java
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-30 00:33:04 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-30 00:33:04 +0000
commit5ddc3e2d8f01496ed8b9a87cbe9c939f8f317eff (patch)
tree94a3f21e47f02aed090772099b02c41031262a7b /dev-java
parentad108e7b751d67723534624b94eb0e04250dd1af (diff)
gentoo auto-resync : 30:03:2025 - 00:33:04
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/Manifest.gzbin55183 -> 55180 bytes
-rw-r--r--dev-java/batik/Manifest1
-rw-r--r--dev-java/batik/batik-1.18.ebuild247
-rw-r--r--dev-java/bsf/Manifest1
-rw-r--r--dev-java/bsf/bsf-2.4.0-r5.ebuild77
5 files changed, 0 insertions, 326 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz
index e25999c12d4f..dcab4254d1cb 100644
--- a/dev-java/Manifest.gz
+++ b/dev-java/Manifest.gz
Binary files differ
diff --git a/dev-java/batik/Manifest b/dev-java/batik/Manifest
index 5d1df356be73..4c8f1e6a20be 100644
--- a/dev-java/batik/Manifest
+++ b/dev-java/batik/Manifest
@@ -1,5 +1,4 @@
DIST batik-src-1.18.tar.gz 13699469 BLAKE2B 003a467b6948b902f56f004bf5c7d41f369bf49520d55fd70af3d3b8edef02d04557fdad5e4da70395a30c755f777791c89714edaa094eaa2964972eb81bdbf1 SHA512 209c6f4c76769cf1db616c5fe43c71d23c92afeb62e11bc7605baaa18bf9177efbb7a91a98bf03c3b4cd917bd7b7bd83e87083d16b11b3e57d3f31beeb8e1d7b
DIST batik-src-1.18.tar.gz.asc 833 BLAKE2B a779b94a666edcab5b4c69866b4e7388ce6b8d9869d59773b084d870152cffd8c8cfd74df0f2a4ef06e5d598acb3b7bc00ec841871411b379f514b3fe2019765 SHA512 2fe6de9394f89c90e5ad2ede241c57bfbe5da4627b3730d445b2daa06b1ae71945bd65cda0d7a6bd46db536f318f755778a5b5a5b52080872a3143acd0d4677d
EBUILD batik-1.18-r2.ebuild 6545 BLAKE2B e485701e614da39084efa2d71ace65723dae4442b5aadb793b561768e6a8f42f527d1b21a45b41f3a3dc4b994db7eaf74b18932e99517a59de1616f5f88c2c80 SHA512 d448dcc597c80f1442591d80cf434595d753945113dad5e6f8e0aeba039e48ee6da9672fbed78620553bcc447d2f723e208c9fa8a56b3ef66cda8a76c9bed6fa
-EBUILD batik-1.18.ebuild 6540 BLAKE2B 2db6f802a528f1943ea7ebcf2e160f13c58b9150e5431a3c6bcb6e359a40cb97f555ab81b0b5dd91c291c148e3ec009a8dcb3d39cc1d1d97a03de05aa1548efb SHA512 4216a42c44314e92151d472a8e79e79a1f6f19c46030a0f02864348121d3202e34d385373bc323eea6be85f53e8fa00025c5266ef1757932f6b3f8a1a650c87c
MISC metadata.xml 610 BLAKE2B c589c175b595deb71eae6b8fccd46f4d6b82331f636cff28b6074300b6495efb780d157bb1b5b1359070cca7405138fcff719d72f1038023357fc7ab05c52b87 SHA512 73a6bb61c87645d1600ab90ca954599208c8599e967f6e999d973fa80e9693435db8a75ace95c8881486c8e2929d5a201a51e821e5f58763c273b21b5a32c229
diff --git a/dev-java/batik/batik-1.18.ebuild b/dev-java/batik/batik-1.18.ebuild
deleted file mode 100644
index ef2fec3c0982..000000000000
--- a/dev-java/batik/batik-1.18.ebuild
+++ /dev/null
@@ -1,247 +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="org.apache.xmlgraphics:batik:${PV}"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit desktop java-pkg-2 java-pkg-simple xdg-utils verify-sig
-
-DESCRIPTION="XML Graphics Batik"
-HOMEPAGE="https://xmlgraphics.apache.org/batik/"
-SRC_URI="mirror://apache/xmlgraphics/batik/source/batik-src-${PV}.tar.gz
- verify-sig? ( https://downloads.apache.org/xmlgraphics/batik/source/batik-src-${PV}.tar.gz.asc )"
-S="${WORKDIR}/${P}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64"
-
-BDEPEND="
- app-arch/zip
- verify-sig? ( sec-keys/openpgp-keys-apache-xmlgraphics-batik )
-"
-
-CP_DEPEND="
- dev-java/jacl:0
- dev-java/rhino:1.6
- dev-java/xalan:0
- dev-java/xml-commons-external:1.4
- dev-java/xmlgraphics-commons:0
-"
-
-DEPEND="
- ${CP_DEPEND}
- >=virtual/jdk-1.8:*
-"
-
-RDEPEND="
- ${CP_DEPEND}
- >=virtual/jre-1.8:*
-"
-
-VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/xmlgraphics-batik.apache.org.asc"
-
-DOCS=( CHANGES NOTICE README )
-
-# Modules batik-rasterizer-ext and batik-squiggle-ext, upstream puts their jar files in the extensions
-# directory, see batik-extension/src/main/resources/org/apache/batik/extensions/README.txt
-# We comment them out but keep them in the mudules list for later.
-# The same for batik-test-old which depends on fop-transcoder-allinone which itself depends on batik.
-# We also don't build batik-shared-resources since we install those resources on global scope.
-# And we don't build batik-all. Instead we install the modules.
-# BATIK_MODULES is the "Reactor Build Order" extracted from the output of "mvn dependency:tree":
-# mvn -DskipTests dependency:tree \
-# | sed -n '/Reactor Build Order:/,/Building org/p' \
-# | cut -d':' -f2 | cut -d' ' -f1 | grep 'batik-' || die
-BATIK_MODULES=(
-# batik-shared-resources
- batik-constants
- batik-i18n
- batik-test
- batik-util
- batik-awt-util
- batik-css
- batik-ext
- batik-xml
- batik-dom
- batik-parser
- batik-svg-dom
- batik-anim
- batik-gvt
- batik-script
- batik-bridge
- batik-svggen
- batik-transcoder
- batik-codec
- batik-extension
- batik-gui-util
- batik-svgrasterizer
-# batik-rasterizer-ext
- batik-rasterizer
- batik-slideshow
- batik-swing
- batik-svgbrowser
-# batik-squiggle-ext
- batik-squiggle
- batik-svgpp
- batik-ttf2svg
-# batik-all
- batik-test-swing
- batik-test-svg
-# batik-test-old
-)
-
-src_prepare() {
- java-pkg_clean
- java-pkg-2_src_prepare
- # We drop support for jython due to bug #825486.
- rm batik-script/src/main/java/org/apache/batik/script/jpython/JPythonInterpreter.java || die
- rm batik-script/src/main/java/org/apache/batik/script/jpython/JPythonInterpreterFactory.java || die
-
- cat > "batik-squiggle-${SLOT}.desktop" <<-EOF || die
- [Desktop Entry]
- Name=Squiggle
- Comment=SVG browser
- Exec=batik-squiggle-${SLOT}
- Icon=init
- Terminal=false
- Type=Application
- Categories=Graphics;VectorGraphics;
- MimeType=image/svg+xml
- EOF
-}
-
-src_compile() {
- # We loop over the modules list and compile the jar files.
- local module
- for module in "${BATIK_MODULES[@]}"; do
- einfo "Compiling ${module}"
-
- JAVA_JAR_FILENAME="${module}.jar"
- JAVA_MAIN_CLASS=""
- JAVA_RESOURCE_DIRS=""
- JAVA_SRC_DIR=""
-
- # Not all of the modules have resources.
- if [[ -d "${module}/src/main/resources" ]]; then
- JAVA_RESOURCE_DIRS="${module}/src/main/resources"
- fi
-
- # Get Main-Class from the module's pom.xml
- JAVA_MAIN_CLASS=$( sed -n 's:.*<mainClass>\(.*\)</mainClass>:\1:p' "${module}/pom.xml" )
-
- # Some modules don't have source code.
- if [[ -d "${module}/src/main/java/org" ]]; then
- JAVA_SRC_DIR="${module}/src/main/java"
- java-pkg-simple_src_compile
- else
- # This case applies to batik-rasterizer.
- if [[ -d "${module}/src/main/resources/org" ]]; then
- jar -cfe "${module}.jar" "${JAVA_MAIN_CLASS}" -C "${module}/src/main/resources" . || die
- # Else for batik-squiggle (also batik-rasterizer-ext, batik-squiggle-ext)
- else
- # Create the JAR file (not possible without adding at least one file).
- jar -cfe "${module}.jar" "${JAVA_MAIN_CLASS}" -C . README || die
- zip -d "${module}.jar" "README" || die
- fi
- fi
-
- JAVA_GENTOO_CLASSPATH_EXTRA+=":${module}.jar"
-
- rm -fr target || die
- done
-
- if use doc; then
- JAVA_SRC_DIR=""
- JAVA_JAR_FILENAME="ignoreme.jar"
-
- for module in "${BATIK_MODULES[@]}"; do
- # Some modules don't have source code
- if [[ -d "${module}/src/main/java/org" ]]; then
- JAVA_SRC_DIR+=( "${module}/src/main/java" )
- fi
- done
-
- java-pkg-simple_src_compile
- fi
-}
-
-src_test() {
- JAVA_TEST_GENTOO_CLASSPATH="junit-4"
-
- for module in "${BATIK_MODULES[@]}"; do
- einfo "Testing ${module}"
-
- JAVA_TEST_SRC_DIR=""
- JAVA_TEST_RESOURCE_DIRS=""
- JAVA_TEST_RUN_ONLY=""
-
- if [[ -d "${module}/src/test/resources" ]]; then
- JAVA_TEST_RESOURCE_DIRS="${module}/src/test/resources"
- fi
-
- # https://github.com/apache/xmlgraphics-batik/blob/refs/tags/batik-1_14/batik-util/pom.xml#L74-L75
- if [[ "${module}" == batik-util ]]; then
- JAVA_TEST_RUN_ONLY="org.apache.batik.util.Base64TestCases"
- fi
-
- if [[ -d "${module}/src/test/java/org" ]]; then
- JAVA_TEST_SRC_DIR="${module}/src/test/java"
- java-pkg-simple_src_test
- fi
- done
-}
-
-src_install() {
- einstalldocs
- domenu "batik-squiggle-${SLOT}.desktop"
- newicon -s scalable \
- batik-svgbrowser/src/main/resources/org/apache/batik/apps/svgbrowser/resources/init.svg \
- squiggle-${SLOT}.svg
-
- for module in "${BATIK_MODULES[@]}"; do
- JAVA_MAIN_CLASS=$( sed -n 's:.*<mainClass>\(.*\)</mainClass>:\1:p' "${module}/pom.xml" )
-
- java-pkg_dojar "${module}.jar"
-
- # Add a launcher if the module has a MainClass.
- if [[ -n "${JAVA_MAIN_CLASS}" ]]; then
- java-pkg_dolauncher "${module}-${SLOT}" --main "${JAVA_MAIN_CLASS}"
- fi
-
- # Some modules don't have source code
- if [[ -d "${module}/src/main/java/org" ]]; then
- if use source; then
- java-pkg_dosrc "${module}/src/main/java/*"
- fi
- fi
- done
-
- local java_policy_file="${JAVA_PKG_SHAREPATH}/etc/${PN}.policy"
- insinto "$(dirname "${java_policy_file}")"
- newins - "$(basename "${java_policy_file}")" <<- _EOF_
- grant codeBase "file:${EPREFIX}${JAVA_PKG_JARDEST}/-" {
- permission java.security.AllPermission;
- };
- _EOF_
- java-pkg_register-environment-variable \
- gjl_java_args \
- "\$gjl_java_args -Djava.security.policy=file:${EPREFIX}${java_policy_file}"
-
- if use doc; then
- java-pkg_dojavadoc target/api
- fi
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- xdg_icon_cache_update
-}
diff --git a/dev-java/bsf/Manifest b/dev-java/bsf/Manifest
index 0324f7366aa6..1a752cd2c799 100644
--- a/dev-java/bsf/Manifest
+++ b/dev-java/bsf/Manifest
@@ -1,5 +1,4 @@
DIST bsf-src-2.4.0.tar.gz 299749 BLAKE2B 41f3cfe77b1ccf6b78493df7f5f288b397234b3236977c4b7d2e6c85b330e40319474419f560eefa1632da4d0524593b8c3e0c66cd27b852749b1405c20df5a6 SHA512 a1e7564fd14abbf725fee75c4b0ba5f92d7eada0e242ad05897753bb4afe639d859c42cae1d684e8dd9151409d4cc68e1a422a70bc74d8016144cc30d03a2d43
DIST bsf-src-2.4.0.tar.gz.asc 191 BLAKE2B c4d17ee6df06aa2da70b9e733cb9890cef2f0f22124d8699400494496c4045851feb006e53ee4f4d09e926d982afd4057c08caf791fd4ea8a8bef5f576d6d8a1 SHA512 b82d1f9e6cd6bc3b3228ceb8f5f0679e8dd95c2200328accafa0ee9fd4b4065367e071d0fa718ecdc34e11c6b14456a671d4e8e74d2b56dea4e8fc3db73c4392
-EBUILD bsf-2.4.0-r5.ebuild 2216 BLAKE2B 596820ab66021398eba59e9cd1c6a356b867816f1a20ca372f9403f8732b4b6517bb8d41883c091eee69128a32f7d4028956ab844177e2776c3512558d17d857 SHA512 afc64941217752c14a170727f6727c41032b3b94430f3ece4c592186211295e50115f68256ae68495f9401b72f5183e075717d102dbbe885c1068561c6fdbfeb
EBUILD bsf-2.4.0-r7.ebuild 2217 BLAKE2B 45b31d6bf4223f307776ce3ccc7680d440df184361673f4cb16c6db3bb6bfbf349bed4a1742cbb5fd33d331223c507ad6dd1c0e4c51887f4a2a06dfb5dd073bd SHA512 52ee6a8961fed96fc9805841b9b0a427c7b74891aa98da1150ddb6e0a5a54f2382493072e4ae8a92b4ab9896471cc292e5bd8e7be83d8fe1751ded6d86cdf33f
MISC metadata.xml 983 BLAKE2B 03534eb384215d3e15764d890376dabbfce25d06b1477d62ecdbe109c76f7b0fbd3eda6233211555e87d1d4583b73a5d9e4f7d5f61e8be4330aefda4c8ae93c9 SHA512 e95534d309f4c49781857b113852a8162eeacfea951b5f961b317bac3624cd6b7b129c192d361c16834884ea67f8eec210796e899da74ede487fbafdca3da5ad
diff --git a/dev-java/bsf/bsf-2.4.0-r5.ebuild b/dev-java/bsf/bsf-2.4.0-r5.ebuild
deleted file mode 100644
index 6df55fdf25fd..000000000000
--- a/dev-java/bsf/bsf-2.4.0-r5.ebuild
+++ /dev/null
@@ -1,77 +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 verify-sig
-
-DESCRIPTION="Bean Script Framework"
-HOMEPAGE="https://commons.apache.org/proper/commons-bsf/"
-SRC_URI="mirror://apache/commons/bsf/source/bsf-src-${PV}.tar.gz
- verify-sig? ( https://downloads.apache.org/commons/bsf/source/bsf-src-${PV}.tar.gz.asc )"
-S="${WORKDIR}/${P}"
-
-LICENSE="Apache-2.0"
-SLOT="2.3"
-KEYWORDS="amd64 arm64 ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
-
-# If you add new ones, add them to ant-apache-bsf too for use dependencies
-IUSE="javascript tcl"
-
-VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc"
-BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )"
-CDEPEND="
- dev-java/commons-logging:0
- dev-java/xalan:0
- javascript? ( dev-java/rhino:1.6 )
- tcl? ( dev-java/jacl:0 )
-"
-DEPEND="${CDEPEND}
- >=virtual/jdk-1.8:*"
-RDEPEND="${CDEPEND}
- >=virtual/jre-1.8:*"
-
-DOCS=( CHANGES.txt NOTICE.txt README.txt RELEASE-NOTE.txt TODO.txt )
-
-JAVA_GENTOO_CLASSPATH="
- commons-logging
- xalan
-"
-JAVA_MAIN_CLASS="org.apache.bsf.Main"
-JAVA_RESOURCE_DIRS="res"
-JAVA_SRC_DIR="src"
-
-src_prepare() {
- java-pkg-2_src_prepare
- rm -r src/org/apache/bsf/engines/{java,javaclass,jython,netrexx} || die
- if use javascript; then
- JAVA_GENTOO_CLASSPATH+=" rhino-1.6"
- else
- rm -r src/org/apache/bsf/engines/javascript || die
- fi
- if use tcl; then
- JAVA_GENTOO_CLASSPATH+=" jacl"
- else
- rm -r src/org/apache/bsf/engines/jacl || die
- fi
- # java-pkg-simple.eclass wants resources in JAVA_RESOURCE_DIRS
- mkdir res || die "create res"
- pushd src > /dev/null || die "pushd"
- find -type f -name '*.properties' \
- | xargs cp --parent -t ../res || die "copy resources"
- popd > /dev/null
-}
-
-src_install() {
- java-pkg-simple_src_install
-# java-pkg_register-optional-dependency bsh,groovy-1,jruby
-}
-
-pkg_postinst() {
- elog "Support for javascript and tcl is controlled via USE flags."
- elog "Also, following languages can be supported just by installing"
- elog "respective package with USE=\"bsf\": BeanShell (dev-java/bsh),"
- elog "Groovy (dev-java/groovy) and JRuby (dev-java/jruby)"
-}