[DebianGIS-dev] CVS Update: openjump/debian README.Debian README.Debian-source changelog control openjump-wrapper openjump.1 openjump.manpages openjump.menu openjump.sh rules

pere at haydn.debian.org pere at haydn.debian.org
Sat Mar 11 22:29:50 UTC 2006


  User: pere    
  Date: 06/03/11 22:29:50

  Modified:    debian   changelog control openjump.menu rules
  Added:       debian   README.Debian README.Debian-source openjump.1
                        openjump.manpages openjump.sh
  Removed:     debian   openjump-wrapper
  Log:
  Adjust build rules based on the old jump package from Wolfgang Baer.  Include manual page.
  
  Revision  Changes    Path
  1.3       +1 -0      openjump/debian/changelog
  
  CVSWEB Options: -------------------
  
  CVSWeb: Annotate this file:            http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/changelog?annotate=1.3&cvsroot=
  
  CVSWeb: View this file:             http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/changelog?rev=1.3&content-type=text/x-cvsweb-markup&cvsroot=
  
  CVSWeb: Diff to previous version:   http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/changelog.diff?r1=1.3&r2=1.2&cvsroot=
  
  -----------------------------------
  
  Index: changelog
  ===================================================================
  RCS file: /cvsroot/pkg-grass/openjump/debian/changelog,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- changelog	11 Mar 2006 20:36:09 -0000	1.2
  +++ changelog	11 Mar 2006 22:29:50 -0000	1.3
  @@ -4,6 +4,7 @@
     * Add 01_unused_sunapi.diff to avoid importing unused private SUN API.
     * Add 02_imageio.patch to rewrite the JPEG reading code to use the
       publicly documented API instead of the private SUN API.
  +  * Add simple manual page openjump(1).
   
    -- Petter Reinholdtsen <pere at debian.org>  Sun, 11 Jul 1999 12:41:22 +0200
   
  
  
  
  1.7       +12 -6     openjump/debian/control
  
  CVSWEB Options: -------------------
  
  CVSWeb: Annotate this file:            http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/control?annotate=1.7&cvsroot=
  
  CVSWeb: View this file:             http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/control?rev=1.7&content-type=text/x-cvsweb-markup&cvsroot=
  
  CVSWeb: Diff to previous version:   http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/control.diff?r1=1.7&r2=1.6&cvsroot=
  
  -----------------------------------
  
  Index: control
  ===================================================================
  RCS file: /cvsroot/pkg-grass/openjump/debian/control,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- control	11 Mar 2006 20:36:09 -0000	1.6
  +++ control	11 Mar 2006 22:29:50 -0000	1.7
  @@ -1,5 +1,5 @@
   Source: openjump
  -Section: devel
  +Section: contrib/science
   Priority: optional
   Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
   Uploaders: Petter Reinholdtsen <pere at debian.org>
  @@ -7,12 +7,18 @@
   Standards-Version: 3.6.2
   
   Package: openjump
  -Section: devel
   Architecture: all
  -Depends: kaffe | java1-runtime | java2-runtime, libjts-java, liblog4j1.2-java, libxerces2-java, libjdom0-java, libjama-java, junit, bsh, libbatik-java
  -Recommends: xlibs
  -Description: Geographic Information System
  - OpenJump is a extendable GIS toolbox written in Java.
  +Depends: j2re1.4 | j2re1.5 | java2-runtime, libjts-java, libjama-java, libjdom0-java, libxerces2-java, bsh, liblog4j1.2-java, junit, libbatik-java
  +Suggests: java-virtual-machine
  +Description: Open Java Unified Mapping Platform JUMP
  + The Open Java Unified Mapping Platform (JUMP) is a GUI-based application
  + for viewing and processing spatial data.  It includes many common spatial
  + and GIS functions.
  + .
  + OpenJUMP has the following features:
  +  * provides viewing, editing, and processing spatial datasets
  +  * provides an API giving full programmatic access
  +  * is highly modular and extensible
    .
    Homepage: http://www.openjump.org/
   
  
  
  
  1.3       +1 -1      openjump/debian/openjump.menu
  
  CVSWEB Options: -------------------
  
  CVSWeb: Annotate this file:            http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/openjump.menu?annotate=1.3&cvsroot=
  
  CVSWeb: View this file:             http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/openjump.menu?rev=1.3&content-type=text/x-cvsweb-markup&cvsroot=
  
  CVSWeb: Diff to previous version:   http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/openjump.menu.diff?r1=1.3&r2=1.2&cvsroot=
  
  -----------------------------------
  
  Index: openjump.menu
  ===================================================================
  RCS file: /cvsroot/pkg-grass/openjump/debian/openjump.menu,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- openjump.menu	11 Mar 2006 14:23:32 -0000	1.2
  +++ openjump.menu	11 Mar 2006 22:29:50 -0000	1.3
  @@ -1,2 +1,2 @@
   ?package(openjump):needs="X11" section="Apps/Science" \
  -  title="OpenJump" command="/usr/bin/openjump"
  +  title="OpenJUMP" command="/usr/bin/openjump"
  
  
  
  1.10      +1 -1      openjump/debian/rules
  
  CVSWEB Options: -------------------
  
  CVSWeb: Annotate this file:            http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/rules?annotate=1.10&cvsroot=
  
  CVSWeb: View this file:             http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/rules?rev=1.10&content-type=text/x-cvsweb-markup&cvsroot=
  
  CVSWeb: Diff to previous version:   http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/rules.diff?r1=1.10&r2=1.9&cvsroot=
  
  -----------------------------------
  
  Index: rules
  ===================================================================
  RCS file: /cvsroot/pkg-grass/openjump/debian/rules,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- rules	11 Mar 2006 20:36:28 -0000	1.9
  +++ rules	11 Mar 2006 22:29:50 -0000	1.10
  @@ -35,5 +35,5 @@
   	install -m644 build/jump-workbench-$(UPSTREAM_VERSION).jar debian/openjump/usr/share/java/jump-workbench-$(UPSTREAM_VERSION).jar
   	ln -s jump-workbench-$(UPSTREAM_VERSION).jar debian/openjump/usr/share/java/jump-workbench.jar
   
  -	install -m755 debian/openjump-wrapper debian/openjump/usr/bin/openjump
  +	install -m755 debian/openjump.sh debian/openjump/usr/bin/openjump
   	install -m644 debian/log4j.xml debian/openjump/usr/share/openjump/
  
  
  
  1.1                  openjump/debian/README.Debian
  
  CVSWEB Options: -------------------
  
  CVSWeb: Annotate this file:            http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/README.Debian?annotate=1.1&cvsroot=
  
  CVSWeb: View this file:             http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/README.Debian?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=
  
  -----------------------------------
  
  Index: README.Debian
  ===================================================================
  Openjump for Debian
  -------------------
  
  OpenJUMP ATM needs a Java 1.4 runtime because of heavy swing usage.
  Although it compiles against kaffe and classpath, it fail to run.
  
  You can adjust the memory parameters passed to the jvm thought
  the JAVA_ARGS variable, e.g.:
  
  JAVA_ARGS=-mx256m jump
  
  on the command line.
  
   -- Petter Reinholdtsen <pere at debian.org>, Sat, 11 Feb 2006 22:11:29 +0100
  
  
  
  1.1                  openjump/debian/README.Debian-source
  
  CVSWEB Options: -------------------
  
  CVSWeb: Annotate this file:            http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/README.Debian-source?annotate=1.1&cvsroot=
  
  CVSWeb: View this file:             http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/README.Debian-source?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=
  
  -----------------------------------
  
  Index: README.Debian-source
  ===================================================================
  Openjump for Debian
  -------------------
  
  As upstream distributes as zip file I had to repackage jump:
  
  - unzip OpenJump-<version>-src.zip into a openjump-<version> directory
  - build the openjump_<version>.orig.tar.gz
  
   -- Petter Reinholdtsen <pere at debian.org>, Sat, 11 Feb 2006 22:11:29 +0100
  
  
  
  1.1                  openjump/debian/openjump.1
  
  CVSWEB Options: -------------------
  
  CVSWeb: Annotate this file:            http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/openjump.1?annotate=1.1&cvsroot=
  
  CVSWeb: View this file:             http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/openjump.1?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=
  
  -----------------------------------
  
  Index: openjump.1
  ===================================================================
  .\"                                      Hey, EMACS: -*- nroff -*-
  .\" First parameter, NAME, should be all caps
  .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
  .\" other parameters are allowed: see man(7), man(1)
  .TH OpenJUMP 1 "March 11, 2006"
  .\" Please adjust this date whenever revising the manpage.
  .\"
  .\" Some roff macros, for reference:
  .\" .nh        disable hyphenation
  .\" .hy        enable hyphenation
  .\" .ad l      left justify
  .\" .ad b      justify to both left and right margins
  .\" .nf        disable filling
  .\" .fi        enable filling
  .\" .br        insert line break
  .\" .sp <n>    insert n+1 empty lines
  .\" for manpage-specific macros, see man(7)
  .SH NAME
  openjump \- A Java GIS Program
  
  .SH SYNOPSIS
  .B openjump
  .I <no_options>
  
  .SH DESCRIPTION
  This manual page documents briefly the
  .B openjump
  command.
  This manual page was written for the Debian distribution
  because the original program does not have a manual page.
  .PP
  .\" TeX users may be more comfortable with the \fB<whatever>\fP and
  .\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
  .\" respectively.
  \fBopenjump\fP is a GIS program that allows to work with spatial datasets. It
  supports reading/writing of shapefiles and GML and provides processing
  operations for spatial data analysis.
  
  .SH OPTIONS
  This program does not have any option. Just start it!
  
  .SH ENVIRONMENT
  .IP \fBDEBUG\fP
  If this environment variable is set, openjump gives more information on how it
  finds its different elements.
  .IP \fBJAVACMD\fP
  Default value for the java virtual machine (the \fBjava\fP command).
  .IP \fBJAVA_BINDIR\fP
  If $\fBJAVACMD\fP is not set, the java virtual machine is searched under
  $\fBJAVA_BINDIR\fP\fI/java\fP.
  .IP \fBJAVA_HOME\fP
  If $\fBJAVACMD\fP and $\fBJAVA_BINDIR\fP are not set, the java virtual machine
  is searched under $\fBJAVA_HOME\fP\fI/bin/java\fP.
  .IP \fBPATH\fP
  If all $\fBJAVA\fP... environment variables fail, the java virtual machine
  command (\fBjava\fP) is searched in the $\fBPATH\fP (with \fBwhich\fP).
  
  .SH FILES
  .IP \fI/usr/bin/java\fP
  If all searches through environment variables fail, the java virtual machine
  is expected to be \fI/usr/bin/java\fP;
  if not, \fBjump\fP exits with an error.
  
  .SH SEE ALSO
  .UE
  
  .SH AUTHOR
  This manual page was written for jump by Wolfgang Baer <wbaer at gmx.de>,
  for the Debian project (but may be used by others).  It was adjusted
  for openjump by Petter Reinholdtsen.
  
  
  
  1.1                  openjump/debian/openjump.manpages
  
  CVSWEB Options: -------------------
  
  CVSWeb: Annotate this file:            http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/openjump.manpages?annotate=1.1&cvsroot=
  
  CVSWeb: View this file:             http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/openjump.manpages?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=
  
  -----------------------------------
  
  Index: openjump.manpages
  ===================================================================
  debian/openjump.1
  
  
  
  1.1                  openjump/debian/openjump.sh
  
  CVSWEB Options: -------------------
  
  CVSWeb: Annotate this file:            http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/openjump.sh?annotate=1.1&cvsroot=
  
  CVSWeb: View this file:             http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/openjump/debian/openjump.sh?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=
  
  -----------------------------------
  
  Index: openjump.sh
  ===================================================================
  #!/bin/sh
  # 2005-02-02, based on the start script from freemind package
  # 2006-03-11, modified to start openjump instead of jump
  
  pkglibdir=/usr/share/openjump
  
  PLUGINDIR=$pkglibdir/ext
  
  PROPFILE=$pkglibdir/workbench-properties.xml
  LOG4JFILE=$pkglibdir/log4j.xml
  
  DEB_JAR_PATH="/usr/share/java"
  
  _debug()
  {
  	if [ -n "${DEBUG}" ]
  	then
  		echo "DEBUG:   $1" >&2 
  		shift
  		for text in "$@"
  		do
  			echo "         ${text}" >&2
  		done
  	fi
  }
  
  _error()
  {
  	echo "ERROR:   $1" >&2
  	shift
  	for text in "$@"
  	do
  		echo "         ${text}" >&2
  	done
  }
  
  findjava()
  {
  	# We try hard to find the proper 'java' command
  	if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ]
  	then
  		_debug "Using \$JAVACMD to find java virtual machine."
  	elif [ -n "${JAVA_BINDIR}" ] && [ -x "${JAVA_BINDIR}/java" ]
  	then
  		JAVACMD="${JAVA_BINDIR}/java"
  		_debug "Using \$JAVA_BINDIR to find java virtual machine."
  	elif [ -n "${JAVA_HOME}" ] && [ -x "${JAVA_HOME}/bin/java" ]
  	then
  		JAVACMD="${JAVA_HOME}/bin/java"
  		_debug "Using \$JAVA_HOME to find java virtual machine."
  	else
  		JAVACMD=$(which java)
  		if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ]
  		then
  			_debug "Using \$PATH to find java virtual machine."
  		elif [ -x /usr/bin/java ]
  		then
  			_debug "Using /usr/bin/java to find java virtual machine."
  			JAVACMD=/usr/bin/java
  		fi
  	fi
  
  	# if we were successful, we return 0 else we complain and return 1
  	if [ -n "${JAVACMD}" ] && [ -x "${JAVACMD}" ]
  	then
  		_debug "Using '$JAVACMD' as java virtual machine..."
  		return 0
  	else
  		_error "Couldn't find a java virtual machine," \
  		       "define JAVACMD, JAVA_BINDIR, JAVA_HOME or PATH."
  		return 1
  	fi
  }
  
  _debug "Openjump parameters are '${@}'."
  
  findjava
  if [ $? -ne 0 ]
  then
  	exit 1
  fi
  
  # List of java jar libraries from $DEB_JAR_PATH to load
  JARS="\
      jump-api jump-workbench \
      bsh buoy jama jdom0 jts xercesImpl xml-apis log4j-1.2 batik-all \
      "
  
  JUMP_CLASSPATH=
  for jar in $JARS; do
      if [ -f $DEB_JAR_PATH/$jar.jar ] ; then
  	JUMP_CLASSPATH="$JUMP_CLASSPATH:$DEB_JAR_PATH/$jar.jar"
      else
  	_error "missing $DEB_JAR_PATH/$jar.jar"
      fi
  done
  
  _debug "Used classpath is '${JUMP_CLASSPATH}'"
  
  if [ -z "$JAVA_ARGS" ] ; then
      # Copied from example script in openjump binary distribution
      JAVA_ARGS="-Xms256M -Xmx256M"
  fi
  
  exec ${JAVACMD} \
      ${JAVA_ARGS} \
      -Dlog4j.configuration=file:$LOG4JFILE \
      -cp ${JUMP_CLASSPATH} \
      com.vividsolutions.jump.workbench.JUMPWorkbench \
      -properties $PROPFILE \
      -plug-in-directory ${PLUGINDIR}
  
  
  



More information about the Pkg-grass-devel mailing list