app-text/pdfsam: Bump

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@527 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2008-11-04 15:15:28 +00:00
parent aa40bf697d
commit 820c529ae8
4 changed files with 231 additions and 1 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
04 Nov 2008; Mario Fetka <mario.fetka@gmail.com> +pdfsam-1.4.2e.ebuild,
+pdfsam-1.4.3e.ebuild:
Bump
29 Aug 2008; Mario Fetka <mario.fetka@gmail.com> +pdfsam-1.4.1e.ebuild: 29 Aug 2008; Mario Fetka <mario.fetka@gmail.com> +pdfsam-1.4.1e.ebuild:
bump & correct ebuild bump & correct ebuild

View File

@ -3,9 +3,11 @@ DIST pdfsam-1.3.0e-sr1-out-src.zip 391942 RMD160 3c04a901323e81d8fbbca073c7016f7
DIST pdfsam-1.4.0e-out-src.zip 7415336 RMD160 4859f42e96b2df3c226a60f9b01e5ebde8026138 SHA1 e06e9513fbb1233d92151c4e90bd02da4735fa42 SHA256 8e24328f0cc7019120c49e82e4a9239bc4579d0eef8fd707d952a47466b12fa7 DIST pdfsam-1.4.0e-out-src.zip 7415336 RMD160 4859f42e96b2df3c226a60f9b01e5ebde8026138 SHA1 e06e9513fbb1233d92151c4e90bd02da4735fa42 SHA256 8e24328f0cc7019120c49e82e4a9239bc4579d0eef8fd707d952a47466b12fa7
DIST pdfsam-1.4.1e-out-src.zip 7672259 RMD160 b97f2b0d6b24fe876b1e83712a4e4b6e081b9ac5 SHA1 de15d740b30bcf1ab6a5b7c9aa19fec0ecb2feb0 SHA256 d867853e0a4cf138d9eda06432f474c1a12ae7c18947c031fbbe08c945ff4deb DIST pdfsam-1.4.1e-out-src.zip 7672259 RMD160 b97f2b0d6b24fe876b1e83712a4e4b6e081b9ac5 SHA1 de15d740b30bcf1ab6a5b7c9aa19fec0ecb2feb0 SHA256 d867853e0a4cf138d9eda06432f474c1a12ae7c18947c031fbbe08c945ff4deb
DIST pdfsam-1.4.2e-out-src.zip 7514304 RMD160 b6bb8f0e6ebdf3d3c1638fc4e7ed2c6e4f2a68e4 SHA1 24183aa66f5ea8eb1519c489142395c91b11a4aa SHA256 03521f24dcb45246ee73a0234e42648e15d5f334d2efc5c86c06a20117532cb9 DIST pdfsam-1.4.2e-out-src.zip 7514304 RMD160 b6bb8f0e6ebdf3d3c1638fc4e7ed2c6e4f2a68e4 SHA1 24183aa66f5ea8eb1519c489142395c91b11a4aa SHA256 03521f24dcb45246ee73a0234e42648e15d5f334d2efc5c86c06a20117532cb9
DIST pdfsam-1.4.3e-out-src.zip 7543948 RMD160 3d64b358cdc82fb52bacda8c3f7bfd77dfd2f434 SHA1 3eed85b645fd5fae117d32b83f401acc3f577256 SHA256 d67cfe1ce41fcc33a00191a223dbd2403c4c6de84e0c6edc5249c0a759240514
EBUILD pdfsam-1.3.0e_p1.ebuild 2780 RMD160 0c2f47c9590aadc60a5e2bc15635193326380da7 SHA1 0ae6d913b56897955cd0d9a50892ac4eb554f124 SHA256 9fbe9937696e355d3685f7da063a417b8292df219a382a640316504ff51c9c24 EBUILD pdfsam-1.3.0e_p1.ebuild 2780 RMD160 0c2f47c9590aadc60a5e2bc15635193326380da7 SHA1 0ae6d913b56897955cd0d9a50892ac4eb554f124 SHA256 9fbe9937696e355d3685f7da063a417b8292df219a382a640316504ff51c9c24
EBUILD pdfsam-1.4.0e.ebuild 4459 RMD160 340a1de86a1d9117b4dcef53d098d1d28ad14540 SHA1 ad1ec2c18c9757d4944504cf5a109ca72d0697d2 SHA256 c15ebeb0ebcda1ce6f2e45be8bf8c8d7584d7553dfb8c5ceb9c8f438717e5391 EBUILD pdfsam-1.4.0e.ebuild 4459 RMD160 340a1de86a1d9117b4dcef53d098d1d28ad14540 SHA1 ad1ec2c18c9757d4944504cf5a109ca72d0697d2 SHA256 c15ebeb0ebcda1ce6f2e45be8bf8c8d7584d7553dfb8c5ceb9c8f438717e5391
EBUILD pdfsam-1.4.1e.ebuild 4601 RMD160 11512062d8c55f13706ce966ac72ee522a726fce SHA1 23ae56cf251970545f1f061b8ba89ca1549bfa8b SHA256 1f0a294148607dc729a0481c88412bfffb585644be251f8dcf5aff9ce5dffebc EBUILD pdfsam-1.4.1e.ebuild 4601 RMD160 11512062d8c55f13706ce966ac72ee522a726fce SHA1 23ae56cf251970545f1f061b8ba89ca1549bfa8b SHA256 1f0a294148607dc729a0481c88412bfffb585644be251f8dcf5aff9ce5dffebc
EBUILD pdfsam-1.4.2e.ebuild 4601 RMD160 11512062d8c55f13706ce966ac72ee522a726fce SHA1 23ae56cf251970545f1f061b8ba89ca1549bfa8b SHA256 1f0a294148607dc729a0481c88412bfffb585644be251f8dcf5aff9ce5dffebc EBUILD pdfsam-1.4.2e.ebuild 4601 RMD160 11512062d8c55f13706ce966ac72ee522a726fce SHA1 23ae56cf251970545f1f061b8ba89ca1549bfa8b SHA256 1f0a294148607dc729a0481c88412bfffb585644be251f8dcf5aff9ce5dffebc
MISC ChangeLog 1731 RMD160 048eee9e8753446f21b60b876248e4e87de23b45 SHA1 510e0edd742769bee13195303a876cb2850fffb5 SHA256 32d3dafbf316c3ab7da1295a0744fb898439bb2f7f3cd2eb8ffa52de1f7d61c6 EBUILD pdfsam-1.4.3e.ebuild 4601 RMD160 11512062d8c55f13706ce966ac72ee522a726fce SHA1 23ae56cf251970545f1f061b8ba89ca1549bfa8b SHA256 1f0a294148607dc729a0481c88412bfffb585644be251f8dcf5aff9ce5dffebc
MISC ChangeLog 1838 RMD160 220dd7277a41d79001989f95b18328134c985f38 SHA1 67af3cd35458640266bf50701a3308b14ece5e91 SHA256 6f9d6e0b3cce96e5384f1c37196d4af2c62cb612256871b56d581d71068223da
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42

