summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2010-03-05 17:58:29 +0000
committerSerkan Kaba <serkan@gentoo.org>2010-03-05 17:58:29 +0000
commitcfc2e6fa158e58937cdb7c518d7c5ad992ffc7b7 (patch)
treed579a96871d43a7f7303e6ba181f608fcdc6e6f4 /dev-vcs
parentMove statcvs to dev-vcs (diff)
downloadhistorical-cfc2e6fa158e58937cdb7c518d7c5ad992ffc7b7.tar.gz
historical-cfc2e6fa158e58937cdb7c518d7c5ad992ffc7b7.tar.bz2
historical-cfc2e6fa158e58937cdb7c518d7c5ad992ffc7b7.zip
Move to dev-vcs
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64 RepoMan-Options: --force
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/statsvn/ChangeLog32
-rw-r--r--dev-vcs/statsvn/Manifest8
-rw-r--r--dev-vcs/statsvn/files/statsvn-0.4.1-build.xml.patch19
-rw-r--r--dev-vcs/statsvn/files/statsvn-0.4.1-fixstatcvsusage.patch12
-rw-r--r--dev-vcs/statsvn/metadata.xml8
-rw-r--r--dev-vcs/statsvn/statsvn-0.4.1.ebuild75
-rw-r--r--dev-vcs/statsvn/statsvn-0.5.0.ebuild73
7 files changed, 227 insertions, 0 deletions
diff --git a/dev-vcs/statsvn/ChangeLog b/dev-vcs/statsvn/ChangeLog
new file mode 100644
index 000000000000..1e84eb441260
--- /dev/null
+++ b/dev-vcs/statsvn/ChangeLog
@@ -0,0 +1,32 @@
+# ChangeLog for dev-vcs/statsvn
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/statsvn/ChangeLog,v 1.1 2010/03/05 17:58:29 serkan Exp $
+
+ 05 Mar 2010; Serkan Kaba <serkan@gentoo.org> +statsvn-0.4.1.ebuild,
+ +files/statsvn-0.4.1-build.xml.patch,
+ +files/statsvn-0.4.1-fixstatcvsusage.patch, +statsvn-0.5.0.ebuild,
+ +metadata.xml:
+ Move to dev-vcs.
+
+ 11 Feb 2010; Christian Faulhammer <fauli@gentoo.org> statsvn-0.5.0.ebuild:
+ stable x86, bug 275182
+
+ 11 Feb 2010; Christian Faulhammer <fauli@gentoo.org> statsvn-0.5.0.ebuild:
+ depend on backport-util-concurrent 3.1 for bug 295421
+
+*statsvn-0.5.0 (23 May 2009)
+
+ 23 May 2009; Serkan Kaba <serkan@gentoo.org> +statsvn-0.5.0.ebuild:
+ Version bump.
+
+ 05 Jan 2009; Markus Meier <maekke@gentoo.org> statsvn-0.4.1.ebuild:
+ amd64/x86 stable, bug #253359
+
+*statsvn-0.4.1 (03 Oct 2008)
+
+ 03 Oct 2008; Serkan Kaba <serkan@gentoo.org>
+ +files/statsvn-0.4.1-build.xml.patch,
+ +files/statsvn-0.4.1-fixstatcvsusage.patch, +metadata.xml,
+ +statsvn-0.4.1.ebuild:
+ Initial version. Fixes bug #156048.
+
diff --git a/dev-vcs/statsvn/Manifest b/dev-vcs/statsvn/Manifest
new file mode 100644
index 000000000000..a541761af3d2
--- /dev/null
+++ b/dev-vcs/statsvn/Manifest
@@ -0,0 +1,8 @@
+AUX statsvn-0.4.1-build.xml.patch 783 RMD160 683719fe92377fa841bd977e68875b17d82bf1d7 SHA1 51faf37e42a0e5a0a84abf7826ca298a878a4b63 SHA256 2d90851c44ceff1731965ebf696905d925e22477f0e2e5b9d9f11601d79a4c89
+AUX statsvn-0.4.1-fixstatcvsusage.patch 898 RMD160 0307da8206a7a8ac8edea7275326adf0ff418cdc SHA1 873f1aea1a70ec7fb0870c2b445cd7f6252b1b33 SHA256 53634da88168448e2f33248ff7cbb522efe01ec8c84768bea3e5bee0975e32f8
+DIST statsvn-0.4.1-source.zip 10061534 RMD160 12291695963c9e2993d3e737fb643bff667f7cdf SHA1 1ce3a921ad7d37a1a1d7d387f770bf89a026ed98 SHA256 8307003b8b609bd3b271a53c6c55d91947e220538e9b0c4c8925d272a2d05d07
+DIST statsvn-0.5.0-source.zip 14686488 RMD160 ecb910df3e13869c531848604fbabedf456c1e41 SHA1 7157e40fc3bcfd617f1814c8f882b6912af794f1 SHA256 af9f36d364a6a348b50ffc5f248fafee5292cde1e39eccc08b8f1b038736e275
+EBUILD statsvn-0.4.1.ebuild 2213 RMD160 d2eed38131e37e5c554cec160d2d4668a371ef2a SHA1 009d8d7756c8a8d8ff6f648da9a360c0777f1e6b SHA256 a295f421a77e41a17aa4eb9bf464b31b2caea8c6c13a08052fcc730557dca47b
+EBUILD statsvn-0.5.0.ebuild 2205 RMD160 f8c23201de5b3d9370785aede92a83a0c39f5286 SHA1 f964fa461dda28bdeff1f1c0d4f41360399aabea SHA256 3889ae0439813fea06380c559c58926564fbff23040c72b220eb217981a6eacb
+MISC ChangeLog 1118 RMD160 2b0857f1f7be6355371c0da601f6d5ee6ba5d486 SHA1 0beec4c4d8a85ab2dd19a66499f84a635748be4b SHA256 bac736619fe22cff98f612ef6046039fdf053b45afc1413d7d96f539264485b0
+MISC metadata.xml 217 RMD160 6a03b58e975ef9766c1ba359b8cf73372aae1409 SHA1 9661e29f710f8b88d1ebad0d7cfa2716ae869b51 SHA256 00a5772b0da0819b665dba21d321e4e2393c818907d38678d179cafd5036c7f2
diff --git a/dev-vcs/statsvn/files/statsvn-0.4.1-build.xml.patch b/dev-vcs/statsvn/files/statsvn-0.4.1-build.xml.patch
new file mode 100644
index 000000000000..48c050eb25db
--- /dev/null
+++ b/dev-vcs/statsvn/files/statsvn-0.4.1-build.xml.patch
@@ -0,0 +1,19 @@
+diff -Nur statsvn-0.4.1/build.xml statsvn-0.4.1_patched/build.xml
+--- statsvn-0.4.1/build.xml 2007-03-14 03:33:20.000000000 +0200
++++ statsvn-0.4.1_patched/build.xml 2008-09-19 05:45:40.000000000 +0300
+@@ -130,15 +130,6 @@
+ </target>
+
+ <target name="dist" depends="compile,copyfiles">
+- <!-- Creates an executable jar file for the project -->
+- <unjar src="${lib}/${statcvs.jar}" dest="${build}" />
+- <!-- Expand and use the concurrent JAR -->
+- <unjar src="${lib}/${concurrent.jar}" dest="${build}" />
+-
+- <!-- Now included in statcvs.jar -->
+- <!--<unjar src="${lib}/${jfreechart.jar}" dest="${build}" />
+- <unjar src="${lib}/${jcommon.jar}" dest="${build}" />-->
+-
+ <mkdir dir="${dist}" />
+ <jar jarfile="${dist}/${project.jar}" basedir="${build}">
+ <manifest>
diff --git a/dev-vcs/statsvn/files/statsvn-0.4.1-fixstatcvsusage.patch b/dev-vcs/statsvn/files/statsvn-0.4.1-fixstatcvsusage.patch
new file mode 100644
index 000000000000..4bccd1d089b7
--- /dev/null
+++ b/dev-vcs/statsvn/files/statsvn-0.4.1-fixstatcvsusage.patch
@@ -0,0 +1,12 @@
+diff -Nur statsvn-0.4.1/src/net/sf/statsvn/Main.java statsvn-0.4.1_patched/src/net/sf/statsvn/Main.java
+--- statsvn-0.4.1/src/net/sf/statsvn/Main.java 2008-09-19 07:19:16.000000000 +0300
++++ statsvn-0.4.1_patched/src/net/sf/statsvn/Main.java 2008-09-19 07:19:42.000000000 +0300
+@@ -295,7 +295,7 @@
+ System.setProperty("java.awt.headless", "true");
+
+ final ReportConfig config = new ReportConfig(content, ConfigurationOptions.getProjectName(), ConfigurationOptions.getOutputDir(), ConfigurationOptions
+- .getMarkupSyntax(), ConfigurationOptions.getCssHandler(), ConfigurationOptions.getCharSet());
++ .getMarkupSyntax(), ConfigurationOptions.getCssHandler());
+ config.setWebRepository(ConfigurationOptions.getWebRepository());
+ config.setWebBugtracker(ConfigurationOptions.getWebBugtracker());
+ config.setNonDeveloperLogins(ConfigurationOptions.getNonDeveloperLogins());
diff --git a/dev-vcs/statsvn/metadata.xml b/dev-vcs/statsvn/metadata.xml
new file mode 100644
index 000000000000..407583277d87
--- /dev/null
+++ b/dev-vcs/statsvn/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+<maintainer>
+ <email>java@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-vcs/statsvn/statsvn-0.4.1.ebuild b/dev-vcs/statsvn/statsvn-0.4.1.ebuild
new file mode 100644
index 000000000000..bed61674d812
--- /dev/null
+++ b/dev-vcs/statsvn/statsvn-0.4.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/statsvn/statsvn-0.4.1.ebuild,v 1.1 2010/03/05 17:58:29 serkan Exp $
+
+EAPI=1
+JAVA_PKG_IUSE="doc source test"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="StatSVN generates HTML reports from SVN repository logs."
+HOMEPAGE="http://www.statsvn.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-source.zip"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+COMMON_DEPEND="
+ >=dev-vcs/statcvs-0.3:0
+ >=dev-java/backport-util-concurrent-3.0:0"
+
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ test?
+ (
+ dev-java/junit:0
+ dev-java/jfreechart:1.0
+ dev-java/jcommon:1.0
+ )
+ ${COMMON_DEPEND}"
+
+RDEPEND=">=virtual/jre-1.4
+ >=dev-util/subversion-1.3.0
+ dev-java/xerces:2
+ ${COMMON_DEPEND}"
+
+EANT_GENTOO_CLASSPATH="statcvs,backport-util-concurrent"
+EANT_BUILD_TARGET="dist"
+JAVA_ANT_CLASSPATH_TAGS="javac java javadoc"
+JAVA_ANT_REWRITE_CLASSPATH="true"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}" || die
+ einfo "Removing bundled jars."
+ find . -name "*.jar" -print -delete
+ rm -r "${S}"/bin/*
+ epatch "${FILESDIR}"/${P}-build.xml.patch
+ epatch "${FILESDIR}"/${P}-fixstatcvsusage.patch
+}
+
+src_test() {
+ ewarn "Note that the tests require you to be online."
+ eant -Dgentoo.classpath=$(java-pkg_getjars statcvs,backport-util-concurrent):$(java-pkg_getjars --build-only junit,jfreechart-1.0,jcommon-1.0) test
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+
+ # jfreechart pulls in gnu-jaxp which doesn't work for statsvn so we need
+ # to force another SAXParserFactory and DocumentBuilderFactory
+ java-pkg_register-dependency xerces-2
+ java-pkg_dolauncher statsvn --main net.sf.statsvn.Main \
+ --java_args '-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl'
+
+ use doc && java-pkg_dojavadoc doc
+ use source && java-pkg_dosrc src/*
+}
+
+pkg_postinst() {
+ elog "For instractions on how to use StatSVN see"
+ elog "http://svn.statsvn.org/statsvnwiki/index.php/Main_Page"
+ elog "You need to regenerate statistics"
+ elog "if you update dev-java/jtreemap"
+}
diff --git a/dev-vcs/statsvn/statsvn-0.5.0.ebuild b/dev-vcs/statsvn/statsvn-0.5.0.ebuild
new file mode 100644
index 000000000000..cbaa4ff32739
--- /dev/null
+++ b/dev-vcs/statsvn/statsvn-0.5.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/statsvn/statsvn-0.5.0.ebuild,v 1.1 2010/03/05 17:58:29 serkan Exp $
+
+EAPI=2
+JAVA_PKG_IUSE="doc source test"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="StatSVN generates HTML reports from SVN repository logs."
+HOMEPAGE="http://www.statsvn.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-source.zip"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE=""
+
+COMMON_DEPEND="
+ >=dev-vcs/statcvs-0.5:0
+ >=dev-java/backport-util-concurrent-3.1:0
+ dev-java/jcommon:1.0
+ dev-java/jfreechart:1.0"
+
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ test? ( dev-java/junit:0 )
+ ${COMMON_DEPEND}"
+
+RDEPEND=">=virtual/jre-1.4
+ >=dev-util/subversion-1.3.0
+ dev-java/xerces:2
+ ${COMMON_DEPEND}"
+
+EANT_GENTOO_CLASSPATH="statcvs,backport-util-concurrent,jcommon-1.0,jfreechart-1.0"
+EANT_BUILD_TARGET="dist"
+JAVA_ANT_CLASSPATH_TAGS="javac java javadoc"
+JAVA_ANT_REWRITE_CLASSPATH="true"
+
+java_prepare() {
+ ebegin "Removing bundled jars."
+ find . -name "*.jar" -delete
+ eend
+ ebegin "Removing prebuilt classses."
+ find . -name "*.class" -delete
+ rm -r "${S}"/bin/*
+ eend
+ epatch "${FILESDIR}"/${PN}-0.4.1-build.xml.patch
+}
+
+src_test() {
+ ewarn "Note that the tests require you to be online."
+ eant -Dgentoo.classpath=$(java-pkg_getjars ${EANT_GENTOO_CLASSPATH}):$(java-pkg_getjars --build-only junit) test
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+
+ # jfreechart pulls in gnu-jaxp which doesn't work for statsvn so we need
+ # to force another SAXParserFactory and DocumentBuilderFactory
+ java-pkg_register-dependency xerces-2
+ java-pkg_dolauncher statsvn --main net.sf.statsvn.Main \
+ --java_args '-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl'
+
+ use doc && java-pkg_dojavadoc doc
+ use source && java-pkg_dosrc src/*
+}
+
+pkg_postinst() {
+ elog "For instractions on how to use StatSVN see"
+ elog "http://svn.statsvn.org/statsvnwiki/index.php/Main_Page"
+ elog "You need to regenerate statistics"
+ elog "if you update dev-java/jtreemap"
+}