[pkg-java] r13803 - in branches/lucene3/convert-tot-quilt/debian: . patches source

Jan-Pascal van Best janpascal-guest at alioth.debian.org
Tue Jun 14 15:28:34 UTC 2011


Author: janpascal-guest
Date: 2011-06-14 15:28:33 +0000 (Tue, 14 Jun 2011)
New Revision: 13803

Added:
   branches/lucene3/convert-tot-quilt/debian/patches/05_add-osgi-metadata-in-manifests.patch
   branches/lucene3/convert-tot-quilt/debian/patches/10_fix-javacc-locations.patch
   branches/lucene3/convert-tot-quilt/debian/patches/11_fix-javacc-generated-files.patch
   branches/lucene3/convert-tot-quilt/debian/patches/30_fix-contrib-ant-libs.patch
   branches/lucene3/convert-tot-quilt/debian/patches/31_fix-contrib-ant-test-wrong-encoding.patch
   branches/lucene3/convert-tot-quilt/debian/patches/40_fix-contrib-benchmark-libs.patch
   branches/lucene3/convert-tot-quilt/debian/patches/45_fix-contrib-collation-libs.patch
   branches/lucene3/convert-tot-quilt/debian/patches/50_fix-contrib-db-libs.patch
   branches/lucene3/convert-tot-quilt/debian/patches/55_fix-contrib-db-je-libs.patch
   branches/lucene3/convert-tot-quilt/debian/patches/60_fix-contrib-lucli-libs.patch
   branches/lucene3/convert-tot-quilt/debian/patches/61_lucli-script.patch
   branches/lucene3/convert-tot-quilt/debian/patches/70_fix-contrib-regex-libs.patch
   branches/lucene3/convert-tot-quilt/debian/patches/80_prevent-downloading-data-files.patch
   branches/lucene3/convert-tot-quilt/debian/patches/81_disable-test-tag-backcompat-tests.patch
   branches/lucene3/convert-tot-quilt/debian/patches/82_disable-svnversion-calls.patch
   branches/lucene3/convert-tot-quilt/debian/patches/83_fix-java-IPv4-networking.patch
   branches/lucene3/convert-tot-quilt/debian/patches/series
   branches/lucene3/convert-tot-quilt/debian/source/
   branches/lucene3/convert-tot-quilt/debian/source/format
   branches/lucene3/convert-tot-quilt/debian/source/local-options
Removed:
   branches/lucene3/convert-tot-quilt/debian/patches/00list
   branches/lucene3/convert-tot-quilt/debian/patches/01_remove_all_jarfiles.dpatch
   branches/lucene3/convert-tot-quilt/debian/patches/05_add-osgi-metadata-in-manifests.dpatch
   branches/lucene3/convert-tot-quilt/debian/patches/10_fix-javacc-locations.dpatch
   branches/lucene3/convert-tot-quilt/debian/patches/11_fix-javacc-generated-files.dpatch
   branches/lucene3/convert-tot-quilt/debian/patches/20_add-classpath-to-manifest-in-jars.dpatch
   branches/lucene3/convert-tot-quilt/debian/patches/30_fix-contrib-ant-libs.dpatch
   branches/lucene3/convert-tot-quilt/debian/patches/31_fix-contrib-ant-test-wrong-encoding.dpatch
   branches/lucene3/convert-tot-quilt/debian/patches/40_fix-contrib-benchmark-libs.dpatch
   branches/lucene3/convert-tot-quilt/debian/patches/45_fix-contrib-collation-libs.dpatch
   branches/lucene3/convert-tot-quilt/debian/patches/50_fix-contrib-db-libs.dpatch
   branches/lucene3/convert-tot-quilt/debian/patches/55_fix-contrib-db-je-libs.dpatch
   branches/lucene3/convert-tot-quilt/debian/patches/60_fix-contrib-lucli-libs.dpatch
   branches/lucene3/convert-tot-quilt/debian/patches/61_lucli-script.dpatch
   branches/lucene3/convert-tot-quilt/debian/patches/70_fix-contrib-regex-libs.dpatch
   branches/lucene3/convert-tot-quilt/debian/patches/80_prevent-downloading-data-files.dpatch
   branches/lucene3/convert-tot-quilt/debian/patches/81_disable-test-tag-backcompat-tests.dpatch
   branches/lucene3/convert-tot-quilt/debian/patches/82_disable-svnversion-calls.dpatch
   branches/lucene3/convert-tot-quilt/debian/patches/83_fix-java-IPv4-networking.dpatch
   branches/lucene3/convert-tot-quilt/debian/patches/99debug_print-unittest-results.dpatch
Modified:
   branches/lucene3/convert-tot-quilt/debian/compat
   branches/lucene3/convert-tot-quilt/debian/control
   branches/lucene3/convert-tot-quilt/debian/rules
Log:
Quilt branch now builds correctly

Modified: branches/lucene3/convert-tot-quilt/debian/compat
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/compat	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/compat	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1 +1 @@
-6
+7

Modified: branches/lucene3/convert-tot-quilt/debian/control
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/control	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/control	2011-06-14 15:28:33 UTC (rev 13803)
@@ -9,7 +9,7 @@
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/lucene3/
 Homepage: http://lucene.apache.org/java/
 Conflicts: liblucene2-java (<= 3.0)
