[DebianGIS-dev] r1789 - in packages/grass/branches/6.4/debian: . patches

hamish-guest at alioth.debian.org hamish-guest at alioth.debian.org
Thu Oct 30 15:56:07 UTC 2008


Author: hamish-guest
Date: 2008-10-30 15:56:06 +0000 (Thu, 30 Oct 2008)
New Revision: 1789

Added:
   packages/grass/branches/6.4/debian/grass64.1
Removed:
   packages/grass/branches/6.4/debian/grass63.1
Modified:
   packages/grass/branches/6.4/debian/copyright
   packages/grass/branches/6.4/debian/files
   packages/grass/branches/6.4/debian/fixscripts.sh
   packages/grass/branches/6.4/debian/grass-preview-dev.dirs
   packages/grass/branches/6.4/debian/grass-preview-dev.install
   packages/grass/branches/6.4/debian/grass-preview-doc.install
   packages/grass/branches/6.4/debian/grass-preview.dirs
   packages/grass/branches/6.4/debian/grass-preview.install
   packages/grass/branches/6.4/debian/grass-preview.postinst
   packages/grass/branches/6.4/debian/grass-preview.postrm
   packages/grass/branches/6.4/debian/patches/www-browser.dpatch
   packages/grass/branches/6.4/debian/rules
   packages/grass/branches/6.4/debian/watch
Log:
update 6.3 to 6.4, new URL/address in copyright

Modified: packages/grass/branches/6.4/debian/copyright
===================================================================
--- packages/grass/branches/6.4/debian/copyright	2008-10-30 15:06:36 UTC (rev 1788)
+++ packages/grass/branches/6.4/debian/copyright	2008-10-30 15:56:06 UTC (rev 1789)
@@ -1,13 +1,13 @@
 This package was debianized by Markus Neteler <neteler at itc.it> on
 Mon, 10 Nov 2003 17:59:04 +0100.
 
-It was downloaded from http://grass.itc.it
+It was downloaded from http://grass.osgeo.org
 
 The upstream contributors are listed in the AUTHORS file.
 
 The Geographic Resources Analysis and Support System (GRASS)
-Geographic Information System (GIS) is Copyright by the
-GRASS Development Team headquartered at ITC-irst, in Trento, Italy.
+Geographic Information System (GIS) is Copyright by members
+of the GRASS Development Team.
 
 This program is free software; you can redistribute it and/or modify it
 under the terms of the GNU General Public License as published by the
@@ -32,13 +32,11 @@
 GRASS Development Team at the following address:
 
  GRASS Development Team
- ITC-Irst
  c/o M. Neteler
- SSI/MPA
- Via Sommarive, 18
- 38050 Trento (Povo)
+ Fondazione Mach - Centre for Alpine Ecology
+ 38100 Viote del Monte Bondone (Trento)
  Italy
- neteler at itc.it
+ neteler AT cealp.it
 
-Internet:  http://grass.itc.it
-           http://grass.ibiblio.org
+Internet:  http://grass.osgeo.org
+           http://www.grass-gis.org

Modified: packages/grass/branches/6.4/debian/files
===================================================================
--- packages/grass/branches/6.4/debian/files	2008-10-30 15:06:36 UTC (rev 1788)
+++ packages/grass/branches/6.4/debian/files	2008-10-30 15:56:06 UTC (rev 1789)
@@ -1,3 +1,3 @@
-grass-preview-doc_6.3.0-1_all.deb science optional
-grass-preview_6.3.0-1_i386.deb science optional
-grass-preview-dev_6.3.0-1_i386.deb devel optional
+grass-preview-doc_6.4~20081031-1_all.deb science optional
+grass-preview_6.4~20081031-1_i386.deb science optional
+grass-preview-dev_6.4~20081031-1_i386.deb devel optional

Modified: packages/grass/branches/6.4/debian/fixscripts.sh
===================================================================
--- packages/grass/branches/6.4/debian/fixscripts.sh	2008-10-30 15:06:36 UTC (rev 1788)
+++ packages/grass/branches/6.4/debian/fixscripts.sh	2008-10-30 15:56:06 UTC (rev 1789)
@@ -8,7 +8,7 @@
 # make these scripts executable
 for x in etc/water/seg
 do
-    chmod +x $CURDIR/debian/tmp/usr/lib/grass63/$x
+    chmod +x $CURDIR/debian/tmp/usr/lib/grass64/$x
 done
 
 # silence bogus lintian complaint about interpreter-not-absolute
@@ -18,15 +18,15 @@
     script_file_tools \
     nviz2.2_script
 do
-  f=$CURDIR/debian/tmp/usr/lib/grass63/etc/nviz2.2/scripts/$x
-  sed 's.!nviz.!/usr/lib/grass63/bin/nviz.' $f >foo && cat foo >$f
+  f=$CURDIR/debian/tmp/usr/lib/grass64/etc/nviz2.2/scripts/$x
+  sed 's.!nviz.!/usr/lib/grass64/bin/nviz.' $f >foo && cat foo >$f
 done
 
 for x in panel_label.tcl \
     panel_scale.tcl
 do
