[jts] 02/10: Imported Debian patch 1.5-1

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Tue Aug 4 17:08:45 UTC 2015


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

sebastic pushed a commit to branch master
in repository jts.

commit 0e362a8fd3e2a73bc1d7ad6f618b66e2b738c17b
Author: Wolfgang Baer <WBaer at gmx.de>
Date:   Thu Jan 27 10:38:29 2005 +0100

    Imported Debian patch 1.5-1
---
 debian/README.Debian-source | 11 ++++++
 debian/build.xml            | 88 +++++++++++++++++++++++++++++++++++++++++++++
 debian/changelog            |  6 ++++
 debian/compat               |  1 +
 debian/control              | 31 ++++++++++++++++
 debian/copyright            | 35 ++++++++++++++++++
 debian/libjts-java-doc.docs |  3 ++
 debian/libjts-java.dirs     |  1 +
 debian/rules                | 20 +++++++++++
 9 files changed, 196 insertions(+)

diff --git a/debian/README.Debian-source b/debian/README.Debian-source
new file mode 100644
index 0000000..ce7c078
--- /dev/null
+++ b/debian/README.Debian-source
@@ -0,0 +1,11 @@
+jts for Debian
+--------------
+
+As upstream distributes as zip file I had to repackage jts.
+
+- unzip jts-<version>.zip into a jts-<version> directory
+- rm -Rf lib - to remove the prebuild and dependency runtime libraries
+- rm -Rf doc/javadoc - to remove the javadoc 
+- build the jts_<version>.orig.tar.gz
+
+ -- Wolfgang Baer <WBaer at gmx.de>, Thu, 27 Jan 2005 10:38:29 +0100
diff --git a/debian/build.xml b/debian/build.xml
new file mode 100644
index 0000000..0d01e46
--- /dev/null
+++ b/debian/build.xml
@@ -0,0 +1,88 @@
+<project name="JTS" default="compile" basedir="..">
+
+<!-- ========== Component Declarations ==================================== -->
+
+
+  <!-- The name of this component -->
+  <property name="component.name"          value="jts"/>
+
+  <!-- The base directory for compilation targets -->
+  <property name="build.home"              value="${basedir}/target"/>
+
+  <!-- The base directory for component sources -->
+  <property name="source.home"             value="${basedir}/src"/>
+
+  <!-- The base directory for component configuration files -->
+  <property name="conf.home"               value="${basedir}/src"/>
+
+<!-- ========== Compiler Defaults ========================================= -->
+
+
+  <!-- Should Java compilations set the 'debug' compiler option? -->
+  <property name="compile.debug"           value="true"/>
+
+  <!-- Should Java compilations set the 'deprecation' compiler option? -->
+  <property name="compile.deprecation"     value="false"/>
+
+  <!-- Should Java compilations set the 'optimize' compiler option? -->
+  <property name="compile.optimize"        value="false"/>
+
+  <!-- Construct compile classpath -->
+  <path id="compile.classpath">
+    <pathelement location="${build.home}/classes"/>
+  </path>
+
+
+<!-- ========== Executable Targets ======================================== -->
+  
+  <target name="prepare" description="Prepare build directory">
+    <mkdir dir="${build.home}"/>
+    <mkdir dir="${build.home}/classes"/>
+    <mkdir dir="${build.home}/conf"/>
+    <mkdir dir="${build.home}/docs"/>
+    <mkdir dir="${build.home}/docs/api"/>
+    <mkdir dir="${build.home}/docs/examples"/>
+  </target>
+
+  <target name="static" depends="prepare"
+   description="Copy static files to build directory">
+    <tstamp/>
+    <copy todir="${build.home}/conf" filtering="on">
+      <fileset dir="${conf.home}" includes="*.MF"/>
+      <fileset dir="${conf.home}" includes="*.properties"/>
+    </copy>
+    <copy todir="${build.home}/docs/examples" filtering="on">
+      <fileset dir="${source.home}" includes="**/jtsexample/**"/>
+    </copy>
+  </target>
+
+  <target name="compile" depends="static">
+    <javac srcdir="${source.home}" destdir="${build.home}/classes"
+           debug="${compile.debug}" deprecation="${compile.deprecation}"
+           optimize="${compile.optimize}" verbose="no" source="1.3" nowarn="yes">
+	<exclude name="**/jtsexample/**"/>
+        <classpath refid="compile.classpath"/>
+    </javac>
+
+    <mkdir dir="${build.home}/classes/META-INF"/>
+
+    <jar jarfile="${build.home}/${component.name}.jar"
+         basedir="${build.home}/classes"
+         manifest="${build.home}/conf/MANIFEST.MF">
+      <include name="com/vividsolutions/**" />
+    </jar>
+
+  </target>
+
+  <target name="clean" description="Clean build and distribution directories">
+    <delete dir="${build.home}"/>
+  </target>
+
+  <target name="all" depends="clean,compile"
+   description="Clean and compile all components">  
+	<javadoc packagenames="com.vividsolutions.jts.*" sourcepath="${source.home}" 
+		destdir="${build.home}/docs/api" defaultexcludes="yes">
+    	</javadoc>      
+  </target>
+
+</project>
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f479876
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+jts (1.5-1) experimental; urgency=low
+
+  * Initial Release (closes: #294756)
+
+ -- Wolfgang Baer <WBaer at gmx.de>  Thu, 27 Jan 2005 10:38:29 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4145b6d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,31 @@
+Source: jts
+Priority: optional
+Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
+Uploaders: Wolfgang Baer <WBaer at gmx.de>
+Build-Depends-Indep: debhelper (>= 4.2.30), cdbs, libant1.6-java, kaffe
+Standards-Version: 3.6.1
+
+Package: libjts-java
+Architecture: all
+Section: libs
+Depends: kaffe | java1-runtime | java2-runtime
+Suggests: libjts-java-doc, java-virtual-machine
+Description: Java Topology Suite 
+ JTS is a java library which provides:
+ * an implementation of the spatial data model defined 
+   in the OGC Simple Features Specification for SQL (SFS)
+ * a complete, consistent, implementation of fundamental 2D spatial algorithms
+ * an explicit precision model, with algorithms that gracefully handle 
+   situations that result in dimensional collapse
+ * robust implementations of key computational geometric operations
+ * I/O in Well-Known Text format
+
+Package: libjts-java-doc
+Architecture: all
+Section: doc
+Suggests: libjts-java-doc
+Description: Documentation for the Java Topology Suite JTS
+ Documentation for programmers:
+ * javadoc for libjts-java
+ * developer guide
+ * technical Specifications etc
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..947920c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+This package was debianized by Wolfgang Baer <wbaer at gmx.de> on
+Thu, 27 Jan 2005 10:38:29 +0100.
+
+It was downloaded from <http://www.vividsolutions.com/jts/jtshome.htm>
+
+Copyright:
+
+Upstream Authors: 
+
+Martin Davis 
+Jonathan Aquino
+David Skea
+Yao Cui
+Mark Sondheim
+Denis Boutin
+David Ash
+
+
+License:
+
+This package is free software; you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation; version 2.1 dated February 1999.
+
+This package is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU Lesser General Public License for more details.
+You should have received a copy of the GNU Lesser General Public License
+along with this package; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+02111-1307, USA.
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
diff --git a/debian/libjts-java-doc.docs b/debian/libjts-java-doc.docs
new file mode 100644
index 0000000..91920be
--- /dev/null
+++ b/debian/libjts-java-doc.docs
@@ -0,0 +1,3 @@
+doc/*.pdf
+target/docs/api
+target/docs/examples
diff --git a/debian/libjts-java.dirs b/debian/libjts-java.dirs
new file mode 100644
index 0000000..13c9f03
--- /dev/null
+++ b/debian/libjts-java.dirs
@@ -0,0 +1 @@
+usr/share/java
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..65b6709
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+# debian/rules file for jts (uses cdbs)
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+export UPSTREAM_VERSION = $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\) | cut -f1 -d\-)
+
+# These two must be specified
+JAVA_HOME := /usr/lib/kaffe
+ANT_HOME := /usr/share/ant1.6
+
+DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar
+DEB_ANT_COMPILER := jikes
+DEB_ANT_BUILDFILE := debian/build.xml
+DEB_ANT_BUILD_TARGET := all
+
+install/libjts-java::
+	install -m 644 target/jts.jar debian/libjts-java/usr/share/java/jts-$(UPSTREAM_VERSION).jar
+	ln -s jts-$(UPSTREAM_VERSION).jar debian/libjts-java/usr/share/java/jts.jar

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



More information about the Pkg-grass-devel mailing list