app-text/pdfsam: Bump no javadoc

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@429 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2008-07-30 23:58:16 +00:00
parent 309ad58615
commit 7046d4960e
3 changed files with 123 additions and 14 deletions

View File

@ -1,7 +1,10 @@
# ChangeLog for app-text/pdfsam
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
30 Jul 2008; Mario Fetka <mario.fetka@gmail.com> +pdfsam-1.4.0e.ebuild:
Bump no javadoc
21 Oct 2007; Mario Fetka <mario-fetka@gmx.at> pdfsam-1.3.0e_p1.ebuild:
remove useless inherit

View File

@ -1,17 +1,7 @@
DIST pdfsam-1.3.0e-sr1-build-1-src.zip 568873 RMD160 d41ec9897a986acec7e58336d2eb03b09cf365d2 SHA1 939c1f9fed1d8d87f6aebc617f974056ae43da37 SHA256 fdece9d10195fa0c722a5b6dfe24dd30308517214f64c1a7f47be5d6ef3b1f69
DIST pdfsam-1.3.0e-sr1-out-src.zip 391942 RMD160 3c04a901323e81d8fbbca073c7016f70ec29e901 SHA1 5f8e96a275de75287a54dd02d269eefe46a29f4d SHA256 ec4b00985a0cf8e31d5f4ac5bf4e734c43808ede8f55506610354f710d3a7df7
DIST pdfsam-1.4.0e-out-src.zip 7415336 RMD160 4859f42e96b2df3c226a60f9b01e5ebde8026138 SHA1 e06e9513fbb1233d92151c4e90bd02da4735fa42 SHA256 8e24328f0cc7019120c49e82e4a9239bc4579d0eef8fd707d952a47466b12fa7
EBUILD pdfsam-1.3.0e_p1.ebuild 2774 RMD160 896e05bf40d094481e6d8d69ab5730ad42efb235 SHA1 0f3d87a29fab07609978d8633e0e44bd299f593f SHA256 86ad36fc5e1193265b2132cb9d3ab46782110bcbca105609ddc51b1e64ebf7d7
MD5 6e01bdc7605db05aeb708b9d530d46fb pdfsam-1.3.0e_p1.ebuild 2774
RMD160 896e05bf40d094481e6d8d69ab5730ad42efb235 pdfsam-1.3.0e_p1.ebuild 2774
SHA256 86ad36fc5e1193265b2132cb9d3ab46782110bcbca105609ddc51b1e64ebf7d7 pdfsam-1.3.0e_p1.ebuild 2774
MISC ChangeLog 993 RMD160 0d29e6dc466960660eeb50c17fd0642cbe19b62e SHA1 0fc17b859bc9e28f90e00a8f9acc2c42f24a9572 SHA256 c0f27992b01dda1ff90533d4fc455bee1b14b1af30c99e75b654e37ac9b3656f
MD5 45fef6d5a44178bca8876156ca174f9b ChangeLog 993
RMD160 0d29e6dc466960660eeb50c17fd0642cbe19b62e ChangeLog 993
SHA256 c0f27992b01dda1ff90533d4fc455bee1b14b1af30c99e75b654e37ac9b3656f ChangeLog 993
EBUILD pdfsam-1.4.0e.ebuild 4722 RMD160 22c3646428ef112a5d36137c9342ad42e467b1e4 SHA1 f2599fa47243ad895629491365b21d81deda5cf5 SHA256 9073cde95ff94c76a541d3c79a3441482c97e94566c9170003c834a6449e5caf
MISC ChangeLog 1086 RMD160 ed01e73a80fa8fe6242f1a0d4ebb9ef9f037b45e SHA1 d0e635f38ee34f63e6167168fd673e21f5ada39e SHA256 523eed7366e8d49d8eccecf0f06b7330ef4eed958887fe3e9e55c95e0a38ce5e
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
MD5 6f5f2ce5dc8afe9ce0d7e0b5d6ab6782 files/digest-pdfsam-1.3.0e_p1 548
RMD160 6ec487098fefb8e6c94b80fdd4a4c13ec61923c9 files/digest-pdfsam-1.3.0e_p1 548
SHA256 7c1a3d8bbf27370a1d93649e055521bc238e5596d1ab5e5765f5226077b41d80 files/digest-pdfsam-1.3.0e_p1 548

View File

