[DebianGIS-dev] r880 - in packages/jts/trunk: . debian

frankie at alioth.debian.org frankie at alioth.debian.org
Fri Jun 15 19:36:34 UTC 2007


Author: frankie
Date: 2007-06-15 19:36:34 +0000 (Fri, 15 Jun 2007)
New Revision: 880

Added:
   packages/jts/trunk/debian/
   packages/jts/trunk/debian/README.Debian-source
   packages/jts/trunk/debian/build.xml
   packages/jts/trunk/debian/changelog
   packages/jts/trunk/debian/compat
   packages/jts/trunk/debian/control
   packages/jts/trunk/debian/copyright
   packages/jts/trunk/debian/libjts-java-doc.docs
   packages/jts/trunk/debian/libjts-java.dirs
   packages/jts/trunk/debian/rules
Log:
[svn-inject] Applying Debian modifications to trunk

Added: packages/jts/trunk/debian/README.Debian-source
===================================================================
--- packages/jts/trunk/debian/README.Debian-source	                        (rev 0)
+++ packages/jts/trunk/debian/README.Debian-source	2007-06-15 19:36:34 UTC (rev 880)
@@ -0,0 +1,12 @@
+jts for Debian
+--------------
+
+As upstream only distributes as binary/source combination zip file 
+I do repackaging to remove the binary parts:
+
+- 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

Added: packages/jts/trunk/debian/build.xml
===================================================================
--- packages/jts/trunk/debian/build.xml	                        (rev 0)
+++ packages/jts/trunk/debian/build.xml	2007-06-15 19:36:34 UTC (rev 880)
@@ -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>

Added: packages/jts/trunk/debian/changelog
===================================================================
--- packages/jts/trunk/debian/changelog	                        (rev 0)
+++ packages/jts/trunk/debian/changelog	2007-06-15 19:36:34 UTC (rev 880)
@@ -0,0 +1,26 @@
+jts (1.6-2) unstable; urgency=low
+
+  * Kaffe compiler transition.
+  * Updated FSF address in debian/copyright
+
+ -- Wolfgang Baer <WBaer at gmx.de>  Sun, 15 Jan 2006 16:01:03 +0100
+
+jts (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Upload to unstable
+  * Adjusted copyright to include the second download location
+  * Fixed minor lintian warnings in debian/control
+  * Standards-Version 3.6.2 (no changes needed)
+  * Changed libant1.6-java build-dep to ant (now in main)
+  
+  * Upload sponsored by Petter Reinholdtsen
+
+ -- Wolfgang Baer <WBaer at gmx.de>  Sun,  7 Aug 2005 14:12:35 +0200
+
+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
+

Added: packages/jts/trunk/debian/compat
===================================================================
--- packages/jts/trunk/debian/compat	                        (rev 0)
+++ packages/jts/trunk/debian/compat	2007-06-15 19:36:34 UTC (rev 880)
@@ -0,0 +1 @@
+4

Added: packages/jts/trunk/debian/control
===================================================================
--- packages/jts/trunk/debian/control	                        (rev 0)
+++ packages/jts/trunk/debian/control	2007-06-15 19:36:34 UTC (rev 880)
@@ -0,0 +1,32 @@
+Source: jts
+Section: libs
+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, ant, kaffe
+Standards-Version: 3.6.2
+
+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
+Description: Documentation for the Java Topology Suite JTS
+ Documentation for programmers:
+  * javadoc for libjts-java
+  * developer guide
+  * technical Specifications etc

Added: packages/jts/trunk/debian/copyright
===================================================================
--- packages/jts/trunk/debian/copyright	                        (rev 0)
+++ packages/jts/trunk/debian/copyright	2007-06-15 19:36:34 UTC (rev 880)
@@ -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>
+and is also available form <http://sourceforge.net/projects/jts-topo-suite/>
+
+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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.

Added: packages/jts/trunk/debian/libjts-java-doc.docs
===================================================================
--- packages/jts/trunk/debian/libjts-java-doc.docs	                        (rev 0)
+++ packages/jts/trunk/debian/libjts-java-doc.docs	2007-06-15 19:36:34 UTC (rev 880)
@@ -0,0 +1,3 @@
+doc/*
+target/docs/api
+target/docs/examples

Added: packages/jts/trunk/debian/libjts-java.dirs
===================================================================
--- packages/jts/trunk/debian/libjts-java.dirs	                        (rev 0)
+++ packages/jts/trunk/debian/libjts-java.dirs	2007-06-15 19:36:34 UTC (rev 880)
@@ -0,0 +1 @@
+usr/share/java

Added: packages/jts/trunk/debian/rules
===================================================================
--- packages/jts/trunk/debian/rules	                        (rev 0)
+++ packages/jts/trunk/debian/rules	2007-06-15 19:36:34 UTC (rev 880)
@@ -0,0 +1,18 @@
+#!/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\-)
+
+JAVA_HOME := /usr/lib/kaffe
+ANT_HOME := /usr/share/ant
+
+DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar
+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


Property changes on: packages/jts/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-grass-devel mailing list