Version bump
authorMiroslav Šulc <fordfrog@gentoo.org>
Sat, 6 Jan 2007 14:10:55 +0000 (14:10 +0000)
committerMiroslav Šulc <fordfrog@gentoo.org>
Sat, 6 Jan 2007 14:10:55 +0000 (14:10 +0000)
Package-Manager: portage-2.1.2_rc4-r6

dev-java/jfreechart/ChangeLog
dev-java/jfreechart/Manifest
dev-java/jfreechart/files/digest-jfreechart-1.0.3 [new file with mode: 0644]
dev-java/jfreechart/files/jfreechart-1.0.3-build.xml.patch [new file with mode: 0644]
dev-java/jfreechart/jfreechart-1.0.3.ebuild [new file with mode: 0644]

index 187dd6b476a3b8e3b22cdeea9dbe8a30858d73cf..dbeb712ef80e6a8e73bc8ea25e51a1d13c2350c7 100644 (file)
@@ -1,6 +1,15 @@
 # ChangeLog for dev-java/jfreechart
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jfreechart/ChangeLog,v 1.11 2006/09/11 12:59:25 nelchael Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jfreechart/ChangeLog,v 1.12 2007/01/06 14:10:55 fordfrog Exp $
+
+*jfreechart-1.0.3 (06 Jan 2007)
+
+  06 Jan 2007; Miroslav Šulc <miroslav.sulc@startnet.cz>
+  +files/jfreechart-1.0.3-build.xml.patch, +jfreechart-1.0.3.ebuild:
+  Version bump, updated license, dropped ~ppc as it is not present in itext,
+  dropped gnu-jaxp dep as it is needed only for JDK 1.3, added support for
+  tests which currently fail (reported upstream), ebuild currently installs
+  jfreechart-experimental.jar too
 
 *jfreechart-1.0.2 (11 Sep 2006)
 *jfreechart-0.9.21-r1 (11 Sep 2006)
index dc9a0ae6f7628451ed0864e4bfaaa599d63028d8..06e9249773b169ad5fc7e5b73796c9b8395dd78c 100644 (file)
@@ -1,8 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX jfreechart-1.0.3-build.xml.patch 2226 RMD160 241811560d64d1780c4c0e936b60802bae3cb2f0 SHA1 657e45cab4609745abb1b82524c710055bae36ca SHA256 b23b55d0ab9c7efc8f53375d7aca8b198eb22ca31f0164fb18a44059d9a387cc
+MD5 07e96486f8ff737555e57173e3030151 files/jfreechart-1.0.3-build.xml.patch 2226
+RMD160 241811560d64d1780c4c0e936b60802bae3cb2f0 files/jfreechart-1.0.3-build.xml.patch 2226
+SHA256 b23b55d0ab9c7efc8f53375d7aca8b198eb22ca31f0164fb18a44059d9a387cc files/jfreechart-1.0.3-build.xml.patch 2226
 DIST jfreechart-0.9.21.tar.gz 2765821 RMD160 c6e96aa139c3d2b3f1cb2a1866115dbcbf391460 SHA1 6b6092f6569e5d1211688d0661564c3fb0a93ba7 SHA256 6f1d09212afe17666be5f433de3ff131ed2851595e867edb90c8de39a7e6bb45
 DIST jfreechart-1.0.2.tar.gz 4480107 RMD160 62cb6b1e4e4c6ffc676bd54c42696b95d64bbae9 SHA1 399bb52464e43ab05ce28068aa008e4439537b1f SHA256 6ac37dad4dbaa83a2869eb93fc81958933ea100110a39c747bc87fe6872d7931
+DIST jfreechart-1.0.3.tar.gz 5307298 RMD160 6dde2729f9cb0c2325c4be744178b25403f44efa SHA1 4d1708c540c9b6d5755e4ff2cc1a0031c97c5d10 SHA256 a863d36bac966b074d36fc3e220af7c8b862180447b503911558413b0586da5f
 EBUILD jfreechart-0.9.21-r1.ebuild 1179 RMD160 0a38bd3bf90ade45493b75b02837499e9d15bc8a SHA1 cb350542e321e46fe4fc72442a4e34de6c025841 SHA256 846f3029fdbad4beee63e702a619adab298608c0e2e88f112e6fd3f6ae34e515
 MD5 14df69f20a5011e00cf14064b5fe8b7e jfreechart-0.9.21-r1.ebuild 1179
 RMD160 0a38bd3bf90ade45493b75b02837499e9d15bc8a jfreechart-0.9.21-r1.ebuild 1179
