diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-01-25 21:23:00 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-01-25 21:23:00 +0000 |
commit | b08d9f039ffadec1d3a23c92515e3d9bb342c602 (patch) | |
tree | cde642cdc8c19e151765b39f9da5b89c96bed3a6 /dev-java/pdfbox | |
parent | alpha/ia64/sparc/x86 stable (diff) | |
download | historical-b08d9f039ffadec1d3a23c92515e3d9bb342c602.tar.gz historical-b08d9f039ffadec1d3a23c92515e3d9bb342c602.tar.bz2 historical-b08d9f039ffadec1d3a23c92515e3d9bb342c602.zip |
Revdump to handle the new lucene slots. Fix unquoted variables also.
Package-Manager: portage-2.1.4
RepoMan-Options: --force
Diffstat (limited to 'dev-java/pdfbox')
-rw-r--r-- | dev-java/pdfbox/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/pdfbox/Manifest | 23 | ||||
-rw-r--r-- | dev-java/pdfbox/files/digest-pdfbox-0.7.3-r1 | 3 | ||||
-rw-r--r-- | dev-java/pdfbox/pdfbox-0.7.3-r1.ebuild | 98 | ||||
-rw-r--r-- | dev-java/pdfbox/pdfbox-0.7.3.ebuild | 8 |
5 files changed, 128 insertions, 14 deletions
diff --git a/dev-java/pdfbox/ChangeLog b/dev-java/pdfbox/ChangeLog index 69b7e641c93a..a82be0ece70d 100644 --- a/dev-java/pdfbox/ChangeLog +++ b/dev-java/pdfbox/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/pdfbox -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/pdfbox/ChangeLog,v 1.6 2007/06/14 00:36:23 angelos Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/pdfbox/ChangeLog,v 1.7 2008/01/25 21:22:59 robbat2 Exp $ + +*pdfbox-0.7.3-r1 (25 Jan 2008) + + 25 Jan 2008; Robin H. Johnson <robbat2@gentoo.org> pdfbox-0.7.3.ebuild, + +pdfbox-0.7.3-r1.ebuild: + Revdump to handle the new lucene slots. Fix unquoted variables also. 14 Jun 2007; Christoph Mende <angelos@gentoo.org> pdfbox-0.7.3.ebuild: Stable on amd64 wrt bug 181086 diff --git a/dev-java/pdfbox/Manifest b/dev-java/pdfbox/Manifest index baf138ee041f..1e67563cf6e9 100644 --- a/dev-java/pdfbox/Manifest +++ b/dev-java/pdfbox/Manifest @@ -1,12 +1,16 @@ DIST PDFBox-0.7.3.zip 22769102 RMD160 f2ac644ee0195cfc5405bb56548a01de419f5069 SHA1 5e986e2e436cd3d06bc59abd1eb14f3ed7400120 SHA256 5c6f6c87cdbf247ff29d0ce691ab977c2e869070d54cf1bd6305e0fd84e7373d -EBUILD pdfbox-0.7.3.ebuild 2438 RMD160 aa3b331d1cfbaeebfc8051eb22f4275523dff0ab SHA1 d5e06b13eb3b27305280bed9b182d23c3b0f49f9 SHA256 cad0df4deea990ae8b63eacfdafc0fd6e96d40519de3a0b3b4ba9ba06d84a29a -MD5 a026b50f55a1de82de96f38d2b9017f3 pdfbox-0.7.3.ebuild 2438 -RMD160 aa3b331d1cfbaeebfc8051eb22f4275523dff0ab pdfbox-0.7.3.ebuild 2438 -SHA256 cad0df4deea990ae8b63eacfdafc0fd6e96d40519de3a0b3b4ba9ba06d84a29a pdfbox-0.7.3.ebuild 2438 -MISC ChangeLog 843 RMD160 c122899cd96888d2c4ebf7dfb89f28d08dc650b7 SHA1 df66d6276dabdb0265717be947aa527a2a439e4e SHA256 453c2c7f4871c116c66cf8022fc4a7eb518870817f3f1e12cc0545c4e1194436 -MD5 93f06349a14ef70d159164fe64e97057 ChangeLog 843 -RMD160 c122899cd96888d2c4ebf7dfb89f28d08dc650b7 ChangeLog 843 -SHA256 453c2c7f4871c116c66cf8022fc4a7eb518870817f3f1e12cc0545c4e1194436 ChangeLog 843 +EBUILD pdfbox-0.7.3-r1.ebuild 2454 RMD160 3d29401cb89b17ebac4eed5ac08cc848be2aa536 SHA1 66bbd5673a80c99e8b73b6eec678323bb9b6d580 SHA256 94c6c26f01511e1fa8647dee437a58973edf4be596ebd383d4476499e9595194 +MD5 fc7ea671361455fed07b412ce8c6ef6d pdfbox-0.7.3-r1.ebuild 2454 +RMD160 3d29401cb89b17ebac4eed5ac08cc848be2aa536 pdfbox-0.7.3-r1.ebuild 2454 +SHA256 94c6c26f01511e1fa8647dee437a58973edf4be596ebd383d4476499e9595194 pdfbox-0.7.3-r1.ebuild 2454 +EBUILD pdfbox-0.7.3.ebuild 2442 RMD160 524d5f912b47d21cd652defbc4fbd1c7940c236c SHA1 2d67ac7cbf87240bc32f05e0d38f5b9f107e954e SHA256 6430d1ad1dcc42a8839d00aa1fc023c2c7e2b0a2a12fc1613448bb01a922894f +MD5 d94138523a43144f173eb13404416e3f pdfbox-0.7.3.ebuild 2442 +RMD160 524d5f912b47d21cd652defbc4fbd1c7940c236c pdfbox-0.7.3.ebuild 2442 +SHA256 6430d1ad1dcc42a8839d00aa1fc023c2c7e2b0a2a12fc1613448bb01a922894f pdfbox-0.7.3.ebuild 2442 +MISC ChangeLog 1048 RMD160 d5c1add748dc3b2e04679981fbc6849a1cd0a7ca SHA1 d5ed6b0e3b77f5b34f49d5406e7c591431656577 SHA256 e4dcd058dfe47e97505d6da8017133d9173774a763e9af4d284423d7effb733e +MD5 2083fff99479bd2e6a4e9a9639fff895 ChangeLog 1048 +RMD160 d5c1add748dc3b2e04679981fbc6849a1cd0a7ca ChangeLog 1048 +SHA256 e4dcd058dfe47e97505d6da8017133d9173774a763e9af4d284423d7effb733e ChangeLog 1048 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157 @@ -14,3 +18,6 @@ SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata MD5 ece79d280b17c49baaa5fdb715794b06 files/digest-pdfbox-0.7.3 235 RMD160 bce0b80ef7fe7be8a93c2449ccf4a12908e27c35 files/digest-pdfbox-0.7.3 235 SHA256 a548e7a567316433b1829339341270aaf2d972d83f05b796d1f01d5c2cd6ec18 files/digest-pdfbox-0.7.3 235 +MD5 ece79d280b17c49baaa5fdb715794b06 files/digest-pdfbox-0.7.3-r1 235 +RMD160 bce0b80ef7fe7be8a93c2449ccf4a12908e27c35 files/digest-pdfbox-0.7.3-r1 235 +SHA256 a548e7a567316433b1829339341270aaf2d972d83f05b796d1f01d5c2cd6ec18 files/digest-pdfbox-0.7.3-r1 235 diff --git a/dev-java/pdfbox/files/digest-pdfbox-0.7.3-r1 b/dev-java/pdfbox/files/digest-pdfbox-0.7.3-r1 new file mode 100644 index 000000000000..08be748c1902 --- /dev/null +++ b/dev-java/pdfbox/files/digest-pdfbox-0.7.3-r1 @@ -0,0 +1,3 @@ +MD5 b8d01eb03b409ba288aba3fb0194589f PDFBox-0.7.3.zip 22769102 +RMD160 f2ac644ee0195cfc5405bb56548a01de419f5069 PDFBox-0.7.3.zip 22769102 +SHA256 5c6f6c87cdbf247ff29d0ce691ab977c2e869070d54cf1bd6305e0fd84e7373d PDFBox-0.7.3.zip 22769102 diff --git a/dev-java/pdfbox/pdfbox-0.7.3-r1.ebuild b/dev-java/pdfbox/pdfbox-0.7.3-r1.ebuild new file mode 100644 index 000000000000..8b7e76a301dd --- /dev/null +++ b/dev-java/pdfbox/pdfbox-0.7.3-r1.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/pdfbox/pdfbox-0.7.3-r1.ebuild,v 1.1 2008/01/25 21:22:59 robbat2 Exp $ + +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.org" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip" +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +CDEPEND="dev-java/fontbox + >=dev-java/bcprov-1.32 + >=dev-java/bcmail-1.32 + dev-java/lucene:2.1 + dev-java/ant-core" +RDEPEND=">=virtual/jre-1.4 + ${CDEPEND}" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + ${CDEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + + rm -v external/*.jar + 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 + java-pkg_jar-from bcmail + 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 "${1} -> ${2}" >> "${T}"/launcher.list +} + +src_install() { + java-pkg_newjar lib/${MY_P}.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 +} diff --git a/dev-java/pdfbox/pdfbox-0.7.3.ebuild b/dev-java/pdfbox/pdfbox-0.7.3.ebuild index 33989c4faabd..a5325fcd541a 100644 --- a/dev-java/pdfbox/pdfbox-0.7.3.ebuild +++ b/dev-java/pdfbox/pdfbox-0.7.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/pdfbox/pdfbox-0.7.3.ebuild,v 1.6 2007/06/14 00:36:23 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/pdfbox/pdfbox-0.7.3.ebuild,v 1.7 2008/01/25 21:22:59 robbat2 Exp $ JAVA_PKG_IUSE="doc source" WANT_ANT_TASKS="ant-nodeps" @@ -51,7 +51,7 @@ EANT_BUILD_TARGET="package" my_launcher() { java-pkg_dolauncher ${1} --main org.pdfbox.${2} - echo "${1} -> ${2}" >> ${T}/launcher.list + echo "${1} -> ${2}" >> "${T}"/launcher.list } src_install() { @@ -93,5 +93,5 @@ pkg_postinst() { while read line do elog ${line} - done < ${T}/launcher.list + done < "${T}"/launcher.list } |