[gdal] 10/16: Add patch to bump minimum Java version to 5 for annotations.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Apr 2 16:11:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch experimental-2.1
in repository gdal.

commit 3b33a7ea3228e191b110f5f922a0fde01c3c357d
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Apr 2 12:53:34 2016 +0200

    Add patch to bump minimum Java version to 5 for annotations.
---
 debian/changelog                  |  1 +
 debian/patches/java-version.patch | 17 +++++++++++++++++
 debian/patches/series             |  1 +
 3 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 6e95c65..5d0ba2f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ gdal (2.1.0~beta1+dfsg-1) UNRELEASED; urgency=medium
   * Enable QHull support.
   * Enable cryptopp support.
   * Drop patches applied upstream. Refresh remaining patches.
+  * Add patch to bump minimum Java version to 5 for annotations.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 02 Apr 2016 11:15:12 +0200
 
diff --git a/debian/patches/java-version.patch b/debian/patches/java-version.patch
new file mode 100644
index 0000000..eb415af
--- /dev/null
+++ b/debian/patches/java-version.patch
@@ -0,0 +1,17 @@
+Description: Bump minimum Java version to 5.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug: https://trac.osgeo.org/gdal/ticket/6433
+Forwarded: https://trac.osgeo.org/gdal/attachment/ticket/6433/java-version.patch
+Applied-Upstream: https://trac.osgeo.org/gdal/changeset/33866
+
+--- a/swig/java/build.xml
++++ b/swig/java/build.xml
+@@ -18,7 +18,7 @@
+ 	<target name="compile" depends="init" description="Compile the source files.">
+ 		<mkdir dir="build/classes"/>
+ 		<javac srcdir="org" destdir="build/classes" 
+-		       debug="on" source="1.4" target="1.4"
++		       debug="on" source="1.5" target="1.5"
+ 		       includeantruntime="false" deprecation="true">
+ 		</javac>
+ 		<echo>compilation complete</echo>
diff --git a/debian/patches/series b/debian/patches/series
index d0da594..66e2b6b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ mrsid-plugin
 spatialite
 java.opt
 perl-vendor
+java-version.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/gdal.git



More information about the Pkg-grass-devel mailing list