Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Depend on liblucene4.10-java instead of liblucene3-java
· 140b3683
Emmanuel Bourg
authored
Dec 04, 2018
140b3683
Upload to unstable
· 8b046377
Emmanuel Bourg
authored
Dec 04, 2018
8b046377
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
8b046377
h2database (1.4.197-4)
UNRELEASED
; urgency=medium
h2database (1.4.197-4)
unstable
; urgency=medium
* Depend on liblucene4.10-java instead of liblucene3-java
* Use salsa.debian.org Vcs-* URLs
-- Emmanuel Bourg <ebourg@apache.org>
Mon
, 0
3
Dec 2018
23:45:59
+0100
-- Emmanuel Bourg <ebourg@apache.org>
Tue
, 0
4
Dec 2018
00:35:36
+0100
h2database (1.4.197-3) unstable; urgency=medium
...
...
debian/control
View file @
8b046377
...
...
@@ -8,7 +8,7 @@ Build-Depends:
default-jdk,
javahelper,
libjts-java,
liblucene
3
-java,
liblucene
4.10
-java,
libosgi-compendium-java,
libservlet3.1-java,
libslf4j-java,
...
...
@@ -23,7 +23,7 @@ Architecture: all
Depends: ${misc:Depends}
Suggests:
libjts-java,
liblucene
3
-java,
liblucene
4.10
-java,
libslf4j-java
Description: H2 Database Engine
H2 is a relational database management system supporting a subset
...
...
debian/libh2-java.classpath
View file @
8b046377
usr/share/java/h2.jar /usr/share/java/lucene
3
-core.jar /usr/share/java/slf4j-api.jar
usr/share/java/h2.jar /usr/share/java/lucene-core
-4.10.4
.jar /usr/share/java/slf4j-api.jar
debian/patches/01-use-jar-files-from-debian.patch
View file @
8b046377
...
...
@@ -12,7 +12,7 @@ Forwarded: not-needed
--- a/src/tools/org/h2/build/Build.java
+++ b/src/tools/org/h2/build/Build.java
@@ -285,14 +285,1
2
@@
@@ -285,14 +285,1
4
@@
switchSource(debugInfo);
clean();
mkdir("temp");
...
...
@@ -25,7 +25,9 @@ Forwarded: not-needed
- File.pathSeparator + "ext/org.osgi.enterprise-4.2.0.jar" +
- File.pathSeparator + "ext/jts-core-1.15.0.jar" +
+ File.pathSeparator + "/usr/share/java/servlet-api-3.1.jar" +
+ File.pathSeparator + "/usr/share/java/lucene3-core.jar" +
+ File.pathSeparator + "/usr/share/java/lucene-analyzers-common-4.10.4.jar" +
+ File.pathSeparator + "/usr/share/java/lucene-core-4.10.4.jar" +
+ File.pathSeparator + "/usr/share/java/lucene-queryparser-4.10.4.jar" +
+ File.pathSeparator + "/usr/share/java/slf4j-api.jar" +
+ File.pathSeparator + "/usr/share/java/osgi.compendium.jar" +
+ File.pathSeparator + "/usr/share/java/jts-core.jar" +
...
...
debian/patches/06-lucene-compatibility.patch
0 → 100644
View file @
8b046377
Description: Ensures the compatibility with the latest version of Lucene in Debian
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/src/main/org/h2/fulltext/FullTextLucene.java
+++ b/src/main/org/h2/fulltext/FullTextLucene.java
@@ -26,7 +26,7 @@
import org.apache.lucene.index.IndexWriter;
import org.apache.lucene.index.IndexWriterConfig;
import org.apache.lucene.index.Term;
-import org.apache.lucene.queryParser.QueryParser;
+import org.apache.lucene.queryparser.classic.QueryParser;
import org.apache.lucene.search.IndexSearcher;
import org.apache.lucene.search.Query;
import org.apache.lucene.search.ScoreDoc;
@@ -763,7 +763,6 @@
private static void closeSearcher(IndexSearcher searcher) {
IndexReader indexReader = searcher.getIndexReader();
- try { searcher.close(); } catch(IOException ignore) {/**/}
try { indexReader.close(); } catch(IOException ignore) {/**/}
}
}
debian/patches/series
View file @
8b046377
...
...
@@ -2,3 +2,4 @@
03-osgi-compatibility.patch
04-reproducible-javadoc.patch
TestCrashAPI.patch
06-lucene-compatibility.patch