-Build-Depends: cdbs (>= 0.4.49), debhelper (>= 6), dpatch (>= 2.0),
+Build-Depends: cdbs (>= 0.4.49), debhelper (>= 7), quilt (>= 0.40),
  javahelper (>= 0.33~1),
  default-jdk (>= 1.6),
  ant-optional (>= 1.8), ant-contrib, javacc, junit

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/00list
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/00list	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/00list	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,18 +0,0 @@
-01_remove_all_jarfiles.dpatch
-05_add-osgi-metadata-in-manifests.dpatch
-10_fix-javacc-locations.dpatch
-11_fix-javacc-generated-files.dpatch
-#20_add-classpath-to-manifest-in-jars.dpatch
-30_fix-contrib-ant-libs.dpatch
-31_fix-contrib-ant-test-wrong-encoding.dpatch
-40_fix-contrib-benchmark-libs.dpatch
-45_fix-contrib-collation-libs.dpatch
-50_fix-contrib-db-libs
-55_fix-contrib-db-je-libs
-60_fix-contrib-lucli-libs.dpatch
-61_lucli-script.dpatch
-70_fix-contrib-regex-libs.dpatch
-80_prevent-downloading-data-files
-81_disable-test-tag-backcompat-tests.dpatch
-82_disable-svnversion-calls
-83_fix-java-IPv4-networking.dpatch

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/01_remove_all_jarfiles.dpatch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/01_remove_all_jarfiles.dpatch	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/01_remove_all_jarfiles.dpatch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,33 +0,0 @@
-#! /bin/sh
-## 01_remove_all_jarfiles.dpatch -- Jan-Pascal van Best <janpascal at vanbest.org>
-##
-## DP: We want to be use we do not build using jar files contained
-## DP: in the Lucene distribution tarball, so we start by removing
-## DP: all jar files.
-
-OPERATION="$1"
-DIRECTORY="$2"
-
-if [ -z "$OPERATION" ]; then
-	echo "Illegal arguments"
-	exit 1
-fi
-
-if [ -z "$DIRECTORY" ]; then
-	DIRECTORY="."
-fi
-
-case "$OPERATION" in
-  -patch)
-		echo "Removing all jar files under $DIRECTORY"
-		find $DIRECTORY -name \*.jar -exec rm {} \;
-		;;
-  -unpatch)
-		echo "Unable to magic back jar files..."
-		;;
-  *)
-		echo "Illegal command line $1 $2"
-		exit 1
-		;;
-esac
-

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/05_add-osgi-metadata-in-manifests.dpatch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/05_add-osgi-metadata-in-manifests.dpatch	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/05_add-osgi-metadata-in-manifests.dpatch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,161 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 05_add-osgi-metadata-in-manifests.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
- at DPATCH@
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' lucene2~/build.xml lucene2/build.xml
---- lucene2~/build.xml	2010-08-06 13:44:30.000000000 +0200
-+++ lucene2/build.xml	2010-08-06 13:44:32.000000000 +0200
-@@ -21,6 +21,16 @@
- 
-   <property name="junit.includes" value="**/Test*.java"/>
- 
-+  <property name="OSGi.symbolicname" value="org.apache.lucene" />
-+  <pathconvert property="OSGi.exportpackage" pathsep=",">
-+    <dirset dir="src/java" excludes="org org/apache"/>
-+    <mapper>
-+      <chainedmapper>
-+        <packagemapper from="${basedir}/src/java/*" to="*"/>
-+      </chainedmapper>
-+    </mapper>
-+  </pathconvert>
-+
-   <import file="common-build.xml"/>
- 
-   <property name="build.demo.template" value="src/demo/demo-build.template"/> 
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' lucene2~/common-build.xml lucene2/common-build.xml
---- lucene2~/common-build.xml	2010-08-06 13:44:30.000000000 +0200
-+++ lucene2/common-build.xml	2010-08-06 13:46:16.000000000 +0200
-@@ -23,6 +23,8 @@
-     for standalone use.
-   </description>
- 
-+  <taskdef resource="net/sf/antcontrib/antlib.xml"/>
-+
-   <dirname file="${ant.file.common}" property="common.dir"/>
- 
-   <!-- Give user a chance to override without editing this file
-@@ -291,6 +293,15 @@
-   </macrodef>  	
- 	
- 	
-+  <macrodef name="update-manifest-requirebundle" 
-+            description="Updates the Require-Bundle attribute of a manifest file">
-+    <sequential>
-+      <manifest file="${manifest.file}" mode="update">
-+                <attribute name="Require-Bundle"
-+                           value="${OSGi.requirebundle}"/>
-+      </manifest>
-+    </sequential>
-+  </macrodef>
- 	
-   <macrodef name="build-manifest" description="Builds a manifest file">
-   	<attribute name="title" default="Lucene Search Engine: ${ant.project.name}" />
-@@ -311,6 +322,24 @@
- 		           value="${javac.source}"/>
- 		<attribute name="X-Compile-Target-JDK" 
- 		           value="${javac.target}"/>
-+                <attribute name="Bundle-ManifestVersion"
-+                           value="2"/>
-+                <attribute name="Bundle-SymbolicName"
-+                           value="${OSGi.symbolicname}"/>
-+                <attribute name="Bundle-Name"
-+                           value="@{title}"/>
-+                <attribute name="Bundle-Version"
-+                           value="${version}"/><!--
-+                <attribute name="Bundle-Version"
-+                           value="1.9.1.v20080530-1600"/>-->
-+                <attribute name="Bundle-RequiredExecutionEnvironment"
-+                           value="J2SE-1.5"/>
-+                <attribute name="Bundle-Vendor"
-+                           value="The Apache Software Foundation"/>
-+                <attribute name="Bundle-Localization"
-+                           value="plugin"/>
-+                <attribute name="Export-Package"
-+                           value="${OSGi.exportpackage}"/>
- 	  </manifest>
-   	</sequential>
-   </macrodef>
-@@ -328,6 +357,12 @@
-       </exec>
-       
-       <build-manifest/>
-+      <if>
-+        <isset property="OSGi.requirebundle"/>
-+        <then>
-+          <update-manifest-requirebundle/>
-+        </then>
-+      </if>
-     	
-       <jar
-         destfile="@{destfile}"
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' lucene2~/contrib/analyzers/common/build.xml lucene2/contrib/analyzers/common/build.xml
---- lucene2~/contrib/analyzers/common/build.xml	2010-08-06 13:44:30.000000000 +0200
-+++ lucene2/contrib/analyzers/common/build.xml	2010-08-06 13:44:32.000000000 +0200
-@@ -30,8 +30,18 @@
-   <property name="dist.dir" location="../../../dist/contrib/analyzers/common" />
-   <property name="maven.dist.dir" location="../../../dist/maven" />
- 
-+  <property name="OSGi.symbolicname" value="org.apache.lucene.analysis" />
-+  <pathconvert property="OSGi.exportpackage" pathsep=",">
-+    <dirset dir="src/java" excludes="org org/apache org/apache/lucene org/apache/lucene/analysis"/>
-+    <mapper>
-+      <chainedmapper>
-+        <packagemapper from="${basedir}/src/java/*" to="*"/>
-+      </chainedmapper>
-+    </mapper>
-+  </pathconvert>
-+
-   <import file="../../contrib-build.xml"/>
--	
-+
-   <path id="test.classpath">
-     <path refid="classpath"/>
-     <pathelement location="../../../build/classes/test/"/>
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' lucene2~/contrib/analyzers/smartcn/build.xml lucene2/contrib/analyzers/smartcn/build.xml
---- lucene2~/contrib/analyzers/smartcn/build.xml	2010-08-06 13:44:30.000000000 +0200
-+++ lucene2/contrib/analyzers/smartcn/build.xml	2010-08-06 13:44:32.000000000 +0200
-@@ -30,6 +30,15 @@
-   <property name="dist.dir" location="../../../dist/contrib/analyzers/smartcn" />
-   <property name="maven.dist.dir" location="../../../dist/maven" />
- 
-+  <pathconvert property="OSGi.exportpackage" pathsep=",">
-+    <dirset dir="src/java" excludes="org org/apache org/apache/lucene org/apache/lucene/analysis"/>
-+    <mapper>
-+      <chainedmapper>
-+        <packagemapper from="${basedir}/src/java/*" to="*"/>
-+      </chainedmapper>
-+    </mapper>
-+  </pathconvert>
-+
-   <import file="../../contrib-build.xml"/>
- 	
-   <path id="test.classpath">
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' lucene2~/contrib/contrib-build.xml lucene2/contrib/contrib-build.xml
---- lucene2~/contrib/contrib-build.xml	2010-08-06 13:44:30.000000000 +0200
-+++ lucene2/contrib/contrib-build.xml	2010-08-06 13:44:32.000000000 +0200
-@@ -24,7 +24,21 @@
-   <property name="build.dir" location="../../build/contrib/${ant.project.name}"/>
-   <property name="dist.dir" location="../../dist/contrib/${ant.project.name}"/>
-   <property name="maven.dist.dir" location="../../dist/maven"/>
--  	
-+ 
-+  <!-- these can be overridden in the separate contrib
-+       build.xml files --> 
-+  <property name="OSGi.requirebundle"
-+    value='org.apache.lucene;bundle-version="${version}";visibility:=reexport' />
-+  <property name="OSGi.symbolicname" value="org.apache.lucene.${ant.project.name}" />
-+  <pathconvert property="OSGi.exportpackage" pathsep=",">
-+    <dirset dir="src/java" excludes="org org/apache org/apache/lucene"/>
-+    <mapper>
-+      <chainedmapper>
-+        <packagemapper from="${basedir}/src/java/*" to="*"/>
-+      </chainedmapper>
-+    </mapper>
-+  </pathconvert>
-+
-   <import file="../common-build.xml"/>
- 
-   <property name="lucene.jar" location="${common.dir}/build/lucene-core-${version}.jar"/>

Added: branches/lucene3/convert-tot-quilt/debian/patches/05_add-osgi-metadata-in-manifests.patch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/05_add-osgi-metadata-in-manifests.patch	                        (rev 0)
+++ branches/lucene3/convert-tot-quilt/debian/patches/05_add-osgi-metadata-in-manifests.patch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -0,0 +1,151 @@
+Author: Jan-Pascal van Best <janpascal at vanbest.org>
+Description: No description.
+--- convert-tot-quilt.orig/build.xml
++++ convert-tot-quilt/build.xml
+@@ -21,6 +21,16 @@
+ 
+   <property name="junit.includes" value="**/Test*.java"/>
+ 
++  <property name="OSGi.symbolicname" value="org.apache.lucene" />
++  <pathconvert property="OSGi.exportpackage" pathsep=",">
++    <dirset dir="src/java" excludes="org org/apache"/>
++    <mapper>
++      <chainedmapper>
++        <packagemapper from="${basedir}/src/java/*" to="*"/>
++      </chainedmapper>
++    </mapper>
++  </pathconvert>
++
+   <import file="common-build.xml"/>
+ 
+   <property name="build.demo.template" value="src/demo/demo-build.template"/> 
+--- convert-tot-quilt.orig/common-build.xml
++++ convert-tot-quilt/common-build.xml
+@@ -23,6 +23,8 @@
+     for standalone use.
+   </description>
+ 
++  <taskdef resource="net/sf/antcontrib/antlib.xml"/>
++
+   <dirname file="${ant.file.common}" property="common.dir"/>
+ 
+   <!-- Give user a chance to override without editing this file
+@@ -291,6 +293,15 @@
+   </macrodef>  	
+ 	
+ 	
++  <macrodef name="update-manifest-requirebundle"
++            description="Updates the Require-Bundle attribute of a manifest file">
++    <sequential>
++      <manifest file="${manifest.file}" mode="update">
++                <attribute name="Require-Bundle"
++                           value="${OSGi.requirebundle}"/>
++      </manifest>
++    </sequential>
++  </macrodef>
+ 	
+   <macrodef name="build-manifest" description="Builds a manifest file">
+   	<attribute name="title" default="Lucene Search Engine: ${ant.project.name}" />
+@@ -311,6 +322,24 @@
+ 		           value="${javac.source}"/>
+ 		<attribute name="X-Compile-Target-JDK" 
+ 		           value="${javac.target}"/>
++                <attribute name="Bundle-ManifestVersion"
++                           value="2"/>
++                <attribute name="Bundle-SymbolicName"
++                           value="${OSGi.symbolicname}"/>
++                <attribute name="Bundle-Name"
++                           value="@{title}"/>
++                <attribute name="Bundle-Version"
++                           value="${version}"/><!--
++                <attribute name="Bundle-Version"
++                           value="1.9.1.v20080530-1600"/>-->
++                <attribute name="Bundle-RequiredExecutionEnvironment"
++                           value="J2SE-1.5"/>
++                <attribute name="Bundle-Vendor"
++                           value="The Apache Software Foundation"/>
++                <attribute name="Bundle-Localization"
++                           value="plugin"/>
++                <attribute name="Export-Package"
++                           value="${OSGi.exportpackage}"/>
+ 	  </manifest>
+   	</sequential>
+   </macrodef>
+@@ -328,6 +357,12 @@
+       </exec>
+       
+       <build-manifest/>
++      <if>
++        <isset property="OSGi.requirebundle"/>
++        <then>
++          <update-manifest-requirebundle/>
++        </then>
++      </if>
+     	
+       <jar
+         destfile="@{destfile}"
+--- convert-tot-quilt.orig/contrib/analyzers/common/build.xml
++++ convert-tot-quilt/contrib/analyzers/common/build.xml
+@@ -27,8 +27,18 @@
+   <property name="dist.dir" location="../../../dist/contrib/analyzers/common" />
+   <property name="maven.dist.dir" location="../../../dist/maven" />
+ 
++  <property name="OSGi.symbolicname" value="org.apache.lucene.analysis" />
++  <pathconvert property="OSGi.exportpackage" pathsep=",">
++    <dirset dir="src/java" excludes="org org/apache org/apache/lucene org/apache/lucene/analysis"/>
++    <mapper>
++      <chainedmapper>
++        <packagemapper from="${basedir}/src/java/*" to="*"/>
++      </chainedmapper>
++    </mapper>
++  </pathconvert>
++
+   <import file="../../contrib-build.xml"/>
+-	
++
+   <path id="test.classpath">
+     <path refid="classpath"/>
+     <pathelement location="../../../build/classes/test/"/>
+--- convert-tot-quilt.orig/contrib/analyzers/smartcn/build.xml
++++ convert-tot-quilt/contrib/analyzers/smartcn/build.xml
+@@ -27,6 +27,15 @@
+   <property name="dist.dir" location="../../../dist/contrib/analyzers/smartcn" />
+   <property name="maven.dist.dir" location="../../../dist/maven" />
+ 
++  <pathconvert property="OSGi.exportpackage" pathsep=",">
++    <dirset dir="src/java" excludes="org org/apache org/apache/lucene org/apache/lucene/analysis"/>
++    <mapper>
++      <chainedmapper>
++        <packagemapper from="${basedir}/src/java/*" to="*"/>
++      </chainedmapper>
++    </mapper>
++  </pathconvert>
++
+   <import file="../../contrib-build.xml"/>
+ 	
+   <path id="test.classpath">
+--- convert-tot-quilt.orig/contrib/contrib-build.xml
++++ convert-tot-quilt/contrib/contrib-build.xml
+@@ -24,7 +24,21 @@
+   <property name="build.dir" location="../../build/contrib/${ant.project.name}"/>
+   <property name="dist.dir" location="../../dist/contrib/${ant.project.name}"/>
+   <property name="maven.dist.dir" location="../../dist/maven"/>
+-  	
++
++  <!-- these can be overridden in the separate contrib
++       build.xml files -->
++  <property name="OSGi.requirebundle"
++    value='org.apache.lucene;bundle-version="${version}";visibility:=reexport' />
++  <property name="OSGi.symbolicname" value="org.apache.lucene.${ant.project.name}" />
++  <pathconvert property="OSGi.exportpackage" pathsep=",">
++    <dirset dir="src/java" excludes="org org/apache org/apache/lucene"/>
++    <mapper>
++      <chainedmapper>
++        <packagemapper from="${basedir}/src/java/*" to="*"/>
++      </chainedmapper>
++    </mapper>
++  </pathconvert>
++
+   <import file="../common-build.xml"/>
+ 
+   <property name="lucene.jar" location="${common.dir}/build/lucene-core-${version}.jar"/>

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/10_fix-javacc-locations.dpatch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/10_fix-javacc-locations.dpatch	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/10_fix-javacc-locations.dpatch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,29 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 10_fix-javacc-locations.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Fix lucene's build configuration to find javacc
-
- at DPATCH@
-diff -urNad lucene2-2.3.0~/common-build.xml lucene2-2.3.0/common-build.xml
---- lucene2-2.3.0~/common-build.xml	2008-01-26 15:39:14.000000000 +0530
-+++ lucene2-2.3.0/common-build.xml	2008-01-26 15:42:13.000000000 +0530
-@@ -69,7 +69,8 @@
-   <property name="m2.repository.url" value="file://${maven.dist.dir}"/>
-   <property name="m2.repository.private.key" value="${user.home}/.ssh/id_dsa"/>
- 
--  <property name="javacc.home" location="${common.dir}"/>
-+  <property name="javacc.home" location="/usr/share/java"/>
-+  <property name="javacc.jar" location="${javacc.home}/javacc.jar"/>
-   <property name="jflex.home" location="${common.dir}"/>
- 
-   <property name="junit.output.dir" location="${build.dir}/test"/>
-@@ -101,7 +102,7 @@
-   <available
-     property="javacc.present"
-     classname="org.javacc.parser.Main"
--    classpath="${javacc.home}/bin/lib/javacc.jar"
-+    classpath="${javacc.jar}"
-     />
- 
-    <available