@@ -15,10 +17,14 @@ EBUILD jfreechart-1.0.2.ebuild 1266 RMD160 69fb21d361c36efdadaf5170410313ba76573
 MD5 c7950e1ae82bb088a76c7bafde740269 jfreechart-1.0.2.ebuild 1266
 RMD160 69fb21d361c36efdadaf5170410313ba76573071 jfreechart-1.0.2.ebuild 1266
 SHA256 b6e4a2fbdab325dbe39aa1010fcb77d2c66a30fb8b3702f4bb1b79cad25fe833 jfreechart-1.0.2.ebuild 1266
-MISC ChangeLog 1783 RMD160 16d59b4a5657f0f7d7ca315480126bf2412f5c64 SHA1 9f38899ec95b5471fe5debd27d746d6e2b597253 SHA256 c9b30628d18bd5417f54c33dd8e5f10a4e096e21f2a90259e4ca87ffb60c5b10
-MD5 e07e2125fb59d51164ebba8a0beed4a4 ChangeLog 1783
-RMD160 16d59b4a5657f0f7d7ca315480126bf2412f5c64 ChangeLog 1783
-SHA256 c9b30628d18bd5417f54c33dd8e5f10a4e096e21f2a90259e4ca87ffb60c5b10 ChangeLog 1783
+EBUILD jfreechart-1.0.3.ebuild 1437 RMD160 08f828c6ffd56fe3f859fc9828b182c8cdafed64 SHA1 678cf6a6938576673a11de6429df3d17651f9135 SHA256 0185088bec7d2f6c8a62152d3491845bc893b19d53e734a21638b03f2378e9ac
+MD5 9afbe9f2b1e479bcbe2d0abc46ccfd6a jfreechart-1.0.3.ebuild 1437
+RMD160 08f828c6ffd56fe3f859fc9828b182c8cdafed64 jfreechart-1.0.3.ebuild 1437
+SHA256 0185088bec7d2f6c8a62152d3491845bc893b19d53e734a21638b03f2378e9ac jfreechart-1.0.3.ebuild 1437
+MISC ChangeLog 2206 RMD160 0ce0cc07f1ae1928999d72693086b9d621b215d6 SHA1 9112193f4704979de4fde8762f5dbf001671ddb6 SHA256 bc2db23e9c8b365f157e5d794bbe7eec4aea6425313137ae2c78b94ec167437c
+MD5 9455f4df8025cdbb34ab4fe951540f69 ChangeLog 2206
+RMD160 0ce0cc07f1ae1928999d72693086b9d621b215d6 ChangeLog 2206
+SHA256 bc2db23e9c8b365f157e5d794bbe7eec4aea6425313137ae2c78b94ec167437c ChangeLog 2206
 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
