From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-java/fontbox/Manifest | 8 + .../fontbox/files/fontbox-1.7.1_maven-build.xml | 250 +++++++++++++++++++++ dev-java/fontbox/fontbox-1.7.1.ebuild | 50 +++++ dev-java/fontbox/fontbox-1.8.11.ebuild | 50 +++++ dev-java/fontbox/metadata.xml | 19 ++ 5 files changed, 377 insertions(+) create mode 100644 dev-java/fontbox/Manifest create mode 100644 dev-java/fontbox/files/fontbox-1.7.1_maven-build.xml create mode 100644 dev-java/fontbox/fontbox-1.7.1.ebuild create mode 100644 dev-java/fontbox/fontbox-1.8.11.ebuild create mode 100644 dev-java/fontbox/metadata.xml (limited to 'dev-java/fontbox') diff --git a/dev-java/fontbox/Manifest b/dev-java/fontbox/Manifest new file mode 100644 index 000000000000..4578dd97bf0b --- /dev/null +++ b/dev-java/fontbox/Manifest @@ -0,0 +1,8 @@ +AUX fontbox-1.7.1_maven-build.xml 10618 SHA256 f00b70a1a7e4b1e83eb577a6e90248e42200d91c78176d3fb3be48af489194c4 SHA512 8f3173325808c096cca21f69bb70f9ed5a43c0e56b5d6487604de399625bb40fbeecc569c068bb6840a87fb5edcc3e22171d8c6fab28a2c00b36172196c1935c WHIRLPOOL af87a860a8aed0f55425adf9cab5479117c6ca46453167558cb0076c6d63774cac46d18e726d8607949f3330e6cb1f0eae4c56f8ec4009327c9cf7f23c167a18 +DIST pdfbox-1.7.1-src.zip 9167805 SHA256 805c6b893ff10216cc826aa44e7a2eaf35bb43ca8ed19896c43132d253d3145e SHA512 8b2af3d8f431626c106e4f6e9e1d59d14abcd58cfdc9553f20c5057eef9f9cfbd0287e14e58e4d34472ad81198eb3f4d0a2fd6e88bd1fa5cbcf01e4befbf77d0 WHIRLPOOL 438fcd6f2d0128b972dfd5be83b2bc455daf9f126ac5b7a6a5de8a41e29f482b462e8e48e07a21ac1e896de4daa5ffed2eee400ec96ac93fbbce25fef99b0ade +DIST pdfbox-1.8.11-src.zip 11026359 SHA256 160a2d058325845234eaa6b5ae23535b9226aadb4e570a1a76f7106a00653b1b SHA512 05c8e5075379ed5ebb09555b39434dd936fce9dd24445871d24ea7f0f6afa49e74242bf0c9eba2d1a847b505143789b687dd039ca51ce76851132f2f18d434d1 WHIRLPOOL 9f43dff9921283d074b332ef08a34b56d58fca3624b6c263029554998b0595bb8815ad91e31c7cdee17a95db0807cb88c579ec1b1f9ab724ded3f50382220880 +EBUILD fontbox-1.7.1.ebuild 968 SHA256 445121414ae5a97969bee5ec8f285d986461ad2a1e5a2884aa22d9914e9f4526 SHA512 d499f893e453acc65696b1a9acb2e6a29e1b0cf6495b84c95f57fb69bc512c078613b87ffb1f932b3c2ad13584fdb5020847df41e8622c6f14261f2ba506fa72 WHIRLPOOL 2e06dcee20e33ac0c3f93262d586968b726f2213d045832b9c0e86cba8b8206658c69d0b1a487217e4bc75c0ae757e72e5c7cbb9e1d352f90f9abdf72ee948ed +EBUILD fontbox-1.8.11.ebuild 1145 SHA256 93ccfca6bec45e8cc944cd9fb49bcd1510ad865f70b6a7834a4f971c0f26fc1b SHA512 defb0a63b70461a9409a0ff4b9ee8fcf97a865016b4587c74ac1273fd4c221802eaecb44a148b341f6a7fbfe6cb102b069390d659f292a498057f97687b64445 WHIRLPOOL b1f1ecf5e019730afab6214cbe57a3f1bbeacbcecfdba0e09c18e4d81e6c4869daa413a2c2f3f06e190cdddab5762fcabe3e415096374c89d0835f89759535bc +MISC ChangeLog 3768 SHA256 78e785c74ef78c763a941628fb21f441842ddde5cb8780838e41052982d3de49 SHA512 6ab86e9855bc6f44a66b1f1501feac332d20ab48e3f2d04e4ed3c706a76fa382dc56de832d75fb2e5da91805455b9b9afc272d0b9807e6b3bbc48061d8366428 WHIRLPOOL b643475d9d338137568f9e9431d2a07b46f2ba6ad550018ea8e70cbc42f879bec48bc2ecae4976babc904d9b949e27b04ee0816f590fa32a491ccea0ee4a3d49 +MISC ChangeLog-2015 2024 SHA256 5241cbdaea66e6e1887c1ca684a2793634f9ab87a13b3c82f26f142871449515 SHA512 10d813afe7a1189aaff10a6b879031f8b420f2f37da7adde25217d09ccf9ad979ae7c72b4bb73dc870d3641fac323dfe3af62bb23255598dded943f1aff037d5 WHIRLPOOL 28af8a02f2c4dce0ad83fbb65318a79953c8dbb0cce9b7d3558a4a5645c93daf2c9fd0c5c536b2b77126e3dcc72387e914af7ed2e8af632a1e891bfa501b6906 +MISC metadata.xml 586 SHA256 1e5203526f0e2e09d2e1844fe52be3ae37e50236ca04f98ace7c04e2562d6ab1 SHA512 d7f91851ceae4b6d8a9315e201f5e5ba09a92c29ae26f4abc8dd4faeec30b1de64b1528f89e09cb84372197de93576a468a6e5897ca55a62c8c39c53e4943809 WHIRLPOOL 4102b6ee87668b09c684302b892c99aae3a34fc427e1de08f51e617513cf147b99fda18167bc47465a13ef511cb83811a9125be42b9acde11bb07ab61ed0e48f diff --git a/dev-java/fontbox/files/fontbox-1.7.1_maven-build.xml b/dev-java/fontbox/files/fontbox-1.7.1_maven-build.xml new file mode 100644 index 000000000000..ccde1983d680 --- /dev/null +++ b/dev-java/fontbox/files/fontbox-1.7.1_maven-build.xml @@ -0,0 +1,250 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/fontbox/fontbox-1.7.1.ebuild b/dev-java/fontbox/fontbox-1.7.1.ebuild new file mode 100644 index 000000000000..243e6d8a8374 --- /dev/null +++ b/dev-java/fontbox/fontbox-1.7.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +MY_PN=pdfbox + +DESCRIPTION="An open source Java library for parsing font files" +HOMEPAGE="http://pdfbox.apache.org/" +SRC_URI="mirror://apache/${MY_PN}/${PV}/${MY_PN}-${PV}-src.zip" + +LICENSE="BSD" +SLOT="1.7" +KEYWORDS="amd64 ~arm64 ppc64 x86 ~x86-fbsd ~x64-macos" +IUSE="" + +RDEPEND=" + >=virtual/jre-1.5" +DEPEND=" + >=virtual/jdk-1.5 + app-arch/unzip + test? ( + dev-java/ant-junit:0 + dev-java/junit:4 + )" + +S="${WORKDIR}/${MY_PN}-${PV}/${PN}" + +java_prepare() { + cp -v "${FILESDIR}"/${P}_maven-build.xml build.xml || die +} + +JAVA_ANT_REWRITE_CLASSPATH="yes" + +EANT_TEST_GENTOO_CLASSPATH="junit-4" + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_newjar target/${P}.jar ${PN}.jar + + use doc && java-pkg_dojavadoc target/site/apidocs + use source && java-pkg_dosrc src/main/java/org +} diff --git a/dev-java/fontbox/fontbox-1.8.11.ebuild b/dev-java/fontbox/fontbox-1.8.11.ebuild new file mode 100644 index 000000000000..c1c426b234a6 --- /dev/null +++ b/dev-java/fontbox/fontbox-1.8.11.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MY_PN="pdfbox" +MY_P="${MY_PN}-${PV}" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="An open source Java library for parsing font files" +HOMEPAGE="http://pdfbox.apache.org/" +SRC_URI="mirror://apache/${MY_PN}/${PV}/${MY_P}-src.zip" +LICENSE="Apache-2.0" +SLOT="1.8" +KEYWORDS="amd64 ~arm64 ppc64 x86" +IUSE="test" + +CDEPEND=">=dev-java/commons-logging-1.1.1:0" + +RDEPEND="${CDEPEND} + >=virtual/jre-1.6" + +DEPEND="${CDEPEND} + >=virtual/jdk-1.6 + app-arch/unzip + test? ( dev-java/junit:4 )" + +S="${WORKDIR}/${MY_P}/${PN}" +JAVA_SRC_DIR="src/main/java" +JAVA_GENTOO_CLASSPATH="commons-logging" + +src_install() { + java-pkg-simple_src_install + dodoc README.txt +} + +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 -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java") + ejunit4 -classpath "${CP}" ${TESTS} +} diff --git a/dev-java/fontbox/metadata.xml b/dev-java/fontbox/metadata.xml new file mode 100644 index 000000000000..86f1da025abd --- /dev/null +++ b/dev-java/fontbox/metadata.xml @@ -0,0 +1,19 @@ + + + + + java@gentoo.org + Java + + + FontBox is a Java font library used to obtain low level information + from font files. + + + FontBox on Java-kirjasto alhaisen tason tiedon noutamiseen fontti- + tiedostoista. + + + apache/pdfbox + + -- cgit v1.2.3