Added: branches/lucene3/convert-tot-quilt/debian/patches/10_fix-javacc-locations.patch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/10_fix-javacc-locations.patch	                        (rev 0)
+++ branches/lucene3/convert-tot-quilt/debian/patches/10_fix-javacc-locations.patch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -0,0 +1,23 @@
+Author: Jan-Pascal van Best <janpascal at vanbest.org>
+Description: Fix lucene's build configuration to find javacc
+--- convert-tot-quilt.orig/common-build.xml
++++ convert-tot-quilt/common-build.xml
+@@ -92,7 +92,8 @@
+   <property name="m2.repository.url" value="file://${maven.dist.dir}"/>
+   <property name="m2.repository.private.key" value="${user.home}/.ssh/id_dsa"/>
+ 
+-  <property name="javacc.home" location="${common.dir}"/>
++  <property name="javacc.home" location="/usr/share/java"/>
++  <property name="javacc.jar" location="${javacc.home}/javacc.jar"/>
+   <property name="jflex.home" location="${common.dir}"/>
+ 
+   <property name="junit.output.dir" location="${build.dir}/test"/>
+@@ -129,7 +130,7 @@
+   <available
+     property="javacc.present"
+     classname="org.javacc.parser.Main"
+-    classpath="${javacc.home}/bin/lib/javacc.jar"
++    classpath="${javacc.jar}"
+     />
+ 
+    <available

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/11_fix-javacc-generated-files.dpatch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/11_fix-javacc-generated-files.dpatch	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/11_fix-javacc-generated-files.dpatch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,42 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 11_fix-javacc-generated-files.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
- at DPATCH@
-diff -urNad lucene2~/contrib/queryparser/build.xml lucene2/contrib/queryparser/build.xml
---- lucene2~/contrib/queryparser/build.xml	2009-10-08 18:23:39.000000000 +0200
-+++ lucene2/contrib/queryparser/build.xml	2009-10-08 18:24:45.000000000 +0200
-@@ -54,8 +54,8 @@
-   	                         match="^  public ParseException\(Token currentTokenVal.*$(\s\s[^}].*\n)*  \}"
-   	                         replace="  public ParseException(Token currentTokenVal,

-   	        int[][] expectedTokenSequencesVal, String[] tokenImageVal) {

--  	    super(new MessageImpl(QueryParserMessages.INVALID_SYNTAX, initialise(

--  	      currentTokenVal, expectedTokenSequencesVal, tokenImageVal)));

-+  	    super(new MessageImpl(QueryParserMessages.INVALID_SYNTAX, new Object[]{initialise(

-+  	      currentTokenVal, expectedTokenSequencesVal, tokenImageVal)}));

-   	    this.currentToken = currentTokenVal;

-   	    this.expectedTokenSequences = expectedTokenSequencesVal;

-   	    this.tokenImage = tokenImageVal;

-@@ -72,7 +72,7 @@
-   	    <replaceregexp file="src/java/org/apache/lucene/queryParser/standard/parser/ParseException.java"
-   	                         match="^  public ParseException\(\).*$(\s\s[^}].*\n)*  \}"
-   	                         replace="  public ParseException() {

--  	    super(new MessageImpl(QueryParserMessages.INVALID_SYNTAX, "Error"));

-+  	    super(new MessageImpl(QueryParserMessages.INVALID_SYNTAX, new Object[]{"Error"}));

-   	  }"
-   	                         flags="gm"
-   	                         byline="false"/>
-@@ -88,6 +88,11 @@
-   	                         replace="  static private String add_escapes(String str) {"
-   	                         flags="g"
-   	                         byline="false"/>
-+  	    <replaceregexp file="src/java/org/apache/lucene/queryParser/standard/parser/StandardSyntaxParser.java"
-+  	                         match="Message message = new MessageImpl\(QueryParserMessages.INVALID_SYNTAX_CANNOT_PARSE, query, tme.getMessage\(\)\);"
-+  	                         replace="Message message = new MessageImpl(QueryParserMessages.INVALID_SYNTAX_CANNOT_PARSE, new Object[]{query, tme.getMessage()});"
-+  	                         flags="g"
-+  	                         byline="false"/>
-   </target>
- 
- </project>

Added: branches/lucene3/convert-tot-quilt/debian/patches/11_fix-javacc-generated-files.patch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/11_fix-javacc-generated-files.patch	                        (rev 0)
+++ branches/lucene3/convert-tot-quilt/debian/patches/11_fix-javacc-generated-files.patch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -0,0 +1,36 @@
+Author: Jan-Pascal van Best <janpascal at vanbest.org>
+Description: No description.
+--- convert-tot-quilt.orig/contrib/queryparser/build.xml
++++ convert-tot-quilt/contrib/queryparser/build.xml
+@@ -51,8 +51,8 @@
+   	                         match="^  public ParseException\(Token currentTokenVal.*$(\s\s[^}].*\n)*  \}"
+   	                         replace="  public ParseException(Token currentTokenVal,

+   	        int[][] expectedTokenSequencesVal, String[] tokenImageVal) {

+-  	    super(new MessageImpl(QueryParserMessages.INVALID_SYNTAX, initialise(

+-  	      currentTokenVal, expectedTokenSequencesVal, tokenImageVal)));

++  	    super(new MessageImpl(QueryParserMessages.INVALID_SYNTAX, new Object[]{initialise(

++  	      currentTokenVal, expectedTokenSequencesVal, tokenImageVal)}));

+   	    this.currentToken = currentTokenVal;

+   	    this.expectedTokenSequences = expectedTokenSequencesVal;

+   	    this.tokenImage = tokenImageVal;

+@@ -69,7 +69,7 @@
+   	    <replaceregexp file="src/java/org/apache/lucene/queryParser/standard/parser/ParseException.java"
+   	                         match="^  public ParseException\(\).*$(\s\s[^}].*\n)*  \}"
+   	                         replace="  public ParseException() {

+-  	    super(new MessageImpl(QueryParserMessages.INVALID_SYNTAX, "Error"));

++  	    super(new MessageImpl(QueryParserMessages.INVALID_SYNTAX, new Object[]{"Error"}));

+   	  }"
+   	                         flags="gm"
+   	                         byline="false"/>
+@@ -85,6 +85,11 @@
+   	                         replace="  static private String add_escapes(String str) {"
+   	                         flags="g"
+   	                         byline="false"/>
++  	    <replaceregexp file="src/java/org/apache/lucene/queryParser/standard/parser/StandardSyntaxParser.java"
++  	                         match="Message message = new MessageImpl\(QueryParserMessages.INVALID_SYNTAX_CANNOT_PARSE, query, tme.getMessage\(\)\);"
++  	                         replace="Message message = new MessageImpl(QueryParserMessages.INVALID_SYNTAX_CANNOT_PARSE, new Object[]{query, tme.getMessage()});"
++  	                         flags="g"
++  	                         byline="false"/>
+   </target>
+ 
+ </project>

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/20_add-classpath-to-manifest-in-jars.dpatch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/20_add-classpath-to-manifest-in-jars.dpatch	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/20_add-classpath-to-manifest-in-jars.dpatch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,108 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 20_add-classpath-to-manifest-in-jars.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
- at DPATCH@
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' lucene3~/contrib/collation/build.xml lucene3/contrib/collation/build.xml
---- lucene3~/contrib/collation/build.xml	2010-08-13 15:26:10.000000000 +0200
-+++ lucene3/contrib/collation/build.xml	2010-08-13 15:28:15.000000000 +0200
-@@ -37,6 +37,10 @@
- 
-   <import file="../contrib-build.xml"/>
- 
-+  <property name="manifest.classpath"
-+    value="/usr/share/java/lucene-core-${version}.jar /usr/share/java/lucene-misc-${version}.jar"
-+  />
-+
-   <target name="compile-misc">
-     <subant target="compile">
-        <fileset dir="${common.dir}/contrib/misc" includes="build.xml"/>
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' lucene3~/contrib/contrib-build.xml lucene3/contrib/contrib-build.xml
---- lucene3~/contrib/contrib-build.xml	2010-08-13 15:26:12.000000000 +0200
-+++ lucene3/contrib/contrib-build.xml	2010-08-13 15:26:12.000000000 +0200
-@@ -24,6 +24,8 @@
-   <property name="build.dir" location="../../build/contrib/${ant.project.name}"/>
-   <property name="dist.dir" location="../../dist/contrib/${ant.project.name}"/>
-   <property name="maven.dist.dir" location="../../dist/maven"/>
-+
-+  <property name="project.classpath" value=""/> 
-  
-   <!-- these can be overridden in the separate contrib
-        build.xml files --> 
-@@ -52,6 +54,13 @@
-    <pathelement path="${project.classpath}"/>
-   </path>
- 
-+  <path id="external.classpath">
-+   <pathelement path="/usr/share/java/lucene-core-$(version}.jar"/>
-+   <pathelement path="${project.classpath}"/>
-+  </path>
-+
-+  <pathconvert property="manifest.classpath" pathsep=" " refid="external.classpath" />
-+
-   <path id="test.classpath">
-     <path refid="classpath"/>
-     <pathelement location="../../build/classes/test/"/>
-@@ -74,6 +83,13 @@
-     <ant dir="${common.dir}" target="compile-test" inheritAll="false"/>
-   </target>
- 
-+  <target name="jar" depends="compile" description="Create JAR">
-+    <jarify>
-+      <manifest-attributes>
-+        <attribute name="Class-Path" value="/usr/share/java/lucene-core-${version}.jar ${project.classpath}" />
-+      </manifest-attributes>
-+    </jarify>
-+  </target>
-   
-   <target name="init" depends="common.init,build-lucene,build-lucene-tests"/>
-   <target name="compile-test" depends="init" if="contrib.has.tests">
-@@ -124,5 +140,7 @@
-   <li><a href="contrib-${name}/index.html">${name}</a></li>
- ]]></echo>
-   </target>
-+
-+  <target name="default" depends="jar"/>
-   
- </project>
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' lucene3~/contrib/db/bdb/build.xml lucene3/contrib/db/bdb/build.xml
---- lucene3~/contrib/db/bdb/build.xml	2010-08-13 15:26:10.000000000 +0200
-+++ lucene3/contrib/db/bdb/build.xml	2010-08-13 15:26:12.000000000 +0200
-@@ -15,7 +15,7 @@
-     See the License for the specific language governing permissions and
-     limitations under the License.
-  -->
--<project name="bdb" default="default">
-+<project name="bdb" default="jar">
- 
-   <description>
-     Lucene Berkeley DB integration
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' lucene3~/contrib/lucli/build.xml lucene3/contrib/lucli/build.xml
---- lucene3~/contrib/lucli/build.xml	2010-08-13 15:26:10.000000000 +0200
-+++ lucene3/contrib/lucli/build.xml	2010-08-13 15:31:33.000000000 +0200
-@@ -42,7 +42,9 @@
-     <jarify>
-       <manifest-attributes>
-         <attribute name="Main-Class" value="lucli.Lucli" />
--        <attribute name="Class-Path" value="lib/jline.jar lib/lucene.jar" />
-+        <attribute name="Class-Path" 
-+          value="/usr/share/java/lucene-core-${version}.jar /usr/share/java/jline.jar" 
-+        />
-       </manifest-attributes>
-     </jarify>
-    </target>
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' lucene3~/contrib/snowball/build.xml lucene3/contrib/snowball/build.xml
---- lucene3~/contrib/snowball/build.xml	2010-08-13 15:26:10.000000000 +0200
-+++ lucene3/contrib/snowball/build.xml	2010-08-13 15:26:12.000000000 +0200
-@@ -32,6 +32,9 @@
- 
-   <target name="jar" depends="compile" description="Create JAR">
-     <jarify>
-+      <manifest-attributes>
-+        <attribute name="Class-Path" value="/usr/share/java/lucene-core-${version}.jar" />
-+      </manifest-attributes>
-       <metainf-includes>
-         <metainf dir=".">
-           <include name="SNOWBALL-LICENSE.txt"/>

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/30_fix-contrib-ant-libs.dpatch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/30_fix-contrib-ant-libs.dpatch	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/30_fix-contrib-ant-libs.dpatch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,20 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 30_fix-contrib-ant-libs.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Link contrib/ant to the libraries from /usr/share/java instead of
-## DP: to the (removed) libraries from lib/
-
- at DPATCH@
-diff -urNad trunk~/contrib/ant/build.xml trunk/contrib/ant/build.xml
---- trunk~/contrib/ant/build.xml	2007-06-04 06:02:05.000000000 +0200
-+++ trunk/contrib/ant/build.xml	2007-06-05 13:30:58.000000000 +0200
-@@ -25,7 +25,7 @@
- 
-   <path id="additional.dependencies">
-     <!-- TODO: make ${tidy.jar} property -->
--    <pathelement location="lib/Tidy.jar"/>
-+    <pathelement location="/usr/share/java/jtidy.jar"/>
-   </path>
- 
-   <pathconvert property="project.classpath"

Added: branches/lucene3/convert-tot-quilt/debian/patches/30_fix-contrib-ant-libs.patch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/30_fix-contrib-ant-libs.patch	                        (rev 0)
+++ branches/lucene3/convert-tot-quilt/debian/patches/30_fix-contrib-ant-libs.patch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -0,0 +1,14 @@
+Author: Jan-Pascal van Best <janpascal at vanbest.org>
+Description: Link contrib/ant to the libraries from /usr/share/java instead of
+to the (removed) libraries from lib/
+--- convert-tot-quilt.orig/contrib/ant/build.xml
++++ convert-tot-quilt/contrib/ant/build.xml
+@@ -25,7 +25,7 @@
+ 
+   <path id="additional.dependencies">
+     <!-- TODO: make ${tidy.jar} property -->
+-    <pathelement location="lib/Tidy.jar"/>
++    <pathelement location="/usr/share/java/jtidy.jar"/>
+   </path>
+ 
+   <pathconvert property="project.classpath"

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/31_fix-contrib-ant-test-wrong-encoding.dpatch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/31_fix-contrib-ant-test-wrong-encoding.dpatch	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/31_fix-contrib-ant-test-wrong-encoding.dpatch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,21 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 31_fix-contrib-ant-test-wrong-encoding.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: The URL decoding caused the test to fail when building with pbuilder,
-## DP: because the '+' sign in the Debian version number was converted to
-## DP: a space. This patch removes the URL decoding.
-
- at DPATCH@
-diff -urNad lucene2~/contrib/ant/src/test/org/apache/lucene/ant/DocumentTestCase.java lucene2/contrib/ant/src/test/org/apache/lucene/ant/DocumentTestCase.java
---- lucene2~/contrib/ant/src/test/org/apache/lucene/ant/DocumentTestCase.java	2009-06-27 12:58:40.000000000 +0200
-+++ lucene2/contrib/ant/src/test/org/apache/lucene/ant/DocumentTestCase.java	2009-11-05 09:34:23.000000000 +0100
-@@ -33,7 +33,7 @@
-         String fullname =
-                      this.getClass().getResource(filename).getFile();
-         
--        File file = new File(URLDecoder.decode(fullname, "UTF-8"));
-+        File file = new File(fullname);
-         
-         return file;
-     }

