[GRASS-SVN] r31532 - in grass/trunk: . gem gem/docs/GEM-Manual gem/skeleton general/g.gui gui/wxpython gui/wxpython/docs lib/db lib/gis macosx/app

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 26 12:55:41 EDT 2008


Author: neteler
Date: 2008-05-26 12:55:41 -0400 (Mon, 26 May 2008)
New Revision: 31532

Modified:
   grass/trunk/INSTALL
   grass/trunk/gem/docs/GEM-Manual/GEM-Manual.html
   grass/trunk/gem/main.c
   grass/trunk/gem/skeleton/post
   grass/trunk/gem/skeleton/uninstall
   grass/trunk/general/g.gui/description.html
   grass/trunk/gui/wxpython/docs/wxGUI.html
   grass/trunk/gui/wxpython/gis_set.py
   grass/trunk/lib/db/README
   grass/trunk/lib/gis/gislib.dox
   grass/trunk/lib/gis/unix_socks.c
   grass/trunk/macosx/app/grass.sh.in
Log:
boosted to GRASS 7 for parallel installation

Modified: grass/trunk/INSTALL
===================================================================
--- grass/trunk/INSTALL	2008-05-26 16:45:46 UTC (rev 31531)
+++ grass/trunk/INSTALL	2008-05-26 16:55:41 UTC (rev 31532)
@@ -44,11 +44,11 @@
 
 GRASS source code is currently distributed in 2 forms:
 
-1) Officially released source code (e.g. grass-6.0.0.tar.gz or later)
+1) Officially released source code (e.g. grass-7.0.0.tar.gz or later)
 
   The Full source code version contains all the GRASS source code
   required for compilation. It is distributed as one file (*.tar.gz
-  package) and the version is composed of 3 numbers, e.g. 6.0.0, 6.0.1
+  package) and the version is composed of 3 numbers, e.g. 7.0.0, 7.0.1
   etc.
 
 2) SVN or SVN Snapshots of source code (SVN or SVN snapshot)
@@ -57,7 +57,7 @@
   repository (http://svn.osgeo.org/grass/) or as a snapshot
   (*.tar.gz package) of that SVN repository. The SVN snapshot name
   contains the date when the snapshot was created (checked out from
-  the SVN repository), e.g. grass-6.3.svn_src_snapshot_2008_01_19.tar.gz
+  the SVN repository), e.g. grass-7.0.svn_src_snapshot_2008_10_19.tar.gz
 
 
 (B) COMPILATION
@@ -150,16 +150,16 @@
 
 After compilation, the resulting code is stored in the directory
     ./dist.$ARCH
-and the scripts (grass6, ...) in
+and the scripts (grass70, ...) in
     ./bin.$ARCH
 
 To run GRASS, simply start
-    ./bin.$ARCH/grass6
+    ./bin.$ARCH/grass70
 
 or run
 
     make install
-    grass6
+    grass70
 
 
 (E) INSTALLATION ON MACOSX
@@ -186,7 +186,7 @@
 
 In detail:
 
-    cd /where/your/grass6sourcecode/lives/
+    cd /where/your/grass7sourcecode/lives/
     svn update
     ./configure ...
     make
@@ -207,9 +207,9 @@
     "INST_NOW=y make"
 
 You may want to define an alias for this:
-    alias gmake6='INST_NOW=y make'
+    alias gmake7='INST_NOW=y make'
 Then simply compile/install the current module with
-    gmake6
+    gmake7
 
 Note: If you keep your module source code outside the standard GRASS
 source code directory structure, you will have to change the relative

Modified: grass/trunk/gem/docs/GEM-Manual/GEM-Manual.html
===================================================================
--- grass/trunk/gem/docs/GEM-Manual/GEM-Manual.html	2008-05-26 16:45:46 UTC (rev 31531)
+++ grass/trunk/gem/docs/GEM-Manual/GEM-Manual.html	2008-05-26 16:55:41 UTC (rev 31532)
@@ -51,7 +51,7 @@
 
 <H3>Abstract:</H3>
 <DIV>
