diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2007-02-09 23:51:12 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2007-02-09 23:51:12 +0000 |
commit | 38f85345a6997af53fa3b992d4fd2b14f3d15ccf (patch) | |
tree | dfde6f3d6914118889a3f82b38909de8434b3d1f /dev-java/jfreechart | |
parent | Added ~x86-fbsd keyword. (diff) | |
download | gentoo-2-38f85345a6997af53fa3b992d4fd2b14f3d15ccf.tar.gz gentoo-2-38f85345a6997af53fa3b992d4fd2b14f3d15ccf.tar.bz2 gentoo-2-38f85345a6997af53fa3b992d4fd2b14f3d15ccf.zip |
Version bump.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'dev-java/jfreechart')
-rw-r--r-- | dev-java/jfreechart/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/jfreechart/files/digest-jfreechart-1.0.4 | 3 | ||||
-rw-r--r-- | dev-java/jfreechart/files/jfreechart-1.0.4-build.xml.patch | 11 | ||||
-rw-r--r-- | dev-java/jfreechart/jfreechart-1.0.4.ebuild | 67 |
4 files changed, 88 insertions, 1 deletions
diff --git a/dev-java/jfreechart/ChangeLog b/dev-java/jfreechart/ChangeLog index bf7015d2b4ba..210893753013 100644 --- a/dev-java/jfreechart/ChangeLog +++ b/dev-java/jfreechart/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/jfreechart # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jfreechart/ChangeLog,v 1.18 2007/02/03 14:31:46 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jfreechart/ChangeLog,v 1.19 2007/02/09 23:51:12 fordfrog Exp $ + +*jfreechart-1.0.4 (09 Feb 2007) + + 09 Feb 2007; Miroslav Šulc <fordfrog@gentoo.org> + +files/jfreechart-1.0.4-build.xml.patch, +jfreechart-1.0.4.ebuild: + Version bump. This version does not pass tests. 03 Feb 2007; Steve Dibb <beandog@gentoo.org> jfreechart-0.9.21-r1.ebuild: amd64 stable, bug 164121 diff --git a/dev-java/jfreechart/files/digest-jfreechart-1.0.4 b/dev-java/jfreechart/files/digest-jfreechart-1.0.4 new file mode 100644 index 000000000000..a7a0a0cbacd5 --- /dev/null +++ b/dev-java/jfreechart/files/digest-jfreechart-1.0.4 @@ -0,0 +1,3 @@ +MD5 910ae95495125ed52879ed4f6afacfd9 jfreechart-1.0.4.tar.gz 5560894 +RMD160 4eda170cb8667a8c37e503c47579393db6dbb4ba jfreechart-1.0.4.tar.gz 5560894 +SHA256 f6eb5f46c547949dc157ddb581e0ecc995fd8b6da080c8852be3e8528847c19a jfreechart-1.0.4.tar.gz 5560894 diff --git a/dev-java/jfreechart/files/jfreechart-1.0.4-build.xml.patch b/dev-java/jfreechart/files/jfreechart-1.0.4-build.xml.patch new file mode 100644 index 000000000000..cf4c9ada537f --- /dev/null +++ b/dev-java/jfreechart/files/jfreechart-1.0.4-build.xml.patch @@ -0,0 +1,11 @@ +--- ant/build.xml.original 2007-02-09 23:44:42.000000000 +0100 ++++ ant/build.xml 2007-02-09 23:45:01.000000000 +0100 +@@ -338,7 +338,7 @@ + <junit printSummary="yes" + haltonerror="true" + haltonfailure="true" +- fork="true" ++ fork="false" + dir="."> + + <sysproperty key="basedir" value="."/> diff --git a/dev-java/jfreechart/jfreechart-1.0.4.ebuild b/dev-java/jfreechart/jfreechart-1.0.4.ebuild new file mode 100644 index 000000000000..b7fa3b0ce4e1 --- /dev/null +++ b/dev-java/jfreechart/jfreechart-1.0.4.ebuild @@ -0,0 +1,67 @@ +# 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.4.ebuild,v 1.1 2007/02/09 23:51:12 fordfrog Exp $ + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +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="~amd64 ~ppc ~x86" +IUSE="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} + !test? ( dev-java/ant-core ) + test? ( dev-java/ant + =dev-java/junit-3.8* )" +RDEPEND=">=virtual/jdk-1.4 + ${COMMON_DEPEND}" + +src_unpack() { + unpack "${A}" + cd "${S}" + + # We do not fork junit tests because we need to disable X11 support for all tests + use test && epatch ${FILESDIR}/${P}-build.xml.patch + + rm -f lib/* *.jar +} + +src_compile() { + # Note that compile-experimental depends on compile so it is sufficient to run + # just compile-experimental + eant -f ant/build.xml compile-experimental $(use_doc) $(get_jars) +} + +# Please note that currently tests fail. +# See http://sourceforge.net/tracker/index.php?func=detail&aid=1656438&group_id=15494&atid=115494 +src_test() { + # X11 tests are disabled using java.awt.headless=true + ANT_TASKS="ant-junit" ANT_OPTS="-Djava.awt.headless=true" eant -f ant/build.xml test $(get_jars) +} + +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 +} + +get_jars() { + local antflags=" + -Ditext.jar=$(java-pkg_getjars itext) \ + -Djcommon.jar=$(java-pkg_getjars jcommon-1.0) \ + -Dservlet.jar=$(java-pkg_getjars servletapi-2.3)" + use test && antflags="${antflags} \ + -Djunit.jar=$(java-pkg_getjars --build-only junit)" + echo "${antflags}" +} |