Added: branches/lucene3/convert-tot-quilt/debian/patches/31_fix-contrib-ant-test-wrong-encoding.patch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/31_fix-contrib-ant-test-wrong-encoding.patch	                        (rev 0)
+++ branches/lucene3/convert-tot-quilt/debian/patches/31_fix-contrib-ant-test-wrong-encoding.patch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -0,0 +1,15 @@
+Author: Jan-Pascal van Best <janpascal at vanbest.org>
+Description: The URL decoding caused the test to fail when building with pbuilder,
+because the '+' sign in the Debian version number was converted to
+a space. This patch removes the URL decoding.
+--- convert-tot-quilt.orig/contrib/ant/src/test/org/apache/lucene/ant/DocumentTestCase.java
++++ convert-tot-quilt/contrib/ant/src/test/org/apache/lucene/ant/DocumentTestCase.java
+@@ -33,7 +33,7 @@
+         String fullname =
+                      this.getClass().getResource(filename).getFile();
+         
+-        File file = new File(URLDecoder.decode(fullname, "UTF-8"));
++        File file = new File(fullname);
+         
+         return file;
+     }

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/40_fix-contrib-benchmark-libs.dpatch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/40_fix-contrib-benchmark-libs.dpatch	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/40_fix-contrib-benchmark-libs.dpatch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,27 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 39_fix-contrib-benchmark-libs.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
- at DPATCH@
-diff -urNad lucene2~/contrib/benchmark/build.xml lucene2/contrib/benchmark/build.xml
---- lucene2~/contrib/benchmark/build.xml	2009-08-20 09:34:18.000000000 +0200
-+++ lucene2/contrib/benchmark/build.xml	2009-08-20 09:35:09.000000000 +0200
-@@ -107,9 +107,13 @@
-         <pathelement path="${common.dir}/build/contrib/highlighter/classes/java"/>
-         <pathelement path="${common.dir}/build/contrib/memory/classes/java"/>
-         <pathelement path="${common.dir}/build/contrib/fast-vector-highlighter/classes/java"/>
--    	<fileset dir="lib">
--    		<include name="**/*.jar"/>
--    	</fileset>
-+        <pathelement path="/usr/share/java/commons-digester.jar"/>
-+        <pathelement path="/usr/share/java/commons-collections.jar"/>
-+        <pathelement path="/usr/share/java/commons-compress.jar"/>
-+        <pathelement path="/usr/share/java/commons-logging.jar"/>
-+        <pathelement path="/usr/share/java/commons-beanutils.jar"/>
-+        <pathelement path="/usr/share/java/xercesImpl.jar"/>
-+        <pathelement path="/usr/share/java/xml-apis.jar"/>
-     </path>
-     <path id="run.classpath">
-         <path refid="classpath"/>

Added: branches/lucene3/convert-tot-quilt/debian/patches/40_fix-contrib-benchmark-libs.patch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/40_fix-contrib-benchmark-libs.patch	                        (rev 0)
+++ branches/lucene3/convert-tot-quilt/debian/patches/40_fix-contrib-benchmark-libs.patch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -0,0 +1,21 @@
+Author: Jan-Pascal van Best <janpascal at vanbest.org>
+Description: No description.
+--- convert-tot-quilt.orig/contrib/benchmark/build.xml
++++ convert-tot-quilt/contrib/benchmark/build.xml
+@@ -107,9 +107,13 @@
+         <pathelement path="${common.dir}/build/contrib/highlighter/classes/java"/>
+         <pathelement path="${common.dir}/build/contrib/memory/classes/java"/>
+         <pathelement path="${common.dir}/build/contrib/fast-vector-highlighter/classes/java"/>
+-    	<fileset dir="lib">
+-    		<include name="**/*.jar"/>
+-    	</fileset>
++        <pathelement path="/usr/share/java/commons-digester.jar"/>
++        <pathelement path="/usr/share/java/commons-collections.jar"/>
++        <pathelement path="/usr/share/java/commons-compress.jar"/>
++        <pathelement path="/usr/share/java/commons-logging.jar"/>
++        <pathelement path="/usr/share/java/commons-beanutils.jar"/>
++        <pathelement path="/usr/share/java/xercesImpl.jar"/>
++        <pathelement path="/usr/share/java/xml-apis.jar"/>
+     </path>
+     <path id="run.classpath">
+         <path refid="classpath"/>

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/45_fix-contrib-collation-libs.dpatch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/45_fix-contrib-collation-libs.dpatch	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/45_fix-contrib-collation-libs.dpatch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,19 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 45_fix-contrib-collation-libs.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
- at DPATCH@
-diff -urNad lucene2~/contrib/collation/build.xml lucene2/contrib/collation/build.xml
---- lucene2~/contrib/collation/build.xml	2009-08-19 20:22:41.000000000 +0200
-+++ lucene2/contrib/collation/build.xml	2009-08-20 11:16:40.000000000 +0200
-@@ -26,7 +26,7 @@
- 
- 
-   <path id="additional.dependencies">
--    <fileset dir="lib" includes="icu4j-*.jar"/>
-+    <pathelement location="/usr/share/java/icu4j.jar"/>
-     <pathelement location="../../build/contrib/misc/classes/java"/>
-   </path>
- 

Added: branches/lucene3/convert-tot-quilt/debian/patches/45_fix-contrib-collation-libs.patch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/45_fix-contrib-collation-libs.patch	                        (rev 0)
+++ branches/lucene3/convert-tot-quilt/debian/patches/45_fix-contrib-collation-libs.patch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -0,0 +1,13 @@
+Author: Jan-Pascal van Best <janpascal at vanbest.org>
+Description: No description.
+--- convert-tot-quilt.orig/contrib/collation/build.xml
++++ convert-tot-quilt/contrib/collation/build.xml
+@@ -26,7 +26,7 @@
+ 
+ 
+   <path id="additional.dependencies">
+-    <fileset dir="lib" includes="icu4j-*.jar"/>
++    <pathelement location="/usr/share/java/icu4j.jar"/>
+     <pathelement location="../../build/contrib/misc/classes/java"/>
+   </path>
+ 

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/50_fix-contrib-db-libs.dpatch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/50_fix-contrib-db-libs.dpatch	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/50_fix-contrib-db-libs.dpatch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,44 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 50_fix-contrib-db-libs.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
- at DPATCH@
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' lucene3~/contrib/db/bdb/build.xml lucene3/contrib/db/bdb/build.xml
---- lucene3~/contrib/db/bdb/build.xml	2010-08-11 13:19:57.000000000 +0200
-+++ lucene3/contrib/db/bdb/build.xml	2010-08-11 13:21:17.000000000 +0200
-@@ -21,10 +21,8 @@
-     Lucene Berkeley DB integration
-   </description>
- 
--  <property name="db.version" value="4.7.25" />
--
-   <path id="db.jar">
--    <pathelement location="lib/db-${db.version}.jar" />
-+    <pathelement location="/usr/share/java/libdb4.7-java.jar" />
-   </path>
- 
-   <available classname="com.sleepycat.db.internal.Db" property="db.jar.exists">
-@@ -46,12 +44,6 @@
-     <pathelement location="${build.dir}/classes/java"/>
-   </path>
- 
--  <target name="get-db-jar" unless="db.jar.exists">
--    <mkdir dir="lib" />
--    <get src="http://downloads.osafoundation.org/db/db-${db.version}.jar"
--         dest="lib/db-${db.version}.jar" />
--  </target>
--
-   <target name="sanity-load-lib" depends="compile-test">
-     <java classname="org.apache.lucene.store.db.SanityLoadLibrary"
-           classpathref="junit.classpath"
-@@ -78,7 +70,6 @@
-     <antcall target="common.test" inheritAll="true" inheritRefs="true" />
-   </target>
- 
--  <target name="check-and-get-db-jar" depends="get-db-jar" />
--  <target name="init" depends="contrib-build.init,check-and-get-db-jar" />
-+  <target name="init" depends="contrib-build.init" />
- 
- </project>

Added: branches/lucene3/convert-tot-quilt/debian/patches/50_fix-contrib-db-libs.patch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/50_fix-contrib-db-libs.patch	                        (rev 0)
+++ branches/lucene3/convert-tot-quilt/debian/patches/50_fix-contrib-db-libs.patch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -0,0 +1,38 @@
+Author: Jan-Pascal van Best <janpascal at vanbest.org>
+Description: No description.
+--- convert-tot-quilt.orig/contrib/db/bdb/build.xml
++++ convert-tot-quilt/contrib/db/bdb/build.xml
+@@ -21,10 +21,8 @@
+     Lucene Berkeley DB integration
+   </description>
+ 
+-  <property name="db.version" value="4.7.25" />
+-
+   <path id="db.jar">
+-    <pathelement location="lib/db-${db.version}.jar" />
++    <pathelement location="/usr/share/java/libdb4.7-java.jar" />
+   </path>
+ 
+   <available classname="com.sleepycat.db.internal.Db" property="db.jar.exists">
+@@ -46,12 +44,6 @@
+     <pathelement location="${build.dir}/classes/java"/>
+   </path>
+ 
+-  <target name="get-db-jar" unless="db.jar.exists">
+-    <mkdir dir="lib" />
+-    <get src="http://downloads.osafoundation.org/db/db-${db.version}.jar"
+-         dest="lib/db-${db.version}.jar" />
+-  </target>
+-
+   <target name="sanity-load-lib" depends="compile-test">
+     <java classname="org.apache.lucene.store.db.SanityLoadLibrary"
+           classpathref="junit.classpath"
+@@ -78,7 +70,6 @@
+     <antcall target="common.test" inheritAll="true" inheritRefs="true" />
+   </target>
+ 
+-  <target name="check-and-get-db-jar" depends="get-db-jar" />
+-  <target name="init" depends="contrib-build.init,check-and-get-db-jar" />
++  <target name="init" depends="contrib-build.init" />
+ 
+ </project>

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/55_fix-contrib-db-je-libs.dpatch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/55_fix-contrib-db-je-libs.dpatch	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/55_fix-contrib-db-je-libs.dpatch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,41 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 55_fix-contrib-db-je-libs.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
- at DPATCH@
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' lucene3~/contrib/db/bdb-je/build.xml lucene3/contrib/db/bdb-je/build.xml
---- lucene3~/contrib/db/bdb-je/build.xml	2010-08-11 13:19:57.000000000 +0200
-+++ lucene3/contrib/db/bdb-je/build.xml	2010-08-11 13:23:15.000000000 +0200
-@@ -21,10 +21,8 @@
-     Lucene Berkeley DB Java Edition integration
-   </description>
- 
--  <property name="je.version" value="3.3.69" />
--
-   <path id="je.jar">
--    <pathelement location="lib/je-${je.version}/lib/je-${je.version}.jar" />
-+    <pathelement location="/usr/share/java/db-je.jar" />
-   </path>
- 
-   <available classname="com.sleepycat.je.Database" property="je.jar.exists">
-@@ -46,17 +44,5 @@
-     <pathelement location="${build.dir}/classes/java"/>
-   </path>
- 
--  <target name="get-je-jar" unless="je.jar.exists">
--    <mkdir dir="lib" />
--    <get src="http://download.oracle.com/berkeley-db/je-${je.version}.zip"
--         dest="lib/je-${je.version}.zip" />
--    <unzip src="lib/je-${je.version}.zip" dest="lib">
--      <patternset>
--        <include name="je-${je.version}/lib/je-${je.version}.jar" />
--      </patternset>
--    </unzip>
--  </target>
--
--  <target name="check-and-get-je-jar" depends="get-je-jar" />
--  <target name="init" depends="contrib-build.init,check-and-get-je-jar" />
-+  <target name="init" depends="contrib-build.init" />
- </project>

