[statsvn] 01/37: Initial commit

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Apr 19 22:55:41 BST 2018


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository statsvn.

commit aa9257b1cb55b1ea322d28c798dca67d961aa21c
Author: Christian Bayle <bayle at debian.org>
Date:   Tue Jul 15 21:25:59 2003 +0000

    Initial commit
---
 Makefile             |   8 ++++
 debian/README.Debian |  21 +++++++++++
 debian/changelog     |  23 ++++++++++++
 debian/control       |  21 +++++++++++
 debian/copyright     |  27 ++++++++++++++
 debian/rules         | 101 +++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/statcvs.dirs  |   1 +
 debian/statcvs.docs  |   2 +
 debian_patch         |   4 ++
 9 files changed, 208 insertions(+)

diff --git a/Makefile b/Makefile
new file mode 100755
index 0000000..47cb4e8
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+default: update
+login:
+	echo "Password: <Enter>"
+	cvs -d:pserver:anonymous at cvs.sf.net:/cvsroot/statcvs login 
+co:
+	cvs -d:pserver:anonymous at cvs.sf.net:/cvsroot/statcvs co .
+update:
+	cvs -d:pserver:anonymous at cvs.sf.net:/cvsroot/statcvs -z9 update -PdA
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..5a00167
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,21 @@
+statcvs for Debian
+------------------
+
+In this package there is straight compile of jcommon-0.6.4 and jfreechart-0.9.2 
+so all code is available
+StatCVS doesn't compile (yet?) with last jcommon and jfreechart code that's why these debian package 
+are not used.
+How to use:
+
+	Checkout a repository in e.g cvsrepos dir
+	cvs log the repository running:
+		cvs log > logfile
+	build the stats running:
+ 		java -jar /usr/share/java/statcvs.jar -title <title> logfile cvsrepos
+
+	You can get all options running:
+		java -jar /usr/share/java/statcvs.jar
+
+	This probably run only with Sun Runtime library
+
+ -- Christian Bayle <bayle at debian.org>, Fri, 11 Jul 2003 02:20:51 +0200
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e219f79
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,23 @@
+statcvs (20030713-1) unstable; urgency=low
+
+  * Patch that made fail statcvs on some big CVS archive
+  applied upstream, new upstream 
+
+ -- Christian Bayle <bayle at debian.org>  Sun, 13 Jul 2003 01:24:11 +0200
+
+statcvs (20030711-2) unstable; urgency=low
+
+  * Added gorilla.jpg missing file
+  * patch that made fail statcvs on some big CVS archive
+
+ -- Christian Bayle <bayle at debian.org>  Sat, 12 Jul 2003 23:44:44 +0200
+
+statcvs (20030711-1) unstable; urgency=low
+
+  * Initial Release. (Closes: bug#199758) ITP
+
+ -- Christian Bayle <bayle at debian.org>  Fri, 11 Jul 2003 23:21:44 +0200
+
+Local variables:
+mode: debian-changelog
+End:
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..24d69e2
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: statcvs
+Section: contrib/libs
+Priority: optional
+Maintainer: Christian Bayle <bayle at debian.org>
+Build-Depends-Indep: debhelper (>> 4.0.0), j2sdk1.4, gjdoc, ant
+Standards-Version: 3.5.8
+
+Package: statcvs
+Section: contrib/libs
+Architecture: all
+Depends: gij-3.2 | j2re1.4 | java1-runtime | java2-runtime
+Description: CVS Repository statistic analysis tool, written in Java
+ StatCvs retrieves information from a CVS repository and generates
+ various tables and charts describing the project development,
+ e.g. timeline for the lines of code, contribution of each developer
+ etc.
+ The current version of StatCvs generates a static suite of
+ HTML documents containing tables and chart images.
+ StatCvs is opens source software,
+ released under the terms oft the LGPL.
+ StatCvs uses JFreeChart to generate charts.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8325a29
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+This package was debianized by Christian Bayle <bayle at debian.org>, Fri, 11 Jul 2003 02:20:51 +0200
+
+It was downloaded from http://statcvs.sf.net CVS
+This package contain code of jcommon-0.6.4 jfreechart-0.9.2 downloaded from http://sourceforge.net/projects/jfreechart
+
+Upstream Authors: Manuel Schulze, Lukasz Pekacki, Richard Cyganiak, Anja Jentzsch
+JFreechart Author is David Gilbert and others
+
+Copyright:
+
+    This package is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this package; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..65caabc
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,101 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# Build 
+export JAVA_HOME=/usr/lib/j2se/1.4
+export JAVA=/usr/lib/j2se/1.4/bin/java
+export JAVAC=/usr/lib/j2se/1.4/bin/javac
+export CLASSPATH=/usr/lib/j2se/1.4/jre/lib/rt.jar
+export CLASSPATH=$(JAVA_HOME)/lib/tools.jar:$(JAVA_HOME)/lib/classes.zip
+
+export LIBRARY = statcvs
+export VERSION = $(shell head -1 debian/changelog | sed 's/.*(\(.*\)-.*).*/\1/' )
+export SRCDIR=$(LIBRARY)-$(VERSION)
+
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+	tar xvzf statcvs-$(VERSION).tar.gz
+	-mkdir statcvs-$(VERSION)/lib
+	# If upstream make StatCVS port for new jfreechart one day
+	#cp /usr/share/java/jfreechart.jar statcvs-$(VERSION)/lib
+	#cp /usr/share/java/jcommon.jar statcvs-$(VERSION)/lib
+	cp /usr/share/java/junit.jar statcvs-$(VERSION)/lib
+	cp /usr/share/java/jdom.jar statcvs-$(VERSION)/lib
+	tar xvzf jcommon-0.6.4.tar.gz
+	tar xvzf jfreechart-0.9.2.tar.gz
+	# This part would require batik (http://xml.apache.org/batik/) to compile a demo jfreechart don't use 
+	# So I don't compile this
+	-rm -rf jfreechart-0.9.2/source/com/jrefinery/chart/demo
+	touch configure-stamp
+
+
+build: configure build-stamp
+build-stamp:
+	dh_testdir
+	-mkdir jfree
+	$(JAVAC) -classpath /usr/share/java/junit.jar -d jfree `find jcommon-0.6.4 -name "*.java"`
+	$(JAVAC) -classpath /usr/share/java/junit.jar:/usr/share/java/servlet-2.2.jar:jfree -d jfree `find jfreechart-0.9.2 -name "*.java"`
+	cp gorilla.jpg jfree/com/jrefinery/chart/
+	(cd jfree; jar cvf ../statcvs-$(VERSION)/lib/jfreechart.jar .)
+	cd $(SRCDIR); ant dist
+	touch build-stamp
+
+javadoc: 
+	echo $(SRCDIR)/doc > debian/statcvs.docs
+	echo $(SRCDIR)/README >> debian/statcvs.docs
+	-rm -rf $(SRCDIR)/doc
+	cd $(SRCDIR); ant javadoc
+clean:
+	dh_testdir
+	dh_testroot
+	-rm -f build-stamp
+	-rm -f configure-stamp
+	-rm -rf $(SRCDIR)
+	-rm -rf jfree jfreechart-0.9.2 jcommon-0.6.4
+	dh_clean
+
+install: build javadoc
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	#
+	# Package 
+	#
+	install -m 644 $(SRCDIR)/dist/$(LIBRARY).jar \
+	debian/tmp/usr/share/java/
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+#	dh_installdebconf
+	dh_installdocs
+	dh_installexamples
+#	dh_installmenu
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installinit
+#	dh_installcron
+#	dh_installman
+#	dh_installinfo
+#	dh_undocumented
+	dh_installchangelogs
+	dh_link
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+#	dh_perl
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+
+binary: binary-indep 
+
+.PHONY: binary binary-indep clean
diff --git a/debian/statcvs.dirs b/debian/statcvs.dirs
new file mode 100644
index 0000000..b67bc01
--- /dev/null
+++ b/debian/statcvs.dirs
@@ -0,0 +1 @@
+/usr/share/java
diff --git a/debian/statcvs.docs b/debian/statcvs.docs
new file mode 100644
index 0000000..b6998ee
--- /dev/null
+++ b/debian/statcvs.docs
@@ -0,0 +1,2 @@
+statcvs-20030713/doc
+statcvs-20030713/README
diff --git a/debian_patch b/debian_patch
new file mode 100755
index 0000000..4147cc7
--- /dev/null
+++ b/debian_patch
@@ -0,0 +1,4 @@
+#grep -r com.jrefinery statcvs-* | cut -d: -f1 | sort -u | while read file
+#do
+#	perl -pi -e 's/com\.jrefinery/org.jfree/g' $file
+#done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/statsvn.git



More information about the pkg-java-commits mailing list