--- tunnelx-20090624.orig/README.txt +++ tunnelx-20090624/README.txt @@ -29,16 +29,30 @@ (David Loeffler, Sunday 2006-01-22) -To compile Tunnel on a Windows system, grab a DOS window, change to the Tunnel directory and run the following command: +To compile Tunnel on a Windows system, grab a DOS window, change to +the Tunnel directory and run the following command: "C:\Program Files\Java\jdk1.5.0_06\bin\javac" -d . -source 1.5 src\*.java -You'll need to have the Java Development Kit installed to do this; it can be downloaded from java.sun.com. You may need to edit the path to the Java compiler, depending on where the installer puts it. The batch file "b.bat" is provided in case you need to do this frequently; but this will only apply to people doing Tunnel development, who can probably work this out for themselves. - -For other operating systems, something similar should work; just run the Java compiler in whatever way you normally would on your system. (If anyone feels like trying this out on a Mac and checking that it works, please do so and get in touch.) +You'll need to have the Java Development Kit installed to do this; it +can be downloaded from java.sun.com. You may need to edit the path to +the Java compiler, depending on where the installer puts it. The batch +file "b.bat" is provided in case you need to do this frequently; but +this will only apply to people doing Tunnel development, who can +probably work this out for themselves. + +For other operating systems, something similar should work; just run +the Java compiler in whatever way you normally would on your system. +(If anyone feels like trying this out on a Mac and checking that it +works, please do so and get in touch.) Having compiled Tunnel, you can now run it by issuing the command "C:\Program Files\Java\jdk1.5.0_06\bin\java" -ea -Xmx300m Tunnel.MainBox -(or an appropriate variant if your Java path is different). If you have a Tunnel XML directory set up already, you can load it automatically by giving the path to it at the end of the command line. The -Xmx300m option gives Tunnel 300 megabytes of memory to play with; it can be quite memory-hungry, particularly when dealing with very large surveys, so crank up this number if it's being slow. +(or an appropriate variant if your Java path is different). If you +have a Tunnel XML directory set up already, you can load it +automatically by giving the path to it at the end of the command line. +The -Xmx300m option gives Tunnel 300 megabytes of memory to play with; +it can be quite memory-hungry, particularly when dealing with very +large surveys, so crank up this number if it's being slow. --- tunnelx-20090624.orig/tunnelx.1 +++ tunnelx-20090624/tunnelx.1 @@ -0,0 +1,26 @@ +.TH "TUNNELX" "1" +.SH "NAME" +tunnelx \(em Software for drawing Cave Surveys +.SH "SYNOPSIS" +.PP +\fBtunnelx\fR +.SH "DESCRIPTION" +.PP +This manual page was written for the \fBDebian\fP distribution +because the original program does not have a manual page. +Instead, it has excellent documentation online at +http://www.freesteel.co.uk/wiki/index.php/Tunnel . Please refer +to that. +.SH "AUTHOR" +.PP +This manual page was written by Wookey Wookey for +the \fBDebian\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document under +the terms of the GNU General Public License, Version 2 any +later version published by the Free Software Foundation. + +.PP +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL. + +.\" created by instant / docbook-to-man, Tue 06 Apr 2010, 02:09 --- tunnelx-20090624.orig/tunnelx +++ tunnelx-20090624/tunnelx @@ -0,0 +1,3 @@ +#!/bin/sh +java -showversion -ea -Xmx1000M -classpath /usr/share/java/tunnelx.jar Tunnel.MainBox + --- tunnelx-20090624.orig/debian/control +++ tunnelx-20090624/debian/control @@ -0,0 +1,17 @@ +Source: tunnelx +Section: science +Priority: extra +Maintainer: Wookey +Build-Depends: debhelper (>= 7), openjdk-6-jdk, docbook-to-man +Standards-Version: 3.8.4 +Homepage: http://www.freesteel.co.uk/wiki/index.php/Main_Page + +Package: tunnelx +Architecture: all +Depends: ${misc:Depends}, openjdk-6-jre | java2-runtime +Description: Cave Survey drawing software + Tunnel enables you to draw cave surveys based on Survex-compatible + centreline data. Drawings will be adjusted to fit if the underlying + data moves due to loop closures. Original drawings can be used as a + basis to draw over. Complex multi-layered surveys can be drawn, and + good use is made of colour to distinguish facets such as levels. --- tunnelx-20090624.orig/debian/install +++ tunnelx-20090624/debian/install @@ -0,0 +1,3 @@ +symbols/*.xml usr/share/tunnelx/symbols/ +tunnelx usr/bin/ +tunnelx.jar /usr/share/java/ --- tunnelx-20090624.orig/debian/rules +++ tunnelx-20090624/debian/rules @@ -0,0 +1,78 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + # Use specific java compiler until others work + /usr/lib/jvm/java-6-openjdk/bin/javac -d . -source 1.5 src/*.java + docbook-to-man debian/manpage.sgml > tunnelx.1 + #remove executable bits on symbol files + chmod 644 symbols/*.xml + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + rm -rf Tunnel/* tunnelx.jar + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/tunnelx. + jar cmf tunnelmanifest.txt tunnelx.jar Tunnel + jar i tunnelx.jar + + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs +# dh_installexamples + dh_install + dh_installmenu +# dh_installmime + dh_installman tunnelx.1 + dh_link + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- tunnelx-20090624.orig/debian/manpage.sgml +++ tunnelx-20090624/debian/manpage.sgml @@ -0,0 +1,96 @@ + + Wookey"> + + June 23, 2009"> + + 1"> + Wookey <wookey@debian.org>"> + + TUNNELX"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhsurname; + + + 2009 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + Software for drawing Cave Surveys + + + + &dhpackage; + + + + + DESCRIPTION + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + Instead, it has excellent documentation online at + http://www.freesteel.co.uk/wiki/index.php/Tunnel . Please refer + to that. + + + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ + + + --- tunnelx-20090624.orig/debian/copyright +++ tunnelx-20090624/debian/copyright @@ -0,0 +1,37 @@ +This package was debianized by Wookey on +Wed, 29 Apr 2009 03:19:36 +0100. + +It was downloaded from CVS at +pserver:anonymous@tunnelx.cvs.sourceforge.net:/cvsroot/tunnelx +module: tunnelx + +Upstream Author: + + Julian Todd + +Copyright: + + + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + 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 General Public License for more details. + + You should have received a copy of the GNU 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 General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2009, Wookey and +is licensed under the GPL, see above. + --- tunnelx-20090624.orig/debian/docs +++ tunnelx-20090624/debian/docs @@ -0,0 +1 @@ +README.txt --- tunnelx-20090624.orig/debian/menu +++ tunnelx-20090624/debian/menu @@ -0,0 +1,2 @@ +?package(tunnelx):needs="X11" section="Applications/Science/Geoscience"\ + title="tunnelx" command="/usr/bin/tunnelx" --- tunnelx-20090624.orig/debian/README.Debian +++ tunnelx-20090624/debian/README.Debian @@ -0,0 +1,6 @@ +tunnelx for Debian +------------------ + +Tunnel runs on Debian as a standard Java package. + + -- Wookey Wed, 29 Apr 2009 03:19:36 +0100 --- tunnelx-20090624.orig/debian/compat +++ tunnelx-20090624/debian/compat @@ -0,0 +1 @@ +7 --- tunnelx-20090624.orig/debian/changelog +++ tunnelx-20090624/debian/changelog @@ -0,0 +1,13 @@ +tunnelx (20090624-2) unstable; urgency=low + + * Update java dependencies. closes:Bug#573385 + * Fix lintian whinges + + -- Wookey Tue, 06 Apr 2010 01:34:54 +0100 + +tunnelx (20090624-1) unstable; urgency=low + + * Initial release for Debian + + -- Wookey Wed, 29 Apr 2009 03:19:36 +0100 + --- tunnelx-20090624.orig/debian/dirs +++ tunnelx-20090624/debian/dirs @@ -0,0 +1,2 @@ +usr/bin + --- tunnelx-20090624.orig/symbols/listdir.txt +++ tunnelx-20090624/symbols/listdir.txt @@ -7,10 +7,11 @@ breeze.xml column.xml curtain.xml +CVS flowstone.xml -fontcolours.xml fontcolours_a.xml fontcolours_b.xml +fontcolours.xml hexagons.xml listdir.txt mud.xml @@ -18,8 +19,8 @@ northarrowsmall.xml npit.xml pants.xml -pebble.xml pebble2.xml +pebble.xml popcorn.xml puddle.xml rats.xml