-  f=$CURDIR/debian/tmp/usr/lib/grass63/etc/nviz2.2/scripts/$x
-  sed 's%!../glnviz.new/nvwish%!/usr/lib/grass63/etc/nviz2.2/glnviz/nvwish%' $f >foo && cat foo >$f
+  f=$CURDIR/debian/tmp/usr/lib/grass64/etc/nviz2.2/scripts/$x
+  sed 's%!../glnviz.new/nvwish%!/usr/lib/grass64/etc/nviz2.2/glnviz/nvwish%' $f >foo && cat foo >$f
 done
 rm foo
 
@@ -34,7 +34,7 @@
 # add shebang to scripts that need it
 for x in etc/copy
 do
-  f=$CURDIR/debian/tmp/usr/lib/grass63/$x
+  f=$CURDIR/debian/tmp/usr/lib/grass64/$x
   cp $f foo; echo "#!/bin/sh" >$f; cat foo >>$f
 done
 rm foo
@@ -98,5 +98,5 @@
     etc/nviz2.2/scripts/wirecolorPopup.tcl \
     etc/nviz2.2/scripts/fileBrowser.tcl
 do
-    chmod -x $CURDIR/debian/tmp/usr/lib/grass63/$x
+    chmod -x $CURDIR/debian/tmp/usr/lib/grass64/$x
 done

Modified: packages/grass/branches/6.4/debian/grass-preview-dev.dirs
===================================================================
--- packages/grass/branches/6.4/debian/grass-preview-dev.dirs	2008-10-30 15:06:36 UTC (rev 1788)
+++ packages/grass/branches/6.4/debian/grass-preview-dev.dirs	2008-10-30 15:56:06 UTC (rev 1789)
@@ -1,3 +1,3 @@
-usr/lib/grass63/include
-usr/lib/grass63/include/Make
+usr/lib/grass64/include
+usr/lib/grass64/include/Make
 usr/share/pkgconfig

Modified: packages/grass/branches/6.4/debian/grass-preview-dev.install
===================================================================
--- packages/grass/branches/6.4/debian/grass-preview-dev.install	2008-10-30 15:06:36 UTC (rev 1788)
+++ packages/grass/branches/6.4/debian/grass-preview-dev.install	2008-10-30 15:56:06 UTC (rev 1789)
@@ -1 +1 @@
-usr/lib/grass63/include
+usr/lib/grass64/include

Modified: packages/grass/branches/6.4/debian/grass-preview-doc.install
===================================================================
--- packages/grass/branches/6.4/debian/grass-preview-doc.install	2008-10-30 15:06:36 UTC (rev 1788)
+++ packages/grass/branches/6.4/debian/grass-preview-doc.install	2008-10-30 15:56:06 UTC (rev 1789)
@@ -1,5 +1,5 @@
-usr/lib/grass63/docs/html usr/share/doc/grass-preview-doc
-usr/lib/grass63/man/man1 usr/share/man
+usr/lib/grass64/docs/html usr/share/doc/grass-preview-doc
+usr/lib/grass64/man/man1 usr/share/man
 programming-manual/db usr/share/doc/grass-preview-doc/programming-manual/html
 programming-manual/gis usr/share/doc/grass-preview-doc/programming-manual/html
 programming-manual/vector usr/share/doc/grass-preview-doc/programming-manual/html

Modified: packages/grass/branches/6.4/debian/grass-preview.dirs
===================================================================
--- packages/grass/branches/6.4/debian/grass-preview.dirs	2008-10-30 15:06:36 UTC (rev 1788)
+++ packages/grass/branches/6.4/debian/grass-preview.dirs	2008-10-30 15:56:06 UTC (rev 1789)
@@ -1,6 +1,6 @@
 etc/ld.so.conf.d
-usr/lib/grass63
+usr/lib/grass64
 /usr/bin
-/usr/lib/grass63
-/usr/share/doc/grass63
+/usr/lib/grass64
+/usr/share/doc/grass64
 /usr/share/man

Modified: packages/grass/branches/6.4/debian/grass-preview.install
===================================================================
--- packages/grass/branches/6.4/debian/grass-preview.install	2008-10-30 15:06:36 UTC (rev 1788)
+++ packages/grass/branches/6.4/debian/grass-preview.install	2008-10-30 15:56:06 UTC (rev 1789)
@@ -1,8 +1,8 @@
-usr/bin/grass63
-usr/lib/grass63/bin
-usr/lib/grass63/bwidget
-usr/lib/grass63/driver
-usr/lib/grass63/etc
-usr/lib/grass63/fonts
-usr/lib/grass63/scripts
-usr/lib/grass63/lib
+usr/bin/grass64
+usr/lib/grass64/bin
+usr/lib/grass64/bwidget
+usr/lib/grass64/driver
+usr/lib/grass64/etc
+usr/lib/grass64/fonts
+usr/lib/grass64/scripts
+usr/lib/grass64/lib

Modified: packages/grass/branches/6.4/debian/grass-preview.postinst
===================================================================
--- packages/grass/branches/6.4/debian/grass-preview.postinst	2008-10-30 15:06:36 UTC (rev 1788)
+++ packages/grass/branches/6.4/debian/grass-preview.postinst	2008-10-30 15:56:06 UTC (rev 1789)
@@ -6,7 +6,7 @@
 
 # Removes obsolete path in the main ld.so configuration file.
 # This should be removed post-lenny.
-dir="/usr/lib/grass63/lib"
+dir="/usr/lib/grass64/lib"
 ldsoconf="/etc/ld.so.conf"
 # is the line present?
 if fgrep -qsx "$dir" "$ldsoconf"; then