-GRASS 6 Extensions Manager (GEM) is a small stand-alone program intended
+GRASS 7 Extensions Manager (GEM) is a small stand-alone program intended
 to make it easy for GRASS GIS users to download, compile and install
 additional GRASS modules. GEM manages source code, scripts and pre-compiled
 binaries in a simple file layout called an <I>extension</I>. Extensions
@@ -62,7 +62,7 @@
 such as tar and gzip. An extension (package) can be created easily
 by copying existing source codes into the right places of a skeleton
 file layout and filling in some information in simple, commented ASCII
-files. Makefiles written for GRASS 6 should work with minimal changes
+files. Makefiles written for GRASS 7 should work with minimal changes
 as GEM uses a simplified version of the orginal GRASS make system.
 
 <P>
@@ -412,7 +412,7 @@
 <!-- MATH
  $\framebox{\parbox[t][1\totalheight]{1\columnwidth}{%
 Note: please make sure that you system-wide linker path includes the
-location of the GRASS dynamic libraries (e.g. \emph{/usr/local/grass-6.1.cvs/libs}).
+location of the GRASS dynamic libraries (e.g. \emph{/usr/local/grass-7.x.cvs/libs}).
 This is usually done by adding an appropriate entry to \emph{/etc/ld.so.conf}
 and running \emph{ldconfig}. You may have to consult your system's
 administrator.%
@@ -1020,8 +1020,8 @@
 
 <P>
 You will find the skeleton package files in the subdirectory <I>$GISBASE/etc/gem/skeleton</I>
-(replace <I>$GISBASE</I> with the path to your GRASS 6.1 install,
-e.g. <I>/usr/local/grass-6.1.cvs</I>).
+(replace <I>$GISBASE</I> with the path to your GRASS 7.1 install,
+e.g. <I>/usr/local/grass-7.x.cvs</I>).
 
 <P>
 Look into the skeleton extension directory and open the ASCII files
@@ -1348,7 +1348,7 @@
 The default configure script, that ships with the skeleton extension
 has all optional dependencies disabled (ca. line 2600 and following
 of the configure script). The check for the proj program and libraries
-(mandatory for GRASS 6.1) has been completely removed. If your extension
+(mandatory for GRASS 7.1) has been completely removed. If your extension
 code calls proj directly, you may want to add this part of the configure
 script back in.
 
@@ -1729,7 +1729,7 @@
 code directory.
 
 <P>
-Use an HTML manual page of an existing GRASS 6.1 module for a template.
+Use an HTML manual page of an existing GRASS 7.1 module for a template.
 
 <P>
 At the top of your description.html file, right after the <TT>&lt;h2&gt;NAME&lt;/h2&gt;</TT>
@@ -1833,7 +1833,7 @@
 or
 
 <P>
-<I>/Applications/Grass/grass61cvs.app/Contents/Resources/grass-6.1.cvs</I>
+<I>/Applications/Grass/grass61cvs.app/Contents/Resources/grass-7.x.cvs</I>
 
 <P>
 if you decided to also install Lorenzo's copy of the CVS version.
@@ -2007,8 +2007,8 @@
 
 <P>
 GEM exports three environment variables that point to the directories
-storing GRASS 6 headers and libs and to the install location (e.g.
-<I>/usr/local/grass-6.2.</I>0):
+storing GRASS 7 headers and libs and to the install location (e.g.
+<I>/usr/local/grass-7.x.</I>0):
 
 <P>
 <TT>GINSTALL_INC</TT>

Modified: grass/trunk/gem/main.c
===================================================================
--- grass/trunk/gem/main.c	2008-05-26 16:45:46 UTC (rev 31531)
+++ grass/trunk/gem/main.c	2008-05-26 16:55:41 UTC (rev 31532)
@@ -398,7 +398,7 @@
 					print_error (ERR_INVOCATION,"missing file or directory name.\n");
 				}			
 			if ( optopt == 'g' ) {
-				print_error (ERR_INVOCATION,"missing path to GRASS 6.\n");
+				print_error (ERR_INVOCATION,"missing path to GRASS 7.\n");
 			}
 			if ( optopt == 'b' ) {
 				print_error (ERR_INVOCATION,"missing name of binary architecture.\n");

Modified: grass/trunk/gem/skeleton/post
===================================================================
--- grass/trunk/gem/skeleton/post	2008-05-26 16:45:46 UTC (rev 31531)
+++ grass/trunk/gem/skeleton/post	2008-05-26 16:55:41 UTC (rev 31532)
@@ -18,7 +18,7 @@
 # GEM_ACTION can be "INSTALL", "QUERY", "DETAILS", "LICENSE", "CLEAN"
 
 # INSTALL_BASE is the path to the GRASS binary files installed on the
-# user's system (e.g. /usr/local/grass-6.x.y).
+# user's system (e.g. /usr/local/grass-7.x.y).
 # For some actions, INSTALL_BASE is not required and will be set to
 # "UNDEFINED".
 

Modified: grass/trunk/gem/skeleton/uninstall
===================================================================
--- grass/trunk/gem/skeleton/uninstall	2008-05-26 16:45:46 UTC (rev 31531)
+++ grass/trunk/gem/skeleton/uninstall	2008-05-26 16:55:41 UTC (rev 31532)
@@ -8,7 +8,7 @@
 
 # UNINSTALL_BASE will be exported by the GRASS extension managing tool
 # it contains the path to the GRASS binary files installed on the
-# user's system (e.g. /usr/local/grass-6.x.y).
+# user's system (e.g. /usr/local/grass-7.x.y).
 # By prefixing every file name with $UNINSTALL_BASE, we make sure
 # that deletions do not occur outside the GRASS installation dir.
 

Modified: grass/trunk/general/g.gui/description.html
===================================================================
--- grass/trunk/general/g.gui/description.html	2008-05-26 16:45:46 UTC (rev 31531)
+++ grass/trunk/general/g.gui/description.html	2008-05-26 16:55:41 UTC (rev 31532)
@@ -28,7 +28,7 @@
 <tt>oldtcltk</tt>, and <tt>wxpython</tt>.
 
 <em>g.gisenv</em> variables are stored in the user's home directory
-in a hidden file called "<TT>.grassrc6</TT>". They are not shell environment
+in a hidden file called "<TT>.grassrc7</TT>". They are not shell environment
 variables and the "rc" file is not a classic UNIX run command file,
 it just contains persistent GRASS variables and is not executed.
 

Modified: grass/trunk/gui/wxpython/docs/wxGUI.html
===================================================================
--- grass/trunk/gui/wxpython/docs/wxGUI.html	2008-05-26 16:45:46 UTC (rev 31531)
+++ grass/trunk/gui/wxpython/docs/wxGUI.html	2008-05-26 16:55:41 UTC (rev 31532)
@@ -7,7 +7,7 @@
     grass -wxpython
 </pre></div>
 
-or define in your <tt>.grassrc6</tt> file 'GRASS_GUI' variable
+or define in your <tt>.grassrc7</tt> file 'GRASS_GUI' variable
 
 <div class="code"><pre>
     GRASS_GUI: wxpython

Modified: grass/trunk/gui/wxpython/gis_set.py
===================================================================
--- grass/trunk/gui/wxpython/gis_set.py	2008-05-26 16:45:46 UTC (rev 31531)
+++ grass/trunk/gui/wxpython/gis_set.py	2008-05-26 16:55:41 UTC (rev 31532)
@@ -357,7 +357,7 @@
 
     def _read_grassrc(self):
         """
-        Read variables from $HOME/.grassrc6 file
+        Read variables from $HOME/.grassrc7 file
         """
 
         grassrc = {}

Modified: grass/trunk/lib/db/README
===================================================================
--- grass/trunk/lib/db/README	2008-05-26 16:45:46 UTC (rev 31531)
+++ grass/trunk/lib/db/README	2008-05-26 16:55:41 UTC (rev 31532)
@@ -26,7 +26,7 @@
 DBMI Library
 
 Original author: Joel Jones (jjones * zorro.cecer.army.mil | jjones * uiuc.edu )
-            Ref: http://grass.itc.it/pipermail/grass-dev/1995-February/002006.html
+            Ref: http://lists.osgeo.org/pipermail/grass-dev/1995-February/002015.html
 
 Directory contents:
 
@@ -45,7 +45,7 @@
 ../../db/base/
 
 NOTE:
- Please read grass6/db/drivers/README
+ Please read db/drivers/README
 
 To generate dbmi_driver/dbstubs.h automatically, run './mk_dbstubs_h.sh' in
 dbmi_driver/ directory.

Modified: grass/trunk/lib/gis/gislib.dox
===================================================================
--- grass/trunk/lib/gis/gislib.dox	2008-05-26 16:45:46 UTC (rev 31531)
+++ grass/trunk/lib/gis/gislib.dox	2008-05-26 16:55:41 UTC (rev 31532)
@@ -1509,7 +1509,7 @@
 \section Vector_File_Processing GRASS Vector File Processing
 
  Please refer to GRASS Vector File Processing in Chapter \ref gisvectintro .
- Note, that the old "sites" are stored as vector points in GRASS 6.
+ Note, that the old "sites" are stored as vector points since GRASS 6.
 
 \section General_Plotting_Routines General Plotting Routines
 
@@ -2135,18 +2135,18 @@
 make install
 \endverbatim
 
-Then the code will be compiled into "/usr/local/grass-6.x.y" directory. The start
-script "grass6x" will be placed into "/usr/local/bin/".\\
+Then the code will be compiled into "/usr/local/grass-7.x.y" directory. The start
+script "grass7x" will be placed into "/usr/local/bin/".\\
 
 Optionally other target directories can be specified while "configuring":
 
 \verbatim
-./configure --prefix=/opt/grass-6.x.y --with-bindir=/usr/bin
+./configure --prefix=/opt/grass-7.x.y --with-bindir=/usr/bin
 make
 make install
 \endverbatim
 
-This will store the GRASS binaries into the directory "/opt/grass-6.x.y" and
+This will store the GRASS binaries into the directory "/opt/grass-7.x.y" and
 the  script mentioned above into "/usr/bin".
 
 The script "make" is required to compile single modules. The

Modified: grass/trunk/lib/gis/unix_socks.c
===================================================================
--- grass/trunk/lib/gis/unix_socks.c	2008-05-26 16:45:46 UTC (rev 31531)
+++ grass/trunk/lib/gis/unix_socks.c	2008-05-26 16:55:41 UTC (rev 31532)
@@ -75,7 +75,7 @@
  * _get_make_sock_path(), builds and tests the path for the socket
  * directory.  Returns NULL on any failure, otherwise it returns the
  * directory path. The path will be like 
- * "/tmp/grass6-$USER-$GIS_LOCK".
+ * "/tmp/grass7-$USER-$GIS_LOCK".
  * ($GIS_LOCK is set in lib/init/init.sh to PID) 
  * ---------------------------------------------------------------------*/
 
@@ -83,7 +83,7 @@
 _get_make_sock_path (void)
 {
     char *path, *user, *lock;
-    const char *prefix = "/tmp/grass6";
+    const char *prefix = "/tmp/grass7";
     int len, status;
     struct stat theStat;
     

Modified: grass/trunk/macosx/app/grass.sh.in
===================================================================
--- grass/trunk/macosx/app/grass.sh.in	2008-05-26 16:45:46 UTC (rev 31531)
+++ grass/trunk/macosx/app/grass.sh.in	2008-05-26 16:55:41 UTC (rev 31532)
@@ -140,7 +140,7 @@
 
 # if gisrc has text startup, switch back to Terminal (gotta duplicate some init.sh stuff)
 # eventually, when TclTk optional, can run appropriate apps per GUI here (ie X11)
-GISRCRC="$HOME/.grassrc6"
+GISRCRC="$HOME/.grassrc7"
 if [ ! "$GRASS_GUI" ] ; then
 	if [ -f "$GISRCRC" ] ; then
 		GRASS_GUI=`awk '/GRASS_GUI/ {print $2}' "$GISRCRC"`



More information about the grass-commit mailing list