From: Patrice Clement Date: Fri, 2 Oct 2015 08:58:03 +0000 (+0000) Subject: dev-java/pdfbox: Clean up old. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c7043822bfca8ec9a15633aab5ff0d0edc3ff416;p=gentoo.git dev-java/pdfbox: Clean up old. Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement --- diff --git a/dev-java/pdfbox/Manifest b/dev-java/pdfbox/Manifest index 37b1a6392408..7681455b9f54 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 28f90f16be3e..000000000000 --- 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 -}