Modified: packages/grass/branches/6.4/debian/grass-preview.postrm
===================================================================
--- packages/grass/branches/6.4/debian/grass-preview.postrm	2008-10-30 15:06:36 UTC (rev 1788)
+++ packages/grass/branches/6.4/debian/grass-preview.postrm	2008-10-30 15:56:06 UTC (rev 1789)
@@ -5,7 +5,7 @@
 set -e
 
 if [ "$1" = "remove" ]; then
-  rm -f /etc/ld.so.conf.d/grass63.conf
+  rm -f /etc/ld.so.conf.d/grass64.conf
   ldconfig
 fi
 

Deleted: packages/grass/branches/6.4/debian/grass63.1
===================================================================
--- packages/grass/branches/6.4/debian/grass63.1	2008-10-30 15:06:36 UTC (rev 1788)
+++ packages/grass/branches/6.4/debian/grass63.1	2008-10-30 15:56:06 UTC (rev 1789)
@@ -1,322 +0,0 @@
-.TH grass6 1 "" "GRASS 6.3.0" "Grass User's Manual"
-.SH NAME
-\fI\fBgrass63\fR\fR  - The GRASS startup program
-.br
-.SH SYNOPSIS
-\fBgrass63\fR [\fB-\fR] [\fB-v\fR] [\fB-h | -help | --help\fR]
-[\fB-text | -gui | -oldgui]\fR]
-[[[\fB/\fR]\fB/\fR]
-\fB\fR]
-.br
-.SH DESCRIPTION
-.PP
-This program is used to start GRASS. It will parse the command line arguments
-and then initialize GRASS for the user. Since GRASS programs require a
-specific environment, this program must be called before any other GRASS
-program can run. The command line arguments are optional and provide the user
-with a method to indicate the desired user interface, as well as the desired
-mapset to work on.
-.SH FEATURES
-.PP
-The GRASS program will save both the desired user interface and mapset.
-Thus, the next time the user runs GRASS, typing \fIgrass63\fR (without any
-options) will start grass with the previous settings for the user interface
-and mapset.
-.PP
-If you specify a graphical user interface (eg Tcl/Tk) the \fIgrass63\fR
-program will try to verify that the system you specified exists and that you
-can access it successfully. If any of these checks fail, then \fIgrass63\fR
-will automatically switch back to the text user interface mode.
-.SH OPTIONS
-.PP
-All command line options are optional.
-.SS Flags:
-.IP "\fB-\fR
-.br
- Tries to start GRASS using location environment variables (see below)
-.IP "\fB-h -help --help\fR
-.br
- Prints a brief usage message
-.IP "\fB-text\fR
-.br
- Indicates that the text based user interface should be used
-.IP "\fB-gui\fR (or \fB-tcltk\fR)
-.br
- Indicates that the Tcl/Tk based graphical user interface should be used
-.IP "\fB-oldgui\fR
-.br
- Indicates that the old graphical user interface should be used (d.m)
-.IP "\fB-v --version\fR
-.br
- Prints the version for GRASS
-.PP
-.SS Parameters:
-.IP "\fBGISDBASE\fR
-.br
- Initial database directory which should be a fully qualified path
-(eg /usr/local/share/grassdata)
-.IP "\fBLOCATION_NAME\fR
-.br
- Initial location directory which is a subdirectory of GISDBASE
-.IP "\fBMAPSET\fR
-.br
- Initial mapset directory which is a subdirectory of LOCATION_NAME
-.IP "\fBNote\fR
-.br
- You must specify one of the following
-.br
-MAPSET
-.br
-LOCATION_NAME/MAPSET
-.br
-GISDBASE/LOCATION_NAME/MAPSET
-.br
-.PP
-.SH ENVIRONMENT VARIABLES
-.SS User Interface Environment Variable
-.PP
-The \fIgrass63\fR program will check for the existence of an environment
-variable called GRASS_GUI which indicates the type of user interface for
-GRASS to use. If this variable is not set when \fIgrass63\fR is run, then
-it will be created and then saved in the $HOME/.grassrc6 file for the next
-time GRASS is run. In addition to "text" or "tcltk", the GRASS_GUI variable
-can be set to the name of the GUI to use, for example "gis.m" or "d.m".
-.PP
-There is an order of precedence in the way \fIgrass63\fR determines the user
-interface to use. The following is the hierarchy from highest precedence to
-lowest.
-.PP
-The user may add own environment variable settings to $HOME/.grassrc6 file
-which are used during next startup of GRASS (list of 
-implemented environment variables). 
-.IP "\fBInterface precedence\fR
-.br
-Command line argument
-.br
-Environment variable GRASS_GUI
-.br
-Value set in $HOME/.grassrc6
-.br
-Default value - currently gis.m
-.PP
-.SS Tcl/Tk Environment Variables
-.PP
-If you choose to use the Tcl/Tk graphical user interface, then the following
-environment variables can be used to override your system default tclsh and
-wish commands. See the section immediately following the variable descriptions
-for an example.
-.IP "\fBGRASS_TCLSH\fR
-.br
- Command to use to override tclsh
-.IP "\fBGRASS_WISH\fR
-.br
- Command to use to override wish
-.PP
-.SS Example Use of GRASS Tcl/Tk Environment Variables
-.PP
-Suppose your system has Tcl/Tk 8.0 installed and you install your personal
-version of Tcl/Tk 8.3 binaries installed under $HOME/bin. You can use the
-above variables to have GRASS use the Tcl/Tk 8.3 binaries instead.
-.PP
-GRASS_TCLSH = $HOME/bin/tclsh8.3
-.br
-GRASS_WISH  = $HOME/bin/wish8.3
-.SS Addon path to extra local GRASS modules
-This environment variables allows to extend the GRASS paths to locally
-developed/installed modules which are not distributes through the standard
-release of GRASS.
-.PP
-GRASS_ADDON_PATH=/usr/mytools
-.br
-GRASS_ADDON_PATH=/usr/mytools:/usr/local/othertools
-.PP
-In this example above path(s) would be added to the standard GRASS path
-environment.
-.SS Location Environment Variables
-.PP
-The Synopsis and Options sections above describe options that can be used to
-set the location and mapset that GRASS will use. These values can also be set
-with environment variables. However, specifying the location and mapset
-variables on the command line will override these environment variables. The
-available variables are as follows:
-.IP "\fBLOCATION\fR
-.br
- A fully qualified path to a mapset 
-(eg /usr/local/share/grassdata/spearfish60/PERMANENT). This environment variable
-overrides the GISDBASE, LOCATION_NAME, and MAPSET variables.
-.IP "\fBGISDBASE\fR
-.br
- Initial database directory which should be a fully qualified path
-(eg /usr/local/share/grassdata)
-.IP "\fBLOCATION_NAME\fR
-.br
- Initial location directory which is a subdirectory of GISDBASE
-.IP "\fBMAPSET\fR
-.br
- Initial mapset directory which is a subdirectory of LOCATION_NAME
-.PP
-.PP
-There are a variety of ways in which these variables can be used to specify
-the mapset to use. The following are some possible examples.
-.IP "\fBExample 1\fR
-.br
- The environment variables are defined as follows:
-.br
-LOCATION = /usr/local/share/grassdata/spearfish60/PERMANENT
-.br
-GISDBASE = /usr/local/share/grassdata
-.br
-LOCATION_NAME = spearfish60
-.br
-MAPSET = PERMANENT
-.br
-Start GRASS with the following command:
-.br
-grass63 -
-.br
-GRASS will start with the mapset defined by LOCATION since the LOCATION
-variable overrides the other variables.
-.br
-.IP "\fBExample 2\fR
-.br
- The environment variables are defined as follows:
-.br
-GISDBASE = /usr/local/share/grassdata
-.br
-LOCATION_NAME = spearfish60
-.br
-MAPSET = PERMANENT
-.br
-Start GRASS with the following command:
-.br
-grass63 -
-.br
-GRASS will start with the mapset defined by
-GISDBASE/LOCATION_NAME/MAPSET.
-.br
-.IP "\fBExample 3\fR
-.br
- The environment variables are defined as follows:
-.br
-LOCATION = /usr/local/share/grassdata/spearfish60/PERMANENT
-.br
-GISDBASE = /usr/local/share/grassdata
-.br
-LOCATION_NAME = spearfish60
-.br
-MAPSET = PERMANENT
-.br
-Start GRASS with the following command:
-.br
-grass63 /usr/home/grass/data/thailand/forests
-.br
-GRASS will start with the mapset /home/grass/data/thailand/forests which
-overrides the environment variables.
-.br
-.IP "\fBExample 4\fR
-.br
- The environment variables are defined as follows:
-.br
-LOCATION = /usr/local/share/grassdata/spearfish60/PERMANENT
-.br
-GISDBASE = /usr/local/share/grassdata
-.br
-LOCATION_NAME = spearfish60
-.br
-MAPSET = PERMANENT
-.br
-Start GRASS with the following command:
-.br
-grass63 swamps
-.br
-GRASS will start with the mapset defined by GISDBASE/LOCATION_NAME/swamps
-since the command line argument for the mapset overrides the environment
-variable MAPSET.
-.br
-.IP "\fBExample 5\fR
-.br
- The environment variables are defined as follows:
-.br
-LOCATION = /usr/local/share/grassdata/spearfish60/PERMANENT
-.br
-GISDBASE = /usr/local/share/grassdata
-.br
-LOCATION_NAME = spearfish60
-.br
-MAPSET = PERMANENT
-.br
-Start GRASS with the following command:
-.br
-grass63 thailand/forests
-.br
-GRASS will start with the mapset defined by GISDBASE/thailand/forests
-since the command line arguments for the location and mapset overrides
-the environment variables LOCATION_NAME and MAPSET.
-.br
-.PP
-.SS Note
-.PP
-Note that you will need to set these variables using the appropriate method
-required for the UNIX shell that you use.
-.SH EXAMPLES
-.PP
-The following are some examples of how you could start GRASS
-.IP "\fBgrass63\fR
-.br
- Start GRASS using the default user interface. The user will be prompted
-to choose the appropriate location and mapset.
-.IP "\fBgrass63 -gui\fR
-.br
- Start GRASS using the Tcl/Tk based user interface. The user will be
-prompted to choose the appropriate location and mapset.
-.IP "\fBgrass63 -text\fR
-.br
- Start GRASS using the text based user interface. The user will be
-prompted to choose the appropriate location and mapset.
-.IP "\fBgrass63 -gui -\fR
-.br
- Start GRASS using the Tcl/Tk based user interface and try to obtain
-the location and mapset from environment variables.
-.IP "\fBOther examples\fR
-.br
- See the \fBLocation Environment Variables\fR section for further
-examples.
-.PP
-.SH BUGS AND CAVEAT
-.PP
-If you start GRASS using the Tcl/Tk interface you must have a \fIwish\fR
-command in your $PATH variable. That is, the command must be named
-\fIwish\fR and not something like \fIwish8.3\fR. By default, a Tcl/Tk
-installation does not create a \fIwish\fR command. Thus, the system
-administrator must create an appropriate link to the actual wish program.
-.PP
-For example, suppose Tcl/Tk 8.3 programs are installed in /usr/local/bin. Then
-the system administrator should go to the /usr/local/bin directory and run the
-commands \fIln -s wish8.3 wish\fR and \fIln -s tclsh8.3 tclsh\fR to
-properly install Tcl/Tk for use with GRASS.
-.PP
-Furthermore, if you have more than one version of Tcl/Tk installed, make sure
-that the version you want to use with GRASS is the first version found in
-your $PATH variable. GRASS searches your $PATH variable until it finds the 
-first version of \fIwish\fR.
-.SH FILES
-\fI$UNIX_BIN/grass63\fR - GRASS startup program
-.br
-\fI$GISBASE/etc/Init.sh\fR - GRASS initialization script called by
-\fIgrass63\fR
-.br
-\fI$GISBASE/etc/gis_set.tcl\fR - Tcl/Tk script to set the
-location and mapset to use. Called by \fIInit.sh\fR
-.br
-.SH SEE ALSO
-List of implemented GRASS environment variables.
-.PP
-GRASS Web site
-.SH AUTHORS (of this page)
-Justin Hickey
-.br
-Markus Neteler
-.PP
-\fILast changed: $Date: 2006-11-02 07:48:36 +0100 (Thu, 02 Nov 2006) $\fR
-.PP
-Help Index

Copied: packages/grass/branches/6.4/debian/grass64.1 (from rev 1788, packages/grass/branches/6.4/debian/grass63.1)
===================================================================
--- packages/grass/branches/6.4/debian/grass64.1	                        (rev 0)
+++ packages/grass/branches/6.4/debian/grass64.1	2008-10-30 15:56:06 UTC (rev 1789)
@@ -0,0 +1,373 @@
+.TH grass6 1 "" "GRASS 6.4.svn" "Grass User's Manual"
+.SH NAME
+\fI\fBgrass64\fR\fR  - The GRASS startup program
+.br
+.SH SYNOPSIS
+\fBgrass64\fR [\fB-\fR] [\fB-v\fR] [\fB-h | -help | --help\fR]
+[\fB-text | -gui | -tcltk | -wxpython]\fR]
+[[[\fB/\fR]\fB/\fR]
+\fB\fR]
+.br
+.SH DESCRIPTION
+.PP
+This command is used to launch GRASS GIS. It will parse the command line
+arguments and then initialize GRASS for the user. Since GRASS programs
+require a specific environment, this program must be called before any other
+GRASS program can run. The command line arguments are optional and provide
+the user with a method to indicate the desired user interface, as well as the
+desired mapset to work on.
+.SH FEATURES
+.PP
+The \fIgrass64\fR startup program will remember both the desired user
+interface and mapset. Thus, the next time the user runs GRASS, typing
+\fIgrass64\fR (without any options) will start GRASS with the previous
+settings for the user interface and mapset selected.
+.PP
+If you specify a graphical user interface (Tcl/Tk or wxPython) the \fIgrass64\fR
+program will try to verify that the system you specified exists and that you
+can access it successfully. If any of these checks fail then \fIgrass64\fR
+will automatically switch back to the text user interface mode.
+.SH OPTIONS
+.PP
+All command line options are optional.
+.SS Flags:
+.IP "\fB-\fR
+.br
+ Tries to start GRASS using location environment variables (see below)
+.IP "\fB-h -help --help\fR
+.br
+ Prints a brief usage message
+.IP "\fB-text\fR
+.br
+ Indicates that the text based user interface should be used
+.IP "\fB-gui\fR (or \fB-tcltk\fR)
+.br
+ Indicates that the old Tcl/Tk based graphical user interface should be used
+.IP "\fB-wxpython\fR
+.br
+ Indicates that the new Python based graphical user interface should be used
+.IP "\fB-v --version\fR
+.br
+ Prints the version of GRASS and exits
+.PP
+.SS Parameters:
+.IP "\fBGISDBASE\fR
+.br
+ Initial database directory which should be a fully qualified path
+(e.g., /usr/local/share/grassdata)
+.IP "\fBLOCATION_NAME\fR
+.br
+ Initial location directory which is a subdirectory of GISDBASE
+.IP "\fBMAPSET\fR
+.br
+ Initial mapset directory which is a subdirectory of LOCATION_NAME
+.PP
+.br
+\fB\fINote\fR\fR- These parameters must be specified in one of the
+following ways:
+.VL 4m
+.br
+MAPSET
+.br
+LOCATION_NAME/MAPSET
+.br
+GISDBASE/LOCATION_NAME/MAPSET
+.br
+.PP
+.SH ENVIRONMENT VARIABLES
+A number of environment variables are available at GRASS startup to assist
+with automation and customization. Most users will not need to bother with
+these.
+.PP
+In addition to these shell environment variables GRASS maintains a number of
+GIS environment variables in the $HOME/.grassrc6 file. User changes
+to this file will be read during the next startup of GRASS. If this file
+becomes corrupted the user may edit it by hand or remove it to start afresh.
+See the list of implemented GRASS variables for
+more information.
+The rest of this help page will only consider shell environment variables.
+.SS User Interface Environment Variable
+.PP
+The \fIgrass64\fR program will check for the existence of an environment
+variable called GRASS_GUI which indicates the type of user interface for
+GRASS to use. If this variable is not set when \fIgrass64\fR is run, then
+it will be created and then saved in the $HOME/.grassrc6 file for
+the next time GRASS is run. In addition to "text", "tcltk" or "wxpython",
+the GRASS_GUI variable can be set to the name of the Tcl/Tk GUI to use, for
+example "gis.m" or "d.m".
+.PP
+There is an order of precedence in the way \fIgrass64\fR determines the user
+interface to use. The following is the hierarchy from highest precedence to
+lowest.
+.IP "\fBInterface precedence\fR
+.br
+&bull; Command line argument
+.br
+&bull; Environment variable GRASS_GUI
+.br
+&bull; Value set in $HOME/.grassrc6
+.br
+&bull; Default value - currently gis.m
+.PP
+.SS Tcl/Tk and Python Environment Variables
+.PP
+If you choose to use the Tcl/Tk graphical user interface, then the following
+environment variables can be used to override your system default
+tclsh and wish commands.
+.IP "\fBGRASS_TCLSH\fR
+.br
+ Command to use to override tclsh
+.IP "\fBGRASS_WISH\fR
+.br
+ Command to use to override wish
+.IP "\fBGRASS_PYTHON\fR
+.br
+ Command to use to override python
+.PP
+.SS Example Use of GRASS Tcl/Tk Environment Variables
+.PP
+Suppose your system has Tcl/Tk 8.3 installed and you install a personal
+version of the Tcl/Tk 8.5 binaries under $HOME/bin. You can use
+the above variables to have GRASS use the Tcl/Tk 8.5 binaries instead.
+.PP
+\fC
+.DS
+.br
+   GRASS_TCLSH = $HOME/bin/tclsh8.5
+.br
+   GRASS_WISH  = $HOME/bin/wish8.5
+.br
+.DE
+\fR
+.SS Example Use of the GRASS Python Environment Variable
+.PP
+\fC
+.DS
+.br
+   GRASS_PYTHON=python2.5
+.br
+.DE
+\fR
+.SS Addon path to extra local GRASS modules
+This environment variable allows the user to extend the GRASS program search
+paths to include locally developed/installed addon modules which are not
+distributed with the standard GRASS release.
+.PP
+\fC
+.DS
+.br
+   GRASS_ADDON_PATH=/usr/mytools
+.br
+   GRASS_ADDON_PATH=/usr/mytools:/usr/local/othertools
+.br
+.DE
+\fR
+.PP
+In this example above path(s) would be added to the standard GRASS path
+environment.
+.SS HTML browser variable
+The GRASS_HTML_BROWSER environment variable allows the user to set the HTML
+web browser to use for dispalying help pages.
+.SS Location Environment Variables
+.PP
+The Synopsis and Options sections above describe options that can be used to
+set the location and mapset that GRASS will use. These values can also be set
+with environment variables. However, specifying the location and mapset
+variables on the command line will override these environment variables. The
+available variables are as follows:
+.IP "\fBLOCATION\fR
+.br
+ A fully qualified path to a mapset 
+(eg /usr/local/share/grassdata/spearfish60/PERMANENT). This environment variable
+overrides the GISDBASE, LOCATION_NAME, and MAPSET variables.
+.IP "\fBGISDBASE\fR
+.br
+ Initial database directory which should be a fully qualified path
+(eg /usr/local/share/grassdata)
+.IP "\fBLOCATION_NAME\fR
+.br
+ Initial location directory which is a subdirectory of GISDBASE
+.IP "\fBMAPSET\fR
+.br
+ Initial mapset directory which is a subdirectory of LOCATION_NAME
+.PP
+.SS Running non-interactive batch jobs
+If the GRASS_BATCH_JOB environment variable is set to the \fIfull\fR
+path and filename of a shell script then GRASS will be launched in a 
+non-interactive way and the script will be run. The script itself can be
+interactive if that is what the user requires. When it is finished GRASS
+will automatically exit using the exit-success code given by the script.
+The script file must have its executable bit set.
+.SS Note
+.PP
+Note that you will need to set these variables using the appropriate method
+required for the UNIX shell that you use. (e.g. in a Bash shell you must
+\(dqexport" the variables for them to propogate)
+.SH EXAMPLES
+.PP
+The following are some examples of how you could start GRASS
+.IP "\fBgrass64\fR
+.br
+ Start GRASS using the default user interface. The user will be prompted
+to choose the appropriate location and mapset.
+.IP "\fBgrass64 -gui\fR
+.br
+ Start GRASS using the Tcl/Tk based user interface. The user will be
+prompted to choose the appropriate location and mapset.
+.IP "\fBgrass64 -text\fR
+.br
+ Start GRASS using the text based user interface. The user will be
+prompted to choose the appropriate location and mapset.
+.IP "\fBgrass64 ~/grassdata/spearfish60/user1\fR
+.br
+ Start GRASS using the default user interface and automatically launch
+into the given mapset, bypassing the mapset selection menu.
+.IP "\fBgrass64 -gui -\fR
+.br
+ Start GRASS using the Tcl/Tk based user interface and try to obtain
+the location and mapset from environment variables.
+.PP
+.SS Other examples
+There are a variety of ways in which the \fIlocation environment
+variables\fR (see above) can be used to specify the mapset to use.
+The following are some possible examples.
+.IP "\fBExample 1\fR
+.br
+ The environment variables are defined as follows:
+.br
+LOCATION = /usr/local/share/grassdata/spearfish60/PERMANENT
+.br
+GISDBASE = /usr/local/share/grassdata
+.br
+LOCATION_NAME = spearfish60
+.br
+MAPSET = PERMANENT
+.br
+Start GRASS with the following command:
+.br
+grass64 -
+.br
+GRASS will start with the mapset defined by LOCATION since the LOCATION
+variable overrides the other variables.
+.br
+.IP "\fBExample 2\fR
+.br
+ The environment variables are defined as follows:
+.br
+GISDBASE = /usr/local/share/grassdata
+.br
+LOCATION_NAME = spearfish60
+.br
+MAPSET = PERMANENT
+.br
+Start GRASS with the following command:
+.br
+grass64 -
+.br
+GRASS will start with the mapset defined by
+GISDBASE/LOCATION_NAME/MAPSET.
+.br
+.IP "\fBExample 3\fR
+.br
+ The environment variables are defined as follows:
+.br
+LOCATION = /usr/local/share/grassdata/spearfish60/PERMANENT
+.br
+GISDBASE = /usr/local/share/grassdata
+.br
+LOCATION_NAME = spearfish60
+.br
+MAPSET = PERMANENT
+.br
+Start GRASS with the following command:
+.br
+grass64 /usr/home/grass/data/thailand/forests
+.br
+GRASS will start with the mapset /home/grass/data/thailand/forests which
+overrides the environment variables.
+.br
+.IP "\fBExample 4\fR
+.br
+ The environment variables are defined as follows:
+.br
+LOCATION = /usr/local/share/grassdata/spearfish60/PERMANENT
+.br
+GISDBASE = /usr/local/share/grassdata
+.br
+LOCATION_NAME = spearfish60
+.br
+MAPSET = PERMANENT
+.br
+Start GRASS with the following command:
+.br
+grass64 swamps
+.br
+GRASS will start with the mapset defined by GISDBASE/LOCATION_NAME/swamps
+since the command line argument for the mapset overrides the environment
+variable MAPSET.
+.br
+.IP "\fBExample 5\fR
+.br
+ The environment variables are defined as follows:
+.br
+LOCATION = /usr/local/share/grassdata/spearfish60/PERMANENT
+.br
+GISDBASE = /usr/local/share/grassdata
+.br
+LOCATION_NAME = spearfish60
+.br
+MAPSET = PERMANENT
+.br
+Start GRASS with the following command:
+.br
+grass64 thailand/forests
+.br
+GRASS will start with the mapset defined by GISDBASE/thailand/forests
+since the command line arguments for the location and mapset overrides
+the environment variables LOCATION_NAME and MAPSET.
+.br
+.PP
+.SH CAVEAT
+If you start GRASS using the Tcl/Tk interface you must have a wish
+command in your $PATH variable. That is, the command must be named
+wish and not something like wish8.3. By default, some Tcl/Tk
+installations do not create a wish command. In these cases the system
+administrator must create an appropriate link to the actual wish
+program.
+.PP
+For example, suppose Tcl/Tk 8.3 programs are installed in /usr/local/bin. Then
+the system administrator should go to the /usr/local/bin directory and run the
+commands "ln -s wish8.3 wish" and "ln -s tclsh8.3 tclsh" to
+properly install Tcl/Tk for use with GRASS.
+.PP
+Furthermore, if you have more than one version of Tcl/Tk installed, make sure
+that the version you want to use with GRASS is the first version found in
+your $PATH variable. GRASS searches your $PATH variable
+until it finds the first version of wish.
+.SH FILES
+\fI$UNIX_BIN/grass64\fR - GRASS startup program (Linux, MacOSX etc.)
+.br
+\fI$WINDOWS_BIN/grass64.bat\fR - GRASS startup program (MS-Windows)
+.br
+\fI$GISBASE/etc/Init.sh\fR - GRASS initialization script called by
+\fIgrass64\fR
+.br
+\fI$GISBASE/etc/gis_set.tcl\fR - Tcl/Tk script to set the
+location and mapset to use. Called by \fIInit.sh\fR
+.br
+.SH SEE ALSO
+List of implemented GRASS environment variables.
+.PP
+GRASS Web site
+.PP
+GRASS 6 Programmer's Manual
+.SH AUTHORS (of this page)
+Justin Hickey
+.br
+Markus Neteler
+.br
+Hamish Bowman
+.PP
+\fILast changed: $Date: 2008-09-01 14:52:52 +1200 (Mon, 01 Sep 2008) $\fR
+.PP
+Help Index

Modified: packages/grass/branches/6.4/debian/patches/www-browser.dpatch
===================================================================
--- packages/grass/branches/6.4/debian/patches/www-browser.dpatch	2008-10-30 15:06:36 UTC (rev 1788)
+++ packages/grass/branches/6.4/debian/patches/www-browser.dpatch	2008-10-30 15:56:06 UTC (rev 1789)
@@ -1,14 +1,14 @@
 #! /bin/sh /usr/share/dpatch/dpatch-run
-## www-browser.dpatch by Francesco Paolo Lovergine <frankie at debian.org>
+## www-browser.dpatch by Hamish Bowman <hamish-guest alioth.debian.org>
 ##
 ## All lines beginning with `## DP:' are a description of the patch.
 ## DP: Use www-browser as HTML browser, the Debian way
 
 @DPATCH@
-diff -urNad grass-preview-6.3.0~/lib/init/init.sh grass-preview-6.3.0/lib/init/init.sh
---- grass-preview-6.3.0~/lib/init/init.sh	2008-04-21 13:55:30.000000000 +0200
-+++ grass-preview-6.3.0/lib/init/init.sh	2008-04-21 14:01:49.000000000 +0200
-@@ -268,67 +268,11 @@
+diff -urNad grass6_devel/lib/init/init.sh.6.4svn grass6_devel/lib/init/init.sh
+--- grass6_devel/lib/init/init.sh.ORIG	2008-10-31 02:26:25.000000000 +1300
++++ grass6_devel/lib/init/init.sh	2008-10-31 02:16:53.000000000 +1300
+@@ -315,53 +315,11 @@
  
  # try and find a web browser if one isn't already specified
  if [ ! "$GRASS_HTML_BROWSER" ] ; then
@@ -29,39 +29,29 @@
 -	fi
 -
 -    else
--      for i in `echo "$PATH" | sed 's/^:/.:/
+-      # the usual suspects
+-      BROWSERS="htmlview konqueror mozilla mozilla-firefox firefox opera netscape dillo"
+-      for BROWSER in $BROWSERS ; do
+-	for i in `echo "$PATH" | sed 's/^:/.:/
 -                                s/::/:.:/g
 -                                s/:$/:./
 -                                s/:/ /g'`
--      do
--        if [ -f "$i/htmlview" ] ; then  
--            GRASS_HTML_BROWSER=htmlview  
--            break  
--        elif [ -f "$i/konqueror" ] ; then  
--            GRASS_HTML_BROWSER=konqueror
+-	do
+-	  if [ -f "$i/$BROWSER" ] ; then  
+-            GRASS_HTML_BROWSER="$BROWSER"
 -            break
--        elif [ -f "$i/mozilla" ] ; then
--            GRASS_HTML_BROWSER=mozilla
--            break
--        elif [ -f "$i/mozilla-firefox" ] ; then
--            GRASS_HTML_BROWSER=mozilla-firefox
--            break
--        elif [ -f "$i/firefox" ] ; then
--            GRASS_HTML_BROWSER=firefox
--            break
--        elif [ -f "$i/opera" ] ; then
--            GRASS_HTML_BROWSER=opera
--            break
--        elif [ -f "$i/netscape" ] ; then
--            GRASS_HTML_BROWSER=netscape
--            break
--        elif [ -f "$i/dillo" ] ; then
--            GRASS_HTML_BROWSER=dillo
--            break
--        fi
+-	  fi
+-	done
+-	if [ -n "$GRASS_HTML_BROWSER" ] ; then
+-	   break
++	if [ -x /usr/bin/x-www-browser ] ; then
++		GRASS_HTML_BROWSER=x-www-browser
++	else 
++		GRASS_HTML_BROWSER=true
+ 	fi
 -      done
 -    fi
--            
+-   
 -elif [ "$MACOSX" ] ; then
 -    # OSX doesn't execute browsers from the shell PATH - route thru a script
 -    GRASS_HTML_BROWSER_MACOSX="-b $GRASS_HTML_BROWSER"
@@ -73,11 +63,6 @@
 -    echo "WARNING: Searched for a web browser, but none found." 1>&2
 -    # even so we set konqueror to make lib/gis/parser.c happy:
 -    GRASS_HTML_BROWSER=konqueror
-+    	if [ -x /usr/bin/x-www-browser ] ; then
-+    		GRASS_HTML_BROWSER=x-www-browser
-+ 	else 
-+    		GRASS_HTML_BROWSER=true
-+    	fi
  fi
  export GRASS_HTML_BROWSER
  

Modified: packages/grass/branches/6.4/debian/rules
===================================================================
--- packages/grass/branches/6.4/debian/rules	2008-10-30 15:06:36 UTC (rev 1788)
+++ packages/grass/branches/6.4/debian/rules	2008-10-30 15:56:06 UTC (rev 1789)
@@ -9,7 +9,7 @@
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
-BASE_NAME=grass63
+BASE_NAME=grass64
 PKG_NAME=grass-preview
 
 CFLAGS=-Wall -g

Modified: packages/grass/branches/6.4/debian/watch
===================================================================
--- packages/grass/branches/6.4/debian/watch	2008-10-30 15:06:36 UTC (rev 1788)
+++ packages/grass/branches/6.4/debian/watch	2008-10-30 15:56:06 UTC (rev 1789)
@@ -1,2 +1,2 @@
 version=2
-http://grass.itc.it/grass63/source/grass-([\d\.]*).tar.gz debian uupdate
+http://grass.osgeo.org/grass64/source/grass-([\d\.]*).tar.gz debian uupdate




More information about the Pkg-grass-devel mailing list