public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2015-10-02  9:12 Patrice Clement
  0 siblings, 0 replies; 30+ messages in thread
From: Patrice Clement @ 2015-10-02  9:12 UTC (permalink / raw
  To: gentoo-commits

commit:     c7043822bfca8ec9a15633aab5ff0d0edc3ff416
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  2 08:58:03 2015 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Oct  2 09:09:29 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7043822

dev-java/pdfbox: Clean up old.

Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 dev-java/pdfbox/Manifest               |   1 -
 dev-java/pdfbox/pdfbox-0.7.3-r3.ebuild | 102 ---------------------------------
 2 files changed, 103 deletions(-)

diff --git a/dev-java/pdfbox/Manifest b/dev-java/pdfbox/Manifest
index 37b1a63..7681455 100644
--- a/dev-java/pdfbox/Manifest
+++ b/dev-java/pdfbox/Manifest
@@ -1,3 +1,2 @@
-DIST PDFBox-0.7.3.zip 22769102 SHA256 5c6f6c87cdbf247ff29d0ce691ab977c2e869070d54cf1bd6305e0fd84e7373d SHA512 1d76d5e96be26f89fdb53f68d60320dbfd5ff9c575b8ef076c8dadd3ffac6aa42f69248f9df3532c171de6093e7b5ffc097f40461a33077256f57cf75e41a6b1 WHIRLPOOL 7d0eda7449e3e6bd8d7426ed884b9d6cdeebf03104d4b3dde2bf499595d3a15906d4f26b38dd84434faca7d6d9b150353b6e2e2bb1592d2b4af716a8633d7b1e
 DIST pcfi-2010.08.09.jar 6731455 SHA256 a787fb2a842de7bd5ee4fa13c4808aa6793380dde0219560b50054f6ca25c77c SHA512 067394ddac4a48ba8ac94b03f907d0faf98a91be658689a34eb85fdce49515582426f6a1fa433bfa87ca417ce3a6fa3aa89d89126a36176d8e04f3359c36d10b WHIRLPOOL fa9e9b6b2cc45f749101726c8fb7a4c7719d78448122c465b60696cd5be1a2a27bc65f549429d5a74c79bc74aaed39b3c0a8dfe02ec569303b96faa818410e73
 DIST pdfbox-1.8.8-src.zip 11339989 SHA256 90d6b9a33682586e29bbce4ffeadf38c12fe0373bfe82441c1a63610a9c4ea8a SHA512 254361d0dcbfdc52bc78a2ed7e121065a2d173d1362a219d6644c3cc8a83a37904744e03f1725e2db67494d5f54f822b6e5a16dd8e791906efb9c348d564552f WHIRLPOOL cd9e71be60ee6d92c34f4affe7d6b074896920491a731a65f2b74e9e09754e836288c632e5d4a24b2d8aba64505dc58d2c3f8d0dd103c33773fce6dcd187e5a3

diff --git a/dev-java/pdfbox/pdfbox-0.7.3-r3.ebuild b/dev-java/pdfbox/pdfbox-0.7.3-r3.ebuild
deleted file mode 100644
index 28f90f1..0000000
--- a/dev-java/pdfbox/pdfbox-0.7.3-r3.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=1
-JAVA_PKG_IUSE="doc source"
-WANT_ANT_TASKS="ant-nodeps"
-inherit java-pkg-2 java-ant-2
-
-MY_PN="PDFBox"
-MY_P="${MY_PN}-${PV}"
-DESCRIPTION="Java library and utilities for working with PDF documents"
-HOMEPAGE="http://www.pdfbox.apache.org"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x64-macos"
-IUSE=""
-
-CDEPEND="dev-java/fontbox:0
-	dev-java/bcprov:1.38
-	dev-java/bcmail:1.38
-	dev-java/lucene:2.1
-	dev-java/ant-core:0"
-RDEPEND=">=virtual/jre-1.4
-	${CDEPEND}"
-DEPEND=">=virtual/jdk-1.4
-	app-arch/unzip
-	${CDEPEND}"
-
-JAVA_PKG_FILTER_COMPILER="jikes"
-S="${WORKDIR}/${MY_P}"
-
-# missing needed files
-RESTRICT="test"
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-
-	rm -v external/*.jar lib/*.jar || die
-	rm -rf docs/javadoc
-
-	# the pdf files used in test cases are not included
-	rm -rf src/test
-
-	cd external
-	java-pkg_jar-from fontbox
-	java-pkg_jar-from bcprov-1.38
-	java-pkg_jar-from bcmail-1.38
-	java-pkg_jar-from lucene-2.1
-	java-pkg_jar-from ant-core ant.jar
-}
-
-EANT_BUILD_TARGET="package"
-
-my_launcher() {
-	java-pkg_dolauncher ${1} --main org.pdfbox.${2}
-	echo "${2} -> ${1}" >> "${T}"/launcher.list
-}
-
-src_install() {
-	java-pkg_newjar lib/${MY_P}-dev.jar
-
-	my_launcher pdfconvertcolorspace ConvertColorspace
-	my_launcher pdfdecrypt Decrypt
-	my_launcher pdfencrypt Encrypt
-	my_launcher pdfexportfdf ExportFDF
-	my_launcher pdfexportxfdf ExportXFDF
-	my_launcher pdfextractimages ExtractImages
-	my_launcher pdfextracttext ExtractText
-	my_launcher pdfimportfdf ImportFDF
-	my_launcher pdfimportxfdf ImportXFDF
-	my_launcher pdfoverlay Overlay
-	my_launcher pdfdebugger PDFDebugger
-	my_launcher pdfmerger PDFMerger
-	my_launcher pdfreader PDFReader
-	my_launcher pdfsplit PDFSplit
-	my_launcher pdftoimage PDFToImage
-	my_launcher printpdf PrintPDF
-	my_launcher texttopdf TextToPDF
-
-	if use doc; then
-		dohtml -r docs/*
-		java-pkg_dojavadoc website/build/site/javadoc
-	fi
-
-	use source && java-pkg_dosrc src/org
-}
-
-pkg_postinst() {
-	elog "This package installs several command line tools for manipulating"
-	elog "PDF files. Some of their names were changed from upstream to"
-	elog "be less ambigous, and not collide with other packages. For"
-	elog "detailed information refer to the html documentation installed with"
-	elog "USE=doc, or ${HOMEPAGE}"
-
-	while read line
-	do
-		elog ${line}
-	done < "${T}"/launcher.list
-}


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2015-10-02  9:12 Patrice Clement
  0 siblings, 0 replies; 30+ messages in thread
From: Patrice Clement @ 2015-10-02  9:12 UTC (permalink / raw
  To: gentoo-commits

commit:     c49a5090c50fac83bf5d0644101b4f6562cd28ac
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  2 08:59:13 2015 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Oct  2 09:09:36 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c49a5090

dev-java/pdfbox: Stable for amd64+x86.

Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 dev-java/pdfbox/pdfbox-1.8.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/pdfbox/pdfbox-1.8.8.ebuild b/dev-java/pdfbox/pdfbox-1.8.8.ebuild
index 8cb72f8..d2a6b39 100644
--- a/dev-java/pdfbox/pdfbox-1.8.8.ebuild
+++ b/dev-java/pdfbox/pdfbox-1.8.8.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
 	http://repo2.maven.org/maven2/com/adobe/pdf/pcfi/2010.08.09/${ADOBE_FILES}"
 LICENSE="BSD"
 SLOT="1.8"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 CDEPEND="dev-java/icu4j:4


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2015-10-02 10:34 Patrice Clement
  0 siblings, 0 replies; 30+ messages in thread
From: Patrice Clement @ 2015-10-02 10:34 UTC (permalink / raw
  To: gentoo-commits

commit:     e28bcf439ffcaa49fd9b9a6dd5288978c5faf1a1
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  2 10:32:07 2015 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Oct  2 10:32:39 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e28bcf43

dev-java/pdfbox: Stable for amd64. Stable for ppc+ppc64+x86 using the ALLARCHES policy.

Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 dev-java/pdfbox/pdfbox-1.8.8.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-java/pdfbox/pdfbox-1.8.8.ebuild b/dev-java/pdfbox/pdfbox-1.8.8.ebuild
index d2a6b39..c354484 100644
--- a/dev-java/pdfbox/pdfbox-1.8.8.ebuild
+++ b/dev-java/pdfbox/pdfbox-1.8.8.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
 	http://repo2.maven.org/maven2/com/adobe/pdf/pcfi/2010.08.09/${ADOBE_FILES}"
 LICENSE="BSD"
 SLOT="1.8"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86 ppc ppc64"
 IUSE=""
 
 CDEPEND="dev-java/icu4j:4
@@ -21,9 +21,9 @@ CDEPEND="dev-java/icu4j:4
 	dev-java/bcprov:1.45
 	dev-java/bcmail:1.45
 	>=dev-java/commons-logging-1.1.1:0"
-RDEPEND=">=virtual/jre-1.7
+RDEPEND=">=virtual/jre-1.6
 	${CDEPEND}"
-DEPEND=">=virtual/jdk-1.7
+DEPEND=">=virtual/jdk-1.6
 	app-arch/unzip
 	test? (
 		dev-java/ant-junit:0 )


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2016-02-25 22:06 James Le Cuirot
  0 siblings, 0 replies; 30+ messages in thread
From: James Le Cuirot @ 2016-02-25 22:06 UTC (permalink / raw
  To: gentoo-commits

commit:     a056a7c133de6cbc27249bbe7d3ecc52a333a4b6
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 25 21:29:34 2016 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Feb 25 22:06:14 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a056a7c1

dev-java/pdfbox: Version bump, unbundling, java-pkg-simple rewrite

fontbox and jempbox are now unbundled. They were previously built from
the same tarball but not installed, leaving pdfbox in a broken state.

Package-Manager: portage-2.2.27

 dev-java/pdfbox/Manifest             |  1 +
 dev-java/pdfbox/metadata.xml         |  3 +-
 dev-java/pdfbox/pdfbox-1.8.11.ebuild | 77 ++++++++++++++++++++++++++++++++++++
 3 files changed, 80 insertions(+), 1 deletion(-)

diff --git a/dev-java/pdfbox/Manifest b/dev-java/pdfbox/Manifest
index 7681455..8b705c0 100644
--- a/dev-java/pdfbox/Manifest
+++ b/dev-java/pdfbox/Manifest
@@ -1,2 +1,3 @@
 DIST pcfi-2010.08.09.jar 6731455 SHA256 a787fb2a842de7bd5ee4fa13c4808aa6793380dde0219560b50054f6ca25c77c SHA512 067394ddac4a48ba8ac94b03f907d0faf98a91be658689a34eb85fdce49515582426f6a1fa433bfa87ca417ce3a6fa3aa89d89126a36176d8e04f3359c36d10b WHIRLPOOL fa9e9b6b2cc45f749101726c8fb7a4c7719d78448122c465b60696cd5be1a2a27bc65f549429d5a74c79bc74aaed39b3c0a8dfe02ec569303b96faa818410e73
+DIST pdfbox-1.8.11-src.zip 11026359 SHA256 160a2d058325845234eaa6b5ae23535b9226aadb4e570a1a76f7106a00653b1b SHA512 05c8e5075379ed5ebb09555b39434dd936fce9dd24445871d24ea7f0f6afa49e74242bf0c9eba2d1a847b505143789b687dd039ca51ce76851132f2f18d434d1 WHIRLPOOL 9f43dff9921283d074b332ef08a34b56d58fca3624b6c263029554998b0595bb8815ad91e31c7cdee17a95db0807cb88c579ec1b1f9ab724ded3f50382220880
 DIST pdfbox-1.8.8-src.zip 11339989 SHA256 90d6b9a33682586e29bbce4ffeadf38c12fe0373bfe82441c1a63610a9c4ea8a SHA512 254361d0dcbfdc52bc78a2ed7e121065a2d173d1362a219d6644c3cc8a83a37904744e03f1725e2db67494d5f54f822b6e5a16dd8e791906efb9c348d564552f WHIRLPOOL cd9e71be60ee6d92c34f4affe7d6b074896920491a731a65f2b74e9e09754e836288c632e5d4a24b2d8aba64505dc58d2c3f8d0dd103c33773fce6dcd187e5a3

diff --git a/dev-java/pdfbox/metadata.xml b/dev-java/pdfbox/metadata.xml
index 7dd25b5..82ef400 100644
--- a/dev-java/pdfbox/metadata.xml
+++ b/dev-java/pdfbox/metadata.xml
@@ -5,7 +5,8 @@
 		<email>java@gentoo.org</email>
 		<name>Java</name>
 	</maintainer>
+    <longdescription>The Apache PDFBox™ library is an open source Java tool for working with PDF documents. This project allows creation of new PDF documents, manipulation of existing documents and the ability to extract content from documents. Apache PDFBox also includes several command line utilities.</longdescription>
 	<upstream>
-		<remote-id type="sourceforge">pdfbox</remote-id>
+		<remote-id type="github">apache/pdfbox</remote-id>
 	</upstream>
 </pkgmetadata>

diff --git a/dev-java/pdfbox/pdfbox-1.8.11.ebuild b/dev-java/pdfbox/pdfbox-1.8.11.ebuild
new file mode 100644
index 0000000..a6d4511
--- /dev/null
+++ b/dev-java/pdfbox/pdfbox-1.8.11.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+BC_SLOT="1.45"
+ADOBE_FILES="pcfi-2010.08.09.jar"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Java library and utilities for working with PDF documents"
+HOMEPAGE="http://pdfbox.apache.org/"
+SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
+	http://repo2.maven.org/maven2/com/adobe/pdf/pcfi/2010.08.09/${ADOBE_FILES}"
+LICENSE="Apache-2.0"
+SLOT="1.8"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="test"
+RESTRICT="test" # Explosive even when manually using unmodified build.xml.
+
+CDEPEND="dev-java/fontbox:${SLOT}
+	dev-java/jempbox:${SLOT}
+	dev-java/bcmail:${BC_SLOT}
+	dev-java/bcprov:${BC_SLOT}
+	>=dev-java/commons-logging-1.1.1:0
+	dev-java/icu4j:55"
+
+RDEPEND="${CDEPEND}
+	>=virtual/jre-1.6"
+
+DEPEND="${CDEPEND}
+	>=virtual/jdk-1.6
+	app-arch/unzip
+	test? ( dev-java/junit:4 )"
+
+S="${WORKDIR}/${P}/${PN}"
+JAVA_SRC_DIR="src/main/java"
+JAVA_ENCODING="ISO-8859-1"
+JAVA_GENTOO_CLASSPATH="fontbox-${SLOT},jempbox-${SLOT},bcmail-${BC_SLOT},bcprov-${BC_SLOT},commons-logging,icu4j-55"
+
+src_unpack() {
+	unpack ${P}-src.zip
+}
+
+java_prepare() {
+	local DIR=target/classes/org/apache/${PN}/resources
+	mkdir -p "${DIR}/afm" || die
+
+	unzip -j -d "${DIR}" "${DISTDIR}/${ADOBE_FILES}" com/adobe/pdf/pcfi/glyphlist.txt || die
+	unzip -j -d "${DIR}/afm" "${DISTDIR}/${ADOBE_FILES}" com/adobe/pdf/pcfi/afm/*.afm || die
+
+	echo "${PN}.version=${PV}" > ${DIR}/${PN}.version || die
+}
+
+src_compile() {
+	java-pkg-simple_src_compile
+	java-pkg_addres ${PN}.jar src/main/resources
+}
+
+src_install() {
+	java-pkg-simple_src_install
+	java-pkg_dolauncher ${PN} --main org.apache.${PN}.PDFBox
+}
+
+src_test() {
+	local DIR=src/test/java
+	local CP="${DIR}:${PN}.jar:$(java-pkg_getjars junit-4,${JAVA_GENTOO_CLASSPATH})"
+	local TESTS=$(find ${DIR} -name "*Test.java")
+	TESTS="${TESTS//src\/test\/java\/}"
+	TESTS="${TESTS//.java}"
+	TESTS="${TESTS//\//.}"
+
+	ejavac -encoding ${JAVA_ENCODING} -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java")
+	ejunit4 -classpath "${CP}" ${TESTS}
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2016-03-15  7:06 James Le Cuirot
  0 siblings, 0 replies; 30+ messages in thread
From: James Le Cuirot @ 2016-03-15  7:06 UTC (permalink / raw
  To: gentoo-commits

commit:     a19e9fc73eec8fc66dabddcda0ac1234e3a24a08
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 26 13:32:42 2016 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Mar 15 07:06:03 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a19e9fc7

dev-java/pdfbox: Stable on amd64, ppc64, x86 using ALLARCHES

A little early because of the push to remove Java 6. The old version
was quite broken anyway.

Package-Manager: portage-2.2.27

 dev-java/pdfbox/pdfbox-1.8.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/pdfbox/pdfbox-1.8.11.ebuild b/dev-java/pdfbox/pdfbox-1.8.11.ebuild
index a6d4511..cc736d9 100644
--- a/dev-java/pdfbox/pdfbox-1.8.11.ebuild
+++ b/dev-java/pdfbox/pdfbox-1.8.11.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
 	http://repo2.maven.org/maven2/com/adobe/pdf/pcfi/2010.08.09/${ADOBE_FILES}"
 LICENSE="Apache-2.0"
 SLOT="1.8"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="amd64 ppc64 x86"
 IUSE="test"
 RESTRICT="test" # Explosive even when manually using unmodified build.xml.
 


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2017-07-13 18:32 Alexis Ballier
  0 siblings, 0 replies; 30+ messages in thread
From: Alexis Ballier @ 2017-07-13 18:32 UTC (permalink / raw
  To: gentoo-commits

commit:     d124e08699ba4de8024e4339ca2be3f051779a63
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 13 18:29:59 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Jul 13 18:32:22 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d124e086

dev-java/pdfbox: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-java/pdfbox/pdfbox-1.8.11.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-java/pdfbox/pdfbox-1.8.11.ebuild b/dev-java/pdfbox/pdfbox-1.8.11.ebuild
index 7d00d020db5..213188bdd96 100644
--- a/dev-java/pdfbox/pdfbox-1.8.11.ebuild
+++ b/dev-java/pdfbox/pdfbox-1.8.11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -15,7 +15,7 @@ SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
 	http://repo2.maven.org/maven2/com/adobe/pdf/pcfi/2010.08.09/${ADOBE_FILES}"
 LICENSE="Apache-2.0"
 SLOT="1.8"
-KEYWORDS="amd64 ppc64 x86"
+KEYWORDS="amd64 ~arm64 ppc64 x86"
 IUSE="test"
 RESTRICT="test" # Explosive even when manually using unmodified build.xml.
 


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2018-09-11 12:17 Thomas Deutschmann
  0 siblings, 0 replies; 30+ messages in thread
From: Thomas Deutschmann @ 2018-09-11 12:17 UTC (permalink / raw
  To: gentoo-commits

commit:     912353d609d58ac29c5d9aa2f39259dcaebd2d2a
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 11 12:17:28 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Sep 11 12:17:28 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=912353d6

dev-java/pdfbox: bump to v1.8.15

Bug: https://bugs.gentoo.org/659648
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 dev-java/pdfbox/Manifest             |  1 +
 dev-java/pdfbox/pdfbox-1.8.15.ebuild | 78 ++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/dev-java/pdfbox/Manifest b/dev-java/pdfbox/Manifest
index 31fe201e1aa..ab85f845d80 100644
--- a/dev-java/pdfbox/Manifest
+++ b/dev-java/pdfbox/Manifest
@@ -1,2 +1,3 @@
 DIST pcfi-2010.08.09.jar 6731455 BLAKE2B 438dda63e91494231fba890d995227e7c6428b25a698ad5905a7ca0f2a29f511ff4cc34136c96c878ca04ec7630a062bbff3bbf0400a332b4edb6a6972175920 SHA512 067394ddac4a48ba8ac94b03f907d0faf98a91be658689a34eb85fdce49515582426f6a1fa433bfa87ca417ce3a6fa3aa89d89126a36176d8e04f3359c36d10b
 DIST pdfbox-1.8.11-src.zip 11026359 BLAKE2B b3eb1add38e9bd0e5a1fcb116263fdbc372d6adb77132aeb0647a6c5d2c2b735345220f0a5c22caa97d04f78ad6517df388327aaa625677bd8c99d2051329a9c SHA512 05c8e5075379ed5ebb09555b39434dd936fce9dd24445871d24ea7f0f6afa49e74242bf0c9eba2d1a847b505143789b687dd039ca51ce76851132f2f18d434d1
+DIST pdfbox-1.8.15-src.zip 11078696 BLAKE2B e468a1c263007484d47861945b50a8b0c9afed2d792619a49f41e57b313d86f4e04d317d1b75406876592d755958771c0468446eb23fe3b26ff529e07d467ffb SHA512 ac3f4b131f5cd2153ec2a744c486db921bc2165d596b243ad673cfc94be1bc4ae27bdf2981b63419fead18db569a2008264d6fdc7c89cf47f69f81c4a7d3a2a6

diff --git a/dev-java/pdfbox/pdfbox-1.8.15.ebuild b/dev-java/pdfbox/pdfbox-1.8.15.ebuild
new file mode 100644
index 00000000000..806cc5ba04b
--- /dev/null
+++ b/dev-java/pdfbox/pdfbox-1.8.15.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+BC_SLOT="1.45"
+ADOBE_FILES="pcfi-2010.08.09.jar"
+JAVA_PKG_IUSE="doc source"
+
+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
+	http://repo2.maven.org/maven2/com/adobe/pdf/pcfi/2010.08.09/${ADOBE_FILES}"
+LICENSE="Apache-2.0"
+SLOT="1.8"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="test"
+RESTRICT="test" # Explosive even when manually using unmodified build.xml.
+
+CDEPEND="dev-java/fontbox:${SLOT}
+	dev-java/jempbox:${SLOT}
+	dev-java/bcmail:${BC_SLOT}
+	dev-java/bcprov:${BC_SLOT}
+	>=dev-java/commons-logging-1.1.1:0
+	dev-java/icu4j:55"
+
+RDEPEND="${CDEPEND}
+	>=virtual/jre-1.6"
+
+DEPEND="${CDEPEND}
+	>=virtual/jdk-1.6
+	app-arch/unzip
+	test? ( dev-java/junit:4 )"
+
+S="${WORKDIR}/${P}/${PN}"
+JAVA_SRC_DIR="src/main/java"
+JAVA_ENCODING="ISO-8859-1"
+JAVA_GENTOO_CLASSPATH="fontbox-${SLOT},jempbox-${SLOT},bcmail-${BC_SLOT},bcprov-${BC_SLOT},commons-logging,icu4j-55"
+
+src_unpack() {
+	unpack ${P}-src.zip
+}
+
+src_prepare() {
+	default
+
+	local DIR=target/classes/org/apache/${PN}/resources
+	mkdir -p "${DIR}/afm" || die
+
+	unzip -j -d "${DIR}" "${DISTDIR}/${ADOBE_FILES}" com/adobe/pdf/pcfi/glyphlist.txt || die
+	unzip -j -d "${DIR}/afm" "${DISTDIR}/${ADOBE_FILES}" com/adobe/pdf/pcfi/afm/*.afm || die
+
+	echo "${PN}.version=${PV}" > ${DIR}/${PN}.version || die
+}
+
+src_compile() {
+	java-pkg-simple_src_compile
+	java-pkg_addres ${PN}.jar src/main/resources
+}
+
+src_install() {
+	java-pkg-simple_src_install
+	java-pkg_dolauncher ${PN} --main org.apache.${PN}.PDFBox
+}
+
+src_test() {
+	local DIR=src/test/java
+	local CP="${DIR}:${PN}.jar:$(java-pkg_getjars junit-4,${JAVA_GENTOO_CLASSPATH})"
+	local TESTS=$(find ${DIR} -name "*Test.java")
+	TESTS="${TESTS//src\/test\/java\/}"
+	TESTS="${TESTS//.java}"
+	TESTS="${TESTS//\//.}"
+
+	ejavac -encoding ${JAVA_ENCODING} -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java")
+	ejunit4 -classpath "${CP}" ${TESTS}
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2018-12-04 11:56 Agostino Sarubbo
  0 siblings, 0 replies; 30+ messages in thread
From: Agostino Sarubbo @ 2018-12-04 11:56 UTC (permalink / raw
  To: gentoo-commits

commit:     72c5d83ec58469a455eb6de43e3f5f636ec1d22a
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  4 11:56:32 2018 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Dec  4 11:56:32 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72c5d83e

dev-java/pdfbox: amd64 stable wrt bug #659648

Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 dev-java/pdfbox/pdfbox-1.8.15.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-java/pdfbox/pdfbox-1.8.15.ebuild b/dev-java/pdfbox/pdfbox-1.8.15.ebuild
index 806cc5ba04b..565ea9e1fd6 100644
--- a/dev-java/pdfbox/pdfbox-1.8.15.ebuild
+++ b/dev-java/pdfbox/pdfbox-1.8.15.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -15,7 +15,7 @@ SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
 	http://repo2.maven.org/maven2/com/adobe/pdf/pcfi/2010.08.09/${ADOBE_FILES}"
 LICENSE="Apache-2.0"
 SLOT="1.8"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
 IUSE="test"
 RESTRICT="test" # Explosive even when manually using unmodified build.xml.
 


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2018-12-07  2:41 Thomas Deutschmann
  0 siblings, 0 replies; 30+ messages in thread
From: Thomas Deutschmann @ 2018-12-07  2:41 UTC (permalink / raw
  To: gentoo-commits

commit:     19f0a9b851808ce6af325cb875a00c910536a551
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  7 02:17:06 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Dec  7 02:40:31 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19f0a9b8

dev-java/pdfbox: x86 stable (bug #659648)

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-java/pdfbox/pdfbox-1.8.15.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/pdfbox/pdfbox-1.8.15.ebuild b/dev-java/pdfbox/pdfbox-1.8.15.ebuild
index 565ea9e1fd6..c4ea10907b6 100644
--- a/dev-java/pdfbox/pdfbox-1.8.15.ebuild
+++ b/dev-java/pdfbox/pdfbox-1.8.15.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
 	http://repo2.maven.org/maven2/com/adobe/pdf/pcfi/2010.08.09/${ADOBE_FILES}"
 LICENSE="Apache-2.0"
 SLOT="1.8"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 IUSE="test"
 RESTRICT="test" # Explosive even when manually using unmodified build.xml.
 


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2018-12-08  9:44 Sergei Trofimovich
  0 siblings, 0 replies; 30+ messages in thread
From: Sergei Trofimovich @ 2018-12-08  9:44 UTC (permalink / raw
  To: gentoo-commits

commit:     0b3d6da8a7baa1a5dacf310211e6918d2c525297
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  8 09:38:32 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Dec  8 09:44:47 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b3d6da8

dev-java/pdfbox: stable 1.8.15 for ppc64, bug #659648

Package-Manager: Portage-2.3.52, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-java/pdfbox/pdfbox-1.8.15.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/pdfbox/pdfbox-1.8.15.ebuild b/dev-java/pdfbox/pdfbox-1.8.15.ebuild
index c4ea10907b6..850c40532bd 100644
--- a/dev-java/pdfbox/pdfbox-1.8.15.ebuild
+++ b/dev-java/pdfbox/pdfbox-1.8.15.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
 	http://repo2.maven.org/maven2/com/adobe/pdf/pcfi/2010.08.09/${ADOBE_FILES}"
 LICENSE="Apache-2.0"
 SLOT="1.8"
-KEYWORDS="amd64 ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ppc64 x86"
 IUSE="test"
 RESTRICT="test" # Explosive even when manually using unmodified build.xml.
 


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2019-03-10  4:59 Aaron Bauman
  0 siblings, 0 replies; 30+ messages in thread
From: Aaron Bauman @ 2019-03-10  4:59 UTC (permalink / raw
  To: gentoo-commits

commit:     34e2428e3ec1580c971317d3ff5605641680142c
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 10 04:58:29 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 04:59:11 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34e2428e

dev-java/pdfbox: drop vulnerable

Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 dev-java/pdfbox/Manifest             |  1 -
 dev-java/pdfbox/pdfbox-1.8.11.ebuild | 76 ------------------------------------
 2 files changed, 77 deletions(-)

diff --git a/dev-java/pdfbox/Manifest b/dev-java/pdfbox/Manifest
index ab85f845d80..2a8080fb1e7 100644
--- a/dev-java/pdfbox/Manifest
+++ b/dev-java/pdfbox/Manifest
@@ -1,3 +1,2 @@
 DIST pcfi-2010.08.09.jar 6731455 BLAKE2B 438dda63e91494231fba890d995227e7c6428b25a698ad5905a7ca0f2a29f511ff4cc34136c96c878ca04ec7630a062bbff3bbf0400a332b4edb6a6972175920 SHA512 067394ddac4a48ba8ac94b03f907d0faf98a91be658689a34eb85fdce49515582426f6a1fa433bfa87ca417ce3a6fa3aa89d89126a36176d8e04f3359c36d10b
-DIST pdfbox-1.8.11-src.zip 11026359 BLAKE2B b3eb1add38e9bd0e5a1fcb116263fdbc372d6adb77132aeb0647a6c5d2c2b735345220f0a5c22caa97d04f78ad6517df388327aaa625677bd8c99d2051329a9c SHA512 05c8e5075379ed5ebb09555b39434dd936fce9dd24445871d24ea7f0f6afa49e74242bf0c9eba2d1a847b505143789b687dd039ca51ce76851132f2f18d434d1
 DIST pdfbox-1.8.15-src.zip 11078696 BLAKE2B e468a1c263007484d47861945b50a8b0c9afed2d792619a49f41e57b313d86f4e04d317d1b75406876592d755958771c0468446eb23fe3b26ff529e07d467ffb SHA512 ac3f4b131f5cd2153ec2a744c486db921bc2165d596b243ad673cfc94be1bc4ae27bdf2981b63419fead18db569a2008264d6fdc7c89cf47f69f81c4a7d3a2a6

diff --git a/dev-java/pdfbox/pdfbox-1.8.11.ebuild b/dev-java/pdfbox/pdfbox-1.8.11.ebuild
deleted file mode 100644
index 213188bdd96..00000000000
--- a/dev-java/pdfbox/pdfbox-1.8.11.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-BC_SLOT="1.45"
-ADOBE_FILES="pcfi-2010.08.09.jar"
-JAVA_PKG_IUSE="doc source"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="Java library and utilities for working with PDF documents"
-HOMEPAGE="http://pdfbox.apache.org/"
-SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
-	http://repo2.maven.org/maven2/com/adobe/pdf/pcfi/2010.08.09/${ADOBE_FILES}"
-LICENSE="Apache-2.0"
-SLOT="1.8"
-KEYWORDS="amd64 ~arm64 ppc64 x86"
-IUSE="test"
-RESTRICT="test" # Explosive even when manually using unmodified build.xml.
-
-CDEPEND="dev-java/fontbox:${SLOT}
-	dev-java/jempbox:${SLOT}
-	dev-java/bcmail:${BC_SLOT}
-	dev-java/bcprov:${BC_SLOT}
-	>=dev-java/commons-logging-1.1.1:0
-	dev-java/icu4j:55"
-
-RDEPEND="${CDEPEND}
-	>=virtual/jre-1.6"
-
-DEPEND="${CDEPEND}
-	>=virtual/jdk-1.6
-	app-arch/unzip
-	test? ( dev-java/junit:4 )"
-
-S="${WORKDIR}/${P}/${PN}"
-JAVA_SRC_DIR="src/main/java"
-JAVA_ENCODING="ISO-8859-1"
-JAVA_GENTOO_CLASSPATH="fontbox-${SLOT},jempbox-${SLOT},bcmail-${BC_SLOT},bcprov-${BC_SLOT},commons-logging,icu4j-55"
-
-src_unpack() {
-	unpack ${P}-src.zip
-}
-
-java_prepare() {
-	local DIR=target/classes/org/apache/${PN}/resources
-	mkdir -p "${DIR}/afm" || die
-
-	unzip -j -d "${DIR}" "${DISTDIR}/${ADOBE_FILES}" com/adobe/pdf/pcfi/glyphlist.txt || die
-	unzip -j -d "${DIR}/afm" "${DISTDIR}/${ADOBE_FILES}" com/adobe/pdf/pcfi/afm/*.afm || die
-
-	echo "${PN}.version=${PV}" > ${DIR}/${PN}.version || die
-}
-
-src_compile() {
-	java-pkg-simple_src_compile
-	java-pkg_addres ${PN}.jar src/main/resources
-}
-
-src_install() {
-	java-pkg-simple_src_install
-	java-pkg_dolauncher ${PN} --main org.apache.${PN}.PDFBox
-}
-
-src_test() {
-	local DIR=src/test/java
-	local CP="${DIR}:${PN}.jar:$(java-pkg_getjars junit-4,${JAVA_GENTOO_CLASSPATH})"
-	local TESTS=$(find ${DIR} -name "*Test.java")
-	TESTS="${TESTS//src\/test\/java\/}"
-	TESTS="${TESTS//.java}"
-	TESTS="${TESTS//\//.}"
-
-	ejavac -encoding ${JAVA_ENCODING} -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java")
-	ejunit4 -classpath "${CP}" ${TESTS}
-}


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2021-11-16 11:38 Miroslav Šulc
  0 siblings, 0 replies; 30+ messages in thread
From: Miroslav Šulc @ 2021-11-16 11:38 UTC (permalink / raw
  To: gentoo-commits

commit:     9b09e62a3d7e12487bc9af0380e4bcf3b9c628b6
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sun Nov 14 10:25:45 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Nov 16 11:38:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b09e62a

dev-java/pdfbox: additional TEST_EXCLUDES for jdk-17

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/21564
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/pdfbox/pdfbox-2.0.24.ebuild | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/dev-java/pdfbox/pdfbox-2.0.24.ebuild b/dev-java/pdfbox/pdfbox-2.0.24.ebuild
index cfaf146b4ae5..ea6072119ab0 100644
--- a/dev-java/pdfbox/pdfbox-2.0.24.ebuild
+++ b/dev-java/pdfbox/pdfbox-2.0.24.ebuild
@@ -196,6 +196,17 @@ src_test() {
 	JAVA_TEST_SRC_DIR="pdfbox/src/test/java"
 	JAVA_TEST_RESOURCE_DIRS="pdfbox/src/test/resources"
 
+	# There was 1 failure
+	# 1) testIsEmbeddingPermittedMultipleVersions(org.apache.pdfbox.pdmodel.font.TestFontEmbedding)
+	# java.lang.ExceptionInInitializerError
+	# Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @4dc690f9
+	# FAILURES!!!
+	# Tests run: 586,  Failures: 1
+	local vm_version="$(java-config -g PROVIDES_VERSION)"
+	if [[ "${vm_version}" == "17" ]] ; then
+		JAVA_TEST_EXCLUDES+=( "org.apache.pdfbox.pdmodel.font.TestFontEmbedding" )
+	fi
+
 	# tests failed with S="${WORKDIR}/${P}"
 	find pdfbox/src/test/ -type f -exec sed -i 's:src/test/resources:pdfbox/src/test/resources:' {} + || die
 


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2021-11-17  7:18 Miroslav Šulc
  0 siblings, 0 replies; 30+ messages in thread
From: Miroslav Šulc @ 2021-11-17  7:18 UTC (permalink / raw
  To: gentoo-commits

commit:     03af2d721eb6d30bf37962bd36c21768538c462d
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue Nov 16 12:29:43 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Nov 17 07:18:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03af2d72

dev-java/pdfbox: HOMEPAGE

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/22970
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/pdfbox/pdfbox-2.0.24.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/pdfbox/pdfbox-2.0.24.ebuild b/dev-java/pdfbox/pdfbox-2.0.24.ebuild
index ea6072119ab0..da9c53915bdc 100644
--- a/dev-java/pdfbox/pdfbox-2.0.24.ebuild
+++ b/dev-java/pdfbox/pdfbox-2.0.24.ebuild
@@ -13,7 +13,7 @@ JAVA_TESTING_FRAMEWORKS="junit-4"
 inherit java-pkg-2 java-pkg-simple
 
 DESCRIPTION="Java library and utilities for working with PDF documents"
-HOMEPAGE="https://www.apache.org/pdfbox-parent/pdfbox/"
+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


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2021-11-26  7:53 Miroslav Šulc
  0 siblings, 0 replies; 30+ messages in thread
From: Miroslav Šulc @ 2021-11-26  7:53 UTC (permalink / raw
  To: gentoo-commits

commit:     4ef34a79e765042b0f248d57cfd80fd8cd725337
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue Nov 23 17:38:47 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Nov 26 07:53:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ef34a79

dev-java/pdfbox: remove 1.8.15

Closes: https://bugs.gentoo.org/803542
Closes: https://bugs.gentoo.org/823986
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/pdfbox/Manifest             |  2 -
 dev-java/pdfbox/pdfbox-1.8.15.ebuild | 78 ------------------------------------
 2 files changed, 80 deletions(-)

diff --git a/dev-java/pdfbox/Manifest b/dev-java/pdfbox/Manifest
index 1d426e06e678..8b098def5e68 100644
--- a/dev-java/pdfbox/Manifest
+++ b/dev-java/pdfbox/Manifest
@@ -37,6 +37,4 @@ 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 pcfi-2010.08.09.jar 6731455 BLAKE2B 438dda63e91494231fba890d995227e7c6428b25a698ad5905a7ca0f2a29f511ff4cc34136c96c878ca04ec7630a062bbff3bbf0400a332b4edb6a6972175920 SHA512 067394ddac4a48ba8ac94b03f907d0faf98a91be658689a34eb85fdce49515582426f6a1fa433bfa87ca417ce3a6fa3aa89d89126a36176d8e04f3359c36d10b
-DIST pdfbox-1.8.15-src.zip 11078696 BLAKE2B e468a1c263007484d47861945b50a8b0c9afed2d792619a49f41e57b313d86f4e04d317d1b75406876592d755958771c0468446eb23fe3b26ff529e07d467ffb SHA512 ac3f4b131f5cd2153ec2a744c486db921bc2165d596b243ad673cfc94be1bc4ae27bdf2981b63419fead18db569a2008264d6fdc7c89cf47f69f81c4a7d3a2a6
 DIST pdfbox-2.0.24-src.zip 15651754 BLAKE2B 5d0220c28c2be18a66aa66c2540d3e1d85ecc6826f632e6c9a0193f2f02dca645909b0a54c707d856bb2886d52b0b5fb706503b4f89f0eb7aede8e612bebfa8e SHA512 5d55b3cadbbae266d90c47f5b10c9b09b6dc16f53b77a0cf15c78e62fc69afc7b6eab5a4329608ecdf25de9194b38db1f7d23e7d71af473cc1bf7b09b0028642

diff --git a/dev-java/pdfbox/pdfbox-1.8.15.ebuild b/dev-java/pdfbox/pdfbox-1.8.15.ebuild
deleted file mode 100644
index 850c40532bd3..000000000000
--- a/dev-java/pdfbox/pdfbox-1.8.15.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-BC_SLOT="1.45"
-ADOBE_FILES="pcfi-2010.08.09.jar"
-JAVA_PKG_IUSE="doc source"
-
-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
-	http://repo2.maven.org/maven2/com/adobe/pdf/pcfi/2010.08.09/${ADOBE_FILES}"
-LICENSE="Apache-2.0"
-SLOT="1.8"
-KEYWORDS="amd64 ~arm64 ppc64 x86"
-IUSE="test"
-RESTRICT="test" # Explosive even when manually using unmodified build.xml.
-
-CDEPEND="dev-java/fontbox:${SLOT}
-	dev-java/jempbox:${SLOT}
-	dev-java/bcmail:${BC_SLOT}
-	dev-java/bcprov:${BC_SLOT}
-	>=dev-java/commons-logging-1.1.1:0
-	dev-java/icu4j:55"
-
-RDEPEND="${CDEPEND}
-	>=virtual/jre-1.6"
-
-DEPEND="${CDEPEND}
-	>=virtual/jdk-1.6
-	app-arch/unzip
-	test? ( dev-java/junit:4 )"
-
-S="${WORKDIR}/${P}/${PN}"
-JAVA_SRC_DIR="src/main/java"
-JAVA_ENCODING="ISO-8859-1"
-JAVA_GENTOO_CLASSPATH="fontbox-${SLOT},jempbox-${SLOT},bcmail-${BC_SLOT},bcprov-${BC_SLOT},commons-logging,icu4j-55"
-
-src_unpack() {
-	unpack ${P}-src.zip
-}
-
-src_prepare() {
-	default
-
-	local DIR=target/classes/org/apache/${PN}/resources
-	mkdir -p "${DIR}/afm" || die
-
-	unzip -j -d "${DIR}" "${DISTDIR}/${ADOBE_FILES}" com/adobe/pdf/pcfi/glyphlist.txt || die
-	unzip -j -d "${DIR}/afm" "${DISTDIR}/${ADOBE_FILES}" com/adobe/pdf/pcfi/afm/*.afm || die
-
-	echo "${PN}.version=${PV}" > ${DIR}/${PN}.version || die
-}
-
-src_compile() {
-	java-pkg-simple_src_compile
-	java-pkg_addres ${PN}.jar src/main/resources
-}
-
-src_install() {
-	java-pkg-simple_src_install
-	java-pkg_dolauncher ${PN} --main org.apache.${PN}.PDFBox
-}
-
-src_test() {
-	local DIR=src/test/java
-	local CP="${DIR}:${PN}.jar:$(java-pkg_getjars junit-4,${JAVA_GENTOO_CLASSPATH})"
-	local TESTS=$(find ${DIR} -name "*Test.java")
-	TESTS="${TESTS//src\/test\/java\/}"
-	TESTS="${TESTS//.java}"
-	TESTS="${TESTS//\//.}"
-
-	ejavac -encoding ${JAVA_ENCODING} -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java")
-	ejunit4 -classpath "${CP}" ${TESTS}
-}


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2021-11-26  8:55 Sam James
  0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2021-11-26  8:55 UTC (permalink / raw
  To: gentoo-commits

commit:     979f72566e4c003b2d22f2241f10608e5da8657b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 26 08:55:12 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 26 08:55:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=979f7256

dev-java/pdfbox: Stabilize 2.0.24 ppc64, #824042

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/pdfbox/pdfbox-2.0.24.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/pdfbox/pdfbox-2.0.24.ebuild b/dev-java/pdfbox/pdfbox-2.0.24.ebuild
index da9c53915bdc..3f4219707c7b 100644
--- a/dev-java/pdfbox/pdfbox-2.0.24.ebuild
+++ b/dev-java/pdfbox/pdfbox-2.0.24.ebuild
@@ -59,7 +59,7 @@ SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ppc64 ~x86"
 IUSE="+tools"
 
 PROPERTIES="test_network"


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2021-11-26  9:04 Sam James
  0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2021-11-26  9:04 UTC (permalink / raw
  To: gentoo-commits

commit:     255f9e0900e34f0c77d740f8c9d2c1ae17bdfef1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 26 09:04:40 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 26 09:04:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=255f9e09

dev-java/pdfbox: Stabilize 2.0.24 x86, #824042

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/pdfbox/pdfbox-2.0.24.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/pdfbox/pdfbox-2.0.24.ebuild b/dev-java/pdfbox/pdfbox-2.0.24.ebuild
index 3f4219707c7b..e2457537cf92 100644
--- a/dev-java/pdfbox/pdfbox-2.0.24.ebuild
+++ b/dev-java/pdfbox/pdfbox-2.0.24.ebuild
@@ -59,7 +59,7 @@ SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ppc64 x86"
 IUSE="+tools"
 
 PROPERTIES="test_network"


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2021-11-26  9:37 Sam James
  0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2021-11-26  9:37 UTC (permalink / raw
  To: gentoo-commits

commit:     46f2f2fbd41f49d5a64092b9fa4c73e17474c48c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 26 09:36:39 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 26 09:37:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46f2f2fb

dev-java/pdfbox: Stabilize 2.0.24 amd64, #824042

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/pdfbox/pdfbox-2.0.24.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/pdfbox/pdfbox-2.0.24.ebuild b/dev-java/pdfbox/pdfbox-2.0.24.ebuild
index e2457537cf92..054909d6ce84 100644
--- a/dev-java/pdfbox/pdfbox-2.0.24.ebuild
+++ b/dev-java/pdfbox/pdfbox-2.0.24.ebuild
@@ -59,7 +59,7 @@ SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ppc64 x86"
+KEYWORDS="amd64 ~arm64 ppc64 x86"
 IUSE="+tools"
 
 PROPERTIES="test_network"


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2021-11-26 13:48 Miroslav Šulc
  0 siblings, 0 replies; 30+ messages in thread
From: Miroslav Šulc @ 2021-11-26 13:48 UTC (permalink / raw
  To: gentoo-commits

commit:     e52389f284a1d7b45eb7592da38e447dcfd28809
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Fri Nov 26 13:24:58 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Fri Nov 26 13:48:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e52389f2

dev-java/pdfbox: fix compile error when "-tools"

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/23089
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/pdfbox/pdfbox-2.0.24.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-java/pdfbox/pdfbox-2.0.24.ebuild b/dev-java/pdfbox/pdfbox-2.0.24.ebuild
index 054909d6ce84..c2ae65ec701b 100644
--- a/dev-java/pdfbox/pdfbox-2.0.24.ebuild
+++ b/dev-java/pdfbox/pdfbox-2.0.24.ebuild
@@ -182,8 +182,8 @@ src_compile() {
 	fi
 
 	JAVA_SRC_DIR=(
-		"${S}/pdfbox"
-		"${S}/debugger"
+		"${S}/pdfbox/src/main/java"
+		"${S}/debugger/src/main/java"
 	)
 	if use tools; then
 		JAVA_SRC_DIR+=( "${S}/tools" )


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2022-05-22 17:57 Florian Schmaus
  0 siblings, 0 replies; 30+ messages in thread
From: Florian Schmaus @ 2022-05-22 17:57 UTC (permalink / raw
  To: gentoo-commits

commit:     9cdbdd263f3eba4938780167075de3d25b9389ae
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Tue May 17 11:14:28 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun May 22 17:29:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cdbdd26

dev-java/pdfbox: add 2.0.26

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/25497
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/pdfbox/Manifest             |   2 +
 dev-java/pdfbox/pdfbox-2.0.26.ebuild | 261 +++++++++++++++++++++++++++++++++++
 2 files changed, 263 insertions(+)

diff --git a/dev-java/pdfbox/Manifest b/dev-java/pdfbox/Manifest
index 8b098def5e68..284815e98a4f 100644
--- a/dev-java/pdfbox/Manifest
+++ b/dev-java/pdfbox/Manifest
@@ -32,9 +32,11 @@ DIST PDFBOX-4423-000746.pdf 574613 BLAKE2B 01f139d1c9b9e60d5e3be184b6289a4c50f03
 DIST PDFBOX-4490.pdf 283351 BLAKE2B 4abac1974e9fc7ca0ede73d5c388125794760a32b24fbb245799f92bebf3cc37a6f0fb8e38fa282d39d0aa00093b829e924d90560b90562033958c270d07dec2 SHA512 5ae7f232c47c13ed31997eb2c368e7deb1013c1321d70bf79369f8d709b33406191d94c21a5d27b4c4bb48241bafd9328a0a6d2d093d4e540d5044e9503bd099
 DIST PDFBOX-4517-cryptfilter.pdf 2157 BLAKE2B 69fea4396c05d977dcb7bc5c29143ad3a64fc45331dd8ddd660e3d557d222d56a548b3b24bb0141e8c8e8b6a5dfee2a3f83fa48a2b39fd448b9209204b3e4d9f SHA512 ed55a65bad6f91104846d28e9e7dcb18b11efbf980a74781350551428bbaecba375d9e22af02edf0f91263c7f668e93ec7c52d397898b7640c2d60e7dd3ae940
 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 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.24-src.zip 15651754 BLAKE2B 5d0220c28c2be18a66aa66c2540d3e1d85ecc6826f632e6c9a0193f2f02dca645909b0a54c707d856bb2886d52b0b5fb706503b4f89f0eb7aede8e612bebfa8e SHA512 5d55b3cadbbae266d90c47f5b10c9b09b6dc16f53b77a0cf15c78e62fc69afc7b6eab5a4329608ecdf25de9194b38db1f7d23e7d71af473cc1bf7b09b0028642
+DIST pdfbox-2.0.26-src.zip 15766524 BLAKE2B eafedf1db5a54d36cb42111b736ad79adfcc106630fa4b2bc57873dcfbdbbb7bd0e9408611b0d8771909e719813e388430944ae0fbaf800bdc859595de2b101b SHA512 e14c57e28d10324dbcb6ad239bad5751a2dab0035bbd80427afd03f65467ec1376ddd7d08e7cefd4d950b149f85d8f505f6f50cc3093fd65bb8a2cbb2b8c7c1e

diff --git a/dev-java/pdfbox/pdfbox-2.0.26.ebuild b/dev-java/pdfbox/pdfbox-2.0.26.ebuild
new file mode 100644
index 000000000000..a31d7b769fa9
--- /dev/null
+++ b/dev-java/pdfbox/pdfbox-2.0.26.ebuild
@@ -0,0 +1,261 @@
+# 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.26/pdfbox-2.0.26-src.zip --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild pdfbox-2.0.26.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+MAVEN_ID="org.apache.pdfbox:pdfbox:2.0.26"
+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: ${P}/${PN}/pom.xml
+# commons-logging:commons-logging:1.2 -> >=dev-java/commons-logging-1.2:0
+# org.apache.pdfbox:fontbox:2.0.24 -> >=dev-java/fontbox-2.0.24:0
+# org.bouncycastle:bcmail-jdk15on:1.64 -> >=dev-java/bcmail-1.68:0
+# org.bouncycastle:bcprov-jdk15on:1.64 -> >=dev-java/bcprov-1.68:0
+
+CP_DEPEND="
+	dev-java/bcmail:0
+	dev-java/bcprov:0
+	dev-java/commons-logging:0
+	~dev-java/fontbox-${PV}:0
+"
+
+# Compile dependencies
+# POM: ${P}/${PN}/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.3 -> >=dev-java/jbig2-imageio-3.0.3:0
+# test? org.mockito:mockito-core:3.10.0 -> !!!suitble-mavenVersion-not-found!!!
+
+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 )
+
+PATCHES=(
+	# adds @Ignore annotation to
+	# public void testPDFBox3826() throws IOException, URISyntaxException
+	# https://issues.apache.org/jira/browse/PDFBOX-3826
+	"${FILESDIR}"/2.0.24-tests-ignore.patch
+)
+
+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.26/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_prepare() {
+	default
+}
+
+src_compile() {
+	einfo "Compiling pdfbox"
+	JAVA_SRC_DIR="pdfbox/src/main/java"
+	JAVA_RESOURCE_DIRS="pdfbox/src/main/resources"
+	JAVA_JAR_FILENAME="pdfbox.jar"
+	java-pkg-simple_src_compile
+
+	if use tools; then
+		einfo "Compiling debugger"
+		JAVA_SRC_DIR="debugger/src/main/java"
+		JAVA_RESOURCE_DIRS="debugger/src/main/resources"
+		JAVA_JAR_FILENAME="pdfbox-debugger.jar"
+		java-pkg-simple_src_compile
+
+		einfo "Compiling pdfbox-tools"
+		JAVA_SRC_DIR="tools/src/main/java"
+		JAVA_RESOURCE_DIRS=""
+		JAVA_JAR_FILENAME="pdfbox-tools.jar"
+		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() {
+	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() {
+	# https://bugs.gentoo.org/789582
+	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
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2022-06-22 10:10 Agostino Sarubbo
  0 siblings, 0 replies; 30+ messages in thread
From: Agostino Sarubbo @ 2022-06-22 10:10 UTC (permalink / raw
  To: gentoo-commits

commit:     a2393fe932e57c338fdb4149c4ab1f39011ace46
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 22 10:07:00 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Jun 22 10:07:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2393fe9

dev-java/pdfbox: amd64 stable wrt bug #853316

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-java/pdfbox/pdfbox-2.0.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/pdfbox/pdfbox-2.0.26.ebuild b/dev-java/pdfbox/pdfbox-2.0.26.ebuild
index a31d7b769fa9..09207e810aa7 100644
--- a/dev-java/pdfbox/pdfbox-2.0.26.ebuild
+++ b/dev-java/pdfbox/pdfbox-2.0.26.ebuild
@@ -60,7 +60,7 @@ SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
 IUSE="+tools"
 
 PROPERTIES="test_network"


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2022-06-22 11:40 Jakov Smolić
  0 siblings, 0 replies; 30+ messages in thread
From: Jakov Smolić @ 2022-06-22 11:40 UTC (permalink / raw
  To: gentoo-commits

commit:     e3521d9454d4746bc4ec5844d6641e3e585de3cd
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 22 11:40:18 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Jun 22 11:40:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3521d94

dev-java/pdfbox: Stabilize 2.0.26 ppc64, #853316

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-java/pdfbox/pdfbox-2.0.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/pdfbox/pdfbox-2.0.26.ebuild b/dev-java/pdfbox/pdfbox-2.0.26.ebuild
index 09207e810aa7..80375b338825 100644
--- a/dev-java/pdfbox/pdfbox-2.0.26.ebuild
+++ b/dev-java/pdfbox/pdfbox-2.0.26.ebuild
@@ -60,7 +60,7 @@ SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ppc64 ~x86"
 IUSE="+tools"
 
 PROPERTIES="test_network"


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2022-06-22 13:25 Agostino Sarubbo
  0 siblings, 0 replies; 30+ messages in thread
From: Agostino Sarubbo @ 2022-06-22 13:25 UTC (permalink / raw
  To: gentoo-commits

commit:     f7e432ce36fc0dad006ece0681f80c55525396ef
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 22 13:25:03 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Jun 22 13:25:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7e432ce

dev-java/pdfbox: x86 stable wrt bug #853316

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-java/pdfbox/pdfbox-2.0.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/pdfbox/pdfbox-2.0.26.ebuild b/dev-java/pdfbox/pdfbox-2.0.26.ebuild
index 80375b338825..97b9ade34c7d 100644
--- a/dev-java/pdfbox/pdfbox-2.0.26.ebuild
+++ b/dev-java/pdfbox/pdfbox-2.0.26.ebuild
@@ -60,7 +60,7 @@ SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ppc64 x86"
 IUSE="+tools"
 
 PROPERTIES="test_network"


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2022-06-23  3:56 Miroslav Šulc
  0 siblings, 0 replies; 30+ messages in thread
From: Miroslav Šulc @ 2022-06-23  3:56 UTC (permalink / raw
  To: gentoo-commits

commit:     e9a0c131c0c8dadec9fb14e7160774af725ed0b0
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Wed Jun 22 13:36:00 2022 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Jun 23 03:56:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9a0c131

dev-java/pdfbox: drop 2.0.24

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/pdfbox/Manifest             |   1 -
 dev-java/pdfbox/pdfbox-2.0.24.ebuild | 291 -----------------------------------
 2 files changed, 292 deletions(-)

diff --git a/dev-java/pdfbox/Manifest b/dev-java/pdfbox/Manifest
index 284815e98a4f..c303072cc510 100644
--- a/dev-java/pdfbox/Manifest
+++ b/dev-java/pdfbox/Manifest
@@ -38,5 +38,4 @@ 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.24-src.zip 15651754 BLAKE2B 5d0220c28c2be18a66aa66c2540d3e1d85ecc6826f632e6c9a0193f2f02dca645909b0a54c707d856bb2886d52b0b5fb706503b4f89f0eb7aede8e612bebfa8e SHA512 5d55b3cadbbae266d90c47f5b10c9b09b6dc16f53b77a0cf15c78e62fc69afc7b6eab5a4329608ecdf25de9194b38db1f7d23e7d71af473cc1bf7b09b0028642
 DIST pdfbox-2.0.26-src.zip 15766524 BLAKE2B eafedf1db5a54d36cb42111b736ad79adfcc106630fa4b2bc57873dcfbdbbb7bd0e9408611b0d8771909e719813e388430944ae0fbaf800bdc859595de2b101b SHA512 e14c57e28d10324dbcb6ad239bad5751a2dab0035bbd80427afd03f65467ec1376ddd7d08e7cefd4d950b149f85d8f505f6f50cc3093fd65bb8a2cbb2b8c7c1e

diff --git a/dev-java/pdfbox/pdfbox-2.0.24.ebuild b/dev-java/pdfbox/pdfbox-2.0.24.ebuild
deleted file mode 100644
index c2ae65ec701b..000000000000
--- a/dev-java/pdfbox/pdfbox-2.0.24.ebuild
+++ /dev/null
@@ -1,291 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Skeleton command:
-# java-ebuilder --generate-ebuild --workdir . --pom pdfbox-2.0.24/pdfbox/pom.xml --download-uri https://downloads.apache.org/pdfbox/2.0.24/pdfbox-2.0.24-src.zip --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild pdfbox-2.0.24.ebuild
-
-EAPI=7
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_ID="org.apache.pdfbox:pdfbox:2.0.24"
-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
-	)"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ppc64 x86"
-IUSE="+tools"
-
-PROPERTIES="test_network"
-RESTRICT="test"
-
-# Common dependencies
-# POM: ${P}/${PN}/pom.xml
-# commons-logging:commons-logging:1.2 -> >=dev-java/commons-logging-1.2:0
-# org.apache.pdfbox:fontbox:2.0.24 -> >=dev-java/fontbox-2.0.24:0
-# org.bouncycastle:bcmail-jdk15on:1.64 -> >=dev-java/bcmail-1.68:0
-# org.bouncycastle:bcprov-jdk15on:1.64 -> >=dev-java/bcprov-1.68:0
-
-CDEPEND="
-	dev-java/bcmail:0
-	dev-java/bcprov:0
-	dev-java/commons-logging:0
-	~dev-java/fontbox-${PV}:0
-	tools? (
-		dev-java/java-diff-utils:0
-		dev-java/junit:4
-		dev-java/mockito:0
-	)"
-
-# Compile dependencies
-# POM: ${P}/${PN}/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.3 -> >=dev-java/jbig2-imageio-3.0.3:0
-# test? org.mockito:mockito-core:3.10.0 -> !!!suitble-mavenVersion-not-found!!!
-
-DEPEND="${CDEPEND}
-	>=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:0
-	)"
-
-RDEPEND="${CDEPEND}
-	>=virtual/jre-1.8:*"
-
-BDEPEND="app-arch/unzip"
-
-DOCS=( {README.md,{LICENSE,NOTICE,RELEASE-NOTES}.txt} )
-
-PATCHES=(
-	# adds @Ignore annotation to
-	# public void testPDFBox3826() throws IOException, URISyntaxException
-	# https://issues.apache.org/jira/browse/PDFBOX-3826
-	"${FILESDIR}"/2.0.24-tests-ignore.patch
-)
-
-S="${WORKDIR}/${P}"
-
-JAVA_GENTOO_CLASSPATH_EXTRA="pdfbox.jar:pdfbox-debugger.jar"
-JAVA_GENTOO_CLASSPATH="commons-logging,fontbox,bcmail,bcprov"
-JAVA_TEST_GENTOO_CLASSPATH="jai-imageio-core,jai-imageio-jpeg2000,java-diff-utils,jbig2-imageio,junit-4,mockito"
-
-JAVA_TEST_EXCLUDES=(
-	# excluded upstream according to
-	# https://github.com/apache/pdfbox/blob/8876e8e1a0adbf619cef4638cc3cea073e3ca484/pdfbox/pom.xml#L123
-	"org.apache.pdfbox.rendering.TestPDFToImage"
-
-	# 1) warning(junit.framework.TestSuite$1)
-	# junit.framework.AssertionFailedError: Cannot instantiate test case: testIsSetDirect (java.lang.InstantiationException
-	# 2) warning(junit.framework.TestSuite$1
-	# junit.framework.AssertionFailedError: Cannot instantiate test case: testAccept (java.lang.InstantiationException
-	# 3) warning(junit.framework.TestSuite$1)
-	# junit.framework.AssertionFailedError: Cannot instantiate test case: testGetCOSObject (java.lang.InstantiationException
-	"org.apache.pdfbox.cos.TestCOSBase"
-
-	# 4) warning(junit.framework.TestSuite$1)
-	# junit.framework.AssertionFailedError: Cannot instantiate test case: testFloatValue (java.lang.InstantiationException
-	# 5) warning(junit.framework.TestSuite$1)
-	# junit.framework.AssertionFailedError: Cannot instantiate test case: testGet (java.lang.InstantiationException
-	# 6) warning(junit.framework.TestSuite$1)
-	# junit.framework.AssertionFailedError: Cannot instantiate test case: testInvalidNumber (java.lang.InstantiationException
-	# 7) warning(junit.framework.TestSuite$1)
-	# junit.framework.AssertionFailedError: Cannot instantiate test case: testLongValue (java.lang.InstantiationException
-	# 8) warning(junit.framework.TestSuite$1)
-	# junit.framework.AssertionFailedError: Cannot instantiate test case: testIntValue (java.lang.InstantiationException
-	# 9) warning(junit.framework.TestSuite$1)
-	# junit.framework.AssertionFailedError: Cannot instantiate test case: testLargeNumber (java.lang.InstantiationException
-	# 10) warning(junit.framework.TestSuite$1)
-	# junit.framework.AssertionFailedError: Cannot instantiate test case: testDoubleValue (java.lang.InstantiationException
-	# 11) warning(junit.framework.TestSuite$1)
-	# junit.framework.AssertionFailedError: Cannot instantiate test case: testIsSetDirect (java.lang.InstantiationException
-	# 12) warning(junit.framework.TestSuite$1)
-	# junit.framework.AssertionFailedError: Cannot instantiate test case: testAccept (java.lang.InstantiationException
-	# 13) warning(junit.framework.TestSuite$1)
-	# junit.framework.AssertionFailedError: Cannot instantiate test case: testGetCOSObject (java.lang.InstantiationException
-	"org.apache.pdfbox.cos.TestCOSNumber"	# Tests run: 10,  Failures: 10
-)
-
-src_prepare() {
-	default
-}
-
-src_compile() {
-	JAVA_SRC_DIR="pdfbox/src/main/java"
-	JAVA_RESOURCE_DIRS="pdfbox/src/main/resources"
-	JAVA_JAR_FILENAME="pdfbox.jar"
-	java-pkg-simple_src_compile
-
-	JAVA_SRC_DIR="debugger/src/main/java"
-	JAVA_RESOURCE_DIRS="debugger/src/main/resources"
-	JAVA_JAR_FILENAME="pdfbox-debugger.jar"
-	java-pkg-simple_src_compile
-
-	if use tools; then
-		JAVA_GENTOO_CLASSPATH+=" java-diff-utils,junit-4,mockito"
-		JAVA_SRC_DIR="tools/src/main/java"
-		JAVA_RESOURCE_DIRS=""
-		JAVA_JAR_FILENAME="pdfbox-tools.jar"
-		java-pkg-simple_src_compile
-	fi
-
-	JAVA_SRC_DIR=(
-		"${S}/pdfbox/src/main/java"
-		"${S}/debugger/src/main/java"
-	)
-	if use tools; then
-		JAVA_SRC_DIR+=( "${S}/tools" )
-	fi
-	JAVA_JAR_FILENAME="ignoreme.jar"
-	java-pkg-simple_src_compile
-}
-
-src_test() {
-	JAVA_TEST_SRC_DIR="pdfbox/src/test/java"
-	JAVA_TEST_RESOURCE_DIRS="pdfbox/src/test/resources"
-
-	# There was 1 failure
-	# 1) testIsEmbeddingPermittedMultipleVersions(org.apache.pdfbox.pdmodel.font.TestFontEmbedding)
-	# java.lang.ExceptionInInitializerError
-	# Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @4dc690f9
-	# FAILURES!!!
-	# Tests run: 586,  Failures: 1
-	local vm_version="$(java-config -g PROVIDES_VERSION)"
-	if [[ "${vm_version}" == "17" ]] ; then
-		JAVA_TEST_EXCLUDES+=( "org.apache.pdfbox.pdmodel.font.TestFontEmbedding" )
-	fi
-
-	# 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 \
-		"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
-		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() {
-	# https://bugs.gentoo.org/789582
-	default
-
-	java-pkg_dojar "pdfbox.jar"
-	java-pkg_dojar "pdfbox-debugger.jar"
-	if use tools; then
-		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" "${S}/debugger" "${S}/tools"
-	fi
-}


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2022-07-01  7:45 Arthur Zamarin
  0 siblings, 0 replies; 30+ messages in thread
From: Arthur Zamarin @ 2022-07-01  7:45 UTC (permalink / raw
  To: gentoo-commits

commit:     fd7e3da9bec1284cb75f1c9f68954da89ebe3204
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  1 07:44:50 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jul  1 07:44:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd7e3da9

dev-java/pdfbox: Stabilize 2.0.26 arm64, #853742

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-java/pdfbox/pdfbox-2.0.26.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/pdfbox/pdfbox-2.0.26.ebuild b/dev-java/pdfbox/pdfbox-2.0.26.ebuild
index 97b9ade34c7d..13e5a7c7f68f 100644
--- a/dev-java/pdfbox/pdfbox-2.0.26.ebuild
+++ b/dev-java/pdfbox/pdfbox-2.0.26.ebuild
@@ -60,7 +60,7 @@ SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ppc64 x86"
+KEYWORDS="amd64 arm64 ppc64 x86"
 IUSE="+tools"
 
 PROPERTIES="test_network"


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2022-12-27 19:52 Florian Schmaus
  0 siblings, 0 replies; 30+ messages in thread
From: Florian Schmaus @ 2022-12-27 19:52 UTC (permalink / raw
  To: gentoo-commits

commit:     c984c8a737eb1591cd0cbf821c3a4cec319acf68
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Oct  8 15:49:39 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 19:51:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c984c8a7

dev-java/pdfbox: add 2.0.27

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-java/pdfbox/Manifest             |   1 +
 dev-java/pdfbox/pdfbox-2.0.27.ebuild | 259 +++++++++++++++++++++++++++++++++++
 2 files changed, 260 insertions(+)

diff --git a/dev-java/pdfbox/Manifest b/dev-java/pdfbox/Manifest
index c303072cc510..faa88e520139 100644
--- a/dev-java/pdfbox/Manifest
+++ b/dev-java/pdfbox/Manifest
@@ -39,3 +39,4 @@ 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

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
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2023-01-26 21:49 Sam James
  0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2023-01-26 21:49 UTC (permalink / raw
  To: gentoo-commits

commit:     68dfbf014c0c3e3cbcec71c3120aed9a1b6d5df0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 26 21:49:10 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 21:49:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68dfbf01

dev-java/pdfbox: Stabilize 2.0.27 x86, #892119

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/pdfbox/pdfbox-2.0.27.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-java/pdfbox/pdfbox-2.0.27.ebuild b/dev-java/pdfbox/pdfbox-2.0.27.ebuild
index 8059ebe7e015..339bf751322c 100644
--- a/dev-java/pdfbox/pdfbox-2.0.27.ebuild
+++ b/dev-java/pdfbox/pdfbox-2.0.27.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Skeleton command:
@@ -60,7 +60,7 @@ SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 x86"
 IUSE="+tools"
 
 PROPERTIES="test_network"


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2023-01-26 21:49 Sam James
  0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2023-01-26 21:49 UTC (permalink / raw
  To: gentoo-commits

commit:     d6875557081187ddd72192a7b5e9a6f20a67ce27
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 26 21:49:14 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 21:49:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6875557

dev-java/pdfbox: Stabilize 2.0.27 ppc64, #892119

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/pdfbox/pdfbox-2.0.27.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/pdfbox/pdfbox-2.0.27.ebuild b/dev-java/pdfbox/pdfbox-2.0.27.ebuild
index 339bf751322c..a80b6ad5ff59 100644
--- a/dev-java/pdfbox/pdfbox-2.0.27.ebuild
+++ b/dev-java/pdfbox/pdfbox-2.0.27.ebuild
@@ -60,7 +60,7 @@ SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 x86"
+KEYWORDS="~amd64 ~arm64 ppc64 x86"
 IUSE="+tools"
 
 PROPERTIES="test_network"


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2023-01-26 21:49 Sam James
  0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2023-01-26 21:49 UTC (permalink / raw
  To: gentoo-commits

commit:     29d9736377f96c9049f924138bc0cd27e68a12b0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 26 21:49:17 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 21:49:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29d97363

dev-java/pdfbox: Stabilize 2.0.27 amd64, #892119

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/pdfbox/pdfbox-2.0.27.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/pdfbox/pdfbox-2.0.27.ebuild b/dev-java/pdfbox/pdfbox-2.0.27.ebuild
index a80b6ad5ff59..4e250b312d50 100644
--- a/dev-java/pdfbox/pdfbox-2.0.27.ebuild
+++ b/dev-java/pdfbox/pdfbox-2.0.27.ebuild
@@ -60,7 +60,7 @@ SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ppc64 x86"
+KEYWORDS="amd64 ~arm64 ppc64 x86"
 IUSE="+tools"
 
 PROPERTIES="test_network"


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2023-01-26 22:19 Sam James
  0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2023-01-26 22:19 UTC (permalink / raw
  To: gentoo-commits

commit:     e166b20662ef467a4163c2ef462954a53e3e9c5a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 26 22:19:35 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 22:19:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e166b206

dev-java/pdfbox: Stabilize 2.0.27 arm64, #892119

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/pdfbox/pdfbox-2.0.27.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-java/pdfbox/pdfbox-2.0.27.ebuild b/dev-java/pdfbox/pdfbox-2.0.27.ebuild
index 4e250b312d50..3bb1b8e0c5bd 100644
--- a/dev-java/pdfbox/pdfbox-2.0.27.ebuild
+++ b/dev-java/pdfbox/pdfbox-2.0.27.ebuild
@@ -60,7 +60,7 @@ SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ppc64 x86"
+KEYWORDS="amd64 arm64 ppc64 x86"
 IUSE="+tools"
 
 PROPERTIES="test_network"


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/
@ 2024-11-11  7:38 Miroslav Šulc
  0 siblings, 0 replies; 30+ messages in thread
From: Miroslav Šulc @ 2024-11-11  7:38 UTC (permalink / raw
  To: gentoo-commits

commit:     cd71d3e08186d82f6a91058d382baeece63379f8
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Nov  6 23:03:30 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Nov 11 07:38:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd71d3e0

dev-java/pdfbox: add 2.0.32

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/33700
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 dev-java/pdfbox/Manifest             |   3 +
 dev-java/pdfbox/pdfbox-2.0.32.ebuild | 267 +++++++++++++++++++++++++++++++++++
 2 files changed, 270 insertions(+)

diff --git a/dev-java/pdfbox/Manifest b/dev-java/pdfbox/Manifest
index 5c0d6b59875a..bbbfdbca4ea2 100644
--- a/dev-java/pdfbox/Manifest
+++ b/dev-java/pdfbox/Manifest
@@ -34,8 +34,11 @@ 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

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
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2024-11-11  7:38 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-02  9:12 [gentoo-commits] repo/gentoo:master commit in: dev-java/pdfbox/ Patrice Clement
  -- strict thread matches above, loose matches on Subject: below --
2015-10-02  9:12 Patrice Clement
2015-10-02 10:34 Patrice Clement
2016-02-25 22:06 James Le Cuirot
2016-03-15  7:06 James Le Cuirot
2017-07-13 18:32 Alexis Ballier
2018-09-11 12:17 Thomas Deutschmann
2018-12-04 11:56 Agostino Sarubbo
2018-12-07  2:41 Thomas Deutschmann
2018-12-08  9:44 Sergei Trofimovich
2019-03-10  4:59 Aaron Bauman
2021-11-16 11:38 Miroslav Šulc
2021-11-17  7:18 Miroslav Šulc
2021-11-26  7:53 Miroslav Šulc
2021-11-26  8:55 Sam James
2021-11-26  9:04 Sam James
2021-11-26  9:37 Sam James
2021-11-26 13:48 Miroslav Šulc
2022-05-22 17:57 Florian Schmaus
2022-06-22 10:10 Agostino Sarubbo
2022-06-22 11:40 Jakov Smolić
2022-06-22 13:25 Agostino Sarubbo
2022-06-23  3:56 Miroslav Šulc
2022-07-01  7:45 Arthur Zamarin
2022-12-27 19:52 Florian Schmaus
2023-01-26 21:49 Sam James
2023-01-26 21:49 Sam James
2023-01-26 21:49 Sam James
2023-01-26 22:19 Sam James
2024-11-11  7:38 Miroslav Šulc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox