summaryrefslogtreecommitdiff
path: root/dev-java
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/Manifest.gzbin55362 -> 55378 bytes
-rw-r--r--dev-java/fontbox/Manifest6
-rw-r--r--dev-java/fontbox/fontbox-2.0.32.ebuild83
-rw-r--r--dev-java/jansi/Manifest2
-rw-r--r--dev-java/jansi/jansi-1.18.ebuild40
-rw-r--r--dev-java/jbig2-imageio/Manifest3
-rw-r--r--dev-java/jbig2-imageio/jbig2-imageio-3.0.4.ebuild43
-rw-r--r--dev-java/pdfbox/Manifest4
-rw-r--r--dev-java/pdfbox/pdfbox-2.0.32.ebuild267
-rw-r--r--dev-java/xmpbox/Manifest3
-rw-r--r--dev-java/xmpbox/xmpbox-2.0.32.ebuild57
11 files changed, 508 insertions, 0 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz
index e29d07d49300..6966c84ac1dc 100644
--- a/dev-java/Manifest.gz
+++ b/dev-java/Manifest.gz
Binary files differ
diff --git a/dev-java/fontbox/Manifest b/dev-java/fontbox/Manifest
index d9512415a9ec..d039b4de1efe 100644
--- a/dev-java/fontbox/Manifest
+++ b/dev-java/fontbox/Manifest
@@ -1,8 +1,14 @@
DIST DejaVuSansMono.ttf 317336 BLAKE2B c80f50cea451963a75c66160596b67655afb19c9ea0d61b8a5cd38b81c66bdd89a24872d293fa8752b1ce0bb828d63caf91e682c283312d5828218943c63c095 SHA512 1af1ce3e6d34a0b89c93072d8646e92cceb45b276389d2dd0d84457ec1193394d2bcc49bf3ce99c9c6b2658cd1337fc40ee5c61957f74cd45dbc3d51b6aef417
+DIST DejaVuSerifCondensed.pfb 1062649 BLAKE2B 05159cb62eb4c3335b806d5b11653429bf84c6d14ed8e62bf2d8dcbc0b7a9818b1aad05e02f174a16c0163efe1cd433c26cde727d9245abe7eb47fd61d9960b3 SHA512 6ef13c3497862dc8e4c2a4261bc3a7ef3e2dd75e00ae2af4912b236b387225541db76c72854fbb2323d1064311ffdda9e64ed7065afc3a7d13f5b71b7df2f2ef
DIST NotoEmoji-Regular.ttf 418804 BLAKE2B e94f7b1d5bced052ff3f15a32ecce8f0f1dc2ef19565d3bcaa75b82676fbf0efeaa6efa1d25edf352b577acce17a45c6f0e7be1550c46a8c2ab6cef208cd6f11 SHA512 51b01ab0794be9f92c59679f6d56d4ce09ed959daeb9ec945bb837eb15a82ab302e83b29aab1972ac9cb648f7196a5f5ff4488a4622b36bedbc9cd0cab6dc3de
+DIST NotoMono-Regular.ttf 107848 BLAKE2B 2f0fdfbda5eec2c6cd1a2fd9812a2459c9af09c9d0e77c85504911d50a27433b769c766df3c2c7533c6c83b9c8a928c13aa1994823aa043ace68c37c0d897b00 SHA512 a5f3a12a02d096337cefd82a352a9d4f43555283873211c4ed0ac63eb1e722514dbd97dc959208e38643784b007ef27a96280f57ef01355fdbd8884b84d13d4c
DIST NotoSansSC-Regular.otf 8481960 BLAKE2B 3eee2c1e6be5e013d2ed679ccb361221e3e410150c7dc32d570382355e80e540c71be9009ece9951eea2379fb08fc05d8bcd65e941677660c55b450d660e8b03 SHA512 cbdd317d16099d24736457eef631353c7830a1a3c132b01f2cdc1e6a0c21a78e3b1fe8479b3f40179e7630a15cc23a093775bb22d521dba39376bb367d497b21
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 2536 BLAKE2B dee18904b70809e95dfa929753233080e3ad7b5a9321114d2e1f6506e7d705b0f099eba33df44697a74fb5782189c45bd680d2818b1a13d88d1ff8f0bd8e9797 SHA512 71afad2133b73b641e0593f2aaf984eebc697115efa0096d237eda3401a26b0aa87a41c34fda62ac878aafcf0627501661551adb68d817f2df55e0c3d221103b
MISC metadata.xml 571 BLAKE2B 1ffa3f19fb3e5035c5a73503ce6abbeb02de7ea42fb74e21eecb30aa3827085802644b797f197f35d9001d86ec969b0cc6cbdaa634ab0d003fa65bd03c3d09ab SHA512 e1b958bb3eff6c3428581dd3851b8857048e81df192b87ad91fc61d3074a4ebf88dfecf6310ac96a3da6ba6b96d476ef1e258781e36b8f0c5cbf3110d5608f8e
diff --git a/dev-java/fontbox/fontbox-2.0.32.ebuild b/dev-java/fontbox/fontbox-2.0.32.ebuild
new file mode 100644
index 000000000000..8b6a4b0fe28d
--- /dev/null
+++ b/dev-java/fontbox/fontbox-2.0.32.ebuild
@@ -0,0 +1,83 @@
+# 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.pdfbox:fontbox:${PV}"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple verify-sig
+
+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/12809395/DejaVuSansMono.ttf
+ https://issues.apache.org/jira/secure/attachment/12896461/NotoEmoji-Regular.ttf
+ https://issues.apache.org/jira/secure/attachment/13036376/NotoSansSC-Regular.otf
+ https://issues.apache.org/jira/secure/attachment/13064282/DejaVuSerifCondensed.pfb
+ https://issues.apache.org/jira/secure/attachment/13065025/NotoMono-Regular.ttf
+ https://mirrors.ctan.org/fonts/opensans/type1/OpenSans-Regular.pfb
+ https://moji.or.jp/wp-content/ipafont/IPAfont/ipag00303.zip
+ )
+ verify-sig? ( https://downloads.apache.org/pdfbox/${PV}/pdfbox-${PV}-src.zip.asc )"
+S="${WORKDIR}/pdfbox-${PV}/${PN}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/pdfbox.apache.org.asc"
+BDEPEND="
+ app-arch/unzip
+ verify-sig? ( sec-keys/openpgp-keys-apache-pdfbox )
+"
+CP_DEPEND="dev-java/commons-logging:0"
+DEPEND="
+ ${CP_DEPEND}
+ >=virtual/jdk-1.8:*
+"
+RDEPEND="
+ ${CP_DEPEND}
+ >=virtual/jre-1.8:*
+"
+
+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_unpack() {
+ if use verify-sig; then
+ verify-sig_verify_detached \
+ "${DISTDIR}/pdfbox-${PV}-src.zip" \
+ "${DISTDIR}/pdfbox-${PV}-src.zip.asc"
+ fi
+ default
+}
+
+src_test() {
+ mkdir --parents target/{pdfs,fonts} || die
+ cp \
+ "${DISTDIR}"/SourceSansProBold.otf \
+ "${DISTDIR}"/NotoEmoji-Regular.ttf \
+ "${DISTDIR}"/NotoSansSC-Regular.otf \
+ "target/pdfs" || die
+ cp \
+ "${DISTDIR}"/DejaVuSansMono.ttf \
+ "${DISTDIR}"/OpenSans-Regular.pfb \
+ "${DISTDIR}"/NotoEmoji-Regular.ttf \
+ "${DISTDIR}"/NotoMono-Regular.ttf \
+ "${DISTDIR}"/DejaVuSerifCondensed.pfb \
+ "${DISTDIR}"/NotoSansSC-Regular.otf \
+ "${DISTDIR}"/SourceSansProBold.otf \
+ "target/fonts" || die
+ unzip "${DISTDIR}"/ipag00303.zip -d "target/fonts" || die
+
+ java-pkg-simple_src_test
+}
diff --git a/dev-java/jansi/Manifest b/dev-java/jansi/Manifest
index cfb70f82ca4b..df4d0f1b0792 100644
--- a/dev-java/jansi/Manifest
+++ b/dev-java/jansi/Manifest
@@ -1,9 +1,11 @@
DIST jansi-1.13.tar.gz 253219 BLAKE2B 89fc81710bc0860c717241c97fe2e7a148ccbaa5fb1e7db30b978aa69cddccbc9ea45a0e30ef384c42a741d707f5eab73ce8b2a76e1095c66a2c95f9088f28f0 SHA512 9c4bb0b7435c102068718e039900828994f1ba60ed44307eb726eb91a2884bc406688c2747635b9353f3bd68a6bf0e7c082a4069343b59efffc900f59c563fde
+DIST jansi-1.18.tar.gz 273545 BLAKE2B 9bb18ac181551008316ecf2735a4e573a64e9869d1d5f2f79dc25072c40c088798d0388fe0c65f860617f1afcaf97af1be6c2539a6e19541e4ed40863aaed52c SHA512 d34f271853250d4b23987c0b4d2eeadd9fdb1211b2f5187258bb43e2741d8263312ee04c9a39812550eb658853668a5e941ff3978682cea47c059c6ba85d3e9d
DIST jansi-2.4.0.tar.gz 225579 BLAKE2B f07dfde9b789d62ec31999632e35609143289c5ab0972ce7cb931dea72ba41e6f2b9b74f7b3d82050e9ed4abd89386040d5268c408d787d3edd49fcdf0cce965 SHA512 4172b264463b847d6008dfad5c80246b029c7add2fd659f4b1c636891a86860f8f5ddd0ce0a5150065faeae72b19682339dda2d019c82f45d8f1be7a547e4558
DIST jansi-2.4.1-jni.h 74987 BLAKE2B 23ecaf1e83f043492d774420bb20b4a890fd37bc7469fe8710dcddc72ddbded4aaa7f17589f7b886f26bf9a95cac50c3afd6480fee25d6cf1b01660f98a55f3f SHA512 2c9be8438b8c93f3d00abb8cd3f4b14e57fbaa8de562c12b982db5d32c250a436210e4d44aba22585b489dcb47ea1504cd1a7695a6d1fc60808ecd2140f400b2
DIST jansi-2.4.1-jni_md.h 2002 BLAKE2B 2112e87963902727e1755b6fa3bc4301b5181787a6f4003674db095896b78f9f745cabe3278b1df06b5cde13dffaf77938668f389f388e410b97cadd42851d75 SHA512 c3c7dffd9518accbcbab60c904af7acadb999048881c571acada162fd39f18de9aa024b09abe10a2138c1398b281890e4473fbaef6e27541e50370119eed5dff
DIST jansi-2.4.1.tar.gz 243911 BLAKE2B 56955f71e37a2e2bbc59d0d859c9d04918737da02ea3121ab7747b763c2e5ef8fd0422f0be2bb51de64eaff526d73a6d78a74a3725ed7b1e93a12cf401892f97 SHA512 ca0de5a8e2098c4d2d72fff4e345d0426ac306ed6b9778ab1fc1a6a23c251a01c86da1089c663739aecea039b6bcfda785018c99046fec42112fa70d53b63ab6
EBUILD jansi-1.13.ebuild 937 BLAKE2B d0cc11151b0824956f59d5e5bb8c4de3c5fdc64ec93bddd5a34f3b1d07bca87449c6b6b3cff13c08fe05571c0aa9ece8a7ef363fad727ed1dbc8ed1d47479b92 SHA512 ecdf7ef0238242a26317d0a5df1f40a77dc2d27b53479cf25de9c1e9daeb0549feedd0603299c37a51ffbee75f1c7d5221f93022db309d0cdc2a824a3585789e
+EBUILD jansi-1.18.ebuild 914 BLAKE2B e3cae8514ee487f0b2ef8ad1730d887f066c3f64a6ee1df7832d3767c81517554875294da2878f71b405355e17b59c9ef79b47e838e72de51f31cf8e1d564420 SHA512 16b8bfeb3364bdb9a344eef33b818a32d55638b8bb204bc7cf5c99d312b8eedd9553c5ff297176996fef2eddf82e473082f23a2f67b9be8eff033a899208a7ee
EBUILD jansi-2.4.0-r1.ebuild 2334 BLAKE2B 1555b552c196764a3c4b616a14932a3039ec407f0b1f8ae60ee352f30d74d28b170e9e854938fde73ae05774850993ef54bbf057af7dde562831af908bb7215f SHA512 be21859229b421df230870582a4d860b506aabdd6eda35c89d2ebd70eef634a92da4e710ace50ea205dbef3947a869fbbacb64083bc8b8e54cdb0798bdb5f7a6
EBUILD jansi-2.4.1.ebuild 1986 BLAKE2B 317d12768c0ef92bd2d242f835a1217164a610a73682aadc768ccc61f20740a34932ccba9c10e97a72ab4d20aa65f30192f16ad5275608e4506a7df6a7d2a7cc SHA512 b2f09ced931a6d2f1a7095ea01b8606bd0e677bc12c9ebf9e6d2c0fdfd488f4521fe13563bae647a24b490a22a83b9bd5b812d8cbef320f6841d458d4a6512cf
MISC metadata.xml 492 BLAKE2B 6620d0d7d7c5cc16b029617d431785e423a84ce8d23e06cc7a7a88c876d62223113be6c867d46b3a8537e3376174d00e2e3db19b3a178354140066a37da9956a SHA512 a460cd0627fa5d6ea41178f6268454f3841e67bbabaa7426d9d0e96caf941881694acd88e6c9a038ad5eafd46c78f7b0a29a3308e13be676f26d73e9fd9af79c
diff --git a/dev-java/jansi/jansi-1.18.ebuild b/dev-java/jansi/jansi-1.18.ebuild
new file mode 100644
index 000000000000..3e21675510af
--- /dev/null
+++ b/dev-java/jansi/jansi-1.18.ebuild
@@ -0,0 +1,40 @@
+# 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.fusesource.jansi:jansi:1.18"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A library that allows you to use ANSI escape sequences in your console output"
+HOMEPAGE="https://fusesource.github.io/jansi/"
+SRC_URI="https://github.com/fusesource/${PN}/archive/${PN}-project-${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/jansi-jansi-project-${PV}/jansi"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+
+CP_DEPEND="
+ dev-java/hawtjni-runtime:0
+ dev-java/jansi-native:0
+"
+
+DEPEND="
+ ${CP_DEPEND}
+ >=virtual/jdk-1.8:*
+"
+
+RDEPEND="
+ ${CP_DEPEND}
+ >=virtual/jre-1.8:*
+"
+
+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"
diff --git a/dev-java/jbig2-imageio/Manifest b/dev-java/jbig2-imageio/Manifest
index 520f0c3addc5..440f32d77898 100644
--- a/dev-java/jbig2-imageio/Manifest
+++ b/dev-java/jbig2-imageio/Manifest
@@ -1,3 +1,6 @@
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 1309 BLAKE2B 6b1b347639575ff37f942e2cfdcba8028412e13f1320a74037435afc673756363c86c86fa8fa26134ad9a59c1cac28aa152b9e644f4005d9dd8f8f918119ede6 SHA512 6cd044671bcd63565d9fe079f7bd58d845bb1bfd094372c5d7cebfc5baff5fffc780f4e8d5117be4c86dd95f83134ea4037709c9564c064b06e8c36a14d8087b
MISC metadata.xml 498 BLAKE2B 8e21370981fdf284e4f73713f774238e44f5fe80c3e703435f08892f6d695dcc30fa68e0c2251095a125a7046ac57d437b54f9283baf5affe9595ddbdcae9ae5 SHA512 c46df10aade5c4a3f09e5a0aac99d93a1b9b52c85b3efb6579fc3b4344856f2c6c1634113b6b5a7b03b316c417f458ead74441e0a84ecb58a84b28ae4d00b081
diff --git a/dev-java/jbig2-imageio/jbig2-imageio-3.0.4.ebuild b/dev-java/jbig2-imageio/jbig2-imageio-3.0.4.ebuild
new file mode 100644
index 000000000000..3ee84526614a
--- /dev/null
+++ b/dev-java/jbig2-imageio/jbig2-imageio-3.0.4.ebuild
@@ -0,0 +1,43 @@
+# 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.pdfbox:jbig2-imageio:${PV}"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple verify-sig
+
+DESCRIPTION="PDFBox JBIG2 ImageIO plugin"
+HOMEPAGE="https://pdfbox.apache.org"
+SRC_URI="https://downloads.apache.org/pdfbox/${PN}/${PV}/${P}-src.zip
+ verify-sig? ( https://downloads.apache.org/pdfbox/${PN}/${PV}/${P}-src.zip.asc )"
+S="${WORKDIR}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/pdfbox.apache.org.asc"
+BDEPEND="
+ app-arch/unzip
+ verify-sig? ( sec-keys/openpgp-keys-apache-pdfbox )
+"
+DEPEND=">=virtual/jdk-1.8:*"
+RDEPEND=">=virtual/jre-1.8:*"
+
+JAVA_AUTOMATIC_MODULE_NAME="org.apache.pdfbox.jbig2"
+JAVA_RESOURCE_DIRS="${P}/src/main/resources"
+JAVA_SRC_DIR="${P}/src/main/java"
+
+JAVA_TEST_GENTOO_CLASSPATH="junit-4"
+JAVA_TEST_RESOURCE_DIRS="${P}/src/test/resources"
+JAVA_TEST_SRC_DIR="${P}/src/test/java"
+
+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 f9fb5331d0a4..e6475045ffde 100644
--- a/dev-java/pdfbox/Manifest
+++ b/dev-java/pdfbox/Manifest
@@ -34,10 +34,14 @@ DIST PDFBOX-4517-cryptfilter.pdf 2157 BLAKE2B 69fea4396c05d977dcb7bc5c29143ad3a6
DIST PDFBOX-4750.pdf 333223 BLAKE2B 86e9191142b725a338c750d2f1cd25e3b65957160638e64ecdedc1a26f343709765b99fc15381e6a5045a60aa3d59cf6ff427599b89c03a6aface38e356a36da SHA512 add66ca86b5eb3bfd44fd8c273a81695586d76f6e630b714d4b8db6db5aee5b80e7a6d47b9863a42506773c2c0ee2181469d5cd717dba185b70ef5db7ffb80b9
DIST PDFBOX-4831.pdf 708821 BLAKE2B b4b31a0c5685222b7dc4e9c3e1fbe5c72c6ee3b7ea4ac74727c10e04cc10a8c96ae82c7163d82a3003d69105d5990cefbb481d3c42be3bc69ca0a9c15db4d8b2 SHA512 cb13ce2ca64fa446b9d840444f6d363f0d826a55e4dae1c2de094aaee4dd92df192ec375ff6ca0ee50c5cdd52b634b9b838431d7aa6b852de02504c3fd95531a
DIST PDFBOX-5196-lotus.jpg 48292 BLAKE2B 9f9a02acb481349acc65266ab6529d40e9493fa0c6f5181aa46757ca2a3d29d519e7de2ea95c8288cd3f25f362a3fe7695e81fe0b653984ee267d2b5cc112e51 SHA512 37c73b41d1e00d66717c3715e6c45724c3f163d3d5b045c67e90c3713746d39eef96b4f0e6f368d0679d4c73d02ca01cfe5141d8a526e46ea15a4579ea1e75a2
+DIST PDFBOX-5639.pdf 20926 BLAKE2B 82f5fb23f8fa74c6e9e3cbcf8cf3bd59c3e982206ddda7b64f476679102b2c93f54a7d9a58abc9412daa219030bd20232c21caa2cd0320994bd5863ce34aeef4 SHA512 6904a5f8fe12599a4ca49914158024ebd3533cb2e1ef02127d9d99291c20e68c449cd40ba00f2a8d1295b083fcffd44b30ed1ce5a16bfcd0bb37a25f8581c67d
DIST genko_oc_shiryo1.pdf 124896 BLAKE2B c3a9921afb052ee4fe5080a1f1e66d991e3041ff90bd26d42bf3a9116f05e81fb5bb51449411527c3c3193072854482cf4616bf57cad1ac7d774044fce26f13d SHA512 71888e06a0323ac6196c5942c5961f76f8a4d8c6913114aaa9e215f43112cfa5f1b741b7c801e794dc44e62c2d34bfaafe89267a4c7de753e4da1481b35820f3
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 10807 BLAKE2B a36e1ada48b3adbcf9b2aad2743ed8864da232be559db1d80bf9f7271888e4904a36d8c73ef82a6ba05168e93abaeaf2e67021e3bc670f82acb2abed573e657f SHA512 af9fc424d38a3c83f4950be2bc776bc2a90dfa28b7c5cead06608abdf13ecc9d8b977be2a7565a2a9bfbaf6952e98434cd916b84a8bce0ac47708fd93169e7a2
MISC metadata.xml 782 BLAKE2B 96e76863aeaf1791f4a7a44aeb49df8b5a9bf91ac0d8d69e5642128df590456a2d38c64c84e8b50c917d3361bbaeb880a1b7744b994db9eee5ca8d250d765d6a SHA512 d7d47cc9eb182780424161f2a136cdec74bbe0cf4d63f52bfc77df8ad4fadc2bb9f3bd7b1ccff667d25928b4e0bc4a979b725ce77f1dff244585713ca40f88cc
diff --git a/dev-java/pdfbox/pdfbox-2.0.32.ebuild b/dev-java/pdfbox/pdfbox-2.0.32.ebuild
new file mode 100644
index 000000000000..66cb7ba6b760
--- /dev/null
+++ b/dev-java/pdfbox/pdfbox-2.0.32.ebuild
@@ -0,0 +1,267 @@
+# 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.pdfbox:pdfbox:${PV}"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple verify-sig
+
+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
+ https://issues.apache.org/jira/secure/attachment/13061409/incorrect_password.pdf -> PDFBOX-5639.pdf
+ )
+ verify-sig? ( https://downloads.apache.org/pdfbox/${PV}/pdfbox-${PV}-src.zip.asc )"
+S="${WORKDIR}/${P}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+IUSE="+tools"
+
+PROPERTIES="test_network"
+RESTRICT="test"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/pdfbox.apache.org.asc"
+BDEPEND="
+ app-arch/unzip
+ verify-sig? ( sec-keys/openpgp-keys-apache-pdfbox )
+"
+CP_DEPEND="
+ dev-java/bcmail:0
+ dev-java/bcpkix:0
+ dev-java/bcprov:0
+ dev-java/bcutil:0
+ dev-java/commons-logging:0
+ ~dev-java/fontbox-${PV}:0
+"
+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:*
+"
+
+DOCS=( README.md {NOTICE,RELEASE-NOTES}.txt )
+
+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_unpack() {
+ if use verify-sig; then
+ verify-sig_verify_detached \
+ "${DISTDIR}/pdfbox-${PV}-src.zip" \
+ "${DISTDIR}/pdfbox-${PV}-src.zip.asc"
+ fi
+ default
+}
+
+src_prepare() {
+ java-pkg-2_src_prepare
+ sed -i "s/\${project.version}/${PV}/g" \
+ "pdfbox/src/main/resources/org/apache/pdfbox/resources/version.properties" || die
+}
+
+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
+ rm -r target || die
+
+ if use tools; then
+ einfo "Compiling debugger"
+ JAVA_AUTOMATIC_MODULE_NAME="org.apache.pdfbox.debugger"
+ 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
+ rm -r target || die
+
+ einfo "Compiling pdfbox-tools"
+ JAVA_AUTOMATIC_MODULE_NAME="org.apache.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 \
+ "${DISTDIR}"/PDFBOX-5639.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/xmpbox/Manifest b/dev-java/xmpbox/Manifest
index 3633b3cdf49d..3fcf3a50c5e0 100644
--- a/dev-java/xmpbox/Manifest
+++ b/dev-java/xmpbox/Manifest
@@ -1,3 +1,6 @@
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 1550 BLAKE2B 28d26b135218bed14c3efa65e45e075b21983e91b1a80b12b31640aadc7cac40f7b22b65a97eb00eb09018fcb4721c325a05b47334d930029ee6c3d91ef8e430 SHA512 ecf36d9f98158f6f5a3c700ef5cb7fbd770ca1cb86437c3168da13f84962060a6e48dd24f0cd5f1ab443ceecfb8f1f1c0a75c5c00eb8af8880296baf4b112291
MISC metadata.xml 597 BLAKE2B af69fd45c044a79514701234978475dbd127d305667a831a88ef2ba2fc2e8fe903c77ddfa7e179466e004467da1002cc56f310628c1e69adbcfa40fbe485110b SHA512 baf1c43dc731ac2cc2f5a6e099b4334f06d352d1324e78b1cea4b3d839c55ca36cf368b6cf4f6b5bb41fb0be9c35e1c41546ff93141e7316d84ff9f94074efa9
diff --git a/dev-java/xmpbox/xmpbox-2.0.32.ebuild b/dev-java/xmpbox/xmpbox-2.0.32.ebuild
new file mode 100644
index 000000000000..73859c11dc91
--- /dev/null
+++ b/dev-java/xmpbox/xmpbox-2.0.32.ebuild
@@ -0,0 +1,57 @@
+# 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.pdfbox:xmpbox:${PV}"
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple verify-sig
+
+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
+ verify-sig? ( https://downloads.apache.org/pdfbox/${PV}/pdfbox-${PV}-src.zip.asc )"
+S="${WORKDIR}/pdfbox-${PV}/${PN}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/pdfbox.apache.org.asc"
+BDEPEND="
+ app-arch/unzip
+ verify-sig? ( sec-keys/openpgp-keys-apache-pdfbox )
+"
+CP_DEPEND="dev-java/jaxb-api:2"
+DEPEND="
+ ${CP_DEPEND}
+ >=virtual/jdk-1.8:*
+"
+RDEPEND="
+ ${CP_DEPEND}
+ >=virtual/jre-1.8:*
+"
+
+JAVA_AUTOMATIC_MODULE_NAME="org.apache.xmpbox"
+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_unpack() {
+ if use verify-sig; then
+ verify-sig_verify_detached \
+ "${DISTDIR}/pdfbox-${PV}-src.zip" \
+ "${DISTDIR}/pdfbox-${PV}-src.zip.asc"
+ fi
+ default
+}
+
+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
+)