View File

@ -0,0 +1,112 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=1
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"
SLOT="1.4"
KEYWORDS="~amd64 ~x86"
IUSE=""
S="${WORKDIR}/pdfsam"
COMMON_DEP="dev-java/dom4j:1
dev-java/log4j
dev-java/itext
dev-java/jaxen:1.1
dev-java/bcmail
dev-java/bcprov
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-br1 pdfsam-encrypt pdfsam-merge pdfsam-split pdfsam-cover pdfsam-langpack pdfsam-maine-br1 pdfsam-mix
do
echo > ${S}/${bldprop}/ant/build.properties
echo "pdfsam.deploy.dir=${S}/deploy" >> ${S}/${bldprop}/ant/build.properties
echo "template.dir=${S}/template-enhanced-1" >> ${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-br1/ant/build.xml
use doc && eant ${antflags} -buildfile pdfsam-maine-br1/ant/build.xml javadoc
}
src_install() {
insinto /usr/share/${PN}-${SLOT}/lib
doins "${S}"/build/pdfsam-maine-br1/release/dist/pdfsam-enhanced/*.xml
java-pkg_dojar "${S}"/build/pdfsam-maine-br1/release/dist/pdfsam-enhanced/pdfsam.jar
java-pkg_dojar "${S}"/build/pdfsam-maine-br1/release/dist/pdfsam-enhanced/lib/pdfsam-*.jar
java-pkg_dojar "${S}"/build/pdfsam-maine-br1/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-br1/release/dist/pdfsam-enhanced/plugins/${plugins}/*.jar
doins "${S}"/build/pdfsam-maine-br1/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-br1/images/pdf.png pdfsam-${SLOT}.png
make_desktop_entry ${PN} "PDF Split and Merge ${PV}" pdfsam-${SLOT}.png Office
use doc && dodoc pdfsam-maine-br1/doc/enhanced/*
use doc && java-pkg_dojavadoc "${S}"/build/pdfsam-maine-br1/apidocs
}

View File

@ -0,0 +1,112 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=1
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"
SLOT="1.4"
KEYWORDS="~amd64 ~x86"
IUSE=""
S="${WORKDIR}/pdfsam"
COMMON_DEP="dev-java/dom4j:1
dev-java/log4j
dev-java/itext
dev-java/jaxen:1.1
dev-java/bcmail
dev-java/bcprov
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-br1 pdfsam-encrypt pdfsam-merge pdfsam-split pdfsam-cover pdfsam-langpack pdfsam-maine-br1 pdfsam-mix
do
echo > ${S}/${bldprop}/ant/build.properties
echo "pdfsam.deploy.dir=${S}/deploy" >> ${S}/${bldprop}/ant/build.properties
echo "template.dir=${S}/template-enhanced-1" >> ${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-br1/ant/build.xml
use doc && eant ${antflags} -buildfile pdfsam-maine-br1/ant/build.xml javadoc
}
src_install() {
insinto /usr/share/${PN}-${SLOT}/lib
doins "${S}"/build/pdfsam-maine-br1/release/dist/pdfsam-enhanced/*.xml
java-pkg_dojar "${S}"/build/pdfsam-maine-br1/release/dist/pdfsam-enhanced/pdfsam.jar
java-pkg_dojar "${S}"/build/pdfsam-maine-br1/release/dist/pdfsam-enhanced/lib/pdfsam-*.jar
java-pkg_dojar "${S}"/build/pdfsam-maine-br1/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-br1/release/dist/pdfsam-enhanced/plugins/${plugins}/*.jar
doins "${S}"/build/pdfsam-maine-br1/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-br1/images/pdf.png pdfsam-${SLOT}.png
make_desktop_entry ${PN} "PDF Split and Merge ${PV}" pdfsam-${SLOT}.png Office
use doc && dodoc pdfsam-maine-br1/doc/enhanced/*
use doc && java-pkg_dojavadoc "${S}"/build/pdfsam-maine-br1/apidocs
}