diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2005-09-10 15:42:34 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2005-09-10 15:42:34 +0000 |
commit | 2720d4960fd449608f18f2f1d143a493f971512f (patch) | |
tree | 5168712bcb6f1f4f212dec3e2dea5007ed91bff5 /app-misc/jbidwatcher | |
parent | Cleanup network failure during commit. (diff) | |
download | historical-2720d4960fd449608f18f2f1d143a493f971512f.tar.gz historical-2720d4960fd449608f18f2f1d143a493f971512f.tar.bz2 historical-2720d4960fd449608f18f2f1d143a493f971512f.zip |
version bump #101937
Package-Manager: portage-2.0.52-r1
Diffstat (limited to 'app-misc/jbidwatcher')
-rw-r--r-- | app-misc/jbidwatcher/ChangeLog | 9 | ||||
-rw-r--r-- | app-misc/jbidwatcher/Manifest | 14 | ||||
-rw-r--r-- | app-misc/jbidwatcher/files/digest-jbidwatcher-0.9.8 | 1 | ||||
-rw-r--r-- | app-misc/jbidwatcher/files/jbidwatcher-0.9.8-build_xml.patch | 49 | ||||
-rw-r--r-- | app-misc/jbidwatcher/files/jbidwatcher-0.9.8-javadoc.patch | 38 | ||||
-rw-r--r-- | app-misc/jbidwatcher/jbidwatcher-0.9.8.ebuild | 53 |
6 files changed, 158 insertions, 6 deletions
diff --git a/app-misc/jbidwatcher/ChangeLog b/app-misc/jbidwatcher/ChangeLog index 7505b1bc141a..5c1fd7251459 100644 --- a/app-misc/jbidwatcher/ChangeLog +++ b/app-misc/jbidwatcher/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-misc/jbidwatcher # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/jbidwatcher/ChangeLog,v 1.20 2005/07/20 12:15:10 axxo Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/jbidwatcher/ChangeLog,v 1.21 2005/09/10 15:42:34 axxo Exp $ + +*jbidwatcher-0.9.8 (10 Sep 2005) + + 10 Sep 2005; Thomas Matthijs <axxo@gentoo.org> + +files/jbidwatcher-0.9.8-build_xml.patch, + +files/jbidwatcher-0.9.8-javadoc.patch, +jbidwatcher-0.9.8.ebuild: + version bump #101937 *jbidwatcher-0.9.7.1 (20 Jul 2005) diff --git a/app-misc/jbidwatcher/Manifest b/app-misc/jbidwatcher/Manifest index 0d4c1cbea18b..49313471bef0 100644 --- a/app-misc/jbidwatcher/Manifest +++ b/app-misc/jbidwatcher/Manifest @@ -1,16 +1,20 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +MD5 bfecafc0a7b1fe53dcafb30caa41b75b jbidwatcher-0.9.8.ebuild 1456 MD5 1ad956dceb43c8e3683600af056217c1 jbidwatcher-0.9.7.1.ebuild 1169 -MD5 2392b0826bdd42c6ec77ac8450b3a7e9 ChangeLog 2364 +MD5 00d441c235009a9e6afeb008b41d4649 ChangeLog 2584 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 MD5 87ab883daca9c7942dec30618af87190 jbidwatcher-0.9.7.ebuild 1167 +MD5 e4a099a9465fab9439db2f10b38539f8 files/jbidwatcher-0.9.8-build_xml.patch 2328 +MD5 9e35f6ed9dd9312fafd1fd5d2161a3cf files/jbidwatcher-0.9.8-javadoc.patch 1232 MD5 451a7f7f02d3d485fdc7b6b735f3ec46 files/digest-jbidwatcher-0.9.7 69 +MD5 d0fdaf1156e8b181b282c9cd2dd4ad95 files/digest-jbidwatcher-0.9.8 69 MD5 af1ad3b07a94f624e49bad21318031b8 files/digest-jbidwatcher-0.9.7.1 71 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) +Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFC3kBp/rLF9B432nYRAneHAJ9eV/YESyk0/L088sR6a5Dcn4ZxDACfWfjY -oCQMH5aCJOpKgB5up0f2NkI= -=n73A +iD8DBQFDIv8D/rLF9B432nYRAq5FAJwJFJkUvi480ykdbseI3N2kB92PJACfa/aL +iP9F4bMnoYzc366/P0IUNN4= +=O7Lq -----END PGP SIGNATURE----- diff --git a/app-misc/jbidwatcher/files/digest-jbidwatcher-0.9.8 b/app-misc/jbidwatcher/files/digest-jbidwatcher-0.9.8 new file mode 100644 index 000000000000..ac27d4aa1ba1 --- /dev/null +++ b/app-misc/jbidwatcher/files/digest-jbidwatcher-0.9.8 @@ -0,0 +1 @@ +MD5 7991ba69bc8cbab4e1c1bbb8a492acf0 jbidwatcher-0.9.8.tar.gz 475510 diff --git a/app-misc/jbidwatcher/files/jbidwatcher-0.9.8-build_xml.patch b/app-misc/jbidwatcher/files/jbidwatcher-0.9.8-build_xml.patch new file mode 100644 index 000000000000..19624580a3ba --- /dev/null +++ b/app-misc/jbidwatcher/files/jbidwatcher-0.9.8-build_xml.patch @@ -0,0 +1,49 @@ +diff -ru jbidwatcher-0.9.8/build.xml jbidwatcher-0.9.8-patched/build.xml +--- jbidwatcher-0.9.8/build.xml 2005-08-04 20:56:46.000000000 -0400 ++++ jbidwatcher-0.9.8-patched/build.xml 2005-08-10 20:12:35.000000000 -0400 +@@ -22,7 +22,7 @@ + <property name="log.dir" value="logs" /> + <property name="JAVADIR" value="." /> + +- <property name="build.compiler" value="jikes" /> ++ <property name="build.compiler" value="modern" /> + <property name="build.compiler.emacs" value="true" /> + + <property name="app.name" value="JBidWatcher" /> +@@ -52,8 +52,8 @@ + + <target name="compile" depends="init"> + <echo level="info" message="Compiling all classes." /> +- <mkdir dir="${user.home}/.jbidwatcher" /> +- <copy file="display.cfg" todir="${user.home}/.jbidwatcher" /> ++ <mkdir dir="." /> ++ <copy file="display.cfg" todir="." /> + <javac srcdir="${src.dir}" destdir="${build.dir}" > + <classpath refid="project.class.path" /> + <include name="*.java" /> +@@ -61,7 +61,6 @@ + </target> + + <!-- +- <taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask"/> + rulesets/basic.xml + rulesets/design.xml + rulesets/imports.xml +@@ -104,7 +103,7 @@ + <echo level="info" message="Building executable .jar file." /> + <jar jarfile="${BINARY}" manifest="${MANIFEST}" index="true"> + <fileset dir="${src.dir}" includes="*.jpg" /> +- <fileset dir="${user.home}/.jbidwatcher" includes="display.cfg" /> ++ <fileset dir="." includes="display.cfg" /> + <fileset dir="${build.dir}" includes="**/*.class" /> + <fileset dir="${src.dir}" includes="com/**/*.class" /> + <fileset dir="${src.dir}" includes="org/**/*.class" /> +@@ -120,7 +119,7 @@ + <tar destfile="${TARFILE}" compression="gzip"> + <tarfileset prefix="${TARSRC}" dir="${src.dir}" includes="*.java" /> + <tarfileset prefix="${TARSRC}" dir="${src.dir}" includes="*.jpg" /> +- <tarfileset prefix="${TARSRC}" dir="${user.home}/.jbidwatcher" includes="display.cfg" /> ++ <tarfileset prefix="${TARSRC}" dir="." includes="display.cfg" /> + <tarfileset prefix="${TARSRC}" dir="${src.dir}" includes="auctions.dtd" /> + <tarfileset prefix="${TARSRC}" dir="${src.dir}" includes="TODO" /> + <tarfileset prefix="${TARSRC}" dir="${src.dir}" includes="Makefile" /> diff --git a/app-misc/jbidwatcher/files/jbidwatcher-0.9.8-javadoc.patch b/app-misc/jbidwatcher/files/jbidwatcher-0.9.8-javadoc.patch new file mode 100644 index 000000000000..ea8e4f2ed624 --- /dev/null +++ b/app-misc/jbidwatcher/files/jbidwatcher-0.9.8-javadoc.patch @@ -0,0 +1,38 @@ +diff -ru jbidwatcher-0.9.8/build.xml jbidwatcher-0.9.8-patched/build.xml +--- jbidwatcher-0.9.8/build.xml 2005-08-04 20:56:46.000000000 -0400 ++++ jbidwatcher-0.9.8-patched/build.xml 2005-08-10 20:07:48.000000000 -0400 +@@ -19,6 +19,7 @@ + <property name="build.dir" value="classes" /> + <property name="src.dir" value="." /> + <property name="dest.dir" value="." /> ++ <property name="javadoc.dir" value="docs/api"/> + <property name="log.dir" value="logs" /> + <property name="JAVADIR" value="." /> + +@@ -48,6 +49,7 @@ + <tstamp/> + <mkdir dir="${build.dir}" /> + <mkdir dir="${log.dir}" /> ++ <mkdir dir="${javadoc.dir}"/> + </target> + + <target name="compile" depends="init"> +@@ -201,6 +203,7 @@ + <delete> + <fileset dir="${build.dir}" includes="*.class" /> + </delete> ++ <delete dir="${javadoc.dir}"/> + </target> + + <target name="opt" depends="jar" description="Build an optimized version of the .jar file."> +@@ -217,4 +220,10 @@ + <target name="run" description="Start Application"> + <java fork="true" jar="${BINARY}" /> + </target> ++ ++ <target name="javadoc"> ++ <javadoc destdir="${javadoc.dir}"> ++ <fileset dir="${src.dir}" includes="**/*.java"/> ++ </javadoc> ++ </target> + </project> diff --git a/app-misc/jbidwatcher/jbidwatcher-0.9.8.ebuild b/app-misc/jbidwatcher/jbidwatcher-0.9.8.ebuild new file mode 100644 index 000000000000..726ea50ec0c6 --- /dev/null +++ b/app-misc/jbidwatcher/jbidwatcher-0.9.8.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/jbidwatcher/jbidwatcher-0.9.8.ebuild,v 1.1 2005/09/10 15:42:34 axxo Exp $ + +inherit java-pkg eutils + +MY_PN=JBidWatcher +MY_P=${MY_PN}-${PV} +DESCRIPTION="Ebay Bidder Tools for Sniping" +HOMEPAGE="http://jbidwatcher.sf.net/" +SRC_URI="mirror://sourceforge/jbidwatcher/${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc jikes" + +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + jikes? ( dev-java/jikes )" +RDEPEND=">=virtual/jre-1.4" + +src_unpack() { + unpack ${A} + cd ${S} + + # TODO submit this patches upstream + use doc && epatch ${FILESDIR}/${P}-javadoc.patch + + # Fix bad build.xml (used to be the sed magic below) + epatch ${FILESDIR}/${P}-build_xml.patch +# sed -i -e 's:${user.home}/.jbidwatcher:.:' \ +# -e 's:jikes:modern:' \ +# -e 's:<fileset dir="${src.dir}" includes="jbidwatcher.properties">:<fileset dir="${src.dir}" includes="jbidwatcher.properties" />:' \ +# -e '/taskdef/d' build.xml +} + +src_compile() { + local antflags="jar" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + use doc && antflags="${antflags} javadoc" + ant ${antflags} || die "compilation failed" +} + +src_install() { + java-pkg_newjar ${MY_P}.jar ${PN}.jar + + use doc && java-pkg_dohtml -r docs/api + + echo "#!/bin/sh" > ${PN} + echo 'java -jar $(java-config -p jbidwatcher) "$@"' >> ${PN} + + dobin ${PN} +} |