[lucene2] 78/104: put patches to upstream source to proper dpatch files
Kai-Chung Yan
seamlik-guest at moszumanska.debian.org
Wed Mar 23 16:27:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
seamlik-guest pushed a commit to branch master
in repository lucene2.
commit 13d7fc9ed54ac59669dd4901795b1425bf1ed0ec
Author: Jan-Pascal van Best <janpascal at vanbest.org>
Date: Mon Jan 25 15:30:18 2010 +0000
put patches to upstream source to proper dpatch files
---
debian/changelog | 14 ++++++++
debian/patches/00list | 3 +-
.../05_add-osgi-metadata-in-manifests.dpatch | 40 ++++++++++++----------
debian/patches/83_fix-java-IPv4-networking.dpatch | 18 ++++++++++
.../patches/99debug_print-unittest-results.dpatch | 24 +++++++++++++
5 files changed, 79 insertions(+), 20 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 6e8e68c..421a746 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+lucene2 (2.9.1+ds1-6) UNRELEASED; urgency=low
+
+ * Add patch to fix Java networking during package build (workaround for
+ #560056).
+
+ -- Jan-Pascal van Best <janpascal at vanbest.org> Mon, 25 Jan 2010 15:34:31 +0100
+
+lucene2 (2.9.1+ds1-5) unstable; urgency=low
+
+ * Override OSGi Bundle-SymbolicName for lucene-analyzers to be
+ `analysis' instead of `analyzers' (Closes: #566445)
+
+ -- Jan-Pascal van Best <janpascal at vanbest.org> Sat, 23 Jan 2010 20:27:45 +0100
+
lucene2 (2.9.1+ds1-4) unstable; urgency=low
* Disable calling svnversion during package build
diff --git a/debian/patches/00list b/debian/patches/00list
index fff9e1c..3ff3a0b 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -14,5 +14,6 @@
61_lucli-script.dpatch
70_fix-contrib-regex-libs.dpatch
80_prevent-downloading-data-files.dpatch
-#81_disable-test-tag-backcompat-tests.dpatch
+81_disable-test-tag-backcompat-tests.dpatch
82_disable-svnversion-calls.dpatch
+83_fix-java-IPv4-networking.dpatch
diff --git a/debian/patches/05_add-osgi-metadata-in-manifests.dpatch b/debian/patches/05_add-osgi-metadata-in-manifests.dpatch
index 3dd1d4b..6d27c6c 100755
--- a/debian/patches/05_add-osgi-metadata-in-manifests.dpatch
+++ b/debian/patches/05_add-osgi-metadata-in-manifests.dpatch
@@ -6,8 +6,8 @@
@DPATCH@
diff -urNad lucene2~/build.xml lucene2/build.xml
---- lucene2~/build.xml 2010-01-20 15:01:22.000000000 +0100
-+++ lucene2/build.xml 2010-01-20 15:01:24.000000000 +0100
+--- lucene2~/build.xml 2010-01-23 20:26:27.000000000 +0100
++++ lucene2/build.xml 2010-01-23 20:26:30.000000000 +0100
@@ -21,6 +21,16 @@
<property name="junit.includes" value="**/Test*.java"/>
@@ -26,8 +26,8 @@ diff -urNad lucene2~/build.xml lucene2/build.xml
<property name="build.demo.template" value="src/demo/demo-build.template"/>
diff -urNad lucene2~/common-build.xml lucene2/common-build.xml
---- lucene2~/common-build.xml 2010-01-20 15:01:22.000000000 +0100
-+++ lucene2/common-build.xml 2010-01-20 15:09:33.000000000 +0100
+--- lucene2~/common-build.xml 2010-01-23 20:26:27.000000000 +0100
++++ lucene2/common-build.xml 2010-01-23 20:26:30.000000000 +0100
@@ -313,6 +313,29 @@
value="${javac.source}"/>
<attribute name="X-Compile-Target-JDK"
@@ -59,14 +59,13 @@ diff -urNad lucene2~/common-build.xml lucene2/common-build.xml
</sequential>
</macrodef>
diff -urNad lucene2~/contrib/analyzers/common/build.xml lucene2/contrib/analyzers/common/build.xml
---- lucene2~/contrib/analyzers/common/build.xml 2010-01-20 15:01:22.000000000 +0100
-+++ lucene2/contrib/analyzers/common/build.xml 2010-01-20 15:01:24.000000000 +0100
-@@ -31,7 +31,16 @@
+--- lucene2~/contrib/analyzers/common/build.xml 2010-01-23 20:26:27.000000000 +0100
++++ lucene2/contrib/analyzers/common/build.xml 2010-01-23 20:26:30.000000000 +0100
+@@ -30,8 +30,18 @@
+ <property name="dist.dir" location="../../../dist/contrib/analyzers/common" />
<property name="maven.dist.dir" location="../../../dist/maven" />
- <import file="../../contrib-build.xml"/>
--
-+
++ <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>
@@ -76,16 +75,19 @@ diff -urNad lucene2~/contrib/analyzers/common/build.xml lucene2/contrib/analyzer
+ </mapper>
+ </pathconvert>
+
+ <import file="../../contrib-build.xml"/>
+-
++
<path id="test.classpath">
<path refid="classpath"/>
<pathelement location="../../../build/classes/test/"/>
diff -urNad lucene2~/contrib/analyzers/smartcn/build.xml lucene2/contrib/analyzers/smartcn/build.xml
---- lucene2~/contrib/analyzers/smartcn/build.xml 2010-01-20 15:01:22.000000000 +0100
-+++ lucene2/contrib/analyzers/smartcn/build.xml 2010-01-20 15:01:24.000000000 +0100
-@@ -32,6 +32,15 @@
+--- lucene2~/contrib/analyzers/smartcn/build.xml 2010-01-23 20:26:27.000000000 +0100
++++ lucene2/contrib/analyzers/smartcn/build.xml 2010-01-23 20:26:59.000000000 +0100
+@@ -30,6 +30,15 @@
+ <property name="dist.dir" location="../../../dist/contrib/analyzers/smartcn" />
+ <property name="maven.dist.dir" location="../../../dist/maven" />
- <import file="../../contrib-build.xml"/>
-
+ <pathconvert property="OSGi.exportpackage" pathsep=",">
+ <dirset dir="src/java" excludes="org org/apache org/apache/lucene org/apache/lucene/analysis"/>
+ <mapper>
@@ -95,12 +97,12 @@ diff -urNad lucene2~/contrib/analyzers/smartcn/build.xml lucene2/contrib/analyze
+ </mapper>
+ </pathconvert>
+
+ <import file="../../contrib-build.xml"/>
+
<path id="test.classpath">
- <path refid="classpath"/>
- <pathelement location="../../../build/classes/test/"/>
diff -urNad lucene2~/contrib/contrib-build.xml lucene2/contrib/contrib-build.xml
---- lucene2~/contrib/contrib-build.xml 2010-01-20 15:01:22.000000000 +0100
-+++ lucene2/contrib/contrib-build.xml 2010-01-20 15:01:24.000000000 +0100
+--- lucene2~/contrib/contrib-build.xml 2010-01-23 20:26:27.000000000 +0100
++++ lucene2/contrib/contrib-build.xml 2010-01-23 20:26:30.000000000 +0100
@@ -24,7 +24,21 @@
<property name="build.dir" location="../../build/contrib/${ant.project.name}"/>
<property name="dist.dir" location="../../dist/contrib/${ant.project.name}"/>
diff --git a/debian/patches/83_fix-java-IPv4-networking.dpatch b/debian/patches/83_fix-java-IPv4-networking.dpatch
new file mode 100755
index 0000000..93b2c31
--- /dev/null
+++ b/debian/patches/83_fix-java-IPv4-networking.dpatch
@@ -0,0 +1,18 @@
+#! /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"/>
diff --git a/debian/patches/99debug_print-unittest-results.dpatch b/debian/patches/99debug_print-unittest-results.dpatch
new file mode 100644
index 0000000..4199e63
--- /dev/null
+++ b/debian/patches/99debug_print-unittest-results.dpatch
@@ -0,0 +1,24 @@
+#! /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)"
+ />
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/lucene2.git
More information about the pkg-java-commits
mailing list