[GRASS5] New OS X versions ready - proposals

Lorenzo Moretti lorenzo.moretti at bologna.enea.it
Mon Feb 7 09:31:31 EST 2005


It's ready last GRASS GIS COMPLETE and GRASS GIS CVS for Mac OS X.

GRASS GIS COMPLETE (108 MB) at 
http://wwwamb.bologna.enea.it/forgrass/download.htm requires:
Mac OS X 10.2.8 or higher, Apple X11 and includes:
one single installer for libraries (Grass_Lib_050202.pkg): the 
libraries for Grass are installed in /usr/local/grasslib folder;
Grass folder (drag this folder in Applications folder): into this 
folder there is grass54 app (grass 5.4.0) and grass60 app (grass 
6.0.0beta1), DOC folder and LINKS folder;
grassdata folder with demo data (drag this folder anywhere);
useful links for Apple X11 for 10.2 or 10.3 (if you have not installed X11).

GRASS GIS CVS (12.5 MB) at 
http://wwwamb.bologna.enea.it/forgrass/downloadcvs.htm requires:
GRASS GIS COMPLETE and includes:
one single app, grass60cvs (050205): drag this app inside 
/Applications/Grass folder.

Features:
- Grass Libraries are all inside /usr/local/grasslib folder. Nothing 
is outside. Nothing wish link in /usr/bin: I've modified 
GRASS_WISH=/usr/local/grasslib/bin/wish in etc/Init.sh file;
- many libraries updated with last version;
- Multisessions: you can open more locations with a double clic on 
grass60 app every time;
- I've used this flag for C compiler "-O3 -D_FILE_OFFSET_BITS=64" for 
file larger than 2 GB;
- GDAL 1.2.5 has GRASS support;
- Grass is stable in OS X (I hope).

The next revision for GG Complete is for 6.0.0 official. Until that 
date you can download GG CVS.



PROPOSALS

- 1 -

Now Grass 6.0 is multisessions and this feature is important to open 
more LOCATION(s) but now you have more windows with the same name.

I've made these changes useful for all (this is in CVS version but is 
the same in beta version):
in etc/Init.sh
row 621
-   echo "GRASS 6.0.cvs > '" >> "$cshrc"
+   echo "GRASS 6.0.cvs - $LOCATION_NAME > '" >> "$cshrc"

row 663
-   echo "PS1='GRASS 6.0.cvs:\w > '" >> "$bashrc"
+   echo "PS1='GRASS 6.0.cvs:\w - $LOCATION_NAME > '" >> "$bashrc"


in etc/dm/d.m.tcl
row 205
proc Dm::_create_intro { } {
     global dmpath
     global GRASSVERSION
+   global location_name
     variable max_prgindic

     set top [toplevel .intro -relief raised -borderwidth 2]

     wm withdraw $top
     wm overrideredirect $top 1

     set ximg  [label $top.x -image [image create photo -file 
"$dmpath/intro.gif"] ]

     set frame [frame $ximg.f -background white]
-    set lab1  [label $frame.lab1 -text "GRASS $GRASSVERSION GIS Manager" \
+    set lab1  [label $frame.lab1 -text "GRASS $GRASSVERSION GIS 
Manager - $location_name" \

row 846
proc main {argc argv} {
     global auto_path
     global GRASSVERSION
+   global location_name

     wm withdraw .
-   wm title . [G_msg "GRASS $GRASSVERSION GIS Manager"]
+   wm title . [G_msg "GRASS $GRASSVERSION GIS Manager - $location_name"]

These changes modify the name of prompt in terminal and the GIS 
Manager window name. For better integration is need to modify another 
part:
- x0, x1, etc.. Monitor window name (in 
display/drivers/XDRIVER/XDRIVER24/Graph_Set.c);
(the xterm window name is impossible to modify, I think)

and add the location name.



- 2 -

GIS Manager is very useful and it's powerful. One very useful adding is:
- DUPLICATE button
Now there is a delete button but it's useful select the row in GIS 
Manager and duplicate this row for modifying.



Hi all

----------------------------------------
Only for Mac users:
HELP FROM MAC DEVELOPERS.

Now GDAL has many formats but it lacks:
- OGDI
- MrSID
- ECW

My problem is 10.2.x compatibility. 10.3.x is much powerful but I 
prefer much more compatibility. ECW format is out now in source code 
but it lacks darwin flags.

Who can help me?


-- 
________________________________________________________________________
||      Lorenzo Moretti        e-mail: lorenzo.moretti at bologna.enea.it     
||/|/|  ENEA prot/idr          Web: http://wwwamb.bologna.enea.it/    
||   |  via Don Fiammelli, 2   FTP: ftp://ftpamb.bologna.enea.it/ (res.)
~~~~~~  40128 BOLOGNA - ITALY  Ph: +39-0516098086  Fax: +39-0516098131
			Download GRASS for MAC OS X:    
	           http://wwwamb.bologna.enea.it/forgrass/
________________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20050207/2f82b5fa/attachment.html


More information about the grass-dev mailing list