[Git][java-team/hsqldb][master] 5 commits: Standards-Version updated to 4.2.1

Emmanuel Bourg gitlab at salsa.debian.org
Tue Nov 6 22:35:23 GMT 2018


Emmanuel Bourg pushed to branch master at Debian Java Maintainers / hsqldb


Commits:
663227b3 by Emmanuel Bourg at 2018-11-06T21:58:12Z
Standards-Version updated to 4.2.1

- - - - -
ff7ad842 by Emmanuel Bourg at 2018-11-06T22:05:06Z
Replaced use-system-servlet.jar.patch with a build property

- - - - -
c913d520 by Emmanuel Bourg at 2018-11-06T22:30:34Z
Fixed the build failure with Java 11 (Closes: #913052)

- - - - -
b90d9b51 by Emmanuel Bourg at 2018-11-06T22:32:48Z
Use salsa.debian.org Vcs-* URLs

- - - - -
00acbe73 by Emmanuel Bourg at 2018-11-06T22:33:22Z
Upload to unstable

- - - - -


8 changed files:

- debian/ant.properties
- debian/changelog
- debian/control
- + debian/patches/java11-compatibility.patch
- debian/patches/series
- − debian/patches/use-system-servlet.jar.patch
- debian/rules
- debian/watch


Changes:

=====================================
debian/ant.properties
=====================================
@@ -1,2 +1,3 @@
 timestamp = 19991231
 user.name = Debian
+servletapi.lib=/usr/share/java/servlet-api-3.1.jar


=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+hsqldb (2.4.1-2) unstable; urgency=medium
+
+  * Team upload.
+  * Fixed the build failure with Java 11 (Closes: #913052)
+  * Replaced use-system-servlet.jar.patch with a build property
+  * Standards-Version updated to 4.2.1
+  * Use salsa.debian.org Vcs-* URLs
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Tue, 06 Nov 2018 23:33:09 +0100
+
 hsqldb (2.4.1-1) unstable; urgency=medium
 
   * New upstream version 2.4.1.


=====================================
debian/control
=====================================
@@ -11,9 +11,9 @@ Build-Depends:
  javahelper,
  libservlet3.1-java,
  maven-repo-helper
-Standards-Version: 4.1.4
-Vcs-Git: https://anonscm.debian.org/git/pkg-java/hsqldb.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/hsqldb.git
+Standards-Version: 4.2.1
+Vcs-Git: https://salsa.debian.org/java-team/hsqldb.git
+Vcs-Browser: https://salsa.debian.org/java-team/hsqldb
 Homepage: http://hsqldb.org/
 
 Package: libhsqldb-java


=====================================
debian/patches/java11-compatibility.patch
=====================================
@@ -0,0 +1,42 @@
+Description: Fixes the compatibility with Java 11
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: no
+--- a/hsqldb/src/org/hsqldb/jdbc/JDBCSQLXML.java
++++ b/hsqldb/src/org/hsqldb/jdbc/JDBCSQLXML.java
+@@ -58,8 +58,6 @@
+ import java.util.zip.GZIPInputStream;
+ import java.util.zip.GZIPOutputStream;
+ 
+-import javax.xml.bind.util.JAXBResult;
+-import javax.xml.bind.util.JAXBSource;
+ import javax.xml.parsers.DocumentBuilder;
+ import javax.xml.parsers.DocumentBuilderFactory;
+ import javax.xml.parsers.FactoryConfigurationError;
+@@ -1462,7 +1460,12 @@
+     protected <T extends Source>T getSourceImpl(
+             Class<T> sourceClass) throws SQLException {
+ 
+-        if (JAXBSource.class.isAssignableFrom(sourceClass)) {
++        Class jaxbSourceClass = null;
++        try {
++            jaxbSourceClass = Class.forName("javax.xml.bind.util.JAXBSource");
++        } catch (Exception e) {
++        }
++        if (jaxbSourceClass != null && jaxbSourceClass.isAssignableFrom(sourceClass)) {
+ 
+             // Must go first presently, since JAXBSource extends SAXSource
+             // (purely as an implementation detail) and it's not possible
+@@ -1683,7 +1686,12 @@
+         setWritable(false);
+         setReadable(true);
+ 
+-        if (JAXBResult.class.isAssignableFrom(resultClass)) {
++        Class jaxbResultClass = null;
++        try {
++            jaxbResultClass = Class.forName("javax.xml.bind.util.JAXBResult");
++        } catch (Exception e) {
++        }
++        if (jaxbResultClass != null && jaxbResultClass.isAssignableFrom(resultClass)) {
+ 
+             // Must go first presently, since JAXBResult extends SAXResult
+             // (purely as an implementation detail) and it's not possible


=====================================
debian/patches/series
=====================================
@@ -1 +1 @@
-use-system-servlet.jar.patch
+java11-compatibility.patch


=====================================
debian/patches/use-system-servlet.jar.patch deleted
=====================================
@@ -1,21 +0,0 @@
-From: Markus Koschany <apo at debian.org>
-Date: Wed, 16 Sep 2015 22:07:22 +0200
-Subject: use system servlet.jar
-
----
- hsqldb/build/build.xml | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/hsqldb/build/build.xml b/hsqldb/build/build.xml
-index ae8b37b..07fcefd 100644
---- a/hsqldb/build/build.xml
-+++ b/hsqldb/build/build.xml
-@@ -57,7 +57,7 @@
-    <property name="build.optimize" value="false"/>
-    <!-- N.b. Compilation optimization only has effect with JDK 1.1 and 1.2 -->
- 
--   <property name="servletapi.lib" value="lib/servlet-2_3-fcs-classfiles.zip"/>
-+   <property name="servletapi.lib" value="/usr/share/java/servlet-api-3.1.jar"/>
-    <property name="junit38.lib" value="lib/junit.jar"/>
-    <property name='jflex.lib' value='lib/JFlex.jar'/>
- 


=====================================
debian/rules
=====================================
@@ -29,6 +29,3 @@ override_jh_classpath:
 	jh_classpath
 	jh_classpath -plibhsqldb-java --classpath=/usr/share/java/servlet-api-3.1.jar \
 		hsqldb/lib/hsqldb.jar
-
-get-orig-source:
-	uscan --verbose --download-current-version --force-download --repack --compression xz


=====================================
debian/watch
=====================================
@@ -1,3 +1,3 @@
 version=4
-opts=dversionmangle=s/(\da?)[\+\.\-~](?:dfsg|debian|ds|repack|repacked)\.?\d*$/$1/ \
+opts=repack,compression=xz,dversionmangle=s/(\da?)[\+\.\-~](?:dfsg|debian|ds|repack|repacked)\.?\d*$/$1/ \
 http://sf.net/hsqldb/hsqldb-(.+)\.(?:zip|tgz|tbz2|txz|tar\.gz|tar\.bz2|tar\.xz)



View it on GitLab: https://salsa.debian.org/java-team/hsqldb/compare/96bd1c2120c7ecd3c72bb64843079a8ae8fe04c7...00acbe73f04d35bc4a2327e22c90f348d4d18f65

-- 
View it on GitLab: https://salsa.debian.org/java-team/hsqldb/compare/96bd1c2120c7ecd3c72bb64843079a8ae8fe04c7...00acbe73f04d35bc4a2327e22c90f348d4d18f65
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20181106/d35c7ea6/attachment.html>


More information about the pkg-java-commits mailing list