[pkg-java] r6417 - in trunk/statcvs/debian: . patches wrappers

fourmond at alioth.debian.org fourmond at alioth.debian.org
Wed May 7 19:26:18 UTC 2008


Author: fourmond
Date: 2008-05-07 19:26:16 +0000 (Wed, 07 May 2008)
New Revision: 6417

Removed:
   trunk/statcvs/debian/patches/10-fix-null-exception.dpatch
Modified:
   trunk/statcvs/debian/changelog
   trunk/statcvs/debian/control
   trunk/statcvs/debian/copyright
   trunk/statcvs/debian/new-upstream
   trunk/statcvs/debian/patches/00list
   trunk/statcvs/debian/patches/01-disable-unjar.dpatch
   trunk/statcvs/debian/rules
   trunk/statcvs/debian/wrappers/statcvs
Log:
[statcvs] Preparation for new upstream release, but it currently does not work

Modified: trunk/statcvs/debian/changelog
===================================================================
--- trunk/statcvs/debian/changelog	2008-05-07 18:17:57 UTC (rev 6416)
+++ trunk/statcvs/debian/changelog	2008-05-07 19:26:16 UTC (rev 6417)
@@ -1,3 +1,15 @@
+statcvs (1:0.4.0.dfsg-1) UNRELEASED; urgency=low
+
+  * New upstream release: updated debian/new-upstream to cope for the
+    new test files in the archive
+  * Updated 01-disable-unjar
+  * Disabling 10-fix-null-exception, not needed anymore
+  * Now depends on libjdom-java as well
+  * Fix the old-fsf-address-in-copyright-file lintian warning
+  * DOES NOT CURRENTLY WORK !!!!!
+
+ -- Vincent Fourmond <fourmond at debian.org>  Wed, 07 May 2008 21:25:46 +0200
+
 statcvs (1:0.3.dfsg+1-1) unstable; urgency=low
 
   * Re-uploading with a new source, so the package isn't sourceless

Modified: trunk/statcvs/debian/control
===================================================================
--- trunk/statcvs/debian/control	2008-05-07 18:17:57 UTC (rev 6416)
+++ trunk/statcvs/debian/control	2008-05-07 19:26:16 UTC (rev 6417)
@@ -5,7 +5,7 @@
 Uploaders: Vincent Fourmond <fourmond at debian.org>, Christian Bayle <bayle at debian.org>
 Build-Depends-Indep: java-gcj-compat-dev
 Build-Depends: cdbs, debhelper (>= 5), dpatch, ant, junit, 
- libjcommon-java, libjfreechart-java
+ libjcommon-java, libjfreechart-java, libjdom-java
 Standards-Version: 3.7.3
 Homepage: http://statcvs.sourceforge.net/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/statcvs
@@ -15,7 +15,7 @@
 Package: statcvs
 Architecture: all
 Depends: java-gcj-compat | java-runtime, libjcommon-java,
- libjfreechart-java, java-wrappers (>= 0.1.3)
+ libjfreechart-java, java-wrappers (>= 0.1.3), libjdom-java
 Recommends: cvs
 Description: CVS Repository statistic analysis tool, written in Java
  StatCvs retrieves information from a CVS repository and generates