@@ -32,10 +38,6 @@ SHA256 5f1651871ba3b370278a680f34abddb40c6011e10321a71a2d07796434c008b0 files/di
 MD5 5b3878f9ceffb595be30b5765fb4db20 files/digest-jfreechart-1.0.2 253
 RMD160 b9adb3aa004d74f2d1b4772ec709cb8b78f1dbdf files/digest-jfreechart-1.0.2 253
 SHA256 3509d8ccaf24876ad58beb864d2cfdb6cd712736fcbcc7220a1db68ec8e65d86 files/digest-jfreechart-1.0.2 253
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
-
-iD8DBQFFBV27go/w9rxVVVERAjhdAJ9npasy1DfaWEpYNpdBpndr6i2daQCgwYpc
-cPYBMgeVn8aaOBuhDdf0clk=
-=AYSB
------END PGP SIGNATURE-----
+MD5 d3b7b0e393e6a4223f7ef2c5ac48a653 files/digest-jfreechart-1.0.3 253
+RMD160 760c740abfb7a5529ddc8fa9d725ee36e822d54d files/digest-jfreechart-1.0.3 253
+SHA256 56c2051754b95649ae9a7ed9d6d970e51d328320af91a47a74fbab1d710d27d7 files/digest-jfreechart-1.0.3 253
diff --git a/dev-java/jfreechart/files/digest-jfreechart-1.0.3 b/dev-java/jfreechart/files/digest-jfreechart-1.0.3
new file mode 100644 (file)
index 0000000..83e1d77
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 e0aa991ad62d10c12b82a002be29549d jfreechart-1.0.3.tar.gz 5307298
+RMD160 6dde2729f9cb0c2325c4be744178b25403f44efa jfreechart-1.0.3.tar.gz 5307298
+SHA256 a863d36bac966b074d36fc3e220af7c8b862180447b503911558413b0586da5f jfreechart-1.0.3.tar.gz 5307298
diff --git a/dev-java/jfreechart/files/jfreechart-1.0.3-build.xml.patch b/dev-java/jfreechart/files/jfreechart-1.0.3-build.xml.patch
new file mode 100644 (file)
index 0000000..69b3c47
--- /dev/null
@@ -0,0 +1,48 @@
+--- build.xml.original 2007-01-06 12:40:56.000000000 +0100
++++ build.xml  2007-01-06 13:28:40.000000000 +0100
+@@ -311,4 +311,45 @@
+         <delete dir="${basedir}/distribution" />    
+     </target>
++    <target name="compile-tests" depends="compile,compile-experimental"
++            description="Compile the test code">
++        <mkdir dir="${basedir}/build-tests"/>
++        <javac destdir="${basedir}/build-tests" srcdir="${basedir}/tests" source="1.3"
++               target="1.3" debug="true" deprecation="true"
++               optimize="false">
++            <classpath>
++                <path refid="build.classpath"/>
++                <pathelement location="${junit.jar}"/>
++                <pathelement location="${basedir}/${jfreechart.name}-${jfreechart.version}.jar"/>
++                <pathelement location="${basedir}/${jfreechart.name}-${jfreechart.version}-experimental.jar"/>
++                <pathelement location="${basedir}/build-tests"/>
++            </classpath>
++        </javac>
++        <copy todir="${basedir}/build-tests">
++            <fileset dir="${basedir}/tests" excludes="**/*.java"/>
++        </copy>
++    </target>
++
++    <target name="test" depends="compile-tests"
++            description="Run the test cases">
++        <mkdir dir="${basedir}/build-tests-reports"/>
++        <junit printSummary="yes" haltonerror="true" haltonfailure="true"
++               fork="true" dir=".">
++            <sysproperty key="basedir" value="."/>
++            <formatter type="plain" usefile="false"/>
++            <classpath>
++                <path refid="build.classpath"/>
++                <pathelement location="${junit.jar}"/>
++                <pathelement location="${basedir}/${jfreechart.name}-${jfreechart.version}.jar"/>
++                <pathelement location="${basedir}/${jfreechart.name}-${jfreechart.version}-experimental.jar"/>
++                <pathelement location="${basedir}/build-tests"/>
++            </classpath>
++            <batchtest todir="${basedir}/build-tests-reports">
++                <fileset dir="${basedir}/tests">
++                    <include name="**/*Tests.java"/>
++                </fileset>
++            </batchtest>
++        </junit>
++    </target>
++
+ </project>
diff --git a/dev-java/jfreechart/jfreechart-1.0.3.ebuild b/dev-java/jfreechart/jfreechart-1.0.3.ebuild
new file mode 100644 (file)
index 0000000..be89d6c
--- /dev/null
@@ -0,0 +1,55 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jfreechart/jfreechart-1.0.3.ebuild,v 1.1 2007/01/06 14:10:55 fordfrog Exp $
+
+inherit java-pkg-2 java-ant-2 versionator
+
+DESCRIPTION="JFreeChart is a free Java class library for generating charts"
+HOMEPAGE="http://www.jfree.org"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+SLOT="1.0"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc source test"
+COMMON_DEPEND="
+       >=dev-java/itext-1.4.6
+       >=dev-java/jcommon-1.0.0
+       =dev-java/servletapi-2.3*"
+DEPEND=">=virtual/jdk-1.4
+       ${COMMON_DEPEND}
+       dev-java/ant-core
+       test? ( =dev-java/junit-3.8* )"
+RDEPEND=">=virtual/jdk-1.4
+       ${COMMON_DEPEND}"
+
+src_unpack() {
+       unpack "${A}"
+
+       cd "${S}/ant"
+       epatch ${FILESDIR}/${P}-build.xml.patch
+
+       cd "${S}"
+       rm -f lib/* *.jar
+       cd "${S}/lib"
+       java-pkg_jar-from itext iText.jar itext-1.4.6.jar
+       java-pkg_jar-from jcommon-1.0 jcommon.jar jcommon-1.0.6.jar
+       java-pkg_jar-from servletapi-2.3
+       use test && java-pkg_jar-from junit
+}
+
+src_compile() {
+       eant -f ant/build.xml compile compile-experimental $(use_doc)
+}
+
+src_test() {
+       ANT_TASKS="ant-junit" eant -f ant/build.xml test
+}
+
+src_install() {
+       java-pkg_newjar ${P}.jar ${PN}.jar
+       java-pkg_newjar ${P}-experimental.jar ${PN}-experimental.jar
+       dodoc README.txt CHANGELOG.txt
+       use doc && java-pkg_dojavadoc javadoc
+       use source && java-pkg_dosrc source/org
+}
+