diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-31 06:31:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-31 06:31:03 +0000 |
commit | 2e36bcecf24a3f583ae8f27b71ba13b3cfd39778 (patch) | |
tree | f2362fa4c0f61f631c2b7a484fb90b8283618656 /dev-java | |
parent | 7d7cc3f0fa58454952dec67b110b41d503bca422 (diff) |
gentoo auto-resync : 31:12:2024 - 06:31:02
Diffstat (limited to 'dev-java')
27 files changed, 0 insertions, 1285 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz Binary files differindex d0ce798de57d..206cfd491844 100644 --- a/dev-java/Manifest.gz +++ b/dev-java/Manifest.gz diff --git a/dev-java/bcmail/Manifest b/dev-java/bcmail/Manifest index 469c8e8f052d..0978741056c3 100644 --- a/dev-java/bcmail/Manifest +++ b/dev-java/bcmail/Manifest @@ -1,5 +1,3 @@ -DIST bc-java-r1rv78v1.tar.gz 47211344 BLAKE2B 6d28e69db8ad0043a5cd6c0a4f6901ff40884be4baf60ee40d4cb5487d799e6ac5ef4282b5d6e7f873e45607394890dd26e3150c9c1729bd5346d9cc8f30f240 SHA512 87e6ecd6fea47877d9d7a196f58c5b45a7f026f18f17b71d4155061fad024194c30ce0fc44ea3e879b17f310a6626407f345a8e8970781afec4551f2aa688223 DIST bc-java-r1rv79.tar.gz 47563177 BLAKE2B 7ca8b64ab004fb70399e950e8c588b19d110596790525ce30aeec3f2c6501bffd1bab6854c6bf1499f101e33e0ac8127c2cdaa34e5531c430e4f00fb145202f3 SHA512 294241371f536e8a9be8ff2307eaad433620c9becb26a00f6b225ea31488bc40dd8b01d20c18e47c105c7a8f1b2415136608d82811581fad4718db02e9c882a3 -EBUILD bcmail-1.78.1.ebuild 1472 BLAKE2B 5929815e17fdecee0c7a2d9f93868b62ac52c0c31151ec29ee58193c02adfe2c8e812ace94404268075fc980b5f2e9fbdcc7d49e373cf82b18f45a171124dbd8 SHA512 b499e8f67ae82bfa76c8f2d7cae96b4939b85be127e0d10b30af9bccdfb7b1de2ca55ad1195898cf3a05df9476ec18f57e4feaa0ca1ace52b82b42d6784af2d4 EBUILD bcmail-1.79.ebuild 1472 BLAKE2B 5929815e17fdecee0c7a2d9f93868b62ac52c0c31151ec29ee58193c02adfe2c8e812ace94404268075fc980b5f2e9fbdcc7d49e373cf82b18f45a171124dbd8 SHA512 b499e8f67ae82bfa76c8f2d7cae96b4939b85be127e0d10b30af9bccdfb7b1de2ca55ad1195898cf3a05df9476ec18f57e4feaa0ca1ace52b82b42d6784af2d4 MISC metadata.xml 671 BLAKE2B 9bc7968fa569c698c7ac0f7af9a5301f55075db2ff416e55654ddca268b9ae1e63f4270d3fa7a99b06737b998c223db592f5fb570cee172a17cd3f7034b7d431 SHA512 b555d8d679fd4685aef9660023a12036d6459d8e88dfa4e5d7f84f47939574c2ded1bbf487c876435370382e2c06502d61189e79e61be49fa65aef9bb39f8ab9 diff --git a/dev-java/bcmail/bcmail-1.78.1.ebuild b/dev-java/bcmail/bcmail-1.78.1.ebuild deleted file mode 100644 index 2bc397385abe..000000000000 --- a/dev-java/bcmail/bcmail-1.78.1.ebuild +++ /dev/null @@ -1,65 +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.bouncycastle:bcmail-jdk18on:${PV}" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="The Bouncy Castle Java S/MIME APIs for handling S/MIME protocols" -HOMEPAGE="https://www.bouncycastle.org/java.html" -MY_PV="r$(ver_rs 1 'rv' 2 'v')" -SRC_URI="https://github.com/bcgit/bc-java/archive/${MY_PV}.tar.gz -> bc-java-${MY_PV}.tar.gz" -S="${WORKDIR}/bc-java-${MY_PV}/mail" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm64 ppc64" - -CP_DEPEND=" - ~dev-java/bcpkix-${PV}:0 - ~dev-java/bcprov-${PV}:0 - ~dev-java/bcutil-${PV}:0 - dev-java/javax-mail:0 -" - -DEPEND=" - ${CP_DEPEND} - dev-java/jakarta-activation:1 - >=virtual/jdk-11:* -" - -RDEPEND=" - ${CP_DEPEND} - >=virtual/jre-1.8:* -" - -DOCS=( ../{README,SECURITY}.md ) -HTML_DOCS=( ../{CONTRIBUTORS,index}.html ) - -JAVA_AUTOMATIC_MODULE_NAME="org.bouncycastle.mail" -JAVA_CLASSPATH_EXTRA="jakarta-activation-1" -JAVA_RESOURCE_DIRS="src/main/resources" -JAVA_SRC_DIR=( - "src/main/java" - "src/main/jdk1.9" -) - -JAVA_TEST_GENTOO_CLASSPATH="junit-4" -JAVA_TEST_RESOURCE_DIRS=( "src/test/resources" "../pkix/src/main/resources" ) -JAVA_TEST_RUN_ONLY="org.bouncycastle.mail.smime.test.AllTests" -JAVA_TEST_SRC_DIR="src/test/java" - -src_prepare() { - java-pkg-2_src_prepare - java-pkg_clean .. -} - -src_install() { - docinto html - dodoc -r ../docs - java-pkg-simple_src_install -} diff --git a/dev-java/bcpg/Manifest b/dev-java/bcpg/Manifest index bbd7c7f18ca4..90e802480dbf 100644 --- a/dev-java/bcpg/Manifest +++ b/dev-java/bcpg/Manifest @@ -1,5 +1,3 @@ -DIST bc-java-r1rv78v1.tar.gz 47211344 BLAKE2B 6d28e69db8ad0043a5cd6c0a4f6901ff40884be4baf60ee40d4cb5487d799e6ac5ef4282b5d6e7f873e45607394890dd26e3150c9c1729bd5346d9cc8f30f240 SHA512 87e6ecd6fea47877d9d7a196f58c5b45a7f026f18f17b71d4155061fad024194c30ce0fc44ea3e879b17f310a6626407f345a8e8970781afec4551f2aa688223 DIST bc-java-r1rv79.tar.gz 47563177 BLAKE2B 7ca8b64ab004fb70399e950e8c588b19d110596790525ce30aeec3f2c6501bffd1bab6854c6bf1499f101e33e0ac8127c2cdaa34e5531c430e4f00fb145202f3 SHA512 294241371f536e8a9be8ff2307eaad433620c9becb26a00f6b225ea31488bc40dd8b01d20c18e47c105c7a8f1b2415136608d82811581fad4718db02e9c882a3 -EBUILD bcpg-1.78.1.ebuild 1413 BLAKE2B 53ec7571a7d5261880dc41cd7f506572f7a01fe4a05d9fa336bf9b31de1e4eff3adbbad3e74eb684db05ca6ec8ae080d50012a1779d705b5029fda3f3b8588db SHA512 1853c4592f581d79883d4113c7064443d9daf668d6b4697544859a0cd8509f1481dd189188818db1ae18c3675dc6b6d5d601607df93b11eb38721b021f463ebf EBUILD bcpg-1.79.ebuild 1413 BLAKE2B 53ec7571a7d5261880dc41cd7f506572f7a01fe4a05d9fa336bf9b31de1e4eff3adbbad3e74eb684db05ca6ec8ae080d50012a1779d705b5029fda3f3b8588db SHA512 1853c4592f581d79883d4113c7064443d9daf668d6b4697544859a0cd8509f1481dd189188818db1ae18c3675dc6b6d5d601607df93b11eb38721b021f463ebf MISC metadata.xml 599 BLAKE2B 08d5304a26fb1a93dde104bbde8a26dd8850f9ed914f241baebc20c98a944c8d055f36071d114a07676c89fa87be261a4cfbf3fdc23d45d0e313a2e68f5723ac SHA512 f36347e51f6574d1feac4af8e18bdebfb536820305c3d136db51047c5799d767a84cf6885ac0982a6c4d61ce4aab76ccf00ca975f92f4150127b8fd57c781282 diff --git a/dev-java/bcpg/bcpg-1.78.1.ebuild b/dev-java/bcpg/bcpg-1.78.1.ebuild deleted file mode 100644 index 1d04452ce005..000000000000 --- a/dev-java/bcpg/bcpg-1.78.1.ebuild +++ /dev/null @@ -1,69 +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.bouncycastle:bcpg-jdk18on:${PV}" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Java cryptography APIs" -HOMEPAGE="https://www.bouncycastle.org/java.html" -MY_PV="r$(ver_rs 1 'rv' 2 'v')" -SRC_URI="https://github.com/bcgit/bc-java/archive/${MY_PV}.tar.gz -> bc-java-${MY_PV}.tar.gz" -S="${WORKDIR}/bc-java-${MY_PV}/pg" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm64 ppc64" - -CP_DEPEND=" - ~dev-java/bcprov-${PV}:0 - ~dev-java/bcutil-${PV}:0 -" - -DEPEND=" - ${CP_DEPEND} - >=virtual/jdk-11:* -" - -RDEPEND=" - ${CP_DEPEND} - >=virtual/jre-1.8:* -" - -DOCS=( ../{README,SECURITY}.md ) -HTML_DOCS=( ../{CONTRIBUTORS,index}.html ) - -JAVA_SRC_DIR=( - "src/main/java" - "src/main/jdk1.9" -) - -JAVA_AUTOMATIC_MODULE_NAME="org.bouncycastle.pg" -JAVA_TEST_GENTOO_CLASSPATH="junit-4" -JAVA_TEST_RESOURCE_DIRS="src/test/resources" -JAVA_TEST_SRC_DIR="src/test/java" - -src_prepare() { - java-pkg-2_src_prepare - java-pkg_clean .. -} - -src_test() { - pushd src/test/java || die - local JAVA_TEST_RUN_ONLY=$(find * \ - -name "AllTests.java" ) - popd || die - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}" - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}" - java-pkg-simple_src_test -} - -src_install() { - docinto html - dodoc -r ../docs - java-pkg-simple_src_install -} diff --git a/dev-java/bcpkix/Manifest b/dev-java/bcpkix/Manifest index 7cbc4e1a248b..80e2764dad07 100644 --- a/dev-java/bcpkix/Manifest +++ b/dev-java/bcpkix/Manifest @@ -1,7 +1,4 @@ -DIST bc-java-r1rv78v1.tar.gz 47211344 BLAKE2B 6d28e69db8ad0043a5cd6c0a4f6901ff40884be4baf60ee40d4cb5487d799e6ac5ef4282b5d6e7f873e45607394890dd26e3150c9c1729bd5346d9cc8f30f240 SHA512 87e6ecd6fea47877d9d7a196f58c5b45a7f026f18f17b71d4155061fad024194c30ce0fc44ea3e879b17f310a6626407f345a8e8970781afec4551f2aa688223 DIST bc-java-r1rv79.tar.gz 47563177 BLAKE2B 7ca8b64ab004fb70399e950e8c588b19d110596790525ce30aeec3f2c6501bffd1bab6854c6bf1499f101e33e0ac8127c2cdaa34e5531c430e4f00fb145202f3 SHA512 294241371f536e8a9be8ff2307eaad433620c9becb26a00f6b225ea31488bc40dd8b01d20c18e47c105c7a8f1b2415136608d82811581fad4718db02e9c882a3 -DIST bc-test-data-r1rv78v1.tar.gz 2084599485 BLAKE2B a4f67d4ab35321aba52696345cf1ac605866fede41d3b99aa42194f37b587fe7bdebd3ac264379b37416bf5f5c456cd78126126799257c28183e4b71a98b4225 SHA512 cc35260189f2100eb883c30f7a15b7c10f564e7e44e02c61373e7f56a03ab9971350c6798bcbb7a4c4508f5022a0a986fdcd8862449b937765dbf567e2f370ed DIST bc-test-data-r1rv79.tar.gz 2101723062 BLAKE2B 1fa25babfbcaa855dfcf2ae8727f6a7a5221837127cc295a4c15dce515908418c9e052af101d6fc984c4b5ce204286b7361da29dbefad1b95603d6b1571603a0 SHA512 e14c1bf96a6010447cd13a680a87249a4e6d0661cc46b437e8b2e1098f3e80482dc9038446aad495ba72e1254e9c07e49b1ac848177b02ac36e10710fcd06413 -EBUILD bcpkix-1.78.1.ebuild 2511 BLAKE2B abec94df702ec9b007dcd674c2f7cf2d05ed457c079a96142d8bc3816025c4e57ceb8fdabea67c9a224beddb44cacfb328fc2763421944fcf25fd2e6a1071c36 SHA512 9dde9eb8179fb9c7d4fd521b08d939cbd9a5798980876c6e18db050f682c4d19ab5d20742da2e126e781bc8295a062b88aa94bea5a8fa67bfb38676356a550fe EBUILD bcpkix-1.79.ebuild 2520 BLAKE2B 1e367b5114ddcb64405a491313cfee33c549a708347f355d845d532d1ab3fe876b299be54fe0bbc1e5631f5ef2bda0edefddcbc8ae1dc8f6397941c0942d49bb SHA512 582fb0f4f435ca1ed98816de9b9fce0e27190aec30380c05515fe9ba31db07a115fae2bfc6b0b2ca204e608370f1df3eb9a89b14fac154c48d01087274772647 MISC metadata.xml 624 BLAKE2B cda1cc55ddf61bb2da753103b4cf95c8a7ab69d0f452195ff07439c7d0929c4ccbcd5fa55ca4dd5f66d3ddb6b1a9c3967fd0fa5fb9f494044f774435b98d49dc SHA512 714978225f45f67740cca5bcacac5b7089ae12bd074ef3d1392f9c48fc680e2db344f3ca70b9f1b83d16d9c85ea72f9869e4cf0e750889fc0164fa5c504d804b diff --git a/dev-java/bcpkix/bcpkix-1.78.1.ebuild b/dev-java/bcpkix/bcpkix-1.78.1.ebuild deleted file mode 100644 index ee1c18616966..000000000000 --- a/dev-java/bcpkix/bcpkix-1.78.1.ebuild +++ /dev/null @@ -1,108 +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.bouncycastle:bcpkix-jdk18on:${PV}" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple check-reqs - -DESCRIPTION="Java APIs for CMS, PKCS, EAC, TSP, CMP, CRMF, OCSP, and certificate generation" -HOMEPAGE="https://www.bouncycastle.org/java.html" -MY_PV="r$(ver_rs 1 'rv' 2 'v')" -SRC_URI="https://github.com/bcgit/bc-java/archive/${MY_PV}.tar.gz -> bc-java-${MY_PV}.tar.gz - test? ( https://github.com/bcgit/bc-test-data/archive/${MY_PV}.tar.gz -> bc-test-data-${MY_PV}.tar.gz )" -S="${WORKDIR}/bc-java-${MY_PV}/pkix" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm64 ppc64" - -# 1) testSANMismatchIP(org.bouncycastle.est.test.TestHostNameAuthorizer) -# org.bouncycastle.est.ESTException: localhost.me: Temporary failure in name resolution HTTP Status Code: 0 -PROPERTIES="test_network" -RESTRICT="test" - -CDEPEND=" - ~dev-java/bcprov-${PV}:0 - ~dev-java/bcutil-${PV}:0 -" - -DEPEND=" - ${CDEPEND} - >=virtual/jdk-11:* -" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.8:* -" - -DOCS=( ../{README,SECURITY}.md ) -HTML_DOCS=( ../{CONTRIBUTORS,index}.html ) - -JAVA_AUTOMATIC_MODULE_NAME="org.bouncycastle.pkix" -JAVA_GENTOO_CLASSPATH="bcprov,bcutil" -JAVA_SRC_DIR=( - "src/main/java" - "src/main/jdk1.9" -) - -JAVA_TEST_EXTRA_ARGS="-Dbc.test.data.home=${S}/../core/src/test/data" -JAVA_TEST_GENTOO_CLASSPATH="junit-4" -JAVA_TEST_RESOURCE_DIRS="src/test/resources" -JAVA_TEST_SRC_DIR="src/test/java" - -# https://bugs.gentoo.org/823347 -check_env() { - if use test; then - # this is needed only for tests - CHECKREQS_MEMORY="2048M" - check-reqs_pkg_pretend - fi -} - -# https://bugs.gentoo.org/823347 -pkg_pretend() { - check_env -} - -# https://bugs.gentoo.org/823347 -pkg_setup() { - check_env - java-pkg-2_pkg_setup -} - -src_unpack() { - unpack bc-java-${MY_PV}.tar.gz - use test && unpack bc-test-data-${MY_PV}.tar.gz -} - -src_prepare() { - java-pkg-2_src_prepare - java-pkg_clean .. -} - -# https://bugs.gentoo.org/823347 -src_test() { - mv ../../bc-test-data-${MY_PV} bc-test-data || die "cannot move bc-test-data" - - JAVA_TEST_EXTRA_ARGS+=" -Xmx${CHECKREQS_MEMORY}" - pushd src/test/java || die - local JAVA_TEST_RUN_ONLY=$(find * \ - -name "AllTests.java" \ - ) - popd - einfo "${JAVA_TEST_RUN_ONLY}" - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}" - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}" - java-pkg-simple_src_test -} - -src_install() { - docinto html - dodoc -r ../docs - java-pkg-simple_src_install -} diff --git a/dev-java/bcprov/Manifest b/dev-java/bcprov/Manifest index 9ac04c9f5860..8ba672191be8 100644 --- a/dev-java/bcprov/Manifest +++ b/dev-java/bcprov/Manifest @@ -1,8 +1,5 @@ AUX bcprov-1.79-PKCS12StoreTest.patch 1066 BLAKE2B 7eb5d1ef9a1852260e7653c64aa7c14df62a6bdb0d72c2954cb365d7f52f8734596f06041969f905780e4227983b44a120aeecd8a4c9d31e068796a80f68bb41 SHA512 7d5d7bd8512ecc564214c3325fc56ac26a05f442d6f8ac19ded52145976bf3f7cba82cf1bce27cd50e7eba4aa4c4537c257805aa4a8aed0192bec9cee2931a88 -DIST bc-java-r1rv78v1.tar.gz 47211344 BLAKE2B 6d28e69db8ad0043a5cd6c0a4f6901ff40884be4baf60ee40d4cb5487d799e6ac5ef4282b5d6e7f873e45607394890dd26e3150c9c1729bd5346d9cc8f30f240 SHA512 87e6ecd6fea47877d9d7a196f58c5b45a7f026f18f17b71d4155061fad024194c30ce0fc44ea3e879b17f310a6626407f345a8e8970781afec4551f2aa688223 DIST bc-java-r1rv79.tar.gz 47563177 BLAKE2B 7ca8b64ab004fb70399e950e8c588b19d110596790525ce30aeec3f2c6501bffd1bab6854c6bf1499f101e33e0ac8127c2cdaa34e5531c430e4f00fb145202f3 SHA512 294241371f536e8a9be8ff2307eaad433620c9becb26a00f6b225ea31488bc40dd8b01d20c18e47c105c7a8f1b2415136608d82811581fad4718db02e9c882a3 -DIST bc-test-data-r1rv78v1.tar.gz 2084599485 BLAKE2B a4f67d4ab35321aba52696345cf1ac605866fede41d3b99aa42194f37b587fe7bdebd3ac264379b37416bf5f5c456cd78126126799257c28183e4b71a98b4225 SHA512 cc35260189f2100eb883c30f7a15b7c10f564e7e44e02c61373e7f56a03ab9971350c6798bcbb7a4c4508f5022a0a986fdcd8862449b937765dbf567e2f370ed DIST bc-test-data-r1rv79.tar.gz 2101723062 BLAKE2B 1fa25babfbcaa855dfcf2ae8727f6a7a5221837127cc295a4c15dce515908418c9e052af101d6fc984c4b5ce204286b7361da29dbefad1b95603d6b1571603a0 SHA512 e14c1bf96a6010447cd13a680a87249a4e6d0661cc46b437e8b2e1098f3e80482dc9038446aad495ba72e1254e9c07e49b1ac848177b02ac36e10710fcd06413 -EBUILD bcprov-1.78.1.ebuild 2693 BLAKE2B 30d2040947d5a496618052f979db667f47350f3ffa581ad257ef902de305c54a006aed2c1aa81a2a089bf9dfadfb20d8685e3a66d1246a68b3efe19a38c7ab41 SHA512 7e7fdfe72b80204973702c4d0ce05e62bd6cda8f4e1a43f5feaa47dbf8638d6227a92901864545311eab3dfeefb05bc4e5eb8e546ef3d78b47dcdd118af910a5 EBUILD bcprov-1.79.ebuild 2771 BLAKE2B 2e16f5e5bce0daeb46a9372dc1bb15048ccc10e7799e9c2da4b528874eecd6302bb5dea468a1d4e534e33784b677aa4724fd9f33a78ae517fc13e9f698fdd237 SHA512 5ac0ef58be98680ab819aa6e5b9c5e4036d335c1bbe5761cf579d0b97adacbf6cfef9edbfa080c2ef6a76b83e9492d9216bfb2a306806eabb8a288d6a4577a0b MISC metadata.xml 554 BLAKE2B 585fb4da68796af220ac254cdd97d2ac988824c58b1eadde6cf59a50ca197fe8729418c948dd550e544eeb50702d0c96b8ff6f580368dc21a28a66f5d898bf4c SHA512 f78848b4c65b3d1373931bb00971c60688ea86b5bb7555f4a9889c4d560bfb505bffa3671dceb7dfb66f40ea21723d88e7c36191c91a203abf47c500fc0866df diff --git a/dev-java/bcprov/bcprov-1.78.1.ebuild b/dev-java/bcprov/bcprov-1.78.1.ebuild deleted file mode 100644 index ead554fcdd3a..000000000000 --- a/dev-java/bcprov/bcprov-1.78.1.ebuild +++ /dev/null @@ -1,106 +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.bouncycastle:bcprov-jdk18on:${PV}" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple check-reqs - -DESCRIPTION="Java cryptography APIs" -HOMEPAGE="https://www.bouncycastle.org/java.html" -MY_PV="r$(ver_rs 1 'rv' 2 'v')" -SRC_URI="https://github.com/bcgit/bc-java/archive/${MY_PV}.tar.gz -> bc-java-${MY_PV}.tar.gz - test? ( https://github.com/bcgit/bc-test-data/archive/${MY_PV}.tar.gz -> bc-test-data-${MY_PV}.tar.gz )" -S="${WORKDIR}/bc-java-${MY_PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm64 ppc64" - -DEPEND=">=virtual/jdk-11:*" -RDEPEND=">=virtual/jre-1.8:*" - -DOCS=( {README,SECURITY}.md ) -HTML_DOCS=( {CONTRIBUTORS,index}.html ) - -check_env() { - if use test; then - # this is needed only for tests - CHECKREQS_MEMORY="2048M" - check-reqs_pkg_pretend - fi -} - -pkg_pretend() { - check_env -} - -pkg_setup() { - check_env - java-pkg-2_pkg_setup -} - -src_unpack() { - unpack bc-java-${MY_PV}.tar.gz - use test && unpack bc-test-data-${MY_PV}.tar.gz -} - -src_prepare() { - java-pkg-2_src_prepare - # TBD: unboundid-ldapsdk should be packaged from source. - java-pkg_clean ! -path "./libs/unboundid-ldapsdk-6.0.8.jar" -} - -src_compile() { - JAVA_RESOURCE_DIRS=( - "core/src/main/resources" - "prov/src/main/resources" - ) - JAVA_SRC_DIR=( - "core/src/main/java" - "prov/src/main/java" - "prov/src/main/jdk1.9" - ) - java-pkg-simple_src_compile -} - -src_test() { - mv ../bc-test-data-${MY_PV} bc-test-data || die "cannot move bc-test-data" - - JAVA_TEST_EXTRA_ARGS="-Dtest.java.version.prefix=$(java-config -g PROVIDES_VERSION)" - JAVA_TEST_EXTRA_ARGS+=" -Dbc.test.data.home=${S}/core/src/test/data" - JAVA_TEST_EXTRA_ARGS+=" -Xmx${CHECKREQS_MEMORY}" - JAVA_TEST_GENTOO_CLASSPATH="junit-4" - - einfo "Testing \"core\"" - JAVA_TEST_RESOURCE_DIRS="core/src/test/resources" - JAVA_TEST_SRC_DIR="core/src/test/java" - pushd core/src/test/java || die - local JAVA_TEST_RUN_ONLY=$(find * \ - -name "AllTests.java" ) - popd || die - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}" - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}" - java-pkg-simple_src_test - - einfo "Testing bcprov" - JAVA_GENTOO_CLASSPATH_EXTRA=":core.jar:libs/unboundid-ldapsdk-6.0.8.jar" - JAVA_TEST_RESOURCE_DIRS="prov/src/test/resources" - JAVA_TEST_SRC_DIR="prov/src/test/java" - pushd prov/src/test/java || die - local JAVA_TEST_RUN_ONLY=$(find * \ - -name "AllTests.java" ) - popd || die - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}" - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}" - java-pkg-simple_src_test -} - -src_install() { - docinto html - dodoc -r docs - java-pkg-simple_src_install -} diff --git a/dev-java/bcutil/Manifest b/dev-java/bcutil/Manifest index 040e0663a3c0..cc5238bd2c04 100644 --- a/dev-java/bcutil/Manifest +++ b/dev-java/bcutil/Manifest @@ -1,5 +1,3 @@ -DIST bc-java-r1rv78v1.tar.gz 47211344 BLAKE2B 6d28e69db8ad0043a5cd6c0a4f6901ff40884be4baf60ee40d4cb5487d799e6ac5ef4282b5d6e7f873e45607394890dd26e3150c9c1729bd5346d9cc8f30f240 SHA512 87e6ecd6fea47877d9d7a196f58c5b45a7f026f18f17b71d4155061fad024194c30ce0fc44ea3e879b17f310a6626407f345a8e8970781afec4551f2aa688223 DIST bc-java-r1rv79.tar.gz 47563177 BLAKE2B 7ca8b64ab004fb70399e950e8c588b19d110596790525ce30aeec3f2c6501bffd1bab6854c6bf1499f101e33e0ac8127c2cdaa34e5531c430e4f00fb145202f3 SHA512 294241371f536e8a9be8ff2307eaad433620c9becb26a00f6b225ea31488bc40dd8b01d20c18e47c105c7a8f1b2415136608d82811581fad4718db02e9c882a3 -EBUILD bcutil-1.78.1.ebuild 1328 BLAKE2B 9ae46e17a92cd4ed01067dfb3da918920b4635d293628682d9ee7c5d9277c73399dcad1fccc62a0a5cd250af62cefbb9a4bd87d347ccf04eb3f229203a4c2044 SHA512 b188811c958f5b42c114985ae62ebd847cf79e8fc91be92d398377760bda8059b2d7a3665893ef4c1ae34636acc4d4751d199a6cd8242c6834d3dbe86bb61b24 EBUILD bcutil-1.79.ebuild 1328 BLAKE2B 9ae46e17a92cd4ed01067dfb3da918920b4635d293628682d9ee7c5d9277c73399dcad1fccc62a0a5cd250af62cefbb9a4bd87d347ccf04eb3f229203a4c2044 SHA512 b188811c958f5b42c114985ae62ebd847cf79e8fc91be92d398377760bda8059b2d7a3665893ef4c1ae34636acc4d4751d199a6cd8242c6834d3dbe86bb61b24 MISC metadata.xml 478 BLAKE2B 877e4909a1a5f6903a5832348ba2cbbfd071eec425a576b8eb7af8b5c28b9a7d0efbc603e0a8b281607351a52ba130b3121f658b5beea1d7a618d5f0921f9a64 SHA512 12a308175f5b05b9b42f5ffcc03221615609d67670abfe211ee4b3b0c6f178516dab89a13f6539d26c4c4d15b1a83fc3ecd6b6872be14f1d3a30176404c43f12 diff --git a/dev-java/bcutil/bcutil-1.78.1.ebuild b/dev-java/bcutil/bcutil-1.78.1.ebuild deleted file mode 100644 index 888cbb5b742e..000000000000 --- a/dev-java/bcutil/bcutil-1.78.1.ebuild +++ /dev/null @@ -1,61 +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.bouncycastle:bcutil-jdk18on:${PV}" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Java APIs for ASN.1 extension and utility APIs used to support bcpkix and bctls" -HOMEPAGE="https://www.bouncycastle.org/java.html" -MY_PV="r$(ver_rs 1 'rv' 2 'v')" -SRC_URI="https://github.com/bcgit/bc-java/archive/${MY_PV}.tar.gz -> bc-java-${MY_PV}.tar.gz" -S="${WORKDIR}/bc-java-${MY_PV}/util" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm64 ppc64" - -CDEPEND="~dev-java/bcprov-${PV}:0" - -DEPEND=" - ${CDEPEND} - >=virtual/jdk-11:* -" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.8:* -" - -DOCS=( ../{README,SECURITY}.md ) -HTML_DOCS=( ../{CONTRIBUTORS,index}.html ) - -JAVA_AUTOMATIC_MODULE_NAME="org.bouncycastle.util" -JAVA_GENTOO_CLASSPATH="bcprov" -JAVA_SRC_DIR=( - "src/main/java" - "src/main/jdk1.9" -) - -JAVA_TEST_GENTOO_CLASSPATH="junit-4" -JAVA_TEST_RESOURCE_DIRS="src/test/resources" -JAVA_TEST_RUN_ONLY=( - "org.bouncycastle.asn1.util.test.AllTests" - "org.bouncycastle.oer.test.AllTests" -) -JAVA_TEST_SRC_DIR="src/test/java" - -src_prepare() { - java-pkg-2_src_prepare - java-pkg_clean .. -} - -src_install() { - docinto html - dodoc -r ../docs - java-pkg-simple_src_install -} diff --git a/dev-java/commons-io/Manifest b/dev-java/commons-io/Manifest index 150fc32de92a..51cef2b60186 100644 --- a/dev-java/commons-io/Manifest +++ b/dev-java/commons-io/Manifest @@ -1,7 +1,4 @@ -DIST commons-io-2.17.0-src.tar.gz 652908 BLAKE2B c87f10584d7933215aa24e8bde1037eced0738098149e9423371a1fef0255e36e38a6c92cdafd75eecbf56d13c4c38d479fe2706afc86224900fcaf7cae5e5f5 SHA512 5681b7bab9e34e9051e4f7a48925ecdf5d8814894c2626298dfca7aa0566c2dc46c15843850e3e14a3e05613ae9ef9fd08077042931e2fe552057f9c1bee6b69 -DIST commons-io-2.17.0-src.tar.gz.asc 488 BLAKE2B 451dcfbc952994a2402a7657fb0702572c8873c977681236c26326eec15316d543a39a48530760cf8a7c8b8469c7d18b1a7f88a80ab096d1604c33ec050c9b27 SHA512 8708d9cd17a2805c385006fbd5d0db883b593c67ff4afaaac507ca2dbe9f4b2e51cc1c492577b2e2cc6151a766264f1b3cd7c4b526fe16afa814d7ae29d2722c DIST commons-io-2.18.0-src.tar.gz 670984 BLAKE2B 3d8ffbd602cf31e89cb42059e9a7f836d46baaf687662a44dd1d110978faa6926008ba5efcbf55e4f89138c5782be848bf8d1ccb5ed4ef10bb3bdbb750905b4d SHA512 0abc1dc252a72825c5256793780a6e1fa91b8a60436bf6badab1eba8a41f44e1e69b2b90b44c641ddfb78c28f95848e13ffc611793dedf68751bbb5272f86f85 DIST commons-io-2.18.0-src.tar.gz.asc 488 BLAKE2B 2c88e3374a839fb58ef25422c33e120699b319ebdf2baa8f72180e0db8089a4b9b851fc648c0508aad9c7707c463fbb9b849b3eaf545f101195083a4dffae160 SHA512 8101ffb12f3253e71f0234eb8a5a04d88bc7e8777cabfc88ac64f50b416dd6b4be28f8dfd14d09a97a63257c159fab4b512584085550ce965fcfd97cdb637a9e -EBUILD commons-io-2.17.0.ebuild 1251 BLAKE2B e7e227a79d119ad23301d99e4fe0642c796f0e30f0fc9d01007227768251d5ef1e43065a4a624430160bbf92646968397457f174e8cb420d726dd978ac250906 SHA512 b1300f617b36fb43a085defb7bdf26e2d3131eb7b0036bed3237f0fe2af5e2f83b2c260c0603baf238f2142b37f2f55364ebdf23fe0cb05eb9da11aa7d210a84 EBUILD commons-io-2.18.0.ebuild 1251 BLAKE2B e7e227a79d119ad23301d99e4fe0642c796f0e30f0fc9d01007227768251d5ef1e43065a4a624430160bbf92646968397457f174e8cb420d726dd978ac250906 SHA512 b1300f617b36fb43a085defb7bdf26e2d3131eb7b0036bed3237f0fe2af5e2f83b2c260c0603baf238f2142b37f2f55364ebdf23fe0cb05eb9da11aa7d210a84 MISC metadata.xml 319 BLAKE2B 0cf0293595d7916fd34cf3a108f6f79e8ce3fc32d4bc02bcb093578e02c5386ed80b50487fb8e663cbcfa98873ab0a5a3763b3b002ff89323617b30c4a1b4143 SHA512 acbe501db8b7fe74845d68c3c288231b2140473652c12b04d4b4edac4a6031be67c470d4b59a170e743023e1f931a7daae647be0a23bf5d227d1fbd9c4927cfa diff --git a/dev-java/commons-io/commons-io-2.17.0.ebuild b/dev-java/commons-io/commons-io-2.17.0.ebuild deleted file mode 100644 index 68c6d5fe4ea6..000000000000 --- a/dev-java/commons-io/commons-io-2.17.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# No tests, #839681 -JAVA_PKG_IUSE="doc source" -MAVEN_ID="commons-io:commons-io:${PV}" - -inherit java-pkg-2 java-pkg-simple verify-sig - -DESCRIPTION="Utility classes, stream implementations, file filters, and much more" -HOMEPAGE="https://commons.apache.org/proper/commons-io/" -SRC_URI="mirror://apache/commons/io/source/${P}-src.tar.gz - verify-sig? ( https://archive.apache.org/dist/commons/io/source/${P}-src.tar.gz.asc )" -S="${WORKDIR}/${P}-src" - -LICENSE="Apache-2.0" -SLOT="1" -KEYWORDS="amd64 arm64 ppc64 ~amd64-linux ~x86-linux ~ppc-macos" - -VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc" -BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )" -DEPEND=">=virtual/jdk-11:*" # module-info -RDEPEND=">=virtual/jre-1.8:*" - -JAVA_SRC_DIR="src/main/java" - -src_compile() { - JAVA_JAR_FILENAME="org.apache.${PN}.jar" - java-pkg-simple_src_compile # creates a legacy jar file without module-info - - jdeps --generate-module-info \ - src/main/java \ - --multi-release 9 \ - "${JAVA_JAR_FILENAME}" || die - - JAVA_JAR_FILENAME="${PN}.jar" - java-pkg-simple_src_compile # creates the final jar file including module-info -} diff --git a/dev-java/commons-logging/Manifest b/dev-java/commons-logging/Manifest index bc360db52777..e69938b64008 100644 --- a/dev-java/commons-logging/Manifest +++ b/dev-java/commons-logging/Manifest @@ -1,7 +1,4 @@ -DIST commons-logging-1.3.1-src.tar.gz 189156 BLAKE2B 23308b2bff6ea67620b0f07f49a63ffdbd07833fc0d9a6654386f4c17c9125abef5ad2afb6d8c798dcb98bc3e99bd8d94d35b9deec569c3aec1dde20f69e1a1d SHA512 ffda970d086601df4b476caf8bd01d1bdc22dd7f8846a22287036f7f000ce6cf0a757d16621910f041f8d90aa6066819454b3977dd005ca66817bec59e91e91f -DIST commons-logging-1.3.1-src.tar.gz.asc 488 BLAKE2B 3225a62f6269224f1b52907631be03d97cde65d1c7a76c06b6a23b9e30b1cee08b048eb4fdaa41b0a6b5bcf090b54c9dc54307fb1629b039b786fd426572a4d1 SHA512 6f13f85a5aeab1099ebfca38a6173384050b1f1c2e7eac93d978587c92751ddd24d583e39bc5a949f0caec66ca141d265147e63e9e2afea2094bda4667936a86 DIST commons-logging-1.3.4-src.tar.gz 195717 BLAKE2B ba691ea0033c14f54fcb525faeadd4b330e063f73175c5ee40a4f50f159f1b264efb9f40661c4af3902ddca7d43f8f9b84e7a77bf1eeb3b237b31f566fc98aab SHA512 a4049d8d7ea0d97f337e169fa5f572e32be1882e07102ab004d8b2de74170cb075a251ee9603590d6e10bee5933651e8e33e108a734fc100e8b2d5acd669cb44 DIST commons-logging-1.3.4-src.tar.gz.asc 488 BLAKE2B a9cdc993891ff39bb8ebeaa3eefdecee1adb062ed77449dfa1dad75a43cf5aa5678f014d24765ebff7b761498abfc795d3bb68359a73f8de98cb4ac115cb68da SHA512 1c132b87f03ca54887172e45c36e1d8c66d4f12a2a6a2da84e0d6cf3ac2cd2366193829fac0393837371bc1cd34215cd6318c9e7ea6c406c11d9f0dce28b3143 -EBUILD commons-logging-1.3.1.ebuild 5382 BLAKE2B a69f11a808fe5b093339d82ecce00de9f5912f618b9b74a2b4e8413f38553e257b5d29e63b5d596111a772e9f9966932bf48c42d21e9db26ab4101350c20f1d7 SHA512 6373f332e543b4d791f1a495b8bec95f8af6e88b18d0e256e855ab40ce1e27240f81c5d1f374b3f7c4fd11f8f92645ef22efcb6f7c29e5b5f07314eaede6208a EBUILD commons-logging-1.3.4-r1.ebuild 6608 BLAKE2B b026809a9914ffcf5a315212e4b17db7d1e5614578a6598e3d20cabc2730fa4cc35de3fcb882e4bda2e7313bcaa352ad237e622592a18b85cf61fd0deb987cdd SHA512 11162d0a64061cf98849127173712b4734f6333a120299f172452aa56a55ee74e28a9c4714997cf7724aa6a85696526aeba13eaaacc74dc99ec78061122d4a78 MISC metadata.xml 549 BLAKE2B b20c8451a73329dbdb8aa88120543b948014115d754a84e8a77a8f61b9134277a7849fc10e35323c028a32d69f6e45702200e06af4481bf5238f5d848b3ccc03 SHA512 105c2bdf3eed380f11be1b8987a08fbcf1b6e6cbbb00c0e38e4813875865abd65c9be85267d5b49486913fdb0635b7329b5c4e84a86d9f93f9dcdad74c336ff0 diff --git a/dev-java/commons-logging/commons-logging-1.3.1.ebuild b/dev-java/commons-logging/commons-logging-1.3.1.ebuild deleted file mode 100644 index 5c2c4113e057..000000000000 --- a/dev-java/commons-logging/commons-logging-1.3.1.ebuild +++ /dev/null @@ -1,153 +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="commons-logging:commons-logging:${PV}" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple verify-sig - -DESCRIPTION="Thin adapter allowing configurable bridging to other well known logging systems" -HOMEPAGE="https://commons.apache.org/proper/commons-logging/" -SRC_URI="mirror://apache/commons/logging/source/${P}-src.tar.gz - verify-sig? ( https://downloads.apache.org/commons/logging/source/${P}-src.tar.gz.asc )" -S="${WORKDIR}/${P}-src" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="log4j" - -VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc" -BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )" -COMMON_DEPEND=" - dev-java/jakarta-servlet-api:4 - dev-java/slf4j-api:0 - log4j? ( - dev-java/log4j-12-api:2 - dev-java/log4j-api:2 - )" - -DEPEND="${COMMON_DEPEND} - >=virtual/jdk-11:*" - -RDEPEND="${COMMON_DEPEND} - >=virtual/jre-1.8:*" - -DOCS=( NOTICE.txt src/changes/changes.xml ) -HTML_DOCS=( PROPOSAL.html ) - -JAVA_AUTOMATIC_MODULE_NAME="org.apache.commons.logging" -JAVA_ENCODING="iso-8859-1" -JAVA_GENTOO_CLASSPATH=" - jakarta-servlet-api-4 - slf4j-api -" -JAVA_SRC_DIR="src/main/java" - -src_prepare() { - java-pkg-2_src_prepare - - # javax-servlet-api and log4j* do not presently provide module-info - cat > src/main/java/module-info.java <<-EOF || die - module org.apache.commons.logging { - // requires static org.apache.logging.log4j; - requires static org.slf4j; - requires static java.logging; - // requires static log4j; - // requires static servlet.api; - // requires static org.apache.log4j; - requires java.base; - exports org.apache.commons.logging; - exports org.apache.commons.logging.impl; - uses org.apache.commons.logging.LogFactory; - } - EOF - - # https://avalon.apache.org/closed.html Apache Avalon has closed. - rm src/main/java/org/apache/commons/logging/impl/{Avalon,LogKit}Logger.java || die - rm src/test/java/org/apache/commons/logging/{avalon/AvalonLogger,logkit/Standard}TestCase.java || die - - if use !log4j; then - rm src/main/java/org/apache/commons/logging/impl/Log4JLogger.java || die - rm src/main/java/org/apache/commons/logging/impl/Log4jApiLogFactory.java || die - else - JAVA_GENTOO_CLASSPATH+=" - log4j-12-api-2 - log4j-api-2 - " - fi -} - -src_compile() { - java-pkg-simple_src_compile - - pushd target/classes > /dev/null || die - - # Need Automatic-Module-Name also for the other JAR files - jar xvf ../../commons-logging.jar META-INF/MANIFEST.MF || die - - # pom.xml, lines 81-103 - jar -cvfm ../../commons-logging-api.jar META-INF/MANIFEST.MF \ - $(find . -type f -name '*.class' \ - ! -name 'Jdk13LumberjackLogger.class' \ - ! -name 'ServletContextCleaner.class' \ - ) || die - - # pom.xml, lines 205-124 - jar -cvfm ../../commons-logging-adapters.jar META-INF/MANIFEST.MF \ - $(find . -type f -path './org/apache/commons/logging/impl/**.class' \ - ! -name 'WeakHashtable*.class' \ - ! -name 'LogFactoryImpl*.class' \ - ) || die - - popd > /dev/null || die -} - -src_test() { - # Do not run Log4j tests because these tests use an Appender to verify - # logging correctness. The log4j-12-api bridge no longer supports using an - # Appender for verifications since the methods for adding an Appender in - # the bridge "are largely no-ops". This means an Appender's state would - # never be changed by log4j-12-api after new messages are logged. The test - # cases, however, expect changes to the Appender's state in such an event, - # so they would fail with log4j-12-api. - # https://logging.apache.org/log4j/log4j-2.8/log4j-1.2-api/index.html - rm src/test/java/org/apache/commons/logging/pathable/ParentFirstTestCase.java || die # Log4JLogger - rm src/test/java/org/apache/commons/logging/pathable/ChildFirstTestCase.java || die # Log4JLogger - rm -r src/test/java/org/apache/commons/logging/log4j || die - rm src/test/java/org/apache/commons/logging/log4j2/CallerInformationTestCase.java || die - # error: package ch.qos.logback.classic does not exist - rm src/test/java/org/apache/commons/logging/slf4j/CallerInformationTestCase.java || die - - JAVA_TEST_EXCLUDES=( - org.apache.commons.logging.jdk14.TestHandler # No runnable methods - # junit.framework.AssertionFailedError: Wrong factory retrieved through - # ServiceLoader: org.apache.commons.logging.impl.Slf4jLogFactory - org.apache.commons.logging.serviceloader.ServiceLoaderTestCase - # junit.framework.ComparisonFailure: Log class expected:<...ommons.logging.impl.[NoOp]Log> - # but was:<...ommons.logging.impl.[Slf4jLogFactory$Slf4j]Log> - org.apache.commons.logging.noop.NoOpLogTestCase - ) - JAVA_TEST_EXTRA_ARGS=( - -Dservlet-api="$(java-pkg_getjars jakarta-servlet-api-4)" - -Dcommons-logging="commons-logging.jar" - -Dcommons-logging-api="commons-logging-api.jar" - -Dcommons-logging-adapters="commons-logging-adapters.jar" - -Dtestclasses="target/test-classes" - ) - if use log4j; then - JAVA_TEST_EXTRA_ARGS+=" -Dlog4j12=$(java-pkg_getjars log4j-12-api-2,log4j-core-2)" - fi - JAVA_TEST_GENTOO_CLASSPATH="junit-4" - JAVA_TEST_RESOURCE_DIRS="src/test/resources" - JAVA_TEST_SRC_DIR="src/test/java" - java-pkg-simple_src_test -} - -src_install() { - java-pkg-simple_src_install - java-pkg_dojar commons-logging-api.jar commons-logging-adapters.jar -} diff --git a/dev-java/fontbox/Manifest b/dev-java/fontbox/Manifest index 1ca89ea2c4af..b48ff4859295 100644 --- a/dev-java/fontbox/Manifest +++ b/dev-java/fontbox/Manifest @@ -6,9 +6,7 @@ DIST NotoSansSC-Regular.otf 8481960 BLAKE2B 3eee2c1e6be5e013d2ed679ccb361221e3e4 DIST OpenSans-Regular.pfb 100962 BLAKE2B ff906c67a79df9d8deb9736f7439ba5429b72940b6a6fa49751fdea88adef70a3b57f28b2c31014da3206efe601095a8caeb98382fb36f8544afd0bec5cce355 SHA512 2787fcecc0feb1c9e6ff0d8de6193658413863e44eaab572751ca7e6c3b369c0a9731f4952cb0821f307760f0422f77c5f0d3fe7df6b054643fb39423e8d70ee DIST SourceSansProBold.otf 104072 BLAKE2B 2c6538ed97cca04a6a38a1bcca7def6c9e923f0e7a773c2715d50ca1a526b1ff683bc6544155b1e170fb828c3923d6b22cdf7017f9da9de164523f328c1cc187 SHA512 28a044a2685fbc8da7810d9ac7b6b93a95542d504d7d8e671f009b8ebb2f5b70c974be7ea78974b188d8e6ab17d65b08f276c054927857315d5aad26f6fe36fc DIST ipag00303.zip 4295310 BLAKE2B b68dd7dd7a7320894d782350c4598572c31d6ef492f9572adc2aac20ca98b5c5027995c0169bf815bc1e3a64d635b0e2d4e378b749e034f2fe718bcb7901d40a SHA512 59535137c649a2f8bdbb463cd716426811a6003a65883ca6e45bb0af1d526b3889af0fba3a353e90bc8d373cd32b90a27ff9ff6916ecbccb42e922c09e9b046a -DIST pdfbox-2.0.27-src.zip 15770627 BLAKE2B 9f93d597141ff3da39b69da3ce989a0cc7f4020071e5cb1609a8b86d0f12a3219037cb4c7b276acf58ee6b07d842b6d7c76e14fdf79e9efdeac401048e345f89 SHA512 59a5675f5d1d34f092adc019679f7d10e7e93c0f554a002ac29d48cbffcaa600d930309fa94a92191c01ead8da905cbb37ce5e233dcc9b8732a881d4abf75def DIST pdfbox-2.0.32-src.zip 17094201 BLAKE2B a48677819bab371d82a956affa8a9b55a8dca2627bb301b56facb4408229639162550c67eccc843b903e28a3f6258db4b0c096c2b40c134c1f0bf6085ff122d0 SHA512 bdad289bda79e78774dd4dedb8b0531f20382038e96232eb6c55508e2187ca3d7512072e87cd293fe6d1b9967d7e6a44f39b09a3af59872bf2f307275a65f546 DIST pdfbox-2.0.32-src.zip.asc 195 BLAKE2B a3c1f8078ded155bfecca3c15ec8c9ae648ab6dbfa9c023715eabdf72f092920b0c0ddedaafed3fc6a186f05c9880fbaa703eb088b704964ac4bb8bd5dd386e8 SHA512 b6aff86c09f75234c57ae079eff71e098377e27a1b0d55911b2cd466ff74c5d529c9cd45ba20653adae3a9b5f9ecfc3e9d6df0647bae59a7b651f128ef3b39e5 -EBUILD fontbox-2.0.27.ebuild 1985 BLAKE2B 53da0c517c32e840eb2c42ccfd873bb0145529240ac213ea15b146554ba18bf3a17f72a9e119731d75b34f42cbc1c1c2452db03bfb75deaa699a9d6e698bf188 SHA512 e787f24b97cb09239d92663c0eec287ad6df478dbbb6e63a1bd9f73c1cbf48deb82bf0cb360636b81330012e29a4b7cbbab17ed85938caab9149c60aba6102e1 EBUILD fontbox-2.0.32.ebuild 2533 BLAKE2B d3d8a76869a5dd053251915416e8e7230d9445e6fb326d8deafd5551a1959f8b656ed822fad0a46fb8164fc5b8fcccb304ea0a456f809066da4096e440d81931 SHA512 2287244b9d0a978eb06bf9af670c4de51cf348c7a6d920250ad4be3f58e2468df2f6844bd99c177a0655562a71aa022ee2fb4d85782cc6d96a1c6428a3d3aa2b MISC metadata.xml 571 BLAKE2B 1ffa3f19fb3e5035c5a73503ce6abbeb02de7ea42fb74e21eecb30aa3827085802644b797f197f35d9001d86ec969b0cc6cbdaa634ab0d003fa65bd03c3d09ab SHA512 e1b958bb3eff6c3428581dd3851b8857048e81df192b87ad91fc61d3074a4ebf88dfecf6310ac96a3da6ba6b96d476ef1e258781e36b8f0c5cbf3110d5608f8e diff --git a/dev-java/fontbox/fontbox-2.0.27.ebuild b/dev-java/fontbox/fontbox-2.0.27.ebuild deleted file mode 100644 index f707ac643437..000000000000 --- a/dev-java/fontbox/fontbox-2.0.27.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri mirror://apache/pdfbox/2.0.27/pdfbox-2.0.27-src.zip --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild fontbox-2.0.27.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="org.apache.pdfbox:fontbox:2.0.27" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="An open source Java library for parsing font files" -HOMEPAGE="https://pdfbox.apache.org/" -SRC_URI="mirror://apache/pdfbox/${PV}/pdfbox-${PV}-src.zip - test? ( - https://issues.apache.org/jira/secure/attachment/12684264/SourceSansProBold.otf - https://issues.apache.org/jira/secure/attachment/12896461/NotoEmoji-Regular.ttf - https://issues.apache.org/jira/secure/attachment/12809395/DejaVuSansMono.ttf - https://issues.apache.org/jira/secure/attachment/13036376/NotoSansSC-Regular.otf - https://mirrors.ctan.org/fonts/opensans/type1/OpenSans-Regular.pfb - )" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 ppc64" - -# Common dependencies -# POM: pom.xml -# commons-logging:commons-logging:1.2 -> >=dev-java/commons-logging-1.2:0 - -CP_DEPEND="dev-java/commons-logging:0" -DEPEND="${CP_DEPEND} - >=virtual/jdk-1.8:*" -RDEPEND="${CP_DEPEND} - >=virtual/jre-1.8:*" -BDEPEND="app-arch/unzip" - -S="${WORKDIR}/pdfbox-${PV}/${PN}" - -JAVA_AUTOMATIC_MODULE_NAME="org.apache.fontbox" -JAVA_RESOURCE_DIRS="src/main/resources" -JAVA_SRC_DIR="src/main/java" - -JAVA_TEST_GENTOO_CLASSPATH="junit-4" -JAVA_TEST_RESOURCE_DIRS="src/test/resources" -JAVA_TEST_SRC_DIR="src/test/java" - -src_test() { - mkdir --parents target/{pdfs,fonts} || die - cp \ - "${DISTDIR}"/SourceSansProBold.otf \ - "${DISTDIR}"/NotoEmoji-Regular.ttf \ - "${DISTDIR}"/DejaVuSansMono.ttf \ - "${DISTDIR}"/NotoSansSC-Regular.otf \ - "target/pdfs" || die - cp "${DISTDIR}"/OpenSans-Regular.pfb \ - "target/fonts" || die - - java-pkg-simple_src_test -} diff --git a/dev-java/jackcess/Manifest b/dev-java/jackcess/Manifest index 0c643938b1f4..7dab4f93181a 100644 --- a/dev-java/jackcess/Manifest +++ b/dev-java/jackcess/Manifest @@ -1,6 +1,4 @@ AUX jackcess-4.0.0-fix-tests.patch 665 BLAKE2B 6e2cc60406b84c64e896478dbed520834b193749121241abd97ea1d54079a1faed4830347ab4d99623244e344ae502a10e8cadcdd4dbd1ffce83fdd273af3e33 SHA512 70a1325cbf955b032fada56a05635175f285e722c4c2a4c0a3d59401fec2b8261ff8c4717cf3e4c05cdbe53517a142ce348bd6309883334519fcf05e37afccce -DIST jackcess-4.0.0-sources.tar.gz 12140889 BLAKE2B 44bdd0ba74e9e462364506e563b2e5db8a6581686a0b1ab7d9995d2dfce164593eb533986ac666a7f79180478a8a16ccc8ef57a7af08045cb671a3a5269f84a6 SHA512 514ecf235943183e0b3813550adf801cc4ab1734137ae0b131f5e3dca9f774f2a866bec397ccc8d37d65e9c3f0c4c995baee091480eb8e2bb91e85894c2a27e6 DIST jackcess-4.0.7-sources.tar.gz 12257727 BLAKE2B 5d19d5aef02388342d881214e6956eb118e74fd4dcc6b750df927c888e689eb94bf605952c30884b0b0c4bfd1ae651c8b96cc908dd2dbf0fa7506fd789c14fa0 SHA512 3867019b50e8734938c08e562a57cd16b49f664865b8dbe904c418d73dc750492c6f94bccecd9c9a9d2ab2be51a211d49416a5dcb5130ac96aef7a9aeef7a3e0 -EBUILD jackcess-4.0.0.ebuild 1984 BLAKE2B 9369eee01094cafff86a78c76feb6e28e2d86f574023b4ed1aa0eb5437cdd38fb2f353405c414e4fa852ff29e76d435b3bcf61d74560753e5e6bfba685ad69e8 SHA512 ddc4baf06571b1241caea712b1627cd2026204a748c96da41860c9dfe30af8d794fdf7ab20b4e897606a38904f75087812c96e8604d7ae50f71ed59e73e3e682 EBUILD jackcess-4.0.7.ebuild 1449 BLAKE2B 93e71c78775481cf921af5595147c730843769c665ce15d6c6c6140f4fc01808ad619367e89e681403bfe341711f46ebd2f0476288b632a70bdd990ba4a4d4ae SHA512 8097a2a0cac7ceb13cf1fb127d1960384743459493f4c15d54ddf052726f56f6e29cac5f70c2b50431dceed1dd739c472bace1c4ce1f866c300ed72df87b563b MISC metadata.xml 372 BLAKE2B 63ac19dbcf1f5f0245de609b081ad31e537defc6dea55da6179cda0b510fddb1a7451a0f4a6aca4cc8ac305eecfd56c1021879bf2e342101da5b7cd7eb165e0a SHA512 c5e882be72900ca5f8f011c352a47888baa7cdc63d92ae1c50f23435b36ef457b4aa7b23c1c64277e7287378b0ca821e38bcadeff7dbac1b7203bfeb678cfc06 diff --git a/dev-java/jackcess/jackcess-4.0.0.ebuild b/dev-java/jackcess/jackcess-4.0.0.ebuild deleted file mode 100644 index 3f4f7d3ef2c4..000000000000 --- a/dev-java/jackcess/jackcess-4.0.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/jahlborn/jackcess/archive/refs/tags/jackcess-4.0.0.tar.gz --slot 1 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild jackcess-4.0.0.ebuild - -EAPI=7 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="com.healthmarketscience.jackcess:jackcess:4.0.0" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="A pure Java library for reading from and writing to MS Access databases" -HOMEPAGE="https://jackcess.sourceforge.io" -SRC_URI="https://github.com/jahlborn/${PN}/archive/refs/tags/${P}.tar.gz -> ${P}-sources.tar.gz" - -LICENSE="Apache-2.0" -SLOT="1" -KEYWORDS="amd64 arm64 ppc64 ~amd64-linux ~x86-linux ~ppc-macos" - -# Common dependencies -# POM: pom.xml -# commons-logging:commons-logging:1.2 -> >=dev-java/commons-logging-1.2:0 -# org.apache.commons:commons-lang3:3.10 -> >=dev-java/commons-lang-3.11:3.6 -# org.apache.poi:poi:4.0.0 -> >=dev-java/poi-5.0.0:0 - -CDEPEND=" - >=dev-java/commons-lang-3.11:3.6 - >=dev-java/commons-logging-1.2:0 - >=dev-java/poi-5.0.0:0 -" - -DEPEND=" - >=virtual/jdk-1.8:* - ${CDEPEND} -" - -RDEPEND=" - >=virtual/jre-1.8:* - ${CDEPEND}" - -S="${WORKDIR}/${PN}-${P}" - -PATCHES=( - "${FILESDIR}/${P}-fix-tests.patch" -) - -JAVA_GENTOO_CLASSPATH="commons-logging,commons-lang-3.6,poi" -JAVA_SRC_DIR="src/main/java" -JAVA_RESOURCE_DIRS="src/main/resources" - -JAVA_TEST_GENTOO_CLASSPATH="junit-4" -JAVA_TEST_SRC_DIR="src/test/java" -JAVA_TEST_RESOURCE_DIRS="src/test/resources" - -JAVA_TEST_EXCLUDES=( - # initializationError(com.healthmarketscience.jackcess.TestUtil) - # org.junit.runners.model.InvalidTestClassError: Invalid test class 'com.healthmarketscience.jackcess.TestUtil' - "com.healthmarketscience.jackcess.TestUtil" -) - -src_prepare() { - default - java-utils-2_src_prepare -} - -src_test() { - export TZ=UTC - export LC_ALL=C - java-pkg-simple_src_test -} diff --git a/dev-java/jbig2-imageio/Manifest b/dev-java/jbig2-imageio/Manifest index 288f03243d53..fe531b10fdfa 100644 --- a/dev-java/jbig2-imageio/Manifest +++ b/dev-java/jbig2-imageio/Manifest @@ -1,6 +1,4 @@ -DIST jbig2-imageio-3.0.3-src.zip 2079380 BLAKE2B bb05f81bfdef00b1a0ffcb7a2df2617fe5f5a83957249266917e775ceab57282ee289aedb198c6639201e85df83e89b8cfe8cf2d865fff863d1f2a5acd439721 SHA512 5350b4ce89af72eea5069f6ea5fc830238e4df711712506405aaf0e14546a1b07155b8c5225b47f0d40ce2821032426a2987adbe0df63c536cae4fb319b5c700 DIST jbig2-imageio-3.0.4-src.zip 2068836 BLAKE2B 92e1d3e50703c09cb8e22951e403b24531905d31f83f54db08abddb86b3a7a1e206c8d4bf6cf3f41777069158e3268180de09ef7803cbaf7cbc8a67390420971 SHA512 382acb53e0bb56595f7eb8c382369a48a000ced22ff4d101ec89316c749b5afd344c6303a3e6c75b12e949f1efe688e18bd1b8b0b5deb449a581b1c97c35e672 DIST jbig2-imageio-3.0.4-src.zip.asc 195 BLAKE2B 1790d4435b8924642cc7361cd7555e31a5b8f30d536ade0c1aac0b1f304f55483f3ac720351ac7824e4d2de7f37158a5115d8642cd2c8130207b561d62059a28 SHA512 91e19f12e1de463280b058c3e7de702ab7f1fd6dc6c4e3fcf922e5f9364b49ee347635579dd83afc5ee2d617e117d591333c4e1f7d26e01898f1b8297b78ac70 -EBUILD jbig2-imageio-3.0.3.ebuild 1313 BLAKE2B 8901ba73c878d3e35ea4b299343b3021cf4392e3fcdf0f6b893b1b30b512584b09210c7c752eddb5f6b8cba04993e694563b352e4632631476b43b38d9464073 SHA512 556cff7521f216b71bbb86a6bf5efc4dac24c5fab2f86255a152d2a93c600b53fd52b2f2f9f17526a72b75729ffc41c396816be5e3b401739f757b510fc15ff1 EBUILD jbig2-imageio-3.0.4.ebuild 1306 BLAKE2B 196bc1e168207be64e55e7935b3b6b61cac82c5a29921f6c17542aa48618438f33ecac639a0167fcca051e3776eed284eef724099dab6afd3330902a176c4619 SHA512 6ebdda5f734932571c92cca362b55cbdc847bc061a7bafb57d7d98e931257a83d491062f8c789f96dd84e18cb3200081bdbe8222c588a038213415c70e89abf3 MISC metadata.xml 498 BLAKE2B 8e21370981fdf284e4f73713f774238e44f5fe80c3e703435f08892f6d695dcc30fa68e0c2251095a125a7046ac57d437b54f9283baf5affe9595ddbdcae9ae5 SHA512 c46df10aade5c4a3f09e5a0aac99d93a1b9b52c85b3efb6579fc3b4344856f2c6c1634113b6b5a7b03b316c417f458ead74441e0a84ecb58a84b28ae4d00b081 diff --git a/dev-java/jbig2-imageio/jbig2-imageio-3.0.3.ebuild b/dev-java/jbig2-imageio/jbig2-imageio-3.0.3.ebuild deleted file mode 100644 index 3989709b8320..000000000000 --- a/dev-java/jbig2-imageio/jbig2-imageio-3.0.3.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom jbig2-imageio-3.0.3/pom.xml --download-uri https://downloads.apache.org/pdfbox/jbig2-imageio/3.0.3/jbig2-imageio-3.0.3-src.zip --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild jbig2-imageio-3.0.3.ebuild - -EAPI=7 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="org.apache.pdfbox:jbig2-imageio:3.0.3" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="PDFBox JBIG2 ImageIO plugin" -HOMEPAGE="https://pdfbox.apache.org" -SRC_URI="https://downloads.apache.org/pdfbox/${PN}/${PV}/${P}-src.zip" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 ppc64" - -DEPEND=">=virtual/jdk-1.8:*" -RDEPEND=">=virtual/jre-1.8:*" -BDEPEND="app-arch/unzip" - -S="${WORKDIR}" - -JAVA_SRC_DIR="${P}/src/main/java" -JAVA_RESOURCE_DIRS="${P}/src/main/resources" - -JAVA_TEST_GENTOO_CLASSPATH="junit-4" -JAVA_TEST_SRC_DIR="${P}/src/test/java" -JAVA_TEST_RESOURCE_DIRS="${P}/src/test/resources" - -JAVA_TEST_EXCLUDES=( - # org.junit.runners.model.InvalidTestClassError: Invalid test class - # 1. Test class should have exactly one public constructor - "org.apache.pdfbox.jbig2.util.TestServiceImpl" - "org.apache.pdfbox.jbig2.util.TestService" -) diff --git a/dev-java/pdfbox/Manifest b/dev-java/pdfbox/Manifest index db45a7359269..290101eb8a76 100644 --- a/dev-java/pdfbox/Manifest +++ b/dev-java/pdfbox/Manifest @@ -39,9 +39,7 @@ DIST genko_oc_shiryo1.pdf 124896 BLAKE2B c3a9921afb052ee4fe5080a1f1e66d991e3041f DIST ipag00303.zip 4295310 BLAKE2B b68dd7dd7a7320894d782350c4598572c31d6ef492f9572adc2aac20ca98b5c5027995c0169bf815bc1e3a64d635b0e2d4e378b749e034f2fe718bcb7901d40a SHA512 59535137c649a2f8bdbb463cd716426811a6003a65883ca6e45bb0af1d526b3889af0fba3a353e90bc8d373cd32b90a27ff9ff6916ecbccb42e922c09e9b046a DIST ipagp00303.zip 4295877 BLAKE2B e096303106029daaedae9befb003f70c2c7d00b858f89f5f8fffb9fc73679e63ec0dde8e0304cad2c611aa74d3cf1bfea56b9ac35e6838953d38b028654f5434 SHA512 26d0a9bfba7f5457a98b0bf45a4a6b081bca4140047a0886625691231459f8c81a6cdbe523e9abcbd45fd7caed21d78f1baf3a2cf9167320f6b79be3d697cb5b DIST n019003l.pfb 79155 BLAKE2B 2995cd6e35de2d49cc6d4a5f6c7461396b23e14c6403cd7aecedbd5cec904fd0c42a114c4c5f5079fd1fad306dd8ddba649a13424ec5183395fb0fc1cbe2abb9 SHA512 8eafe21ffa6f3d7d0a50e9f4e5bcdeb727e804b552d74e65b709e778c9ed4605e5aa63743be285f0bc17ad162768583fec4196e1d1146d98f8703359247f22d0 -DIST pdfbox-2.0.27-src.zip 15770627 BLAKE2B 9f93d597141ff3da39b69da3ce989a0cc7f4020071e5cb1609a8b86d0f12a3219037cb4c7b276acf58ee6b07d842b6d7c76e14fdf79e9efdeac401048e345f89 SHA512 59a5675f5d1d34f092adc019679f7d10e7e93c0f554a002ac29d48cbffcaa600d930309fa94a92191c01ead8da905cbb37ce5e233dcc9b8732a881d4abf75def DIST pdfbox-2.0.32-src.zip 17094201 BLAKE2B a48677819bab371d82a956affa8a9b55a8dca2627bb301b56facb4408229639162550c67eccc843b903e28a3f6258db4b0c096c2b40c134c1f0bf6085ff122d0 SHA512 bdad289bda79e78774dd4dedb8b0531f20382038e96232eb6c55508e2187ca3d7512072e87cd293fe6d1b9967d7e6a44f39b09a3af59872bf2f307275a65f546 DIST pdfbox-2.0.32-src.zip.asc 195 BLAKE2B a3c1f8078ded155bfecca3c15ec8c9ae648ab6dbfa9c023715eabdf72f092920b0c0ddedaafed3fc6a186f05c9880fbaa703eb088b704964ac4bb8bd5dd386e8 SHA512 b6aff86c09f75234c57ae079eff71e098377e27a1b0d55911b2cd466ff74c5d529c9cd45ba20653adae3a9b5f9ecfc3e9d6df0647bae59a7b651f128ef3b39e5 -EBUILD pdfbox-2.0.27.ebuild 11023 BLAKE2B 51bbf139f2dc054017e18aa10835a23d74d9fc8574a190fbb75d1fad0394f643938778acb2c722f0c8b4fdc1fe976324c12ba7e6631cb580fcf5e36439fa7252 SHA512 e63ce93357bd892bc850593b501bd268d1572a664d1f2c7f009b3b41acf7f80df4204ee17e7a66cc6af511dd11e8e989077ffbc1e40f442641300122576985d1 EBUILD pdfbox-2.0.32.ebuild 10804 BLAKE2B 272d63ef92daf9d2a16d8aa88b0db33e5d644288f0e3199f7b5e85647ae9d6d3d1101b7c69288972e7ef49d539d62fca7a055c95278eb87c9134df086f9d01cc SHA512 d67472fcf0edac8fbf201a883c92caf7cc4f5dbb84632711d4d8466684677bbc2190e5a843b63c32c8cc15e2bc0fdf14a0d471423284c4bc80aa45a92d0a836c MISC metadata.xml 782 BLAKE2B 96e76863aeaf1791f4a7a44aeb49df8b5a9bf91ac0d8d69e5642128df590456a2d38c64c84e8b50c917d3361bbaeb880a1b7744b994db9eee5ca8d250d765d6a SHA512 d7d47cc9eb182780424161f2a136cdec74bbe0cf4d63f52bfc77df8ad4fadc2bb9f3bd7b1ccff667d25928b4e0bc4a979b725ce77f1dff244585713ca40f88cc diff --git a/dev-java/pdfbox/pdfbox-2.0.27.ebuild b/dev-java/pdfbox/pdfbox-2.0.27.ebuild deleted file mode 100644 index ffe02a58ecd9..000000000000 --- a/dev-java/pdfbox/pdfbox-2.0.27.ebuild +++ /dev/null @@ -1,259 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri mirror://apache/pdfbox/2.0.27/pdfbox-2.0.27-src.zip --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild pdfbox-2.0.27.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="org.apache.pdfbox:pdfbox:2.0.27" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="Java library and utilities for working with PDF documents" -HOMEPAGE="https://pdfbox.apache.org/" -SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip - test? ( - https://issues.apache.org/jira/secure/attachment/12481683/1.pdf -> PDFBOX-1031-1.pdf - https://issues.apache.org/jira/secure/attachment/12481684/2.pdf -> PDFBOX-1031-2.pdf - https://issues.apache.org/jira/secure/attachment/12486525/1_testfile1.pdf -> PDFBOX-1065-1.pdf - https://issues.apache.org/jira/secure/attachment/12486526/2_testfile1.pdf -> PDFBOX-1065-2.pdf - https://issues.apache.org/jira/secure/attachment/12490774/a.pdf -> PDFBOX-1100-1.pdf - https://issues.apache.org/jira/secure/attachment/12490775/b.pdf -> PDFBOX-1100-2.pdf - https://issues.apache.org/jira/secure/attachment/12848122/SF1199AEG%20%28Complete%29.pdf -> PDFBOX-3656.pdf - https://issues.apache.org/jira/secure/attachment/12852207/test.pdf -> PDFBOX-3682.pdf - https://issues.apache.org/jira/secure/attachment/12888957/079977.pdf -> PDFBOX-3940-079977.pdf - https://issues.apache.org/jira/secure/attachment/12867113/202097.pdf -> PDFBOX-3785-202097.pdf - https://issues.apache.org/jira/secure/attachment/12890031/670064.pdf -> PDFBOX-3947-670064.pdf - https://issues.apache.org/jira/secure/attachment/12890034/EUWO6SQS5TM4VGOMRD3FLXZHU35V2CP2.pdf -> PDFBOX-3948-EUWO6SQS5TM4VGOMRD3FLXZHU35V2CP2.pdf - https://issues.apache.org/jira/secure/attachment/12890037/MKFYUGZWS3OPXLLVU2Z4LWCTVA5WNOGF.pdf -> PDFBOX-3949-MKFYUGZWS3OPXLLVU2Z4LWCTVA5WNOGF.pdf - https://issues.apache.org/jira/secure/attachment/12890042/23EGDHXSBBYQLKYOKGZUOVYVNE675PRD.pdf -> PDFBOX-3950-23EGDHXSBBYQLKYOKGZUOVYVNE675PRD.pdf - https://issues.apache.org/jira/secure/attachment/12890047/FIHUZWDDL2VGPOE34N6YHWSIGSH5LVGZ.pdf -> PDFBOX-3951-FIHUZWDDL2VGPOE34N6YHWSIGSH5LVGZ.pdf - https://issues.apache.org/jira/secure/attachment/12892097/c687766d68ac766be3f02aaec5e0d713_2.pdf -> PDFBOX-3964-c687766d68ac766be3f02aaec5e0d713_2.pdf - https://issues.apache.org/jira/secure/attachment/12893582/63NGFQRI44HQNPIPEJH5W2TBM6DJZWMI.pdf -> PDFBOX-3977-63NGFQRI44HQNPIPEJH5W2TBM6DJZWMI.pdf - https://issues.apache.org/jira/secure/attachment/12896905/GeneralForbearance.pdf -> PDFBOX-3999-GeneralForbearance.pdf - https://issues.apache.org/jira/secure/attachment/12919726/sample.pdf -> PDFBOX-4197.pdf - https://issues.apache.org/jira/secure/attachment/12938094/Quelldatei.pdf -> PDFBOX-4308.pdf - https://issues.apache.org/jira/secure/attachment/12952086/form.pdf -> PDFBOX-4408.pdf - https://issues.apache.org/jira/secure/attachment/12953423/000314.pdf -> PDFBOX-4418-000314.pdf - https://issues.apache.org/jira/secure/attachment/12953421/000671.pdf -> PDFBOX-4418-000671.pdf - https://issues.apache.org/jira/secure/attachment/12953866/000746.pdf -> PDFBOX-4423-000746.pdf - https://issues.apache.org/jira/secure/attachment/12966453/cryptfilter.pdf -> PDFBOX-4517-cryptfilter.pdf - https://issues.apache.org/jira/secure/attachment/12991833/PDFBOX-4750-test.pdf -> PDFBOX-4750.pdf - https://issues.apache.org/jira/secure/attachment/12914331/WXMDXCYRWFDCMOSFQJ5OAJIAFXYRZ5OA.pdf -> PDFBOX-4153-WXMDXCYRWFDCMOSFQJ5OAJIAFXYRZ5OA.pdf - https://issues.apache.org/jira/secure/attachment/12962991/NeS1078.pdf -> PDFBOX-4490.pdf - https://issues.apache.org/jira/secure/attachment/12784025/PDFBOX-3208-L33MUTT2SVCWGCS6UIYL5TH3PNPXHIS6.pdf - https://issues.apache.org/jira/secure/attachment/12867102/PDFBOX-3783-72GLBIGUC6LB46ELZFBARRJTLN4RBSQM.pdf - https://issues.apache.org/jira/secure/attachment/12929821/16bit.png -> PDFBOX-4184-16bit.png - https://issues.apache.org/jira/secure/attachment/12943502/ArrayIndexOutOfBoundsException%20COSParser -> PDFBOX-4338.pdf - https://issues.apache.org/jira/secure/attachment/12943503/NullPointerException%20COSParser -> PDFBOX-4339.pdf - https://issues.apache.org/jira/secure/attachment/12867433/genko_oc_shiryo1.pdf - https://moji.or.jp/wp-content/ipafont/IPAfont/ipag00303.zip - https://moji.or.jp/wp-content/ipafont/IPAfont/ipagp00303.zip - https://issues.apache.org/jira/secure/attachment/12911053/n019003l.pfb - https://issues.apache.org/jira/secure/attachment/12949710/032163.jpg -> PDFBOX-4184-032163.jpg - https://issues.apache.org/jira/secure/attachment/13025718/lotus.jpg -> PDFBOX-5196-lotus.jpg - https://issues.apache.org/jira/secure/attachment/13002695/13._Korona_szallo_vegzes_13.09.26.eredeti.pdf -> PDFBOX-4831.pdf - )" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 ppc64" -IUSE="+tools" - -PROPERTIES="test_network" -RESTRICT="test" - -# Common dependencies -# POM: pom.xml -# commons-logging:commons-logging:1.2 -> >=dev-java/commons-logging-1.2:0 -# org.apache.pdfbox:fontbox:2.0.27 -> >=dev-java/fontbox-2.0.27:0 -# org.bouncycastle:bcmail-jdk15on:1.70 -> !!!artifactId-not-found!!! -# org.bouncycastle:bcprov-jdk15on:1.70 -> !!!artifactId-not-found!!! - -CP_DEPEND=" - dev-java/bcmail:0 - dev-java/bcprov:0 - dev-java/commons-logging:0 - ~dev-java/fontbox-${PV}:0 -" - -# Compile dependencies -# POM: pom.xml -# test? com.github.jai-imageio:jai-imageio-core:1.4.0 -> >=dev-java/jai-imageio-core-1.4.0:0 -# test? com.github.jai-imageio:jai-imageio-jpeg2000:1.4.0 -> >=dev-java/jai-imageio-jpeg2000-1.4.0:0 -# test? com.googlecode.java-diff-utils:diffutils:1.3.0 -> >=dev-java/java-diff-utils-1.3.0:0 -# test? junit:junit:4.13.2 -> >=dev-java/junit-4.13.2:4 -# test? org.apache.pdfbox:jbig2-imageio:3.0.4 -> !!!suitable-mavenVersion-not-found!!! -# test? org.mockito:mockito-core:4.8.0 -> >=dev-java/mockito-4.8.0:4 - -DEPEND="${CP_DEPEND} - >=virtual/jdk-1.8:* - test? ( - dev-java/jai-imageio-core:0 - dev-java/jai-imageio-jpeg2000:0 - dev-java/java-diff-utils:0 - dev-java/jbig2-imageio:0 - dev-java/mockito:4 - )" - -RDEPEND="${CP_DEPEND} - >=virtual/jre-1.8:*" - -BDEPEND="app-arch/unzip" - -DOCS=( README.md {NOTICE,RELEASE-NOTES}.txt ) - -S="${WORKDIR}/${P}" - -JAVA_GENTOO_CLASSPATH_EXTRA="pdfbox.jar:pdfbox-debugger.jar" -JAVA_TEST_GENTOO_CLASSPATH="jai-imageio-core,jai-imageio-jpeg2000,java-diff-utils,jbig2-imageio,junit-4,mockito-4" - -JAVA_TEST_EXCLUDES=( - # excluded upstream according to - # https://github.com/apache/pdfbox/blob/2.0.27/pdfbox/pom.xml#L123 - "org.apache.pdfbox.rendering.TestPDFToImage" - - # Causing test failures. Upstream does not run these tests. - "org.apache.pdfbox.cos.TestCOSBase" - "org.apache.pdfbox.cos.TestCOSNumber" -) - -src_compile() { - einfo "Compiling pdfbox" - JAVA_AUTOMATIC_MODULE_NAME="org.apache.pdfbox" - JAVA_JAR_FILENAME="pdfbox.jar" - JAVA_RESOURCE_DIRS="pdfbox/src/main/resources" - JAVA_SRC_DIR="pdfbox/src/main/java" - java-pkg-simple_src_compile - - if use tools; then - einfo "Compiling debugger" - JAVA_AUTOMATIC_MODULE_NAME="" - JAVA_JAR_FILENAME="pdfbox-debugger.jar" - JAVA_RESOURCE_DIRS="debugger/src/main/resources" - JAVA_SRC_DIR="debugger/src/main/java" - java-pkg-simple_src_compile - - einfo "Compiling pdfbox-tools" - JAVA_JAR_FILENAME="pdfbox-tools.jar" - JAVA_RESOURCE_DIRS="" - JAVA_SRC_DIR="tools/src/main/java" - java-pkg-simple_src_compile - fi - - if use doc; then - einfo "Compiling javadocs" - JAVA_SRC_DIR=( - "${S}/pdfbox/src/main/java" - "${S}/debugger/src/main/java" - ) - if use tools; then - JAVA_SRC_DIR+=( "${S}/tools/src/main/java" ) - fi - JAVA_JAR_FILENAME="ignoreme.jar" - java-pkg-simple_src_compile - fi -} - -src_test() { - # @Ignore 2 tests which otherwise would fail - # 'mvn test' skips them - sed \ - -e '/import org.junit.Test/a import org.junit.Ignore;' \ - -e '/testPDFBox3826()/i @Ignore' \ - -e '/testPDFBox5484()/i @Ignore' \ - -i pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/PDFontTest.java || die - - einfo "Testing pdfbox" - JAVA_TEST_SRC_DIR="pdfbox/src/test/java" - JAVA_TEST_RESOURCE_DIRS="pdfbox/src/test/resources" - - # tests failed with S="${WORKDIR}/${P}" - find pdfbox/src/test/ -type f -exec sed -i 's:src/test/resources:pdfbox/src/test/resources:' {} + || die - - mkdir --parents target/pdfs || die - cp \ - "${DISTDIR}"/PDFBOX-1031-1.pdf \ - "${DISTDIR}"/PDFBOX-1031-2.pdf \ - "${DISTDIR}"/PDFBOX-1065-1.pdf \ - "${DISTDIR}"/PDFBOX-1065-2.pdf \ - "${DISTDIR}"/PDFBOX-1100-1.pdf \ - "${DISTDIR}"/PDFBOX-1100-2.pdf \ - "${DISTDIR}"/PDFBOX-3656.pdf \ - "${DISTDIR}"/PDFBOX-3682.pdf \ - "${DISTDIR}"/PDFBOX-3940-079977.pdf \ - "${DISTDIR}"/PDFBOX-3785-202097.pdf \ - "${DISTDIR}"/PDFBOX-3947-670064.pdf \ - "${DISTDIR}"/PDFBOX-3948-EUWO6SQS5TM4VGOMRD3FLXZHU35V2CP2.pdf \ - "${DISTDIR}"/PDFBOX-3949-MKFYUGZWS3OPXLLVU2Z4LWCTVA5WNOGF.pdf \ - "${DISTDIR}"/PDFBOX-3950-23EGDHXSBBYQLKYOKGZUOVYVNE675PRD.pdf \ - "${DISTDIR}"/PDFBOX-3951-FIHUZWDDL2VGPOE34N6YHWSIGSH5LVGZ.pdf \ - "${DISTDIR}"/PDFBOX-3964-c687766d68ac766be3f02aaec5e0d713_2.pdf \ - "${DISTDIR}"/PDFBOX-3977-63NGFQRI44HQNPIPEJH5W2TBM6DJZWMI.pdf \ - "${DISTDIR}"/PDFBOX-3999-GeneralForbearance.pdf \ - "${DISTDIR}"/PDFBOX-4197.pdf \ - "${DISTDIR}"/PDFBOX-4308.pdf \ - "${DISTDIR}"/PDFBOX-4408.pdf \ - "${DISTDIR}"/PDFBOX-4418-000314.pdf \ - "${DISTDIR}"/PDFBOX-4418-000671.pdf \ - "${DISTDIR}"/PDFBOX-4423-000746.pdf \ - "${DISTDIR}"/PDFBOX-4517-cryptfilter.pdf \ - "${DISTDIR}"/PDFBOX-4750.pdf \ - "${DISTDIR}"/PDFBOX-4153-WXMDXCYRWFDCMOSFQJ5OAJIAFXYRZ5OA.pdf \ - "${DISTDIR}"/PDFBOX-4490.pdf \ - "${DISTDIR}"/PDFBOX-3208-L33MUTT2SVCWGCS6UIYL5TH3PNPXHIS6.pdf \ - "${DISTDIR}"/PDFBOX-3783-72GLBIGUC6LB46ELZFBARRJTLN4RBSQM.pdf \ - "${DISTDIR}"/PDFBOX-4338.pdf \ - "${DISTDIR}"/PDFBOX-4339.pdf \ - "${DISTDIR}"/genko_oc_shiryo1.pdf \ - "${DISTDIR}"/PDFBOX-4831.pdf \ - "target/pdfs" || die - - mkdir target/fonts || die - cp "${DISTDIR}"/n019003l.pfb "target/fonts" || die - unzip "${DISTDIR}"/ipag00303.zip -d "target/fonts" || die - unzip "${DISTDIR}"/ipagp00303.zip -d "target/fonts" || die - - mkdir target/imgs || die - cp \ - "${DISTDIR}"/PDFBOX-5196-lotus.jpg \ - "${DISTDIR}"/PDFBOX-4184-032163.jpg \ - "${DISTDIR}"/PDFBOX-4184-16bit.png \ - "target/imgs" || die - - java-pkg-simple_src_test - rm -r target/test-classes || die # avoid to run previous tests again - - if use tools; then - einfo "Testing pdfbox-tools" - find tools/src/test/ -type f -exec sed -i 's:src/test/resources:tools/src/test/resources:' {} + || die - JAVA_TEST_SRC_DIR="tools/src/test/java" - JAVA_TEST_RESOURCE_DIRS="tools/src/test/resources" - java-pkg-simple_src_test - fi -} - -src_install() { - default - - java-pkg_dojar "pdfbox.jar" - if use tools; then - java-pkg_dojar "pdfbox-debugger.jar" - java-pkg_dojar "pdfbox-tools.jar" - java-pkg_dolauncher ${PN} --main org.apache.pdfbox.tools.PDFBox - fi - - if use doc; then - java-pkg_dojavadoc target/api - fi - - if use source; then - java-pkg_dosrc \ - "${S}/pdfbox/src/main/java/*" \ - "${S}/debugger/src/main/java/*" \ - "${S}/tools/src/main/java/*" - fi -} diff --git a/dev-java/protobuf-java/Manifest b/dev-java/protobuf-java/Manifest index 948f382af75c..d6ae436a2d91 100644 --- a/dev-java/protobuf-java/Manifest +++ b/dev-java/protobuf-java/Manifest @@ -1,9 +1,7 @@ -DIST protobuf-27.2.tar.gz 6282174 BLAKE2B 86d12e9f87e8e1c2961ad517115c8689a8dd984722513816d8d626e59a76f5e7a698a90cbf6007daacf66c6053c9ff28108ff113579a442ce61cd221178bda44 SHA512 664c66b62cf1ed0c65d9b910d8e67d4d5d471113697f1b8edf1573cd5c0fc8e850ac53ce984e48e6c6b9cbbefa12f8530058384e7388e65a59c1e46d03772397 DIST protobuf-28.3.tar.gz 9256608 BLAKE2B 05162124676abe18300481e9f985fd2cfb09b052d06670a993e79ef02f3daf0d5380b521977ebc2362d4094486151ea285fe1c98a1d2f3799b18a1fa422fdc13 SHA512 a91e175fed7eb01c4240842a5af73a7d3cefccbb10885434bceeb7bc89ab6c56a74912cee290bf46e81d4026f3c9c2b10faad5545816064e215c4bae7908263d DIST protobuf-29.1.tar.gz 9363710 BLAKE2B 8d43358c17f14a807391f37796226b9cedef3ef27ef536a6cb50a7a336a80fe221777ba669f3cee7e6a33a4decfc64e3b091d658de73e24a708297e2a539322c SHA512 eb604b473e09a5a001bf451ccd417cdb8732ebd3c2075fa46f3d0e48b7ed4d458f05d2e09eedc71c0f4252ba18d3161837efb7a2eed46d78b9eb3cc9b45f96ff DIST protobuf-29.2.tar.gz 9348408 BLAKE2B 847798474bc6a76b9badfdbf605e118dece5e321e81242d7fa1bf5f5d17ee05a3d365ec112dc6d861cade97efff8be1d5d04006a5144f613bdb3ff5eacc63b99 SHA512 aeb21773edc3dd92a6c1ba6ccd721cc8a20d61230a5309c75ee3ef19baa554c228a6d1095f191ccc18f10183b646f3140dfe6526f5812bcaa64b7d5260572643 DIST truth-1.1.3.jar 243021 BLAKE2B a59149038c62ef5dd352b13d4b393e1b7715fbafe5ed86ec2d16d722c738a31dcdca10132fc73b17b367ac4309e5407ba2e489f8d4c8fbca60ce5f35ae75d1e3 SHA512 f29a9fb070aff8a32358a7b6c8998c0095de5d8d68afa7f7bac759c7050309deff929e767657ecbbefd96163460f10255ca01bc567ab30df4834b9d916a4fae8 -EBUILD protobuf-java-4.27.2.ebuild 5026 BLAKE2B f4774dbbca752dcd18aeeb07cf05013b8b26d8dbc70b3f3cbef4543475564ce7fb16582d443cd0c326fe94835e965d459d48416ea63e10518c20347e2b751a94 SHA512 c5a11192867bc6f485df0abee48f3c31921c3ee9fbe335bb5c3c462a6e7ab6c77de0bc06499b364dc939ed27724ca0d79a186f19643d593033815d7a11ce1b20 EBUILD protobuf-java-4.28.3.ebuild 4753 BLAKE2B 75888b86b796bba01583c86a21d5401daf8569750892ab844870ca1eeaa3c57e61850bfc92403937de948ec5e1b0be6967556cde14d83fd6447eddd1f0256cd0 SHA512 5e6b5a03122df4e0dd2e00c9fc4ca1e7045760577db50ec67e846bedaba5c58c3b191b1f8fc30d34a2ec59dc78183b9da483f36a166e87e2146c6874d6ea8429 EBUILD protobuf-java-4.29.1.ebuild 4654 BLAKE2B 48f61bbe92c3152e9e011702e6874e83c5e63064e39e091160efae289812eac55e80ce1cf97f2a916058e18229a0779ea5ebe8af2b4378ba471301d8c800737f SHA512 8d7b8bcb0ce808187b38322831f60d595ebf20e4d40cd6d5c1088d2224c536073ac13e18d0632ffad366cabd2d5161598f185d72b3905336e220537e1630e751 EBUILD protobuf-java-4.29.2.ebuild 4654 BLAKE2B d61a3cb0c0041b5d8cd1836d84a6e29f3e2c88e0853c241dae3b0410d11743370f0b280e6874a9250718c2cc92c4c8d05b108c5ddad44915ef261876ff6fbadf SHA512 13a19dc4ecb9399f6c989ece9597647634c90d7574e057b0ad940d356fca44e5d4f40f596777c01b1848694dca1a58af1ea9d3c2fba0216ae9fafe9ea15ef48f diff --git a/dev-java/protobuf-java/protobuf-java-4.27.2.ebuild b/dev-java/protobuf-java/protobuf-java-4.27.2.ebuild deleted file mode 100644 index 679d42cc7238..000000000000 --- a/dev-java/protobuf-java/protobuf-java-4.27.2.ebuild +++ /dev/null @@ -1,161 +0,0 @@ -# Copyright 2008-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.google.protobuf:protobuf-java:${PV}" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple cmake - -DESCRIPTION="Core Protocol Buffers library" -HOMEPAGE="https://protobuf.dev" -# Currently we bundle the binary version of truth.jar used only for tests, we don't install it. -# And we build artifact 4.27.2 from the 27.2 tarball in order to allow sharing the tarball with -# dev-libs/protobuf. -MY_PV4="${PV#4.}" -MY_PV="${MY_PV4/_rc/-rc}" -SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${MY_PV}.tar.gz -> protobuf-${MY_PV}.tar.gz - test? ( https://repo1.maven.org/maven2/com/google/truth/truth/1.1.3/truth-1.1.3.jar )" -S="${WORKDIR}/protobuf-${MY_PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="system-protoc" - -BDEPEND=" - system-protoc? ( ~dev-libs/protobuf-${MY_PV4}:0 ) - !system-protoc? ( >=dev-cpp/abseil-cpp-20230802.0 ) -" -DEPEND=" - >=virtual/jdk-1.8:* - test? ( - dev-java/guava:0 - dev-java/mockito:4 - ) -" -RDEPEND=">=virtual/jre-1.8:*" - -JAVA_AUTOMATIC_MODULE_NAME="com.google.protobuf" -JAVA_JAR_FILENAME="protobuf.jar" -JAVA_RESOURCE_DIRS="java/core/src/main/resources" -JAVA_SRC_DIR="java/core/src/main/java" - -JAVA_TEST_GENTOO_CLASSPATH="guava,junit-4,mockito-4" -JAVA_TEST_SRC_DIR="java/core/src/test/java" - -run-protoc() { - if use system-protoc; then - protoc $1 - else - "${BUILD_DIR}"/protoc $1 - fi -} - -src_prepare() { - # If the corrsponding version of system-protoc is not available we build protoc locally - if use system-protoc; then - default # apply patches - else - cmake_src_prepare - fi - java-pkg-2_src_prepare - - # https://github.com/protocolbuffers/protobuf/blob/v27.2/java/core/generate-sources-build.xml - einfo "Replace variables in generate-sources-build.xml" - sed \ - -e 's:${generated.sources.dir}:java/core/src/main/java:' \ - -e 's:${protobuf.java_source.dir}:java/core/src/main/resources:' \ - -e 's:${protobuf.source.dir}:src:' \ - -e 's:^.*value="::' -e 's:\"/>::' \ - -e '/project\|echo\|mkdir\|exec/d' \ - -i java/core/generate-sources-build.xml || die "sed to sources failed" - - # https://github.com/protocolbuffers/protobuf/blob/v27.2/java/core/generate-test-sources-build.xml - einfo "Replace variables in generate-test-sources-build.xml" - sed \ - -e 's:${generated.testsources.dir}:java/core/src/test/java:' \ - -e 's:${protobuf.source.dir}:src:' \ - -e 's:${test.proto.dir}:java/core/src/test/proto:' \ - -e 's:^.*value="::' -e 's:\"/>::' \ - -e '/project\|mkdir\|exec\|Also generate/d' \ - -i java/core/generate-test-sources-build.xml || die "sed to test sources failed" - - # Split the file in two parts, one for each run-protoc call - awk '/--java_out/{x="test-sources-build-"++i;}{print > x;}' \ - java/core/generate-test-sources-build.xml || die -} - -src_configure() { - local mycmakeargs=( - -Dprotobuf_BUILD_TESTS=OFF - -Dprotobuf_ABSL_PROVIDER=package - ) - if use system-protoc; then - : - else - cmake_src_configure - fi -} - -src_compile() { - if use system-protoc; then - : - else - cmake_src_compile - fi - - einfo "Run protoc to generate sources" - run-protoc \ - @java/core/generate-sources-build.xml \ - || die "protoc sources failed" - - java-pkg-simple_src_compile -} - -src_test() { - # https://github.com/protocolbuffers/protobuf/blob/v27.2/java/core/pom.xml#L63-L71 - jar cvf testdata.jar \ - -C src google/protobuf/testdata/golden_message_oneof_implemented \ - -C src google/protobuf/testdata/golden_packed_fields_message || die - - JAVA_GENTOO_CLASSPATH_EXTRA="${DISTDIR}/truth-1.1.3.jar:testdata.jar" - - # google/protobuf/java_features.proto: File not found. - cp {java/core/src/main/resources,src}/google/protobuf/java_features.proto || die - - einfo "Running protoc on first part of generate-test-sources-build.xml" - run-protoc @test-sources-build-1 \ - || die "run-protoc test-sources-build-1 failed" - - einfo "Running protoc on second part of generate-test-sources-build.xml" - run-protoc @test-sources-build-2 \ - || die "run-protoc test-sources-build-2 failed" - - # java/core/src/test/java/editions_unittest/TestDelimited.java:2867: - # error: package editions_unittest.MessageImport does not exist - rm java/core/src/test/java/com/google/protobuf/TextFormatTest.java || die - - einfo "Running tests" - # Invalid test class 'map_test.MapInitializationOrderTest': - # 1. Test class should have exactly one public constructor - # Invalid test class 'protobuf_unittest.CachedFieldSizeTest': - # 1. Test class should have exactly one public constructor - pushd "${JAVA_TEST_SRC_DIR}" || die - local JAVA_TEST_RUN_ONLY=$(find * \ - -path "**/*Test.java" \ - ! -path "**/Abstract*Test.java" \ - ! -name "MapInitializationOrderTest.java" \ - ! -path '*protobuf_unittest/CachedFieldSizeTest.java' - ) - popd - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//.java}" - JAVA_TEST_RUN_ONLY="${JAVA_TEST_RUN_ONLY//\//.}" - java-pkg-simple_src_test -} - -src_install() { - java-pkg-simple_src_install -} diff --git a/dev-java/xmpbox/Manifest b/dev-java/xmpbox/Manifest index 14f9a2d2573d..c76bd056e06f 100644 --- a/dev-java/xmpbox/Manifest +++ b/dev-java/xmpbox/Manifest @@ -1,6 +1,4 @@ -DIST pdfbox-2.0.27-src.zip 15770627 BLAKE2B 9f93d597141ff3da39b69da3ce989a0cc7f4020071e5cb1609a8b86d0f12a3219037cb4c7b276acf58ee6b07d842b6d7c76e14fdf79e9efdeac401048e345f89 SHA512 59a5675f5d1d34f092adc019679f7d10e7e93c0f554a002ac29d48cbffcaa600d930309fa94a92191c01ead8da905cbb37ce5e233dcc9b8732a881d4abf75def DIST pdfbox-2.0.32-src.zip 17094201 BLAKE2B a48677819bab371d82a956affa8a9b55a8dca2627bb301b56facb4408229639162550c67eccc843b903e28a3f6258db4b0c096c2b40c134c1f0bf6085ff122d0 SHA512 bdad289bda79e78774dd4dedb8b0531f20382038e96232eb6c55508e2187ca3d7512072e87cd293fe6d1b9967d7e6a44f39b09a3af59872bf2f307275a65f546 DIST pdfbox-2.0.32-src.zip.asc 195 BLAKE2B a3c1f8078ded155bfecca3c15ec8c9ae648ab6dbfa9c023715eabdf72f092920b0c0ddedaafed3fc6a186f05c9880fbaa703eb088b704964ac4bb8bd5dd386e8 SHA512 b6aff86c09f75234c57ae079eff71e098377e27a1b0d55911b2cd466ff74c5d529c9cd45ba20653adae3a9b5f9ecfc3e9d6df0647bae59a7b651f128ef3b39e5 -EBUILD xmpbox-2.0.27.ebuild 1613 BLAKE2B df307b857da11e25ed5498ee8fb170cd3cd3052dd91cf2240e19d9a04d6450e3fb4f80751c5645b210168922061d0e14e8b824fe5202d1cf6a9a9168ec1def79 SHA512 dc9531d8cf755f818eee522c449f2ab56abe4dc83fc7e84ce6efb3e72ae37e06e9b829e108ae71d0271df12f14c024e9959f4bd4f956c35bcf5de7ab49e3f062 EBUILD xmpbox-2.0.32.ebuild 1547 BLAKE2B fbfc4236bb996efb9ecf2e3b3e016bd1e5e7ffcdeef1bf1103a4d4d08fb09944a48a8e442cde36cf13bd4544ceab8dd5f360ec613191a32b18bbc60a04065e28 SHA512 8c4ac7dc0335f843c6884b986892c930209eceb7290c56ae838176d36d757bd0def9d332235b28be99c0a9603e23fb67fa46f338259a4691b8adbbfc9af8503a MISC metadata.xml 597 BLAKE2B af69fd45c044a79514701234978475dbd127d305667a831a88ef2ba2fc2e8fe903c77ddfa7e179466e004467da1002cc56f310628c1e69adbcfa40fbe485110b SHA512 baf1c43dc731ac2cc2f5a6e099b4334f06d352d1324e78b1cea4b3d839c55ca36cf368b6cf4f6b5bb41fb0be9c35e1c41546ff93141e7316d84ff9f94074efa9 diff --git a/dev-java/xmpbox/xmpbox-2.0.27.ebuild b/dev-java/xmpbox/xmpbox-2.0.27.ebuild deleted file mode 100644 index d7d33f1ac5e1..000000000000 --- a/dev-java/xmpbox/xmpbox-2.0.27.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Skeleton command: -# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri mirror://apache/pdfbox/2.0.27/pdfbox-2.0.27-src.zip --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild xmpbox-2.0.27.ebuild - -EAPI=8 - -JAVA_PKG_IUSE="doc source test" -MAVEN_ID="org.apache.pdfbox:xmpbox:2.0.27" -JAVA_TESTING_FRAMEWORKS="junit-4" - -inherit java-pkg-2 java-pkg-simple - -DESCRIPTION="An open source Java tool that implements Adobe's XMP(TM) specification" -HOMEPAGE="https://pdfbox.apache.org" -SRC_URI="mirror://apache/pdfbox/${PV}/pdfbox-${PV}-src.zip" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm64 ppc64" - -# Common dependencies -# POM: pom.xml -# commons-logging:commons-logging:1.2 -> >=dev-java/commons-logging-1.2:0 - -CP_DEPEND="dev-java/jaxb-api:2" - -# Compile dependencies -# POM: pom.xml -# javax.xml.bind:jaxb-api:2.3.1 -> !!!groupId-not-found!!! -# POM: pom.xml -# test? junit:junit:4.13.2 -> >=dev-java/junit-4.13.2:4 - -DEPEND="${CP_DEPEND} - >=virtual/jdk-1.8:*" - -RDEPEND="${CP_DEPEND} - >=virtual/jre-1.8:*" - -BDEPEND="app-arch/unzip" - -S="${WORKDIR}/pdfbox-${PV}/${PN}" - -JAVA_SRC_DIR="src/main/java" - -JAVA_TEST_GENTOO_CLASSPATH="junit-4" -JAVA_TEST_SRC_DIR="src/test/java" -JAVA_TEST_RESOURCE_DIRS="src/test/resources" - -JAVA_TEST_EXCLUDES=( - # 1) initializationError(org.apache.xmpbox.parser.PropMappingTest) - # org.junit.runners.model.InvalidTestClassError: Invalid test class 'org.apache.xmpbox.parser.PropMappingTest': - # 1. No runnable methods - org.apache.xmpbox.parser.PropMappingTest -) |