@ -0,0 +1,116 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# JAVA_PKG_IUSE="doc"
inherit java-pkg-2 eutils java-ant-2
DESCRIPTION="A free open source tool to split and merge pdf documents"
HOMEPAGE="http://www.pdfsam.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}-out-src.zip"
LICENSE="GPL-2.1"
SLOT="1.4"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE=""
S="${WORKDIR}/pdfsam"
COMMON_DEP=">=dev-java/dom4j-1.6.1
>=dev-java/log4j-1.2.15
>=dev-java/itext-2.0.4
>=dev-java/jaxen-1.0
>=dev-java/bcmail-1.35
>=dev-java/bcprov-1.35
>=dev-java/jgoodies-looks-2.0"
RDEPEND=">=virtual/jre-1.5
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.5
sys-devel/gettext
app-arch/unzip
${COMMON_DEP}"
src_unpack() {
unpack ${A}
mkdir "${S}"
cd "${S}"
for zip in "${WORKDIR}"/*.zip
do
unzip -oq ${zip} || die "unpacking ${zip} failed"
done
for bldprop in emp4j jcmdline pdfsam-console pdfsam-encrypt pdfsam-merge pdfsam-split pdfsam-cover pdfsam-langpack pdfsam-maine pdfsam-mix
do
echo > ${S}/${bldprop}/ant/build.properties
echo "pdfsam.deploy.dir=${S}/deploy" >> ${S}/${bldprop}/ant/build.properties
echo "workspace.dir=${S}" >> ${S}/${bldprop}/ant/build.properties
echo "build.dir=${S}/build" >> ${S}/${bldprop}/ant/build.properties
echo "libs.dir=${S}" >> ${S}/${bldprop}/ant/build.properties
echo "pdfsam.version=enhanced" >> ${S}/${bldprop}/ant/build.properties
echo "itext.jar.name=iText" >> ${S}/${bldprop}/ant/build.properties
echo "log4j.jar.name=log4j" >> ${S}/${bldprop}/ant/build.properties
echo "dom4j.jar.name=dom4j" >> ${S}/${bldprop}/ant/build.properties
echo "jaxen.jar.name=jaxen" >> ${S}/${bldprop}/ant/build.properties
echo "bcmail.jar.name=bcmail" >> ${S}/${bldprop}/ant/build.properties
echo "bcprov.jar.name=bcprov" >> ${S}/${bldprop}/ant/build.properties
echo "looks.jar.name=looks" >> ${S}/${bldprop}/ant/build.properties
echo "jcmdline.jar.name=pdfsam-jcmdline" >> ${S}/${bldprop}/ant/build.properties
echo "emp4j.jar.name=emp4j" >> ${S}/${bldprop}/ant/build.properties
echo "pdfsam.jar.name=pdfsam" >> ${S}/${bldprop}/ant/build.properties
echo "pdfsam-console.jar.name=pdfsam-console" >> ${S}/${bldprop}/ant/build.properties
echo "pdfsam-split.jar.name=pdfsam-split" >> ${S}/${bldprop}/ant/build.properties
echo "pdfsam-merge.jar.name=pdfsam-merge" >> ${S}/${bldprop}/ant/build.properties
echo "pdfsam-cover.jar.name=pdfsam-cover" >> ${S}/${bldprop}/ant/build.properties
echo "pdfsam-encrypt.jar.name=pdfsam-encrypt" >> ${S}/${bldprop}/ant/build.properties
echo "pdfsam-mix.jar.name=pdfsam-mix" >> ${S}/${bldprop}/ant/build.properties
echo "pdfsam-unpack.jar.name=pdfsam-unpack" >> ${S}/${bldprop}/ant/build.properties
echo "pdfsam-langpack.jar.name=pdfsam-langpack" >> ${S}/${bldprop}/ant/build.properties
done
java-pkg_jarfrom itext
java-pkg_jarfrom dom4j-1
java-pkg_jarfrom log4j
java-pkg_jarfrom jaxen-1.1
java-pkg_jarfrom bcmail
java-pkg_jarfrom bcprov
java-pkg_jarfrom jgoodies-looks-2.0
}
src_compile() {
eant ${antflags} -buildfile pdfsam-maine/ant/build.xml
# use doc && for plugins in merge cover split encrypt mix console maine
# do
# eant ${antflags} -buildfile pdfsam-${plugins}/ant/build.xml javadoc
# done
}
src_install() {
insinto /usr/share/${PN}-${SLOT}/lib
doins "${S}"/build/pdfsam-maine/release/dist/pdfsam-enhanced/*.xml
java-pkg_dojar "${S}"/build/pdfsam-maine/release/dist/pdfsam-enhanced/pdfsam.jar
java-pkg_dojar "${S}"/build/pdfsam-maine/release/dist/pdfsam-enhanced/lib/pdfsam-*.jar
java-pkg_dojar "${S}"/build/pdfsam-maine/release/dist/pdfsam-enhanced/lib/emp4j.jar
for plugins in merge cover split encrypt mix
do
java-pkg_jarinto /usr/share/${PN}-${SLOT}/lib/plugins/${plugins}
insinto /usr/share/${PN}-${SLOT}/lib/plugins/${plugins}
java-pkg_dojar "${S}"/build/pdfsam-maine/release/dist/pdfsam-enhanced/plugins/${plugins}/*.jar
doins "${S}"/build/pdfsam-maine/release/dist/pdfsam-enhanced/plugins/${plugins}/*.xml
done
java-pkg_dolauncher ${PN}-${SLOT} --main org.pdfsam.guiclient.GuiClient --pwd "/usr/share/${PN}-${SLOT}/lib"
java-pkg_dolauncher ${PN}-console-${SLOT} --main org.pdfsam.console.ConsoleClient --pwd "/usr/share/${PN}-${SLOT}/lib"
newicon "${S}"/pdfsam-maine/images/pdf.png pdfsam-${SLOT}.png
make_desktop_entry ${PN}-${SLOT} "PDF Split and Merge ${PV}" pdfsam-${SLOT}.png Office
use doc && dodoc pdfsam-maine/doc/enhanced/* || die
# use doc && for plugins in merge cover split encrypt mix console maine
# do
# java-pkg_dojavadoc "${S}"/build/pdfsam-${plugins}/apidocs/*
# done
}