Modified: trunk/statcvs/debian/copyright
===================================================================
--- trunk/statcvs/debian/copyright	2008-05-07 18:17:57 UTC (rev 6416)
+++ trunk/statcvs/debian/copyright	2008-05-07 19:26:16 UTC (rev 6417)
@@ -25,7 +25,8 @@
 
     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
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+    MA 02110-1301, USA
 
 On Debian systems, the complete text of the GNU Lesser General
 Public License can be found in `/usr/share/common-licenses/LGPL'.

Modified: trunk/statcvs/debian/new-upstream
===================================================================
--- trunk/statcvs/debian/new-upstream	2008-05-07 18:17:57 UTC (rev 6416)
+++ trunk/statcvs/debian/new-upstream	2008-05-07 19:26:16 UTC (rev 6417)
@@ -25,7 +25,8 @@
 
 # We repackage excluding the lib/ subdir
 cd $dir
-tar cvz --exclude '*/lib/*.jar' -f $origname stat*
+tar cvz --exclude '*/lib/*.jar' --exclude 'test*' --exclude 'site' \
+    -f $origname stat*
 cd -
 mv $dir/$origname ..
 rm -rf $dir
\ No newline at end of file

Modified: trunk/statcvs/debian/patches/00list
===================================================================
--- trunk/statcvs/debian/patches/00list	2008-05-07 18:17:57 UTC (rev 6416)
+++ trunk/statcvs/debian/patches/00list	2008-05-07 19:26:16 UTC (rev 6417)
@@ -1,2 +1 @@
 01-disable-unjar
-10-fix-null-exception
\ No newline at end of file

Modified: trunk/statcvs/debian/patches/01-disable-unjar.dpatch
===================================================================
--- trunk/statcvs/debian/patches/01-disable-unjar.dpatch	2008-05-07 18:17:57 UTC (rev 6416)
+++ trunk/statcvs/debian/patches/01-disable-unjar.dpatch	2008-05-07 19:26:16 UTC (rev 6417)
@@ -5,17 +5,29 @@
 ## DP: No description.
 
 @DPATCH@
-diff -urNad statcvs-0.3.dfsg~/build.xml statcvs-0.3.dfsg/build.xml
---- statcvs-0.3.dfsg~/build.xml	2006-12-08 17:25:14.000000000 +0100
-+++ statcvs-0.3.dfsg/build.xml	2008-01-05 00:12:47.000000000 +0100
-@@ -141,8 +141,8 @@
- 	
- 	<target name="jar" depends="test">
- 		<!-- Creates an executable jar file for the project -->
--		<unjar src="${lib}/${jfreechart.jar}" dest="${build}"/>
--		<unjar src="${lib}/${jcommon.jar}" dest="${build}"/>
-+<!-- 		<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 -urNad statcvs-0.4.0.dfsg~/build.xml statcvs-0.4.0.dfsg/build.xml
+--- statcvs-0.4.0.dfsg~/build.xml	2008-04-21 17:33:32.000000000 +0200
++++ statcvs-0.4.0.dfsg/build.xml	2008-05-07 21:00:52.000000000 +0200
+@@ -1,5 +1,5 @@
+ <?xml version="1.0" encoding="iso-8859-1"?>
+-<project name="statcvs" default="all" basedir=".">
++<project name="statcvs" default="jar" basedir=".">
+   <property file="project.properties" />
+   <property name="project" value="statcvs" />
+   <property name="project.path" value="net/sf/statcvs" />
+@@ -148,11 +148,11 @@
+       </classpath>
+     </java>
+   </target>
+-  <target name="jar" depends="test">
++  <target name="jar" depends="compile,javadoc">
+     <!-- Creates an executable jar file for the project -->
+-    <unjar src="${lib}/${jfreechart.jar}" dest="${build}" />
+-    <unjar src="${lib}/${jcommon.jar}" dest="${build}" />
+-    <unjar src="${lib}/jdom.jar" dest="${build}" />
++<!--     <unjar src="${lib}/${jfreechart.jar}" dest="${build}" /> -->
++<!--     <unjar src="${lib}/${jcommon.jar}" dest="${build}" /> -->
++<!--     <unjar src="${lib}/jdom.jar" dest="${build}" /> -->
+     <mkdir dir="${dist}" />
+     <jar jarfile="${dist}/${project.jar}" basedir="${build}">
+       <manifest>

Deleted: trunk/statcvs/debian/patches/10-fix-null-exception.dpatch
===================================================================
--- trunk/statcvs/debian/patches/10-fix-null-exception.dpatch	2008-05-07 18:17:57 UTC (rev 6416)
+++ trunk/statcvs/debian/patches/10-fix-null-exception.dpatch	2008-05-07 19:26:16 UTC (rev 6417)
@@ -1,21 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 10-fix-null-exception.dpatch by  <fourmond at debian.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: XYItemRenderer.getSeriesPaint return value has switched from
-## DP: never null to possibly null. Check that.
-
- at DPATCH@
-diff -urNad statcvs-0.3.dfsg~/src/net/sf/statcvs/charts/LOCChartMaker.java statcvs-0.3.dfsg/src/net/sf/statcvs/charts/LOCChartMaker.java
---- statcvs-0.3.dfsg~/src/net/sf/statcvs/charts/LOCChartMaker.java	2006-12-16 20:17:08.000000000 +0100
-+++ statcvs-0.3.dfsg/src/net/sf/statcvs/charts/LOCChartMaker.java	2008-01-05 01:48:45.000000000 +0100
-@@ -112,7 +112,8 @@
- 		if (colors == null) {
- 			// We don't like the bright yellow color early on in the series, use a darker one
- 			for (int i = 0; i < plot.getSeriesCount(); i++) {
--				if (plot.getRenderer().getSeriesPaint(i).equals(new Color(0xFF, 0xFF, 0x55))) {
-+			    if (plot.getRenderer().getSeriesPaint(i) != null && 
-+				    plot.getRenderer().getSeriesPaint(i).equals(new Color(0xFF, 0xFF, 0x55))) {
- 					plot.getRenderer().setSeriesPaint(i, new Color(240, 220, 0x55));
- 				}
- 			}

Modified: trunk/statcvs/debian/rules
===================================================================
--- trunk/statcvs/debian/rules	2008-05-07 18:17:57 UTC (rev 6416)
+++ trunk/statcvs/debian/rules	2008-05-07 19:26:16 UTC (rev 6417)
@@ -17,7 +17,7 @@
 JAVA_HOME_DIRS       := /usr/lib/jvm/java-gcj
 ANT_HOME             := /usr/share/ant
 DEB_JARS             := $(ANT_HOME)/lib/ant-launcher.jar \
-	junit jcommon jfreechart
+	junit jcommon jfreechart jdom
 DEB_ANT_COMPILER     := modern
 # DEB_ANT_BUILD_TARGET := all-jar libs-jar ext-jar transcoder
 DEB_BUILDDIR         := .

Modified: trunk/statcvs/debian/wrappers/statcvs
===================================================================
--- trunk/statcvs/debian/wrappers/statcvs	2008-05-07 18:17:57 UTC (rev 6416)
+++ trunk/statcvs/debian/wrappers/statcvs	2008-05-07 19:26:16 UTC (rev 6417)
@@ -5,6 +5,6 @@
 
 # We first look for sun's runtime, and then for all the rest
 find_java_runtime sun || find_java_runtime 
-find_jars jfreechart jcommon statcvs
+find_jars jfreechart jcommon jdom statcvs
 
 run_java net.sf.statcvs.Main "$@"




More information about the pkg-java-commits mailing list