From 95238b787ad9176c92febdb945ee2bbed17bde3d Mon Sep 17 00:00:00 2001 From: Serkan Kaba Date: Fri, 5 Mar 2010 17:50:54 +0000 Subject: Move to dev-vcs (Portage version: 2.2_rc33/cvs/Linux x86_64, RepoMan options: --force) --- dev-vcs/statcvs/ChangeLog | 40 ++++++++++++ .../statcvs/files/statcvs-0.4.0-build.xml.patch | 16 +++++ .../files/statcvs-0.4.0-external-jtreemap.patch | 40 ++++++++++++ .../statcvs/files/statcvs-0.4.0-r1-build.xml.patch | 24 ++++++++ .../statcvs/files/statcvs-0.5.0-build.xml.patch | 24 ++++++++ dev-vcs/statcvs/metadata.xml | 8 +++ dev-vcs/statcvs/statcvs-0.4.0-r1.ebuild | 71 ++++++++++++++++++++++ dev-vcs/statcvs/statcvs-0.4.0.ebuild | 69 +++++++++++++++++++++ dev-vcs/statcvs/statcvs-0.5.0.ebuild | 68 +++++++++++++++++++++ 9 files changed, 360 insertions(+) create mode 100644 dev-vcs/statcvs/ChangeLog create mode 100644 dev-vcs/statcvs/files/statcvs-0.4.0-build.xml.patch create mode 100644 dev-vcs/statcvs/files/statcvs-0.4.0-external-jtreemap.patch create mode 100644 dev-vcs/statcvs/files/statcvs-0.4.0-r1-build.xml.patch create mode 100644 dev-vcs/statcvs/files/statcvs-0.5.0-build.xml.patch create mode 100644 dev-vcs/statcvs/metadata.xml create mode 100644 dev-vcs/statcvs/statcvs-0.4.0-r1.ebuild create mode 100644 dev-vcs/statcvs/statcvs-0.4.0.ebuild create mode 100644 dev-vcs/statcvs/statcvs-0.5.0.ebuild (limited to 'dev-vcs') diff --git a/dev-vcs/statcvs/ChangeLog b/dev-vcs/statcvs/ChangeLog new file mode 100644 index 000000000000..56f0d6e78ec8 --- /dev/null +++ b/dev-vcs/statcvs/ChangeLog @@ -0,0 +1,40 @@ +# ChangeLog for dev-vcs/statcvs +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/statcvs/ChangeLog,v 1.1 2010/03/05 17:50:54 serkan Exp $ + + 05 Mar 2010; Serkan Kaba +statcvs-0.4.0.ebuild, + +statcvs-0.4.0-r1.ebuild, +files/statcvs-0.4.0-build.xml.patch, + +files/statcvs-0.4.0-external-jtreemap.patch, + +files/statcvs-0.4.0-r1-build.xml.patch, +statcvs-0.5.0.ebuild, + +files/statcvs-0.5.0-build.xml.patch, +metadata.xml: + Move to dev-vcs + + 11 Feb 2010; Christian Faulhammer statcvs-0.5.0.ebuild: + stable x86, bug 275182 + + 15 Jan 2010; Christian Faulhammer statcvs-0.5.0.ebuild: + Transfer Prefix keywords + +*statcvs-0.5.0 (11 May 2009) + + 11 May 2009; Serkan Kaba +statcvs-0.5.0.ebuild, + +files/statcvs-0.5.0-build.xml.patch: + Version bump. + +*statcvs-0.4.0-r1 (27 Jan 2009) + + 27 Jan 2009; Serkan Kaba + +files/statcvs-0.4.0-r1-build.xml.patch, +statcvs-0.4.0-r1.ebuild: + Revbump to add missing ant-core dependency. + + 05 Jan 2009; Markus Meier statcvs-0.4.0.ebuild: + amd64/x86 stable, bug #253359 + +*statcvs-0.4.0 (03 Oct 2008) + + 03 Oct 2008; Serkan Kaba + +files/statcvs-0.4.0-build.xml.patch, + +files/statcvs-0.4.0-external-jtreemap.patch, +metadata.xml, + +statcvs-0.4.0.ebuild: + Initial version. Fixes bug #156848. + diff --git a/dev-vcs/statcvs/files/statcvs-0.4.0-build.xml.patch b/dev-vcs/statcvs/files/statcvs-0.4.0-build.xml.patch new file mode 100644 index 000000000000..66b8d291dcfc --- /dev/null +++ b/dev-vcs/statcvs/files/statcvs-0.4.0-build.xml.patch @@ -0,0 +1,16 @@ +diff -Nur statcvs-0.4.0/build.xml statcvs-0.4.0_patched/build.xml +--- statcvs-0.4.0/build.xml 2008-04-21 18:33:32.000000000 +0300 ++++ statcvs-0.4.0_patched/build.xml 2008-09-19 22:22:32.000000000 +0300 +@@ -148,11 +148,8 @@ + + + +- ++ + +- +- +- + + + diff --git a/dev-vcs/statcvs/files/statcvs-0.4.0-external-jtreemap.patch b/dev-vcs/statcvs/files/statcvs-0.4.0-external-jtreemap.patch new file mode 100644 index 000000000000..cd0c5ed773b6 --- /dev/null +++ b/dev-vcs/statcvs/files/statcvs-0.4.0-external-jtreemap.patch @@ -0,0 +1,40 @@ +diff -Nur statcvs-0.4.0/src/net/sf/statcvs/output/RepoMapPageMaker.java statcvs-0.4.0_patched/src/net/sf/statcvs/output/RepoMapPageMaker.java +--- statcvs-0.4.0/src/net/sf/statcvs/output/RepoMapPageMaker.java 2008-04-14 21:35:00.000000000 +0300 ++++ statcvs-0.4.0_patched/src/net/sf/statcvs/output/RepoMapPageMaker.java 2008-09-20 20:46:05.000000000 +0300 +@@ -20,7 +20,8 @@ + package net.sf.statcvs.output; + + import java.io.BufferedWriter; +-import java.io.File; ++import java.io.File; ++import java.io.FileInputStream; + import java.io.FileWriter; + import java.io.IOException; + import java.io.InputStream; +@@ -92,7 +93,7 @@ + } + + private String getApplet() { +- return "" + "" + + "" + "" + + "" + "" +@@ -102,7 +103,7 @@ + private void buildXmlForJTreeMap() { + BufferedWriter out = null; + try { +- copyJar(Messages.getString("JTREEMAP_JAR")); ++ copyJar("jtreemap.jar"); + out = new BufferedWriter(new FileWriter(ConfigurationOptions.getOutputDir() + REPO_FILE)); + out.write("\n"); + // out.append("\n"); +@@ -129,7 +130,7 @@ + private void copyJar(final String jtreemapJar) throws IOException { + InputStream stream = null; + try { +- stream = RepoMapPageMaker.class.getResourceAsStream(WEB_FILE_PATH + jtreemapJar); ++ stream = new FileInputStream("/usr/share/jtreemap/lib/" + jtreemapJar); + if (stream != null) { + FileUtils.copyFile(stream, new File(ConfigurationOptions.getOutputDir() + jtreemapJar)); + } else { diff --git a/dev-vcs/statcvs/files/statcvs-0.4.0-r1-build.xml.patch b/dev-vcs/statcvs/files/statcvs-0.4.0-r1-build.xml.patch new file mode 100644 index 000000000000..4053feea04aa --- /dev/null +++ b/dev-vcs/statcvs/files/statcvs-0.4.0-r1-build.xml.patch @@ -0,0 +1,24 @@ +diff -Nur statcvs-0.4.0/build.xml statcvs-0.4.0_patched/build.xml +--- statcvs-0.4.0/build.xml 2008-04-21 18:33:32.000000000 +0300 ++++ statcvs-0.4.0_patched/build.xml 2009-01-28 00:21:06.000000000 +0200 +@@ -19,7 +19,6 @@ + + + +- + + + +@@ -148,11 +147,8 @@ + + + +- ++ + +- +- +- + + + diff --git a/dev-vcs/statcvs/files/statcvs-0.5.0-build.xml.patch b/dev-vcs/statcvs/files/statcvs-0.5.0-build.xml.patch new file mode 100644 index 000000000000..c049cdeda9d8 --- /dev/null +++ b/dev-vcs/statcvs/files/statcvs-0.5.0-build.xml.patch @@ -0,0 +1,24 @@ +diff -Nur statcvs-0.5.0/build.xml statcvs-0.5.0_patched/build.xml +--- statcvs-0.5.0/build.xml 2009-05-09 21:33:32.000000000 +0300 ++++ statcvs-0.5.0_patched/build.xml 2009-05-11 22:29:19.000000000 +0300 +@@ -19,7 +19,6 @@ + + + +- + + + +@@ -149,11 +148,8 @@ + + + +- ++ + +- +- +- + + + diff --git a/dev-vcs/statcvs/metadata.xml b/dev-vcs/statcvs/metadata.xml new file mode 100644 index 000000000000..407583277d87 --- /dev/null +++ b/dev-vcs/statcvs/metadata.xml @@ -0,0 +1,8 @@ + + + +java + + java@gentoo.org + + diff --git a/dev-vcs/statcvs/statcvs-0.4.0-r1.ebuild b/dev-vcs/statcvs/statcvs-0.4.0-r1.ebuild new file mode 100644 index 000000000000..4b900b12831b --- /dev/null +++ b/dev-vcs/statcvs/statcvs-0.4.0-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/statcvs/statcvs-0.4.0-r1.ebuild,v 1.1 2010/03/05 17:50:54 serkan Exp $ + +EAPI=1 +JAVA_PKG_IUSE="doc source test" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="StatCVS generates HTML reports from CVS repository logs." +HOMEPAGE="http://statcvs.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}-source.zip" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +COMMON_DEPEND=" + dev-java/jcommon:1.0 + dev-java/jfreechart:1.0 + dev-java/jdom:1.0 + dev-java/ant-core:0" + +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + test? ( dev-java/ant-junit:0 ) + ${COMMON_DEPEND}" + +RDEPEND=">=virtual/jre-1.4 + dev-util/cvs + dev-java/jtreemap:0 + ${COMMON_DEPEND}" + +EANT_BUILD_TARGET="compile copyfiles jar" + +src_unpack() { + unpack ${A} + + cd "${S}" || die + epatch "${FILESDIR}"/${PF}-build.xml.patch + epatch "${FILESDIR}"/${P}-external-jtreemap.patch + + einfo "Removing bundled jars." + find . -name "*.jar" -print -delete + + cd "${S}"/lib || die + java-pkg_jar-from jcommon-1.0 jcommon.jar jcommon-1.0.6.jar + java-pkg_jar-from jfreechart-1.0 jfreechart.jar jfreechart-1.0.3.jar + java-pkg_jar-from jdom-1.0 jdom.jar + java-pkg_jar-from ant-core ant.jar +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + java-pkg_dolauncher ${PN} --main net.sf.statcvs.Main + + use doc && java-pkg_dohtml -r doc/* + use source && java-pkg_dosrc src/net +} + +src_test() { + java-pkg_jar-from --into lib junit + ANT_TASKS="ant-junit" eant test +} + +pkg_postinst() { + elog "For instructions on how to use StatCVS see" + elog "http://statcvs.sourceforge.net/manual/" + elog "You need to regenerate statistics" + elog "if you update dev-java/jtreemap" +} diff --git a/dev-vcs/statcvs/statcvs-0.4.0.ebuild b/dev-vcs/statcvs/statcvs-0.4.0.ebuild new file mode 100644 index 000000000000..86c4889b4f96 --- /dev/null +++ b/dev-vcs/statcvs/statcvs-0.4.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/statcvs/statcvs-0.4.0.ebuild,v 1.1 2010/03/05 17:50:54 serkan Exp $ + +EAPI=1 +JAVA_PKG_IUSE="doc source test" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="StatCVS generates HTML reports from CVS repository logs." +HOMEPAGE="http://statcvs.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}-source.zip" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +COMMON_DEPEND=" + dev-java/jcommon:1.0 + dev-java/jfreechart:1.0 + dev-java/jdom:1.0" + +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + test? ( dev-java/ant-junit:0 ) + ${COMMON_DEPEND}" + +RDEPEND=">=virtual/jre-1.4 + dev-util/cvs + dev-java/jtreemap:0 + ${COMMON_DEPEND}" + +EANT_BUILD_TARGET="compile copyfiles jar" + +src_unpack() { + unpack ${A} + + cd "${S}" || die + epatch "${FILESDIR}"/${P}-build.xml.patch + epatch "${FILESDIR}"/${P}-external-jtreemap.patch + + einfo "Removing bundled jars." + find . -name "*.jar" -print -delete + + cd "${S}"/lib || die + java-pkg_jar-from jcommon-1.0 jcommon.jar jcommon-1.0.6.jar + java-pkg_jar-from jfreechart-1.0 jfreechart.jar jfreechart-1.0.3.jar + java-pkg_jar-from jdom-1.0 jdom.jar +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + java-pkg_dolauncher ${PN} --main net.sf.statcvs.Main + + use doc && java-pkg_dohtml -r doc/* + use source && java-pkg_dosrc src/net +} + +src_test() { + java-pkg_jar-from --into lib junit + ANT_TASKS="ant-junit" eant test +} + +pkg_postinst() { + elog "For instructions on how to use StatCVS see" + elog "http://statcvs.sourceforge.net/manual/" + elog "You need to regenerate statistics" + elog "if you update dev-java/jtreemap" +} diff --git a/dev-vcs/statcvs/statcvs-0.5.0.ebuild b/dev-vcs/statcvs/statcvs-0.5.0.ebuild new file mode 100644 index 000000000000..9ef3c53ebe65 --- /dev/null +++ b/dev-vcs/statcvs/statcvs-0.5.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/statcvs/statcvs-0.5.0.ebuild,v 1.1 2010/03/05 17:50:54 serkan Exp $ + +EAPI=2 +JAVA_PKG_IUSE="doc source test" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="StatCVS generates HTML reports from CVS repository logs." +HOMEPAGE="http://statcvs.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}-source.zip" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux" +IUSE="" + +COMMON_DEPEND=" + dev-java/jcommon:1.0 + >=dev-java/jfreechart-1.0.11:1.0 + dev-java/jdom:1.0 + dev-java/ant-core:0" + +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + test? ( dev-java/ant-junit:0 ) + ${COMMON_DEPEND}" + +RDEPEND=">=virtual/jre-1.4 + dev-util/cvs + dev-java/jtreemap:0 + ${COMMON_DEPEND}" + +EANT_BUILD_TARGET="compile copyfiles jar" + +java_prepare() { + epatch "${FILESDIR}"/${P}-build.xml.patch + epatch "${FILESDIR}"/${PN}-0.4.0-external-jtreemap.patch + + einfo "Removing bundled jars." + find . -name "*.jar" -print -delete + + cd "${S}"/lib || die + java-pkg_jar-from jcommon-1.0 jcommon.jar jcommon-1.0.6.jar + java-pkg_jar-from jfreechart-1.0 jfreechart.jar jfreechart-1.0.3.jar + java-pkg_jar-from jdom-1.0 jdom.jar + java-pkg_jar-from ant-core ant.jar +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + java-pkg_dolauncher ${PN} --main net.sf.statcvs.Main + + use doc && java-pkg_dohtml -r doc/* + use source && java-pkg_dosrc src/net +} + +src_test() { + java-pkg_jar-from --into lib junit + ANT_TASKS="ant-junit" eant test +} + +pkg_postinst() { + elog "For instructions on how to use StatCVS see" + elog "http://statcvs.sourceforge.net/manual/" + elog "You need to regenerate statistics" + elog "if you update dev-java/jtreemap" +} -- cgit v1.2.3-65-gdbad