Added: branches/lucene3/convert-tot-quilt/debian/patches/55_fix-contrib-db-je-libs.patch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/55_fix-contrib-db-je-libs.patch	                        (rev 0)
+++ branches/lucene3/convert-tot-quilt/debian/patches/55_fix-contrib-db-je-libs.patch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -0,0 +1,35 @@
+Author: Jan-Pascal van Best <janpascal at vanbest.org>
+Description: No description.
+--- convert-tot-quilt.orig/contrib/db/bdb-je/build.xml
++++ convert-tot-quilt/contrib/db/bdb-je/build.xml
+@@ -21,10 +21,8 @@
+     Lucene Berkeley DB Java Edition integration
+   </description>
+ 
+-  <property name="je.version" value="3.3.69" />
+-
+   <path id="je.jar">
+-    <pathelement location="lib/je-${je.version}/lib/je-${je.version}.jar" />
++    <pathelement location="/usr/share/java/db-je.jar" />
+   </path>
+ 
+   <available classname="com.sleepycat.je.Database" property="je.jar.exists">
+@@ -46,17 +44,5 @@
+     <pathelement location="${build.dir}/classes/java"/>
+   </path>
+ 
+-  <target name="get-je-jar" unless="je.jar.exists">
+-    <mkdir dir="lib" />
+-    <get src="http://download.oracle.com/berkeley-db/je-${je.version}.zip"
+-         dest="lib/je-${je.version}.zip" />
+-    <unzip src="lib/je-${je.version}.zip" dest="lib">
+-      <patternset>
+-        <include name="je-${je.version}/lib/je-${je.version}.jar" />
+-      </patternset>
+-    </unzip>
+-  </target>
+-
+-  <target name="check-and-get-je-jar" depends="get-je-jar" />
+-  <target name="init" depends="contrib-build.init,check-and-get-je-jar" />
++  <target name="init" depends="contrib-build.init" />
+ </project>

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/60_fix-contrib-lucli-libs.dpatch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/60_fix-contrib-lucli-libs.dpatch	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/60_fix-contrib-lucli-libs.dpatch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,20 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 60_fix-contrib-lucli-libs.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Link contrib/lucli to the libraries from /usr/share/java instead of
-## DP: to the (removed) libraries from lib/
-
- at DPATCH@
-diff -urNad trunk~/contrib/lucli/build.xml trunk/contrib/lucli/build.xml
---- trunk~/contrib/lucli/build.xml	2007-06-04 06:02:20.000000000 +0200
-+++ trunk/contrib/lucli/build.xml	2007-06-05 13:52:51.000000000 +0200
-@@ -25,7 +25,7 @@
- 
- 
-   <path id="additional.dependencies">
--    <pathelement location="lib/jline.jar"/>
-+    <pathelement location="/usr/share/java/jline.jar"/>
-   </path>
- 
-   <pathconvert property="project.classpath"

Added: branches/lucene3/convert-tot-quilt/debian/patches/60_fix-contrib-lucli-libs.patch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/60_fix-contrib-lucli-libs.patch	                        (rev 0)
+++ branches/lucene3/convert-tot-quilt/debian/patches/60_fix-contrib-lucli-libs.patch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -0,0 +1,14 @@
+Author: Jan-Pascal van Best <janpascal at vanbest.org>
+Description: Link contrib/lucli to the libraries from /usr/share/java instead of
+to the (removed) libraries from lib/
+--- convert-tot-quilt.orig/contrib/lucli/build.xml
++++ convert-tot-quilt/contrib/lucli/build.xml
+@@ -25,7 +25,7 @@
+ 
+ 
+   <path id="additional.dependencies">
+-    <pathelement location="lib/jline.jar"/>
++    <pathelement location="/usr/share/java/jline.jar"/>
+   </path>
+ 
+   <pathconvert property="project.classpath"

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/61_lucli-script.dpatch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/61_lucli-script.dpatch	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/61_lucli-script.dpatch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,29 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 61_lucli-script.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Fix the lucli run.sh script to use the jar files in the
-## DP: standard locations.
-
- at DPATCH@
-diff -urNad lucene2~/contrib/lucli/run.sh lucene2/contrib/lucli/run.sh
---- lucene2~/contrib/lucli/run.sh	2009-10-09 13:00:12.000000000 +0200
-+++ lucene2/contrib/lucli/run.sh	2009-10-09 13:01:00.000000000 +0200
-@@ -1,3 +1,4 @@
-+#!/bin/sh 
- 
- #    Licensed to the Apache Software Foundation (ASF) under one or more
- #    contributor license agreements.  See the NOTICE file distributed with
-@@ -14,9 +15,8 @@
- #    See the License for the specific language governing permissions and
- #    limitations under the License.
- 
--LUCLI=.
-+LUCLI=/usr/share/java
- LUCLI_MEMORY=128M
--#JAVA_HOME=/home/dror/j2sdk1.4.1_03/
--CLASSPATH=${CLASSPATH}:$LUCLI/lib/jline.jar:$LUCLI/lib/lucene.jar:$LUCLI/dist/lucli-dev.jar
-+CLASSPATH=${CLASSPATH}:$LUCLI/jline.jar:$LUCLI/lucene-core.jar:$LUCLI/lucene-lucli.jar
- export CLASSPATH
--$JAVA_HOME/bin/java -Xmx${LUCLI_MEMORY} lucli.Lucli
-+java -Xmx${LUCLI_MEMORY} lucli.Lucli

Added: branches/lucene3/convert-tot-quilt/debian/patches/61_lucli-script.patch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/61_lucli-script.patch	                        (rev 0)
+++ branches/lucene3/convert-tot-quilt/debian/patches/61_lucli-script.patch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -0,0 +1,23 @@
+Author: Jan-Pascal van Best <janpascal at vanbest.org>
+Description: Fix the lucli run.sh script to use the jar files in the
+standard locations.
+--- convert-tot-quilt.orig/contrib/lucli/run.sh
++++ convert-tot-quilt/contrib/lucli/run.sh
+@@ -1,3 +1,4 @@
++#!/bin/sh
+ 
+ #    Licensed to the Apache Software Foundation (ASF) under one or more
+ #    contributor license agreements.  See the NOTICE file distributed with
+@@ -14,9 +15,8 @@
+ #    See the License for the specific language governing permissions and
+ #    limitations under the License.
+ 
+-LUCLI=.
++LUCLI=/usr/share/java
+ LUCLI_MEMORY=128M
+-#JAVA_HOME=/home/dror/j2sdk1.4.1_03/
+-CLASSPATH=${CLASSPATH}:$LUCLI/lib/jline.jar:$LUCLI/lib/lucene.jar:$LUCLI/dist/lucli-dev.jar
++CLASSPATH=${CLASSPATH}:$LUCLI/jline.jar:$LUCLI/lucene-core.jar:$LUCLI/lucene-lucli.jar
+ export CLASSPATH
+-$JAVA_HOME/bin/java -Xmx${LUCLI_MEMORY} lucli.Lucli
++java -Xmx${LUCLI_MEMORY} lucli.Lucli

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/70_fix-contrib-regex-libs.dpatch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/70_fix-contrib-regex-libs.dpatch	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/70_fix-contrib-regex-libs.dpatch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,20 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 70_fix-contrib-regex-libs.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Link contrib/regex to the libraries from /usr/share/java instead of
-## DP: to the (removed) libraries from lib/
-
- at DPATCH@
-diff -urNad trunk~/contrib/regex/build.xml trunk/contrib/regex/build.xml
---- trunk~/contrib/regex/build.xml	2007-06-04 06:02:22.000000000 +0200
-+++ trunk/contrib/regex/build.xml	2007-06-05 13:58:54.000000000 +0200
-@@ -24,7 +24,7 @@
-   </description>
- 
-   <path id="additional.dependencies">
--    <fileset dir="lib" includes="*-oro-*.jar,*-regexp-*.jar"/>
-+    <fileset dir="/usr/share/java" includes="regexp.jar"/>
-   </path>
- 
-   <pathconvert property="project.classpath"

