diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-28 02:11:45 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-28 02:11:45 +0000 |
commit | af929819f9adfd95dd0e667ce1fc598c65d63a4c (patch) | |
tree | c715eb1a652fbd07711bcb47e94c7d4168cd09e5 /dev-java | |
parent | e44b9cf3e5b67eaf723e4a335faf39c87167abd3 (diff) |
gentoo auto-resync : 28:12:2022 - 02:11:45
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/Manifest.gz | bin | 56483 -> 56490 bytes | |||
-rw-r--r-- | dev-java/commons-daemon/Manifest | 5 | ||||
-rw-r--r-- | dev-java/commons-daemon/commons-daemon-1.3.3.ebuild | 56 | ||||
-rw-r--r-- | dev-java/commons-daemon/metadata.xml | 4 | ||||
-rw-r--r-- | dev-java/fontbox/Manifest | 2 | ||||
-rw-r--r-- | dev-java/fontbox/fontbox-2.0.27.ebuild | 63 | ||||
-rw-r--r-- | dev-java/pdfbox/Manifest | 2 | ||||
-rw-r--r-- | dev-java/pdfbox/pdfbox-2.0.27.ebuild | 259 | ||||
-rw-r--r-- | dev-java/xmpbox/Manifest | 2 | ||||
-rw-r--r-- | dev-java/xmpbox/xmpbox-2.0.27.ebuild | 56 |
10 files changed, 448 insertions, 1 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz Binary files differindex ca1cfee5ac51..c149cfb5156c 100644 --- a/dev-java/Manifest.gz +++ b/dev-java/Manifest.gz diff --git a/dev-java/commons-daemon/Manifest b/dev-java/commons-daemon/Manifest index dbe031efc216..2d33eadd7c55 100644 --- a/dev-java/commons-daemon/Manifest +++ b/dev-java/commons-daemon/Manifest @@ -1,4 +1,7 @@ AUX commons-daemon-1.3.1-Make.patch 508 BLAKE2B a7645b93b44f15b4ebb9a0864a3c467999bcb0becf006f2806f897a26435140017384fb8cf14151e3a7b969c9397c4047f47e2a35f53904a9a013d5f085ab04c SHA512 f01c485a0832aef27b1fa6b681c7f66096a0206d6e75e702e32bd6131eb1ea4d85fb363d12eb6d29c386d2af773ca0ff17f14ea7a6ebc8469e641b0760e9a82f DIST commons-daemon-1.3.1-src.tar.gz 287642 BLAKE2B 02e85a5534af7f804a0374789506ee25ee8313987c68153974aa938b983745ae44d579f17deb362764d1a03b04bc552115bd69ef28b4f7d3bbb06f3bb4199814 SHA512 b810ac152f8296d980a4fb3786eff9d147b234dc2377df5fe1bded0824c694c9e82a7ef50b0a63c3e6432dfc4684a3aa2ce8d583aacb740bd4664c3dfb8b8f16 +DIST commons-daemon-1.3.3-src.tar.gz 290415 BLAKE2B c9c175ba52cef25ce6d1b56c7466aa5e775ed1ac3ca7c710c3519574c35e8a66ff5846313de8da594511ad411e802b7e0b647cbfd66a50abaaa0d39574a4e103 SHA512 ec246e2c05d66408374ba56b3715b13f8f24f89af11fa00c2381dc19c188f1b6228f19351c97d5774808a804b83fdbdfb8f537d099db062c39ffd281c142ee77 +DIST commons-daemon-1.3.3-src.tar.gz.asc 873 BLAKE2B 01fc7ec60393f2077a2bbf80aacb1a03b821cb52f88d87010f26a5811e2695d08b7c01193d00c2fb1a28bb875b63a5a0a935feadf7c1f00c4799aafa32592804 SHA512 c42b36acd45665daeda06a59006f05fd9846817e4e1065ef89dfedef060216ecce0316d06400437e4fb5138cf41c2fe52790cd5da9306c64e3000a3765bad2a2 EBUILD commons-daemon-1.3.1.ebuild 1559 BLAKE2B fc04c3bff7ab689fafc90dcc7e90b3ae34a1d4662d7ee597ce9616a5191b628c4581e69df342970ddd3fb2e9a278d2bcb23a944fda72db3e045d192ca052433d SHA512 7518da1a0efa66f76d9f601429329e690f2447f60903d0c520de07be7a366045c282bc9998d0aa5d9443352702fff5549534cbbc70339dc0729f077a49f337ec -MISC metadata.xml 530 BLAKE2B 313ae727a7149cfaa5e962b1daa4831e77b5f168d8f8d7f2b1242b8fa36f9d2f0460541ec53b8e81cbfae209e3c5e57f5dc5895e881acb61ce9118110aace98b SHA512 738ded66dfc479b30f4c1b6aae4052a4a2de5bf68aa9001a6a1f8fb29203a17b3fe10e52c7f5d26b1de313a74b3713cd22db259a584875f8f91391437cea53e0 +EBUILD commons-daemon-1.3.3.ebuild 1614 BLAKE2B 40810f908334f1b8d6a29f77a2b35eb9178d18ed863a53f034d038d2408ee0d91bb3284d2506bd11a7dab2187bd79099a25ce3c0ec3646e67acc539b9a21e4d2 SHA512 df56703814d23eeaee47e4e767049a731633a13f30c5545070653131179ab41903010a53e15868b96f0c2e7b14cf46b5e5b0b7e380690b1fa3ac82c5b68e412e +MISC metadata.xml 693 BLAKE2B 327524cf8db429b89ebf8e16745b6125fdfef850402000b1ddefa96254aa827a1fa8a2bd61af3ac219b26f0fd14f7c6d9718462f095ef1264b6119ccbc21f9be SHA512 ab8232bbc9d93e5c3f056f3230f3cf4bd095dbf8985a25094b8ba541679814d4dc10e3a211537397577f30d3d84d3335a0d512b26ca82b14a58f3994b6954810 diff --git a/dev-java/commons-daemon/commons-daemon-1.3.3.ebuild b/dev-java/commons-daemon/commons-daemon-1.3.3.ebuild new file mode 100644 index 000000000000..e56c204daa6d --- /dev/null +++ b/dev-java/commons-daemon/commons-daemon-1.3.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 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/commons/daemon/source/commons-daemon-1.3.3-src.tar.gz --slot 0 --keywords "~amd64 ~ppc64 ~x86" --ebuild commons-daemon-1.3.3.ebuild + +EAPI=8 + +# No tests because "package org.junit.jupiter.api does not exist" +JAVA_PKG_IUSE="doc source" +MAVEN_ID="commons-daemon:commons-daemon:1.3.3" + +inherit java-pkg-2 java-pkg-simple toolchain-funcs verify-sig + +DESCRIPTION="Tools to allow Java programs to run as UNIX daemons" +HOMEPAGE="https://commons.apache.org/proper/commons-daemon/" +SRC_URI="mirror://apache/commons/daemon/source/${P}-src.tar.gz + verify-sig? ( https://downloads.apache.org/commons/daemon/source/${P}-src.tar.gz.asc )" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )" +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/commons.apache.org.asc" + +DOCS=( {CONTRIBUTING,README}.md {HOWTO-RELEASE,NOTICE,RELEASE-NOTES}.txt ) +HTML_DOCS=( PROPOSAL.html ) +PATCHES=( "${FILESDIR}/commons-daemon-1.3.1-Make.patch" ) + +S="${WORKDIR}/${P}-src" + +JAVA_ENCODING="iso-8859-1" +JAVA_SRC_DIR="src/main/java" + +src_prepare() { + default #780585 + java-pkg-2_src_prepare +} + +src_compile() { + java-pkg-simple_src_compile + + pushd src/native/unix || die + ./configure + emake AR="$(tc-getAR)" + popd +} + +src_install() { + java-pkg-simple_src_install + dobin src/native/unix/jsvc +} diff --git a/dev-java/commons-daemon/metadata.xml b/dev-java/commons-daemon/metadata.xml index 4818627a6525..cfdf736c966a 100644 --- a/dev-java/commons-daemon/metadata.xml +++ b/dev-java/commons-daemon/metadata.xml @@ -8,4 +8,8 @@ <longdescription> Apache Commons Daemon software is a set of utilities and Java support classes for running Java applications as server processes. These are commonly known as 'daemon' processes in Unix terminology (hence the name). On Windows they are called 'services' </longdescription> + <upstream> + <doc>https://cwiki.apache.org/confluence/display/commons/Daemon</doc> + <bugs-to>https://issues.apache.org/jira/browse/DAEMON</bugs-to> + </upstream> </pkgmetadata> diff --git a/dev-java/fontbox/Manifest b/dev-java/fontbox/Manifest index 214bd963afa2..4122facf0bc0 100644 --- a/dev-java/fontbox/Manifest +++ b/dev-java/fontbox/Manifest @@ -4,5 +4,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 pdfbox-2.0.26-src.zip 15766524 BLAKE2B eafedf1db5a54d36cb42111b736ad79adfcc106630fa4b2bc57873dcfbdbbb7bd0e9408611b0d8771909e719813e388430944ae0fbaf800bdc859595de2b101b SHA512 e14c57e28d10324dbcb6ad239bad5751a2dab0035bbd80427afd03f65467ec1376ddd7d08e7cefd4d950b149f85d8f505f6f50cc3093fd65bb8a2cbb2b8c7c1e +DIST pdfbox-2.0.27-src.zip 15770627 BLAKE2B 9f93d597141ff3da39b69da3ce989a0cc7f4020071e5cb1609a8b86d0f12a3219037cb4c7b276acf58ee6b07d842b6d7c76e14fdf79e9efdeac401048e345f89 SHA512 59a5675f5d1d34f092adc019679f7d10e7e93c0f554a002ac29d48cbffcaa600d930309fa94a92191c01ead8da905cbb37ce5e233dcc9b8732a881d4abf75def EBUILD fontbox-2.0.26.ebuild 1959 BLAKE2B aec4115a79052a22fdf2c82604a75c9af57e01aaf10dc4fcb640f9959f8553f68775c25d15ff16a18a907b13765fe4f405e086c99627c72918d05a3b507221de SHA512 e09fdd42a7ef24a11a6714c11717f65e80f5329b4b9073928fbc4cf91f2bbd240ce8959f087e59dd741f8b4d0dcd7cfab8e436ad6fe6100a206f16f65a7d085b +EBUILD fontbox-2.0.27.ebuild 1993 BLAKE2B b83a00ce58219689c6e7dcdc8eea6026d8c49cc1a96916c500b79fab9957f58fd6c4316be57bd47b18b62fc0df9e7fe0458224b1fd1d4ab2882a6657f4eb8865 SHA512 0f5f9347f7a7150b399e0b93708d9b086594322cc3e69c33624df0128d8db8e5aa40774da6dc7f37482fcfcdd0852a91baee2ace086226bd446a10870a65e1ba 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 new file mode 100644 index 000000000000..64b56398d12a --- /dev/null +++ b/dev-java/fontbox/fontbox-2.0.27.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2022 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 ~x86" + +# 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/pdfbox/Manifest b/dev-java/pdfbox/Manifest index efa37b8fb3cd..d67eb5962c62 100644 --- a/dev-java/pdfbox/Manifest +++ b/dev-java/pdfbox/Manifest @@ -40,5 +40,7 @@ DIST ipag00303.zip 4295310 BLAKE2B b68dd7dd7a7320894d782350c4598572c31d6ef492f95 DIST ipagp00303.zip 4295877 BLAKE2B e096303106029daaedae9befb003f70c2c7d00b858f89f5f8fffb9fc73679e63ec0dde8e0304cad2c611aa74d3cf1bfea56b9ac35e6838953d38b028654f5434 SHA512 26d0a9bfba7f5457a98b0bf45a4a6b081bca4140047a0886625691231459f8c81a6cdbe523e9abcbd45fd7caed21d78f1baf3a2cf9167320f6b79be3d697cb5b DIST n019003l.pfb 79155 BLAKE2B 2995cd6e35de2d49cc6d4a5f6c7461396b23e14c6403cd7aecedbd5cec904fd0c42a114c4c5f5079fd1fad306dd8ddba649a13424ec5183395fb0fc1cbe2abb9 SHA512 8eafe21ffa6f3d7d0a50e9f4e5bcdeb727e804b552d74e65b709e778c9ed4605e5aa63743be285f0bc17ad162768583fec4196e1d1146d98f8703359247f22d0 DIST pdfbox-2.0.26-src.zip 15766524 BLAKE2B eafedf1db5a54d36cb42111b736ad79adfcc106630fa4b2bc57873dcfbdbbb7bd0e9408611b0d8771909e719813e388430944ae0fbaf800bdc859595de2b101b SHA512 e14c57e28d10324dbcb6ad239bad5751a2dab0035bbd80427afd03f65467ec1376ddd7d08e7cefd4d950b149f85d8f505f6f50cc3093fd65bb8a2cbb2b8c7c1e +DIST pdfbox-2.0.27-src.zip 15770627 BLAKE2B 9f93d597141ff3da39b69da3ce989a0cc7f4020071e5cb1609a8b86d0f12a3219037cb4c7b276acf58ee6b07d842b6d7c76e14fdf79e9efdeac401048e345f89 SHA512 59a5675f5d1d34f092adc019679f7d10e7e93c0f554a002ac29d48cbffcaa600d930309fa94a92191c01ead8da905cbb37ce5e233dcc9b8732a881d4abf75def EBUILD pdfbox-2.0.26.ebuild 10949 BLAKE2B 49db375f1f781700a9e2df91dca92d1ddd72362380b23e864fe2be798abca98e9b8b15e148c4b968a1992252b7914fa843f11ee25b39214b97042ec81568ac11 SHA512 3e3f68c8eae5058863ba3f3e873c15bce59c5c28a542fb0486a4014fbded704eab14db04fecbcba7d10e7f61d7a061ebfc7b873880b0b45b2ec991ff0ab2c9ab +EBUILD pdfbox-2.0.27.ebuild 11031 BLAKE2B 19ef15ecdc992ec1e6e5ca8e79b0bb2dd076c9527c77e063ae82a89a97d0d89ec99c287f836aefdec2b0d190f246aaaadecf41bca4bd77379156d906ec91a104 SHA512 9f34a9a18d3235f706d4a16800db999e7ca97d693e7f2c19eb1dcf613e9632089980e7a750e347eca68c2a1e3af29f1e1d23cb2e778ebe9599a58d71cf16f33f 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 new file mode 100644 index 000000000000..8059ebe7e015 --- /dev/null +++ b/dev-java/pdfbox/pdfbox-2.0.27.ebuild @@ -0,0 +1,259 @@ +# Copyright 1999-2022 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 ~x86" +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/xmpbox/Manifest b/dev-java/xmpbox/Manifest index 94e6735d2db8..89a86746beea 100644 --- a/dev-java/xmpbox/Manifest +++ b/dev-java/xmpbox/Manifest @@ -1,3 +1,5 @@ DIST pdfbox-2.0.26-src.zip 15766524 BLAKE2B eafedf1db5a54d36cb42111b736ad79adfcc106630fa4b2bc57873dcfbdbbb7bd0e9408611b0d8771909e719813e388430944ae0fbaf800bdc859595de2b101b SHA512 e14c57e28d10324dbcb6ad239bad5751a2dab0035bbd80427afd03f65467ec1376ddd7d08e7cefd4d950b149f85d8f505f6f50cc3093fd65bb8a2cbb2b8c7c1e +DIST pdfbox-2.0.27-src.zip 15770627 BLAKE2B 9f93d597141ff3da39b69da3ce989a0cc7f4020071e5cb1609a8b86d0f12a3219037cb4c7b276acf58ee6b07d842b6d7c76e14fdf79e9efdeac401048e345f89 SHA512 59a5675f5d1d34f092adc019679f7d10e7e93c0f554a002ac29d48cbffcaa600d930309fa94a92191c01ead8da905cbb37ce5e233dcc9b8732a881d4abf75def EBUILD xmpbox-2.0.26.ebuild 1707 BLAKE2B 775bfd44df6055da28f3256d411035d98de8d247199ad3c0b3e63f2a030937dde311e08bc24433c21a6aa8e6e1856b15bf302f175190f06ee60559751938d31c SHA512 600198cbc3142f6e29ceb07843016d29863c4d98de95aafd1dc72480b6c36aedd655b7002311c05d4e7a4d985373ddbf9da5dbc2a3281cc3f1b9a4f9bbcfb9f3 +EBUILD xmpbox-2.0.27.ebuild 1621 BLAKE2B b76b54c3e169055a1d1f717927f1cab99b95e45ac3ffc8cbb524b28b3db770bb121979a5146f73c622be545cbfe2fad42d7208a17f7ddec0a1956c5304706cd1 SHA512 ec627d8e44c641e1e851242f50272ce85844740070ccc39a9e384f7f1316f03d7a0668516ec9feb8dcac5ebf1dfabeb6732450d76958c85e8f7b861c5b55b4dc 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 new file mode 100644 index 000000000000..c78fe6340798 --- /dev/null +++ b/dev-java/xmpbox/xmpbox-2.0.27.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 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 ~x86" + +# 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 +) |