Added: branches/lucene3/convert-tot-quilt/debian/patches/70_fix-contrib-regex-libs.patch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/70_fix-contrib-regex-libs.patch	                        (rev 0)
+++ branches/lucene3/convert-tot-quilt/debian/patches/70_fix-contrib-regex-libs.patch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -0,0 +1,14 @@
+Author: Jan-Pascal van Best <janpascal at vanbest.org>
+Description: Link contrib/regex to the libraries from /usr/share/java instead of
+to the (removed) libraries from lib/
+--- convert-tot-quilt.orig/contrib/regex/build.xml
++++ convert-tot-quilt/contrib/regex/build.xml
+@@ -24,7 +24,7 @@
+   </description>
+ 
+   <path id="additional.dependencies">
+-    <fileset dir="lib" includes="*-oro-*.jar,*-regexp-*.jar"/>
++    <fileset dir="/usr/share/java" includes="regexp.jar"/>
+   </path>
+ 
+   <pathconvert property="project.classpath"

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/80_prevent-downloading-data-files.dpatch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/80_prevent-downloading-data-files.dpatch	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/80_prevent-downloading-data-files.dpatch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,21 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 80_prevent-downloading-data-files.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
- at DPATCH@
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' lucene3~/contrib/benchmark/build.xml lucene3/contrib/benchmark/build.xml
---- lucene3~/contrib/benchmark/build.xml	2010-08-11 13:35:21.000000000 +0200
-+++ lucene3/contrib/benchmark/build.xml	2010-08-11 13:36:53.000000000 +0200
-@@ -168,8 +168,8 @@
-     <target name="init" depends="common.init,compile-demo,compile-memory,compile-highlighter,compile-vector-highlighter,check-files"/>
- 
-     <!-- make sure online collections (reuters) are first downloaded -->
--    <target name="test" depends="init,get-files">
--      <antcall target="common.test" inheritRefs="true" />
-+    <!-- test disabled, cannot download reuters and news data in automated build environments -->
-+    <target name="test" depends="init">
-     </target>
-     
- </project>

Added: branches/lucene3/convert-tot-quilt/debian/patches/80_prevent-downloading-data-files.patch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/80_prevent-downloading-data-files.patch	                        (rev 0)
+++ branches/lucene3/convert-tot-quilt/debian/patches/80_prevent-downloading-data-files.patch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -0,0 +1,15 @@
+Author: Jan-Pascal van Best <janpascal at vanbest.org>
+Description: No description.
+--- convert-tot-quilt.orig/contrib/benchmark/build.xml
++++ convert-tot-quilt/contrib/benchmark/build.xml
+@@ -168,8 +168,8 @@
+     <target name="init" depends="common.init,compile-demo,compile-memory,compile-highlighter,compile-vector-highlighter,check-files"/>
+ 
+     <!-- make sure online collections (reuters) are first downloaded -->
+-    <target name="test" depends="init,get-files">
+-      <antcall target="common.test" inheritRefs="true" />
++    <!-- test disabled, cannot download reuters and news data in automated build environments -->
++    <target name="test" depends="init">
+     </target>
+     
+ </project>

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/81_disable-test-tag-backcompat-tests.dpatch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/81_disable-test-tag-backcompat-tests.dpatch	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/81_disable-test-tag-backcompat-tests.dpatch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,73 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 81_disable-test-tag-backcompat-tests.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
- at DPATCH@
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' lucene3~/build.xml lucene3/build.xml
---- lucene3~/build.xml	2010-08-11 13:38:26.000000000 +0200
-+++ lucene3/build.xml	2010-08-11 13:39:40.000000000 +0200
-@@ -86,8 +86,8 @@
-   <target name="test-core" depends="common.test"
-           description="Runs unit tests for the core Lucene code"
-   />
--  <target name="test" depends="test-core, test-contrib, test-tag"
--          description="Runs all unit tests (core, contrib and back-compat)"
-+  <target name="test" depends="test-core, test-contrib"
-+          description="Runs all unit tests (core and contrib)"
-   />
- 
-   <property name="tag" value="${compatibility.tag}"/>
-@@ -104,51 +104,6 @@
-     <pathelement path="${java.class.path}"/>
-   </path>
- 
--  <target name="download-tag"
--  	description="Downloads a previous Lucene version. Specify tag version like this: -Dtag=lucene_2_4_back_compat_tests_20090127">
--	<sequential>
--	  <mkdir dir="${tags.dir}/${tag}"/>
--      <exec dir="${tags.dir}/${tag}" executable="${svn.exe}"
--            failifexecutionfails="false">
--        <arg line="checkout http://svn.apache.org/repos/asf/lucene/java/tags/${tag}/src/"/>
--      </exec>
--	</sequential>
--  </target>
--	
--  <target name="test-tag" depends="download-tag, compile-core, jar-core"
--  	description="Runs tests of a previous Lucene version. Specify tag version like this: -Dtag=branches/lucene_2_9_back_compat_tests">
--	<sequential>
--      <available property="tag.available" file="${tags.dir}/${tag}/src/test" />
--
--	  <fail unless="tag.available">
--	  	Specified tag '${tag}' could not be found in directory '${tags.dir}/${tag}'.
--	  </fail>
--	  <mkdir dir="${build.dir}/${tag}"/>	  
--
--	  <!-- first compile tag classes -->
--	  <compile
--	    srcdir="${tags.dir}/${tag}/src/java"
--	    destdir="${build.dir}/${tag}/classes/java"
--      javac.source="${javac.source.tag}" javac.target="${javac.target.tag}">
--	  <classpath refid="tag.classpath"/>
--	  </compile>
--
--	  <!-- compile jar for tag -->
--      <jarify basedir="${build.dir}/${tag}/classes/java"
--			  destfile="${build.dir}/${tag}/${tag}.jar" />
--		  	
--	  <!-- compile tag tests against tag jar -->	
--	  <compile-test-macro srcdir="${tags.dir}/${tag}/src/test" destdir="${build.dir}/${tag}/classes/test"
--			  			  test.classpath="tag.test.classpath" javac.source="${javac.source.tag}" javac.target="${javac.target.tag}"/>
--		
--	  <!-- run tag tests against trunk jar -->
--      <test-macro dataDir="${tags.dir}/${tag}/src/test" 
--      			  tempDir="${build.dir}/${tag}"
--      			  junit.classpath="tag.junit.classpath"/>
--  	</sequential>
--  </target>	
--
--	
-   <target name="clean-tags"
-     description="Removes contents of the tags directory">
-     <delete dir="${tags.dir}"/>

Added: branches/lucene3/convert-tot-quilt/debian/patches/81_disable-test-tag-backcompat-tests.patch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/81_disable-test-tag-backcompat-tests.patch	                        (rev 0)
+++ branches/lucene3/convert-tot-quilt/debian/patches/81_disable-test-tag-backcompat-tests.patch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -0,0 +1,67 @@
+Author: Jan-Pascal van Best <janpascal at vanbest.org>
+Description: No description.
+--- convert-tot-quilt.orig/build.xml
++++ convert-tot-quilt/build.xml
+@@ -86,8 +86,8 @@
+   <target name="test-core" depends="common.test"
+           description="Runs unit tests for the core Lucene code"
+   />
+-  <target name="test" depends="test-core, test-contrib, test-tag"
+-          description="Runs all unit tests (core, contrib and back-compat)"
++  <target name="test" depends="test-core, test-contrib"
++          description="Runs all unit tests (core and contrib)"
+   />
+ 
+   <property name="tag" value="${compatibility.tag}"/>
+@@ -104,51 +104,6 @@
+     <pathelement path="${java.class.path}"/>
+   </path>
+ 
+-  <target name="download-tag"
+-  	description="Downloads a previous Lucene version. Specify tag version like this: -Dtag=lucene_2_4_back_compat_tests_20090127">
+-	<sequential>
+-	  <mkdir dir="${tags.dir}/${tag}"/>
+-      <exec dir="${tags.dir}/${tag}" executable="${svn.exe}"
+-            failifexecutionfails="false">
+-        <arg line="checkout http://svn.apache.org/repos/asf/lucene/java/tags/${tag}/src/"/>
+-      </exec>
+-	</sequential>
+-  </target>
+-	
+-  <target name="test-tag" depends="download-tag, compile-core, jar-core"
+-  	description="Runs tests of a previous Lucene version. Specify tag version like this: -Dtag=branches/lucene_2_9_back_compat_tests">
+-	<sequential>
+-      <available property="tag.available" file="${tags.dir}/${tag}/src/test" />
+-
+-	  <fail unless="tag.available">
+-	  	Specified tag '${tag}' could not be found in directory '${tags.dir}/${tag}'.
+-	  </fail>
+-	  <mkdir dir="${build.dir}/${tag}"/>	  
+-
+-	  <!-- first compile tag classes -->
+-	  <compile
+-	    srcdir="${tags.dir}/${tag}/src/java"
+-	    destdir="${build.dir}/${tag}/classes/java"
+-      javac.source="${javac.source.tag}" javac.target="${javac.target.tag}">
+-	  <classpath refid="tag.classpath"/>
+-	  </compile>
+-
+-	  <!-- compile jar for tag -->
+-      <jarify basedir="${build.dir}/${tag}/classes/java"
+-			  destfile="${build.dir}/${tag}/${tag}.jar" />
+-		  	
+-	  <!-- compile tag tests against tag jar -->	
+-	  <compile-test-macro srcdir="${tags.dir}/${tag}/src/test" destdir="${build.dir}/${tag}/classes/test"
+-			  			  test.classpath="tag.test.classpath" javac.source="${javac.source.tag}" javac.target="${javac.target.tag}"/>
+-		
+-	  <!-- run tag tests against trunk jar -->
+-      <test-macro dataDir="${tags.dir}/${tag}/src/test" 
+-      			  tempDir="${build.dir}/${tag}"
+-      			  junit.classpath="tag.junit.classpath"/>
+-  	</sequential>
+-  </target>	
+-
+-	
+   <target name="clean-tags"
+     description="Removes contents of the tags directory">
+     <delete dir="${tags.dir}"/>

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/82_disable-svnversion-calls.dpatch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/82_disable-svnversion-calls.dpatch	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/82_disable-svnversion-calls.dpatch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,48 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 82_disable-svnversion-calls.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
- at DPATCH@
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' lucene3~/common-build.xml lucene3/common-build.xml
---- lucene3~/common-build.xml	2010-08-12 11:00:12.000000000 +0200
-+++ lucene3/common-build.xml	2010-08-12 11:01:00.000000000 +0200
-@@ -103,15 +103,6 @@
- 
-   <property name="manifest.file" location="${common.dir}/build/MANIFEST.MF"/>
- 
--  <!-- 
--    we attempt to exec svnversion to get details build information
--    for jar manifests.  this property can be set at runtime to an
--    explicit path as needed, or ant will just try to find it in the
--    default PATH. (this is useful for Hudson)
--  -->
--  <property name="svnversion.exe" value="svnversion" />
--  <property name="svn.exe" value="svn" />
--  
-   <property name="clover.db.dir" location="${common.dir}/build/test/clover/db"/>
-   <property name="clover.report.dir" location="${common.dir}/build/test/clover/reports"/>
- 
-@@ -316,7 +307,7 @@
- 		<attribute name="Implementation-Title" value="org.apache.lucene"/>
- 		<!-- impl version can be any string -->
- 		<attribute name="Implementation-Version"
--		           value="${version} ${svnversion} - ${DSTAMP} ${TSTAMP}"/>
-+		           value="${version} - ${DSTAMP} ${TSTAMP}"/>
- 		<attribute name="Implementation-Vendor"
- 		           value="The Apache Software Foundation"/>
- 		<attribute name="X-Compile-Source-JDK" 
-@@ -351,12 +342,6 @@
-     <element name="manifest-attributes" optional="yes"/>
-   	<element name="metainf-includes" optional="yes"/>
-     <sequential>
--      <!-- If possible, include the svnversion -->
--      <exec dir="." executable="${svnversion.exe}"
--            outputproperty="svnversion" failifexecutionfails="false">
--        <arg line="."/>
--      </exec>
--      
-       <build-manifest/>
-       <if>
-         <isset property="OSGi.requirebundle"/>

Added: branches/lucene3/convert-tot-quilt/debian/patches/82_disable-svnversion-calls.patch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/82_disable-svnversion-calls.patch	                        (rev 0)
+++ branches/lucene3/convert-tot-quilt/debian/patches/82_disable-svnversion-calls.patch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -0,0 +1,42 @@
+Author: Jan-Pascal van Best <janpascal at vanbest.org>
+Description: No description.
+--- convert-tot-quilt.orig/common-build.xml
++++ convert-tot-quilt/common-build.xml
+@@ -103,15 +103,6 @@
+ 
+   <property name="manifest.file" location="${common.dir}/build/MANIFEST.MF"/>
+ 
+-  <!-- 
+-    we attempt to exec svnversion to get details build information
+-    for jar manifests.  this property can be set at runtime to an
+-    explicit path as needed, or ant will just try to find it in the
+-    default PATH. (this is useful for Hudson)
+-  -->
+-  <property name="svnversion.exe" value="svnversion" />
+-  <property name="svn.exe" value="svn" />
+-  
+   <property name="clover.db.dir" location="${common.dir}/build/test/clover/db"/>
+   <property name="clover.report.dir" location="${common.dir}/build/test/clover/reports"/>
+ 
+@@ -316,7 +307,7 @@
+ 		<attribute name="Implementation-Title" value="org.apache.lucene"/>
+ 		<!-- impl version can be any string -->
+ 		<attribute name="Implementation-Version"
+-		           value="${version} ${svnversion} - ${DSTAMP} ${TSTAMP}"/>
++		           value="${version} - ${DSTAMP} ${TSTAMP}"/>
+ 		<attribute name="Implementation-Vendor"
+ 		           value="The Apache Software Foundation"/>
+ 		<attribute name="X-Compile-Source-JDK" 
+@@ -351,12 +342,6 @@
+     <element name="manifest-attributes" optional="yes"/>
+   	<element name="metainf-includes" optional="yes"/>
+     <sequential>
+-      <!-- If possible, include the svnversion -->
+-      <exec dir="." executable="${svnversion.exe}"
+-            outputproperty="svnversion" failifexecutionfails="false">
+-        <arg line="."/>
+-      </exec>
+-      
+       <build-manifest/>
+       <if>
+         <isset property="OSGi.requirebundle"/>

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/83_fix-java-IPv4-networking.dpatch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/83_fix-java-IPv4-networking.dpatch	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/83_fix-java-IPv4-networking.dpatch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,18 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 83_fix-java-IPv4-networking.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
- at DPATCH@
---- lucene2-2.9.1+ds1.orig/common-build.xml
-+++ lucene2-2.9.1+ds1/common-build.xml
-@@ -54,7 +54,7 @@
-   </path>
- 
-   <!-- default arguments to pass to JVM executing tests -->
--  <property name="args" value=""/>
-+  <property name="args" value="-Djava.net.preferIPv4Stack=true"/>
- 
-   <property name="javac.deprecation" value="off"/>
-   <property name="javac.debug" value="on"/>

Added: branches/lucene3/convert-tot-quilt/debian/patches/83_fix-java-IPv4-networking.patch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/83_fix-java-IPv4-networking.patch	                        (rev 0)
+++ branches/lucene3/convert-tot-quilt/debian/patches/83_fix-java-IPv4-networking.patch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -0,0 +1,13 @@
+Author: Jan-Pascal van Best <janpascal at vanbest.org>
+Description: No description.
+--- convert-tot-quilt.orig/common-build.xml
++++ convert-tot-quilt/common-build.xml
+@@ -56,7 +56,7 @@
+   </path>
+ 
+   <!-- default arguments to pass to JVM executing tests -->
+-  <property name="args" value=""/>
++  <property name="args" value="-Djava.net.preferIPv4Stack=true"/>
+ 
+   <property name="javac.deprecation" value="off"/>
+   <property name="javac.debug" value="on"/>

Deleted: branches/lucene3/convert-tot-quilt/debian/patches/99debug_print-unittest-results.dpatch
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/99debug_print-unittest-results.dpatch	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/patches/99debug_print-unittest-results.dpatch	2011-06-14 15:28:33 UTC (rev 13803)
@@ -1,24 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 99debug_print-unittest-results-final.dpatch by Jan-Pascal van Best <janpascal at vanbest.org>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
- at DPATCH@
-diff -urNad lucene2~/build.xml lucene2/build.xml
---- lucene2~/build.xml	2010-01-25 15:04:52.000000000 +0100
-+++ lucene2/build.xml	2010-01-25 15:28:13.000000000 +0100
-@@ -88,8 +88,11 @@
-   <!-- ================================================================== -->
- 
-   <target name="test-core" depends="common.test"
--          description="Runs unit tests for the core Lucene code"
--  />
-+          description="Runs unit tests for the core Lucene code">
-+    <exec executable="/bin/cat">                                       
-+      <arg path="${junit.output.dir}/TEST-org.apache.lucene.index.TestIndexReaderReopen.xml" />
-+    </exec>                                                                                    
-+  </target>
-   <target name="test" depends="test-core, test-contrib"
-           description="Runs all unit tests (core and contrib)"
-   />

Added: branches/lucene3/convert-tot-quilt/debian/patches/series
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/patches/series	                        (rev 0)
+++ branches/lucene3/convert-tot-quilt/debian/patches/series	2011-06-14 15:28:33 UTC (rev 13803)
@@ -0,0 +1,16 @@
+05_add-osgi-metadata-in-manifests.patch
+10_fix-javacc-locations.patch
+11_fix-javacc-generated-files.patch
+30_fix-contrib-ant-libs.patch
+31_fix-contrib-ant-test-wrong-encoding.patch
+40_fix-contrib-benchmark-libs.patch
+45_fix-contrib-collation-libs.patch
+50_fix-contrib-db-libs.patch
+55_fix-contrib-db-je-libs.patch
+60_fix-contrib-lucli-libs.patch
+61_lucli-script.patch
+70_fix-contrib-regex-libs.patch
+80_prevent-downloading-data-files.patch
+81_disable-test-tag-backcompat-tests.patch
+82_disable-svnversion-calls.patch
+83_fix-java-IPv4-networking.patch

Modified: branches/lucene3/convert-tot-quilt/debian/rules
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/rules	2011-06-14 14:24:30 UTC (rev 13802)
+++ branches/lucene3/convert-tot-quilt/debian/rules	2011-06-14 15:28:33 UTC (rev 13803)
@@ -2,7 +2,7 @@
 # -*- makefile -*-
 
 include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/dpatch.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 include /usr/share/cdbs/1/class/javahelper.mk
 include /usr/share/cdbs/1/class/ant.mk
 
@@ -96,7 +96,7 @@
 	rm -f *pom.xml.template
 	rm -f junit*.properties
 	rm -f index.html
-	rm -rf debian/patched
+	rm -rf debian/patched .pc
 	rm -rf build dist docs example lib src contrib test backwards
 
 restore-from-source: remove-source

Added: branches/lucene3/convert-tot-quilt/debian/source/format
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/source/format	                        (rev 0)
+++ branches/lucene3/convert-tot-quilt/debian/source/format	2011-06-14 15:28:33 UTC (rev 13803)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: branches/lucene3/convert-tot-quilt/debian/source/local-options
===================================================================
--- branches/lucene3/convert-tot-quilt/debian/source/local-options	                        (rev 0)
+++ branches/lucene3/convert-tot-quilt/debian/source/local-options	2011-06-14 15:28:33 UTC (rev 13803)
@@ -0,0 +1,2 @@
+unapply-patches
+abort-on-upstream-changes




More information about the pkg-java-commits mailing list