[GRASS-SVN] r31174 - in grass/branches/develbranch_6: . win32 win32/Extras

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 29 15:19:15 EDT 2008


Author: neteler
Date: 2008-04-29 15:19:15 -0400 (Tue, 29 Apr 2008)
New Revision: 31174

Added:
   grass/branches/develbranch_6/win32/
   grass/branches/develbranch_6/win32/Extras/
   grass/branches/develbranch_6/win32/Extras/GPL.TXT
   grass/branches/develbranch_6/win32/Extras/GRASS-WebSite.url
   grass/branches/develbranch_6/win32/Extras/InstallHeaderImage.bmp
   grass/branches/develbranch_6/win32/Extras/README.html
   grass/branches/develbranch_6/win32/Extras/UnInstallHeaderImage.bmp
   grass/branches/develbranch_6/win32/Extras/UnWelcomeFinishPage.bmp
   grass/branches/develbranch_6/win32/Extras/WelcomeFinishPage.bmp
   grass/branches/develbranch_6/win32/Extras/grass.ico
   grass/branches/develbranch_6/win32/Extras/grass_web.ico
   grass/branches/develbranch_6/win32/Extras/install_grass.ico
   grass/branches/develbranch_6/win32/Extras/uninstall_grass.ico
   grass/branches/develbranch_6/win32/GRASS-Installer.nsi
   grass/branches/develbranch_6/win32/GRASS-Packager.bat
   grass/branches/develbranch_6/win32/README.html
Log:
added native winGRASS packager utils from Marco Pasetti

Added: grass/branches/develbranch_6/win32/Extras/GPL.TXT
===================================================================
--- grass/branches/develbranch_6/win32/Extras/GPL.TXT	                        (rev 0)
+++ grass/branches/develbranch_6/win32/Extras/GPL.TXT	2008-04-29 19:19:15 UTC (rev 31174)
@@ -0,0 +1,339 @@
+		    GNU GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+	    How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    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 Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program 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 program; if not, write to the Free Software Foundation, Inc.,
+    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) year name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.

Added: grass/branches/develbranch_6/win32/Extras/GRASS-WebSite.url
===================================================================
--- grass/branches/develbranch_6/win32/Extras/GRASS-WebSite.url	                        (rev 0)
+++ grass/branches/develbranch_6/win32/Extras/GRASS-WebSite.url	2008-04-29 19:19:15 UTC (rev 31174)
@@ -0,0 +1,5 @@
+[InternetShortcut]
+URL=http://grass.osgeo.org/
+IDList=
+[{000214A0-0000-0000-C000-000000000046}]
+Prop3=19,2

Added: grass/branches/develbranch_6/win32/Extras/InstallHeaderImage.bmp
===================================================================
(Binary files differ)


Property changes on: grass/branches/develbranch_6/win32/Extras/InstallHeaderImage.bmp
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: grass/branches/develbranch_6/win32/Extras/README.html
===================================================================
--- grass/branches/develbranch_6/win32/Extras/README.html	                        (rev 0)
+++ grass/branches/develbranch_6/win32/Extras/README.html	2008-04-29 19:19:15 UTC (rev 31174)
@@ -0,0 +1,502 @@
+<html>
+
+<head>
+
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<meta http-equiv="Content-Language" content="en" />
+<meta name="Author" content="Marco Pasetti" />
+<meta name="Description" content="WinGRASS 6.3.0 README" />
+
+<title>WinGRASS 6.3.0 README</title>
+
+<style type="text/css" />
+
+/* Wiki Pages Styles */
+
+/* TableOfContents */
+
+.table-of-contents	{ 
+					border: 1px solid #bbbbbb;
+					color: black; background-color: #eeeeee;
+					font-size: small;
+					text-align:left;
+					margin: 0.5em; padding-left: 1em;
+					width: 360;
+					}
+
+/* Contents */
+
+html	{
+		background-color: white;
+		color: black;
+		font-family: Arial, Lucida Grande, sans-serif;
+		font-size: 10pt;
+		}
+		
+body	{
+		margin: 30;
+		}
+		
+ol	{
+	font-family: Arial, Lucida Grande, sans-serif;
+	font-size: 10pt;
+	margin-top: 0;
+	margin-bottom: 0;
+	margin-left: 0;
+	}
+
+h1	{
+	font-family: Arial, Lucida Grande, sans-serif;
+	font-size: 18pt;
+	margin-top: 0;
+	margin-bottom: 50;
+	}
+
+h2	{
+	font-family: Arial, Lucida Grande, sans-serif;
+	font-size: 16pt;
+	margin-top: 60;
+	margin-bottom: 20;
+	}
+	
+h3	{
+	font-family: Arial, Lucida Grande, sans-serif;
+	font-size: 14pt;
+	margin-top: 60;
+	margin-bottom: 20;
+	}
+
+h4	{
+	font-family: Arial, Lucida Grande, sans-serif;
+	font-size: 11pt;
+	margin-top: 0;
+	margin-bottom: 0;
+	}
+
+p	{
+	font-family: Arial, Lucida Grande, sans-serif;
+	font-size: 10pt;
+	margin-top: 10;
+	margin-bottom: 10;
+	}
+
+code	{
+		font-family: Courier-new, monospace;
+		font-size: 10pt;
+		margin-top: 10;
+		margin-bottom: 10;
+		}
+		
+pre	{
+	padding: 1em;
+	border: 1px dashed #2f6fab;
+	color: black;
+	background-color: #f9f9f9;
+	line-height: 1.1em;
+	}
+	
+	
+/* Tables */
+
+table
+{
+	margin: 0.5em 0 0 0.5em;
+	border-collapse: collapse;
+}
+
+td
+{
+	padding: 0.25em 0.5em 0.25em 0.5em;
+	border: 0pt solid #ADB9CC;
+	font-family: Arial, Lucida Grande, sans-serif;
+	font-size: 10pt;
+}
+		
+
+/* Links */
+
+a	{
+	text-decoration: none;
+	color: #002bb8;
+	background: none;
+	}
+	
+a:hover {
+		text-decoration: underline;
+		color: green;
+		}
+	
+a:visited:hover	{
+				text-decoration: underline;
+				color: red;
+				}
+</style>
+
+</head>
+
+<body>
+
+<h1>WinGRASS 6.3.0 - GRASS Windows-Native Experimental Project</h1>
+
+<div class="table-of-contents">
+
+<p><strong>Table of Contents</strong></p>
+
+<li><a href="#Introduction">Introduction</a></li>
+<li><a href="#Release Notes">Release Notes</a></li>
+<li><a href="#Install GRASS">Install GRASS</a></li>
+<li><a href="#Sample Data">Sample Data</a></li>
+<li><a href="#Launching GRASS">Launching GRASS</a></li>
+<li><a href="#New GRASS Python GUI">New GRASS Python GUI</a></li>
+<li><a href="#Missing Modules">Missing Modules</a></li>
+<li><a href="#Known Issues">Known Issues</a></li>
+<li><a href="#How to Submit Bugs">How to Submit Bugs</a></li>
+<li><a href="#Build GRASS From Source">Build GRASS From Source</a></li>
+<li><a href="#GRASS Development Team">GRASS Development Team</a></li>
+<li><a href="#Credits and Contacts">Credits and Contacts</a></li>
+
+<br>
+
+</div>
+
+
+
+<div id="Introduction">
+
+<p><h3>Introduction</h3></p>
+
+
+<p>GRASS (Geographic Resources Analysis Support System) is a free, open source Geographical Information System (GIS)
+capable of handling raster, topological vector, image processing, and graphic data.</p>
+
+<p>GRASS is released under the GNU General Public License (GPL).</p>
+
+<p>Visit the GRASS GIS main web site at <a target="_blank" href="http://grass.osgeo.org/">http://grass.osgeo.org/</a></p>
+
+</div>
+
+
+<div id="Release Notes">
+
+<p><h3>Release Notes</h3></p>
+
+<p>WinGRASS is a GRASS Development Team project, with the goal of creating a Microsoft Windows native binary port of GRASS.</p>
+
+<p>WinGRASS is an experimental project, still at an alpha stage, and it can't be considered a complete and fully
+working release of GRASS for Windows. Some features are missing (see <a href="#Missing Modules">Missing Modules</a> section
+in this document), some known bugs still need to be fixed (see <a href="#Known Issues">Known Issues</a> section) and other
+features may not work.</p>
+
+<p>If you need a robust, bug-free release of GRASS on Windows you should install the Cygwin version of
+GRASS 6.3.0, available at <a target="_blank" href="http://grass.osgeo.org/grass63/binary/mswindows/cygwin/">
+http://grass.osgeo.org/grass63/binary/mswindows/cygwin/</a>.<p>
+
+<p>See also <a target="_blank" href="http://grass.osgeo.org/wiki/WinGRASS_Current_Status">
+http://grass.osgeo.org/wiki/WinGRASS_Current_Status</a>.</p>
+
+<p>The current release of WinGRASS, based on GRASS 6.3.0, has been built on a i686 machine in the MinGW environment
+and contains parts of the following open source softwares and libraries:</p>
+
+<p>Software/Library (Release):</p>
+
+<p>
+<li>MSYS (1.0.11)</li>
+<li>Flex (2.5.4a-1)</li>
+<li>Bison (2.1)</li>
+<li>Zlib (1.2.3)</li>
+<li>Libpng (1.2.24)</li>
+<li>Libtiff (3.8.2)</li>
+<li>Freetype (2.3.5)</li>
+<li>FFTW (3.1.2)</li>
+<li>PDCurses (3.3)</li>
+<li>PROJ.4 (4.6.0)</li>
+<li>GEOS (2.2.3)</li>
+<li>GSL (1.9)</li>
+<li>Expat (2.0.1)</li>
+<li>PostgreSQL (8.2.6)</li>
+<li>SQLite (3.5.6)</li>
+<li>GDAL (1.5.1) *</li>
+<li>Tcl/Tk (8.5.1)</li>
+</p>
+
+<p>* with GEOS, Expat, PostgreSQL and SQLite support enabled</p>
+
+<p>The current package contains a complete build (libraries and executables) of all the items listed above, except for PostgreSQL,
+for which the package provides only the main dynamic library.</p>
+
+<p> All the above softwares and libraries have been built from sources on a i686 machine in the MinGW environment,
+with the exception of MSYS, provided by MinGW Project on SourceForge.NET
+(<a target="_blank" href="http://www.mingw.org/msys.shtml">http://www.mingw.org/msys.shtml</a>),
+Flex and Bison, provided by GnuWin32 Project on SourceForge.NET
+(<a target="_blank" href="http://gnuwin32.sourceforge.net/">http://gnuwin32.sourceforge.net/</a>).</p>
+
+<p>The current release of GRASS 6.3.0 has been built with the following configuration:</p>
+
+<pre><code>GRASS is now configured for:  i686-pc-mingw32
+
+ Source directory:            /usr/local/src/grass-6.3.0
+ Build directory:             /usr/local/src/grass-6.3.0
+ Installation directory:      ${prefix}/grass-6.3.0
+ Startup script in directory: ${exec_prefix}/bin
+ C compiler:                  gcc -g -O2 
+ C++ compiler:                c++ -g -O2
+ Building shared libraries:   yes
+ 64bit support:               no
+ OpenGL platform:             Windows
+
+  NVIZ:                       yes
+
+  BLAS support:               no
+  C++ support:                yes
+  DWG support:                no
+  FFMPEG support:             no
+  FFTW support:               yes
+  FreeType support:           yes
+  GDAL support:               yes
+  GLw support:                no
+  JPEG support:               no
+  LAPACK support:             no
+  Large File Support (LFS):   yes
+  Motif support:              no
+  MySQL support:              no
+  NLS support:                no
+  ODBC support:               no
+  OGR support:                yes
+  OpenGL support:             yes
+  PNG support:                yes
+  PostgreSQL support:         yes
+  Python support:             no
+  Readline support:           no
+  SQLite support:             yes
+  Tcl/Tk support:             yes
+  wxWidgets support:          no
+  TIFF support:               yes
+  X11 support:                no
+  MacOSX application:         no</code></pre>
+
+</div>
+
+
+
+<div id="Install GRASS">
+
+<p><h3>Install GRASS</h3></p>
+
+<p>If you had already installed a previous release of WinGRASS (6.3.0RC5 or 6.3.0RC6), please uninstall it before to install the
+current WinGRASS release. Open the Add/Remove Programs application from the Windows Control Panel, select GRASS and remove it.</p>
+
+<p>Please, note that the uninstall procedure will erase the whole GRASS install direcory. Because of that we strongly
+recommend you to backup all your personal data stored in it before to uninstall GRASS.</p>
+
+<p>To install GRASS launch WinGRASS-6.3.0-Setup.exe and follow the instructions in it.</p>
+
+<p>If installed into a directory that has spaces in either its name or the path of directories leading up to it,
+some functionalities of GRASS might be hampered. We would highly appreciate if you tried and reported any problems,
+so that we can fix them. However, if you want to avoid any such issues, we recommend that you choose a simple
+installation path without spaces, such as <code>C:\GRASS</code>.</p>
+
+<p>The WinGRASS Installer has been made using the OpenSource NSIS (Nullsoft Scriptable Install System) software, available at:
+<a target="_blank" href="http://nsis.sourceforge.net">http://nsis.sourceforge.net</a></p>
+
+</div>
+
+
+
+<div id="Sample Data">
+
+<p><h3>Sample Data</h3></p>
+
+<p>As install option, you can also download and install the following GRASS sample data sets:</p>
+
+<table><tr>
+<td width="120" align="left" valign="top"><p><h4>North Carolina Data Set</h4></p></td>
+<td align="left">
+<p>Used as sample data in the book "Open Source GIS: A GRASS GIS Approach", 3rd edition, this data set is a comprehensive
+collection of raster, vector and imagery data covering parts of North Carolina (NC), USA (map), prepared from public data
+sources provided by the North Carolina state and local government agencies and Global Land Cover Facility (GLCF).</p>
+<p>See also <a target="_blank" href="http://www.grassbook.org/data_menu3rd.php">http://www.grassbook.org/data_menu3rd.php</a></p>
+</td>
+</tr></table>
+
+<table><tr>
+<td width="120" align="left" valign="top"><p><h4>South Dakota Data Set</h4></p></td>
+<td align="left">
+<p>Also known as Spearfish data set, it contains raster, vector and point data of South Dakota, USA
+(UTM projection, Clarke66 ellipsoid, NAD27 conus)</p>
+<p>See also <a target="_blank" href="http://grass.osgeo.org/download/data6.php">http://grass.osgeo.org/download/data6.php</a></p>
+</td>
+</tr></table>
+
+<p>The sample data files will be installed into a directory called GIS DataBase, that will be created in your Documents folder.</p>
+
+</div>
+
+
+
+<div id="Launching GRASS">
+
+<p><h3>Launching GRASS</h3></p>
+
+<p>You have three options for launching GRASS:</p>
+
+<p>The easiest is to click on the GRASS icon in the GRASS Start menu folder or on the Desktop.</p>
+
+<p>If you prefer working in text mode on the command line, you can also launch cmd.exe (Start Menu -> Run command ->
+type <code>cmd.exe</code> and click on Run) and type <code>c:\PathToYourGrassInstallation\grass63.bat -text</code> plus enter.
+If you want to launch the GUI, just type <code>gis.m</code> and then enter.</p>
+
+<p>Finally, if you want to work in a unix/linux-like shell environment, you can launch GRASS from MSYS shell: open MSYS
+from the GRASS Start menu folder, type <code>grass63</code> and then enter.</p>
+
+</div>
+
+
+
+<div id="New GRASS Python GUI">
+
+<p><h3>New GRASS Python GUI</h3></p>
+
+<p>We would highly appreciate if you also tested the new GRASS Python GUI.</p>
+
+<p>To do that you'll need to install the following additional third-party software components:</p>
+
+<table><tr>
+<td width="100" align="left" valign="top"><p><h4>Python</h4></p></td>
+<td align="left">
+<p>Download the <a target="_blank" href="http://www.python.org/ftp/python/2.5.2/python-2.5.2.msi">Python installer</a></p>
+<p>Install to <code>%PROGRAMFILES%\Python</code></p>
+<p>Add <code>%PROGRAMFILES%\Python</code> to your <code>PATH</code> system variable.</p>
+</td>
+</tr></table>
+
+<table><tr>
+<td width="100" align="left" valign="top"><p><h4>Python Extensions</h4></p></td>
+<td align="left">
+<p>Download the <a target="_blank" href="http://downloads.sourceforge.net/pywin32/pywin32-210.win32-py2.5.exe">
+Python Extensions installer</a></p>
+<p>Just launch the installer, it will automatically set the correct install path.</p>
+</td>
+</tr></table>
+
+<table><tr>
+<td width="100" align="left" valign="top"><p><h4>wxPython</h4></p></td>
+<td align="left">
+<p>Download the <a target="_blank" href="http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-unicode-2.8.7.1-py25.exe">
+wxPython installer</a></p>
+<p>Install to <code>%PROGRAMFILES%\Python\Lib\site-packages</code></p>
+</td>
+</tr></table>
+
+<table><tr>
+<td width="100" align="left" valign="top"><p><h4>NumPy</h4></p></td>
+<td align="left">
+<p>Download <a target="_blank" href="http://downloads.sourceforge.net/numpy/numpy-1.0.4.win32-py2.5.msi">
+NumPy installer</a></p>
+<p>Install to <code>%PROGRAMFILES%\Python</code></p>
+</td>
+</tr></table>
+ 
+<p>Finally, to start GRASS with the new Python GUI, open a MSYS shell, type <code>grass63 -wxpython</code> and then enter.</p>
+
+<p>Please, note that the new GRASS Python GUI is still at a highly experimental stage, and that the
+vector digitizer is disabled in it.</p>
+
+<p>See also <a target="_blank" href="http://grass.osgeo.org/wiki/WxPython-based_GUI_for_GRASS">
+http://grass.osgeo.org/wiki/WxPython-based_GUI_for_GRASS</a></p>
+
+</div>
+
+
+
+<div id="Missing Modules">
+
+<p><h3>Missing Modules</h3></p>
+
+<p>The following modules are missing in the current WinGRASS release:</p>
+
+<li>r.li.daemon</li>
+<li>r.li.edgedensity</li>
+<li>r.li.patchdensity</li>
+<li>r.li.patchnum</li>
+<li>r.li.shape</li>
+<li>r.li.simpson</li>
+<li>r.li.shannon</li>
+<li>r.li.mps</li>
+<li>r.li.mpa</li>
+<li>r.li.padcv</li>
+<li>r.li.padsd</li>
+<li>r.li.padrange</li>
+<li>r.li.cwed</li>
+<li>r.li.richness</li>
+<li>r.li.dominance</li>
+
+</div>
+
+
+
+<div id="Known Issues">
+
+<p><h3>Known Issues</h3></p>
+
+<p>See <a target="_blank" href="http://grass.osgeo.org/wiki/WinGRASS_Current_Status#Known_Issues">
+http://grass.osgeo.org/wiki/WinGRASS_Current_Status#Known_Issues</a></p>
+
+</div>
+
+
+
+<div id="How to Submit Bugs">
+
+<p><h3>How to Submit Bugs</h3></p>
+
+<p>We would highly appreciate if you contributed to WinGRASS project by submitting bugs to
+<a target="_blank" href="http://trac.osgeo.org/grass/">http://trac.osgeo.org/grass/</a> or informing us about them through the
+Windows GRASS Mailing List (<a target="_blank"
+href="http://lists.osgeo.org/mailman/listinfo/grass-windows">http://lists.osgeo.org/mailman/listinfo/grass-windows</a>).</p>
+
+</div>
+
+
+
+<div id="Build GRASS From Source">
+
+<p><h3>Build GRASS From Source</h3></p>
+
+<p>Information on how to build GRASS from source code on Windows in a MinGW environment are available at
+<a target="_blank" href="http://trac.osgeo.org/grass/wiki/BuildingOnWindows">http://trac.osgeo.org/grass/wiki/BuildingOnWindows</a></p>
+
+</div>
+
+
+
+<div id="GRASS Development Team">
+
+<p><h3>GRASS Development Team</h3></p>
+
+<p>The GRASS Development Team is a multi-national group consisting of scientists and developers participating from various fields.</p>
+
+<p>For more information, see <a target="_blank" href="http://grass.osgeo.org/community/team.php">
+http://grass.osgeo.org/community/team.php</a></p>
+
+</div>
+
+
+
+<div id="Credits and Contacts">
+
+<p><h3>Credits and Contacts</h3></p>
+
+<p>WinGRASS project has been created and is currently developed by the GRASS Development Team.</p>
+
+<p>The WinGRASS self-contained binary package (including all the builds and the installer script) is provided by Marco Pasetti.</p>
+
+<p>This document has been written by Marco Pasetti, in agreement with the GRASS Development Team.</p>
+
+<p>To contact them, e-mail to: GRASS Development Mailing List
+(<a target="_blank" href="http://lists.osgeo.org/mailman/listinfo/grass-dev">http://lists.osgeo.org/mailman/listinfo/grass-dev</a>).</p>
+
+</div>
+
+</body>
+
+</html>

Added: grass/branches/develbranch_6/win32/Extras/UnInstallHeaderImage.bmp
===================================================================
(Binary files differ)


Property changes on: grass/branches/develbranch_6/win32/Extras/UnInstallHeaderImage.bmp
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: grass/branches/develbranch_6/win32/Extras/UnWelcomeFinishPage.bmp
===================================================================
(Binary files differ)


Property changes on: grass/branches/develbranch_6/win32/Extras/UnWelcomeFinishPage.bmp
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: grass/branches/develbranch_6/win32/Extras/WelcomeFinishPage.bmp
===================================================================
(Binary files differ)


Property changes on: grass/branches/develbranch_6/win32/Extras/WelcomeFinishPage.bmp
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: grass/branches/develbranch_6/win32/Extras/grass.ico
===================================================================
(Binary files differ)


Property changes on: grass/branches/develbranch_6/win32/Extras/grass.ico
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: grass/branches/develbranch_6/win32/Extras/grass_web.ico
===================================================================
(Binary files differ)


Property changes on: grass/branches/develbranch_6/win32/Extras/grass_web.ico
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: grass/branches/develbranch_6/win32/Extras/install_grass.ico
===================================================================
(Binary files differ)


Property changes on: grass/branches/develbranch_6/win32/Extras/install_grass.ico
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: grass/branches/develbranch_6/win32/Extras/uninstall_grass.ico
===================================================================
(Binary files differ)


Property changes on: grass/branches/develbranch_6/win32/Extras/uninstall_grass.ico
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: grass/branches/develbranch_6/win32/GRASS-Installer.nsi
===================================================================
--- grass/branches/develbranch_6/win32/GRASS-Installer.nsi	                        (rev 0)
+++ grass/branches/develbranch_6/win32/GRASS-Installer.nsi	2008-04-29 19:19:15 UTC (rev 31174)
@@ -0,0 +1,532 @@
+;----------------------------------------------------------------------------------------------------------------------------
+
+;GRASS Installer for Windows
+;Written by Marco Pasetti
+
+;----------------------------------------------------------------------------------------------------------------------------
+
+;Script and frequently changed version veriables
+
+;Select if you are building a "SVN Trunk Version" or a "Release Tarball Version" of GRASS
+;Change INSTALLER_TYPE variable to Trunk or Release
+
+;Modify SVN_REVISION if needed
+
+!define INSTALLER_TYPE "Release"
+!define SVN_REVISION "31095"
+
+;----------------------------------------------------------------------------------------------------------------------------
+
+;Version variables that may need to be modified
+
+!define VERSION_NUMBER "6.3.0"
+
+;----------------------------------------------------------------------------------------------------------------------------
+
+;Version variables
+;Don't modify the following variables
+
+!define NAME "GRASS"
+!define COMPLETE_NAME "${NAME} ${VERSION_NUMBER}"
+!define PUBLISHER "GRASS Development Team"
+!define WEB_SITE "http://grass.osgeo.org/"
+!define WIKI_PAGE "http://grass.osgeo.org/wiki/Main_Page"
+
+;----------------------------------------------------------------------------------------------------------------------------
+
+!if ${INSTALLER_TYPE} == "Trunk"
+	!define INSTALLER_NAME "WinGRASS-Trunk-r${SVN_REVISION}-Setup.exe"
+	!define DISPLAYED_NAME "${NAME} Trunk Revision ${SVN_REVISION}"
+	!define PACKAGE_FOLDER ".\GRASS-Trunk-Package"
+!else
+	!define INSTALLER_NAME "Win${NAME}-${VERSION_NUMBER}-Setup.exe"
+	!define DISPLAYED_NAME "${COMPLETE_NAME}"
+	!define PACKAGE_FOLDER ".\GRASS-Release-Package"
+!endif
+
+;----------------------------------------------------------------------------------------------------------------------------
+
+;General Definitions
+
+;Name of the application shown during install
+Name "${DISPLAYED_NAME}"
+
+;Name of the output file (installer executable)
+OutFile "${INSTALLER_NAME}"
+
+;Default installation folder
+InstallDir "C:\GRASS"
+
+;Request application privileges for Windows Vista
+RequestExecutionLevel user
+
+;Tell the installer to show Install and Uninstall details as default
+ShowInstDetails show
+ShowUnInstDetails show
+
+;----------------------------------------------------------------------------------------------------------------------------
+
+;NSIS Includes
+
+;Include Modern UI
+!include "MUI2.nsh"
+
+;Include Logic Library
+!include 'LogicLib.nsh'
+
+;----------------------------------------------------------------------------------------------------------------------------
+
+;StrReplace
+;Replaces all ocurrences of a given needle within a haystack with another string
+;Written by dandaman32
+ 
+Var STR_REPLACE_VAR_0
+Var STR_REPLACE_VAR_1
+Var STR_REPLACE_VAR_2
+Var STR_REPLACE_VAR_3
+Var STR_REPLACE_VAR_4
+Var STR_REPLACE_VAR_5
+Var STR_REPLACE_VAR_6
+Var STR_REPLACE_VAR_7
+Var STR_REPLACE_VAR_8
+ 
+Function StrReplace
+	Exch $STR_REPLACE_VAR_2
+	Exch 1
+	Exch $STR_REPLACE_VAR_1
+	Exch 2
+	Exch $STR_REPLACE_VAR_0
+		StrCpy $STR_REPLACE_VAR_3 -1
+		StrLen $STR_REPLACE_VAR_4 $STR_REPLACE_VAR_1
+		StrLen $STR_REPLACE_VAR_6 $STR_REPLACE_VAR_0
+		loop:
+			IntOp $STR_REPLACE_VAR_3 $STR_REPLACE_VAR_3 + 1
+			StrCpy $STR_REPLACE_VAR_5 $STR_REPLACE_VAR_0 $STR_REPLACE_VAR_4 $STR_REPLACE_VAR_3
+			StrCmp $STR_REPLACE_VAR_5 $STR_REPLACE_VAR_1 found
+			StrCmp $STR_REPLACE_VAR_3 $STR_REPLACE_VAR_6 done
+			Goto loop
+		found:
+			StrCpy $STR_REPLACE_VAR_5 $STR_REPLACE_VAR_0 $STR_REPLACE_VAR_3
+			IntOp $STR_REPLACE_VAR_8 $STR_REPLACE_VAR_3 + $STR_REPLACE_VAR_4
+			StrCpy $STR_REPLACE_VAR_7 $STR_REPLACE_VAR_0 "" $STR_REPLACE_VAR_8
+			StrCpy $STR_REPLACE_VAR_0 $STR_REPLACE_VAR_5$STR_REPLACE_VAR_2$STR_REPLACE_VAR_7
+			StrLen $STR_REPLACE_VAR_6 $STR_REPLACE_VAR_0
+			Goto loop
+		done:
+	Pop $STR_REPLACE_VAR_1 ; Prevent "invalid opcode" errors and keep the
+	Pop $STR_REPLACE_VAR_1 ; stack as it was before the function was called
+	Exch $STR_REPLACE_VAR_0
+FunctionEnd
+ 
+!macro _strReplaceConstructor OUT NEEDLE NEEDLE2 HAYSTACK
+	Push "${HAYSTACK}"
+	Push "${NEEDLE}"
+	Push "${NEEDLE2}"
+	Call StrReplace
+	Pop "${OUT}"
+!macroend
+ 
+!define StrReplace '!insertmacro "_strReplaceConstructor"'
+
+;----------------------------------------------------------------------------------------------------------------------------
+
+Function CheckInstDir
+
+	Var /GLOBAL INSTDIR_TEST
+	Var /GLOBAL INSTDIR_LENGHT	
+	Var /GLOBAL INSTDIR_TEST_LENGHT
+	Var /GLOBAL WARNING_MESSAGE
+	
+	StrCpy $WARNING_MESSAGE "WARNING: you are about to install GRASS into a directory that has spaces$\r$\n"
+	StrCpy $WARNING_MESSAGE "$WARNING_MESSAGEin either its name or the path of directories leading up to it.$\r$\n"
+	StrCpy $WARNING_MESSAGE "$WARNING_MESSAGESome functionalities of GRASS might be hampered by this. We would highly$\r$\n"
+	StrCpy $WARNING_MESSAGE "$WARNING_MESSAGEappreciate if you tried and reported any problems, so that we can fix them.$\r$\n"
+	StrCpy $WARNING_MESSAGE "$WARNING_MESSAGEHowever, if you want to avoid any such issues, we recommend that you$\r$\n"
+	StrCpy $WARNING_MESSAGE "$WARNING_MESSAGEchoose a simple installation path without spaces, such as: C:\GRASS.$\r$\n"
+	
+	${StrReplace} "$INSTDIR_TEST" " " "" "$INSTDIR"
+	
+	StrLen $INSTDIR_LENGHT "$INSTDIR"
+	StrLen $INSTDIR_TEST_LENGHT "$INSTDIR_TEST"
+	
+	${If} $INSTDIR_TEST_LENGHT < $INSTDIR_LENGHT	
+		MessageBox MB_OK|MB_ICONEXCLAMATION "$WARNING_MESSAGE"
+	${EndIf}
+	
+FunctionEnd
+
+;----------------------------------------------------------------------------------------------------------------------------
+
+;Interface Settings
+
+!define MUI_ABORTWARNING
+!define MUI_ICON ".\Extras\install_grass.ico"
+!define MUI_UNICON ".\Extras\uninstall_grass.ico"
+!define MUI_HEADERIMAGE_BITMAP_NOSTETCH ".\Extras\InstallHeaderImage.bmp"
+!define MUI_HEADERIMAGE_UNBITMAP_NOSTRETCH ".\Extras\UnInstallHeaderImage.bmp"
+!define MUI_WELCOMEFINISHPAGE_BITMAP ".\Extras\WelcomeFinishPage.bmp"
+!define MUI_UNWELCOMEFINISHPAGE_BITMAP ".\Extras\UnWelcomeFinishPage.bmp"
+
+;----------------------------------------------------------------------------------------------------------------------------
+
+;Installer Pages
+
+!insertmacro MUI_PAGE_WELCOME
+!insertmacro MUI_PAGE_LICENSE ".\Extras\GPL.TXT"
+!insertmacro MUI_PAGE_DIRECTORY
+Page custom CheckInstDir
+!insertmacro MUI_PAGE_COMPONENTS
+!insertmacro MUI_PAGE_INSTFILES
+!insertmacro MUI_PAGE_FINISH
+
+!insertmacro MUI_UNPAGE_WELCOME
+!insertmacro MUI_UNPAGE_CONFIRM
+!insertmacro MUI_UNPAGE_INSTFILES
+!insertmacro MUI_UNPAGE_FINISH
+
+;----------------------------------------------------------------------------------------------------------------------------
+
+;Language files
+
+!insertmacro MUI_LANGUAGE "English"
+
+;----------------------------------------------------------------------------------------------------------------------------
+	
+;Installer Sections
+
+Section "GRASS" SecGRASS
+
+	SectionIn RO
+	
+	;Set to try to overwrite existing files
+	SetOverwrite try
+
+	;Set the install path
+	SetOutPath "$INSTDIR"
+	
+	;add GRASS files
+	File /r ${PACKAGE_FOLDER}\*.*	
+	File .\Extras\grass.ico
+	File .\Extras\grass_web.ico
+	File .\Extras\GRASS-WebSite.url
+	File .\Extras\README.html	
+	
+	;Set GIS_DATABASE directory
+	SetShellVarContext current
+	Var /GLOBAL GIS_DATABASE	
+	StrCpy $GIS_DATABASE "$DOCUMENTS\GIS DataBase"
+	
+	;Create GIS_DATABASE directory
+	CreateDirectory "$GIS_DATABASE"
+	
+	;Install demolocation into GIS_DATABASE directory
+	SetOutPath "$GIS_DATABASE\demolocation"
+	File /r .\Extras\demolocation\*.*
+	
+	;Create uninstaller
+	WriteUninstaller "$INSTDIR\Uninstall.exe"
+	
+	;Registry Key Entries
+	
+	;HKEY_LOCAL_MACHINE Install entries
+	;Set the Name, Version and Revision of GRASS + PublisherInfo + InstallPath	
+	WriteRegStr HKLM "Software\GRASS" "Name" "${NAME}"
+	WriteRegStr HKLM "Software\GRASS" "VersionNumber" "${VERSION_NUMBER}"
+	WriteRegStr HKLM "Software\GRASS" "Revision" "${SVN_REVISION}"
+	WriteRegStr HKLM "Software\GRASS" "Publisher" "${PUBLISHER}"
+	WriteRegStr HKLM "Software\GRASS" "WebSite" "${WEB_SITE}"
+	WriteRegStr HKLM "Software\GRASS" "InstallPath" "$INSTDIR"
+	
+	;HKEY_LOCAL_MACHINE Uninstall entries
+	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\GRASS" "DisplayName" "${COMPLETE_NAME}"
+	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\GRASS" "UninstallString" "$INSTDIR\uninstall.exe"
+	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\GRASS" "DisplayVersion" "${VERSION_NUMBER}"
+	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\GRASS" "DisplayIcon" "$INSTDIR\grass.ico"
+	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\GRASS" "EstimatedSize" 1
+	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\GRASS" "HelpLink" "${WIKI_PAGE}"
+	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\GRASS" "URLInfoAbout" "${WEB_SITE}"
+	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\GRASS" "Publisher" "${PUBLISHER}"
+  
+	;create Desktop Shortcut
+	SetShellVarContext all
+	CreateShortCut "$DESKTOP\${COMPLETE_NAME}.lnk" "$INSTDIR\grass63.bat" "" "$INSTDIR\grass.ico" ""\
+	SW_SHOWNORMAL "" "Launch ${COMPLETE_NAME}"
+ 
+	;create Windows Start Menu Shortcuts
+	SetShellVarContext all
+	CreateDirectory "$SMPROGRAMS\GRASS"
+	CreateShortCut "$SMPROGRAMS\GRASS\${COMPLETE_NAME}.lnk" "$INSTDIR\grass63.bat" "" "$INSTDIR\grass.ico" ""\
+	SW_SHOWNORMAL "" "Launch ${COMPLETE_NAME}"
+	CreateShortCut "$SMPROGRAMS\GRASS\MSYS.lnk" "$INSTDIR\msys\msys.bat" "" "$INSTDIR\msys\m.ico" ""\
+	SW_SHOWNORMAL "" "Open MSYS Console"
+	CreateShortCut "$SMPROGRAMS\GRASS\Web Site.lnk" "$INSTDIR\GRASS-WebSite.url" "" "$INSTDIR\grass_web.ico" ""\
+	SW_SHOWNORMAL "" "Visit GRASS Web Site"
+	CreateShortCut "$SMPROGRAMS\GRASS\ReadMe.lnk" "$INSTDIR\README.html" "" "" ""\
+	SW_SHOWNORMAL "" "View ${COMPLETE_NAME} README File"
+	CreateShortCut "$SMPROGRAMS\GRASS\Uninstall.lnk" "$INSTDIR\Uninstall.exe" "" "" ""\
+	SW_SHOWNORMAL "" "Uninstall ${COMPLETE_NAME}"
+	
+	;create grass63.bat
+	ClearErrors
+	FileOpen $0 $INSTDIR\grass63.bat w
+	IfErrors done_create_grass63.bat
+	FileWrite $0 '@echo off$\r$\n'
+	FileWrite $0 'rem #########################################################################$\r$\n'
+	FileWrite $0 'rem #$\r$\n'
+	FileWrite $0 'rem # File dynamically created by NSIS installer script;$\r$\n'
+	FileWrite $0 'rem # Written by Marco Pasetti;$\r$\n'
+	FileWrite $0 'rem #$\r$\n'
+	FileWrite $0 'rem #########################################################################$\r$\n'
+	FileWrite $0 'rem #$\r$\n'
+	FileWrite $0 'rem # GRASS Initialization$\r$\n'
+	FileWrite $0 'rem #$\r$\n'
+	FileWrite $0 'rem #########################################################################$\r$\n'
+	FileWrite $0 '$\r$\n'
+	FileWrite $0 'rem *******Environment variables***********$\r$\n'
+	FileWrite $0 '$\r$\n'
+	FileWrite $0 'rem Set GRASS Installation Directory Variable$\r$\n'
+	FileWrite $0 'set GRASSDIR=$INSTDIR$\r$\n'
+	FileWrite $0 '$\r$\n'
+	FileWrite $0 'rem Directory where your .grassrc6 file will be stored$\r$\n'
+	FileWrite $0 'set HOME=%USERPROFILE%$\r$\n'
+	FileWrite $0 '$\r$\n'
+	FileWrite $0 'rem Name of the wish (Tk) executable$\r$\n'	
+	FileWrite $0 'set GRASS_WISH=wish.exe$\r$\n'
+	FileWrite $0 '$\r$\n'
+	FileWrite $0 'rem Path to the shell command$\r$\n'	 
+	FileWrite $0 'set GRASS_SH=%GRASSDIR%\msys\bin\sh.exe$\r$\n'
+	FileWrite $0 '$\r$\n'
+	FileWrite $0 'rem Set Path to utilities (libraries and bynaries) used by GRASS$\r$\n'
+	FileWrite $0 'set PATH=%GRASSDIR%\msys\bin;%GRASSDIR%\extrabin;%GRASSDIR%\extralib;%PATH%$\r$\n'
+	FileWrite $0 'set PATH=%GRASSDIR%\tcl-tk\bin;%GRASSDIR%\sqlite\bin;%PATH%$\r$\n'
+	FileWrite $0 '$\r$\n'
+	FileWrite $0 'rem Set Path to MSIE web browser$\r$\n'	
+	FileWrite $0 'set GRASS_HTML_BROWSER=%PROGRAMFILES%/Internet Explorer/iexplore.exe$\r$\n'
+	FileWrite $0 '$\r$\n'
+	FileWrite $0 'rem Path to the proj files (notably the epsg projection list)$\r$\n'	
+	FileWrite $0 'set GRASS_PROJSHARE=%GRASSDIR%\proj$\r$\n'
+	FileWrite $0 '$\r$\n'
+	FileWrite $0 'set WINGISBASE=%GRASSDIR%$\r$\n'
+	FileWrite $0 '"%WINGISBASE%\etc\init.bat" %*'
+	FileClose $0
+	done_create_grass63.bat:
+	
+	;Set UNIX_LIKE GRASS Path
+	Var /GLOBAL UNIX_LIKE_DRIVE
+	Var /GLOBAL UNIX_LIKE_PATH
+  
+	StrCpy $UNIX_LIKE_DRIVE "$INSTDIR" 3
+	StrCpy $UNIX_LIKE_PATH "$INSTDIR" "" 3
+  
+	;replace "\" with "/" in $UNIX_LIKE_DRIVE
+	${StrReplace} "$UNIX_LIKE_DRIVE" "\" "/" "$UNIX_LIKE_DRIVE"
+  
+	;replace ":" with "" in $UNIX_LIKE_DRIVE
+	${StrReplace} "$UNIX_LIKE_DRIVE" ":" "" "$UNIX_LIKE_DRIVE"
+	
+	;replace "\" with "/" in $UNIX_LIKE_PATH
+	${StrReplace} "$UNIX_LIKE_PATH" "\" "/" "$UNIX_LIKE_PATH"
+
+	;Set USERNAME
+	Var /GLOBAL USERNAME
+  
+	SetShellVarContext current
+	StrCpy $USERNAME "$PROFILE" "" 3
+	${StrReplace} "$USERNAME" "Documents and Settings\" "" "$USERNAME"
+
+	;Create $INSTDIR\msys\home and $INSTDIR\msys\home\$USERNAME directories
+	CreateDirectory $INSTDIR\msys\home
+	CreateDirectory $INSTDIR\msys\home\$USERNAME
+  
+	;create $INSTDIR\msys\home\$USERNAME\grass63
+	ClearErrors
+	FileOpen $0 $INSTDIR\msys\home\$USERNAME\grass63 w
+	IfErrors done_create_grass63
+	FileWrite $0 '#! /bin/sh$\r$\n'
+	FileWrite $0 '#########################################################################$\r$\n'
+	FileWrite $0 '#$\r$\n'
+	FileWrite $0 '# File dynamically created by NSIS installer script;$\r$\n'
+	FileWrite $0 '# Written by Marco Pasetti;$\r$\n'
+	FileWrite $0 '#$\r$\n'
+	FileWrite $0 '#########################################################################$\r$\n'
+	FileWrite $0 '#$\r$\n'
+	FileWrite $0 '# $$Id: grass.src 22360 2007-01-22 22:41:45Z markus $$$\r$\n'
+	FileWrite $0 '#$\r$\n'
+	FileWrite $0 '# MODULE:   	GRASS Initialization$\r$\n'
+	FileWrite $0 '# AUTHOR(S):	Justin Hickey - Thailand - jhickey at hpcc.nectec.or.th$\r$\n'
+	FileWrite $0 '# PURPOSE:  	The source file for this shell script is in$\r$\n'
+	FileWrite $0 '#   	    	lib/init/grass.src and is the grass startup script. It$\r$\n'
+	FileWrite $0 '#   	    	requires a source file because the definition of GISBASE$\r$\n'
+	FileWrite $0 '#   	    	is not known until compile time and is substituted from the$\r$\n'
+	FileWrite $0 '#   	    	Makefile. Any command line options are passed to Init.sh.$\r$\n'
+	FileWrite $0 '# COPYRIGHT:    (C) 2000-2005 by the GRASS Development Team$\r$\n'
+	FileWrite $0 '#$\r$\n'
+	FileWrite $0 '#               This program is free software under the GNU General Public$\r$\n'
+	FileWrite $0 '#   	    	License (>=v2). Read the file COPYING that comes with GRASS$\r$\n'
+	FileWrite $0 '#   	    	for details.$\r$\n'
+	FileWrite $0 '#$\r$\n'
+	FileWrite $0 '#########################################################################$\r$\n'
+	FileWrite $0 '#$\r$\n'
+	FileWrite $0 '# Modified by Marco Pasetti$\r$\n'
+	FileWrite $0 '# added export PATH instructions to let GRASS work from$\r$\n'
+	FileWrite $0 '# MSYS environment in dynamic NSIS installation$\r$\n'
+	FileWrite $0 '#$\r$\n'
+	FileWrite $0 '#########################################################################$\r$\n'
+	FileWrite $0 '$\r$\n'
+	FileWrite $0 'trap "echo '
+	FileWrite $0 "'User break!' ; "
+	FileWrite $0 'exit" 2 3 9 15$\r$\n'
+	FileWrite $0 '$\r$\n'
+	FileWrite $0 '# Set the GISBASE variable$\r$\n'
+	FileWrite $0 'GISBASE=/$UNIX_LIKE_DRIVE$UNIX_LIKE_PATH$\r$\n'
+	FileWrite $0 'export GISBASE$\r$\n'
+	FileWrite $0 '$\r$\n'
+	FileWrite $0 '# Set the PATH variable$\r$\n'
+	FileWrite $0 'PATH="$$GISBASE/extrabin:$$GISBASE/extralib:$$PATH"$\r$\n'
+	FileWrite $0 'PATH="$$GISBASE/sqlite/bin:$$GISBASE/tcl-tk/bin:$$PATH"$\r$\n'
+	FileWrite $0 'export PATH$\r$\n'
+	FileWrite $0 '$\r$\n'
+	FileWrite $0 'exec "$$GISBASE/etc/Init.sh" "$$@"'
+	FileClose $0
+	done_create_grass63:
+	
+	;Set GIS_DATABASE Path
+	Var /GLOBAL GIS_DATABASE_PATH
+  
+	;replace \ with / in $GIS_DATABASE
+	${StrReplace} "$GIS_DATABASE_PATH" "\" "/" "$GIS_DATABASE"
+  
+	;create $PROFILE\.grassrc6
+	SetShellVarContext current
+	ClearErrors
+	FileOpen $0 $PROFILE\.grassrc6 w
+	IfErrors done_create_.grassrc6
+	FileWrite $0 'GISDBASE: $GIS_DATABASE_PATH$\r$\n'
+	FileWrite $0 'LOCATION_NAME: demolocation$\r$\n'
+	FileWrite $0 'MAPSET: PERMANENT$\r$\n'
+	FileClose $0	
+	done_create_.grassrc6:
+	
+	CopyFiles $PROFILE\.grassrc6 $INSTDIR\msys\home\$USERNAME
+                 
+SectionEnd
+
+Section /O "North Carolina Data Set" SecNorthCarolina 
+  
+  	SetOutPath "$GIS_DATABASE"
+	AddSize 293314
+	
+	Var /GLOBAL NORTH_CAROLINA_DOWNLOAD_PATH
+	
+	StrCpy $NORTH_CAROLINA_DOWNLOAD_PATH "http://grass.osgeo.org/sampledata/nc_spm_07_2007_dec20.tar.gz"
+
+	InitPluginsDir
+	NSISdl::download $NORTH_CAROLINA_DOWNLOAD_PATH "$GIS_DATABASE\nc_spm_07_2007_dec20.tar.gz"
+	Pop $R0 ;Get the return value
+	StrCmp $R0 "success" +3
+		MessageBox MB_OK "Download $R0. GRASS will be installed without North Carolina GRASS Sample Database"
+
+	InitPluginsDir
+	untgz::extract "$GIS_DATABASE\nc_spm_07_2007_dec20.tar.gz" "$GIS_DATABASE"
+	Pop $0
+	StrCmp $0 "success" ok
+  		DetailPrint "$0" ;print error message to log
+	ok:
+	
+	Rename "$GIS_DATABASE\nc_spm_07" "$GIS_DATABASE\North-Carolina"
+	Delete "$GIS_DATABASE\nc_spm_07_2007_dec20.tar.gz"
+
+SectionEnd
+
+Section /O "South Dakota Data Set" SecSouthDakota  
+  
+  	SetOutPath "$GIS_DATABASE"
+	AddSize 42171
+	
+	Var /GLOBAL SOUTH_DAKOTA_DOWNLOAD_PATH
+	
+	StrCpy $SOUTH_DAKOTA_DOWNLOAD_PATH "http://grass.osgeo.org/sampledata/spearfish_grass60data-0.3.tar.gz"
+
+	InitPluginsDir
+	NSISdl::download $SOUTH_DAKOTA_DOWNLOAD_PATH "$GIS_DATABASE\spearfish_grass60data-0.3.tar.gz"
+	Pop $R0 ;Get the return value
+	StrCmp $R0 "success" +3
+		MessageBox MB_OK "Download $R0. GRASS will be installed without South Dakota GRASS Sample Database"
+
+	InitPluginsDir
+	untgz::extract "$GIS_DATABASE\spearfish_grass60data-0.3.tar.gz" "$GIS_DATABASE"
+	Pop $0
+	StrCmp $0 "success" ok
+  		DetailPrint "$0" ;print error message to log
+	ok:
+	
+	Rename "$GIS_DATABASE\spearfish60" "$GIS_DATABASE\South-Dakota"
+	Delete "$GIS_DATABASE\spearfish_grass60data-0.3.tar.gz"
+
+SectionEnd
+
+;----------------------------------------------------------------------------------------------------------------------------
+
+;Descriptions
+!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
+	!insertmacro MUI_DESCRIPTION_TEXT ${SecGRASS} "Install ${DISPLAYED_NAME}"
+	!insertmacro MUI_DESCRIPTION_TEXT ${SecNorthCarolina} "Download and install North Carolina GRASS sample database"
+	!insertmacro MUI_DESCRIPTION_TEXT ${SecSouthDakota} "Download and install South Dakota GRASS sample database"
+!insertmacro MUI_FUNCTION_DESCRIPTION_END
+
+;----------------------------------------------------------------------------------------------------------------------------
+
+;Uninstaller Section
+
+Section "Uninstall"
+
+	;remove files
+	Delete "$INSTDIR\Uninstall.exe"
+	Delete "$INSTDIR\grass.ico"
+	Delete "$INSTDIR\grass_web.ico"
+	Delete "$INSTDIR\GPL.TXT"
+	Delete "$INSTDIR\AUTHORS"
+	Delete "$INSTDIR\CHANGES"
+	Delete "$INSTDIR\COPYING"	
+	Delete "$INSTDIR\grass63.bat"	
+	Delete "$INSTDIR\GRASS-WebSite.url"	
+	Delete "$INSTDIR\README.html"
+	Delete "$INSTDIR\REQUIREMENTS.html"
+	
+	;remove folders
+	RMDir /r "$INSTDIR\bin"
+	RMDir /r "$INSTDIR\bwidget"
+	RMDir /r "$INSTDIR\docs"
+	RMDir /r "$INSTDIR\driver"
+	RMDir /r "$INSTDIR\etc"
+	RMDir /r "$INSTDIR\extrabin"
+	RMDir /r "$INSTDIR\extralib"
+	RMDir /r "$INSTDIR\fonts"
+	RMDir /r "$INSTDIR\include"
+	RMDir /r "$INSTDIR\lib"
+	RMDir /r "$INSTDIR\msys"
+	RMDir /r "$INSTDIR\proj"
+	RMDir /r "$INSTDIR\scripts"
+	RMDir /r "$INSTDIR\sqlite"
+	RMDir /r "$INSTDIR\tcl-tk"
+	
+	;if empty, remove install folder
+	RMDir "$INSTDIR"
+	
+	;remove Desktop ShortCut
+	SetShellVarContext all
+	Delete "$DESKTOP\${COMPLETE_NAME}.lnk"
+	
+	;remove Programs Start ShortCut
+	SetShellVarContext all
+	RMDir /r "$SMPROGRAMS\GRASS"
+	
+	;remove .grassrc6 file
+	SetShellVarContext current
+	Delete "$PROFILE\.grassrc6"	
+
+	;remove Registry Entries
+	DeleteRegKey HKLM "Software\GRASS"
+	DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\GRASS"
+
+SectionEnd
\ No newline at end of file

Added: grass/branches/develbranch_6/win32/GRASS-Packager.bat
===================================================================
--- grass/branches/develbranch_6/win32/GRASS-Packager.bat	                        (rev 0)
+++ grass/branches/develbranch_6/win32/GRASS-Packager.bat	2008-04-29 19:19:15 UTC (rev 31174)
@@ -0,0 +1,126 @@
+ at echo off
+
+rem ----------------------------------------------------------------------------------------------------------
+rem Set the script variables
+rem ----------------------------------------------------------------------------------------------------------
+
+set TRUNK_INSTALL_FOLDER=c:\msys\local\grass-trunk
+set TEST_PACKAGE_DIR=.\GRASS-Trunk-Package
+
+set RELEASE_INSTALL_FOLDER=c:\msys\local\grass-6.3.0
+set RELEASE_PACKAGE_DIR=.\GRASS-Release-Package
+
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo Self Contained GRASS Automated Packager
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo GRASS Version: Current SVN Trunk/Release Tarball
+ at echo.
+ at echo Edited by: Marco Pasetti
+ at echo Last Update: 21 April 2008
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo Select if you want to create a Test Package from the Current SVN Trunk Build
+ at echo or a Release Package from the Current GRASS Release Tarball Build
+ at echo.
+ at echo 1. Current GRASS SVN Trunk Build
+ at echo.
+ at echo 2. Current GRASS Release Tarball Build
+ at echo.
+
+set /p UPDATE_TYPE=Enter your selection (1/2):
+
+if %UPDATE_TYPE%==1 (
+set PACKAGE_DIR=%TEST_PACKAGE_DIR%
+set GRASS_PREFIX=%TRUNK_INSTALL_FOLDER%
+)
+
+if %UPDATE_TYPE%==2 (
+set PACKAGE_DIR=%RELEASE_PACKAGE_DIR%
+set GRASS_PREFIX=%RELEASE_INSTALL_FOLDER%
+)
+
+ at echo.
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo Create PACKAGE_DIR
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo.
+
+if exist %PACKAGE_DIR% rmdir /S/Q %PACKAGE_DIR%
+mkdir %PACKAGE_DIR%
+
+ at echo.
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo Copy %GRASS_PREFIX% content to PACKAGE_DIR
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo.
+
+xcopy %GRASS_PREFIX% %PACKAGE_DIR% /S/V/F
+
+ at echo.
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo Copy Extralibs to PACKAGE_DIR\extralib
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo.
+
+mkdir %PACKAGE_DIR%\extralib
+
+copy c:\msys\local\bin\*.dll %PACKAGE_DIR%\extralib
+copy c:\msys\local\pgsql\lib\libpq.dll %PACKAGE_DIR%\extralib
+
+ at echo.
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo Copy Extrabins to PACKAGE_DIR\extrabin
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo.
+
+mkdir %PACKAGE_DIR%\extrabin
+copy c:\msys\local\bin\*.exe %PACKAGE_DIR%\extrabin
+
+ at echo.
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo Copy SQLite content to PACKAGE_DIR\sqlite
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo.
+
+mkdir %PACKAGE_DIR%\sqlite
+xcopy c:\msys\local\sqlite %PACKAGE_DIR%\sqlite /S/V/F
+
+ at echo.
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo Copy shared PROJ.4 files to PACKAGE_DIR\proj
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo.
+
+mkdir %PACKAGE_DIR%\proj
+xcopy c:\msys\local\share\proj %PACKAGE_DIR%\proj /S/V/F
+
+ at echo.
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo Copy Tcl/Tk content to PACKAGE_DIR\tcl-tk
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo.
+
+mkdir %PACKAGE_DIR%\tcl-tk
+xcopy c:\msys\local\tcl-tk %PACKAGE_DIR%\tcl-tk /S/V/F
+
+ at echo.
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo Copy MSYS files to PACKAGE_DIR\msys
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo.
+
+mkdir %PACKAGE_DIR%\msys
+mkdir %PACKAGE_DIR%\msys\bin
+mkdir %PACKAGE_DIR%\msys\doc
+mkdir %PACKAGE_DIR%\msys\etc
+
+copy c:\msys\* %PACKAGE_DIR%\msys
+xcopy c:\msys\bin %PACKAGE_DIR%\msys\bin /S/V/F
+xcopy c:\msys\doc %PACKAGE_DIR%\msys\doc /S/V/F
+xcopy c:\msys\etc %PACKAGE_DIR%\msys\etc /S/V/F
+
+ at echo.
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo Packaging Completed
+ at echo -----------------------------------------------------------------------------------------------------------------------
+ at echo.
+pause
\ No newline at end of file

Added: grass/branches/develbranch_6/win32/README.html
===================================================================
--- grass/branches/develbranch_6/win32/README.html	                        (rev 0)
+++ grass/branches/develbranch_6/win32/README.html	2008-04-29 19:19:15 UTC (rev 31174)
@@ -0,0 +1,411 @@
+<html>
+
+<head>
+
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<meta http-equiv="Content-Language" content="en" />
+<meta name="Author" content="Marco Pasetti" />
+<meta name="Description" content="SVN Win32 README" />
+
+<title>SVN Win32 README</title>
+
+<style type="text/css" />
+
+/* Wiki Pages Styles */
+
+/* TableOfContents */
+
+.table-of-contents	{ 
+					border: 1px solid #bbbbbb;
+					color: black; background-color: #eeeeee;
+					font-size: small;
+					text-align:left;
+					margin: 0.5em; padding-left: 1em;
+					width: 360;
+					}
+
+/* Contents */
+
+html	{
+		background-color: white;
+		color: black;
+		font-family: Arial, Lucida Grande, sans-serif;
+		font-size: 10pt;
+		}
+		
+body	{
+		margin: 30;
+		}
+		
+ol	{
+	font-family: Arial, Lucida Grande, sans-serif;
+	font-size: 10pt;
+	margin-top: 0;
+	margin-bottom: 0;
+	margin-left: 0;
+	}
+
+h1	{
+	font-family: Arial, Lucida Grande, sans-serif;
+	font-size: 18pt;
+	margin-top: 0;
+	margin-bottom: 50;
+	}
+
+h2	{
+	font-family: Arial, Lucida Grande, sans-serif;
+	font-size: 16pt;
+	margin-top: 60;
+	margin-bottom: 20;
+	}
+	
+h3	{
+	font-family: Arial, Lucida Grande, sans-serif;
+	font-size: 14pt;
+	margin-top: 60;
+	margin-bottom: 20;
+	}
+
+h4	{
+	font-family: Arial, Lucida Grande, sans-serif;
+	font-size: 11pt;
+	margin-top: 0;
+	margin-bottom: 0;
+	}
+
+p	{
+	font-family: Arial, Lucida Grande, sans-serif;
+	font-size: 10pt;
+	margin-top: 10;
+	margin-bottom: 10;
+	}
+
+code	{
+		font-family: Courier-new, monospace;
+		font-size: 10pt;
+		margin-top: 10;
+		margin-bottom: 10;
+		}
+		
+pre	{
+	padding: 1em;
+	border: 1px dashed #2f6fab;
+	color: black;
+	background-color: #f9f9f9;
+	line-height: 1.1em;
+	}
+	
+	
+/* Tables */
+
+table
+{
+	margin: 0.5em 0 0 0.5em;
+	border-collapse: collapse;
+}
+
+td
+{
+	padding: 0.25em 0.5em 0.25em 0.5em;
+	border: 0pt solid #ADB9CC;
+	font-family: Arial, Lucida Grande, sans-serif;
+	font-size: 10pt;
+}
+		
+
+/* Links */
+
+a	{
+	text-decoration: none;
+	color: #002bb8;
+	background: none;
+	}
+	
+a:hover {
+		text-decoration: underline;
+		color: green;
+		}
+	
+a:visited:hover	{
+				text-decoration: underline;
+				color: red;
+				}
+</style>
+
+</head>
+
+<body>
+
+<h1>How to prepare a WinGRASS Release</h1>
+
+<div class="table-of-contents">
+
+<p><strong>Table of Contents</strong></p>
+
+<p><a href="#Introduction">Introduction</a></p>
+
+<p><ol>
+<li><a href="#Install MSYS">Install MSYS</a></li>
+<li><a href="#Install MinGW">Install MinGW</a></li>
+<li><a href="#Install the GRASS MSYS Environment">Install the GRASS MSYS Environment</a></li>
+<li><a href="#Build and Install GRASS">Build and Install GRASS</a></li>
+<li><a href="#Create a GRASS self-contained Package">Create a GRASS self-contained Package</a></li>
+<li><a href="#Install NSIS">Install NSIS</a></li>
+<li><a href="#Create the WinGRASS Installer">Create the WinGRASS Installer</a></li>
+</ol></p>
+
+<p><a href="#Credits and Contacts">Credits and Contacts</a></p>
+
+<br>
+
+</div>
+
+
+
+<div id="Introduction">
+
+<p><h3>Introduction</h3></p>
+
+
+<p>This document explains how to prepare a WinGRASS release (as a self-contained package installer) using the scripts contained
+in the SVN Win32 folder. In order to avoid mistakes or misunderstandings, I highly recommend to follow each step and command
+exactly as they are written in this document.</p>
+
+</div>
+
+
+
+
+<div id="Install MSYS">
+
+<p><h3>1. Install MSYS (1.0.11)</h3></p>
+
+<p>Download the <a target="_blank" href="http://prdownloads.sourceforge.net/mingw/MSYS-1.0.11-2004.04.30-1.exe">MSYS installer</a></p>
+
+<p>Install to <code>c:\msys</code></p>
+
+<p>At the command prompt question for post install, type <code>n</code> and then enter.</p>
+
+</div>
+
+
+
+
+<div id="Install MinGW">
+
+<p><h3>2. Install MinGW (5.1.3)</h3></p>
+
+<p>Download the <a target="_blank" href="http://downloads.sourceforge.net/mingw/MinGW-5.1.3.exe">MinGW installer</a></p>
+
+<p>Select "Download and Install Current Version";</p>
+
+<p>Install only "g++ compiler" and "MinGW Make";</p>
+
+<p>Install to <code>c:\msys\mingw</code></p>
+
+</div>
+
+
+
+
+<div id="Install the GRASS MSYS Environment">
+
+<p><h3>3. Install the GRASS MSYS Environment</h3></p>
+
+<p>Download the <a target="_blank" href="http://grass.osgeo.org/grass63/binary/mswindows/native/GRASS_MSYS_Environment.zip">
+GRASS MSYS Environment</a></p>
+
+<p>Extract the whole package to <code>c:\msys\local</code></p>
+
+</div>
+
+
+
+
+<div id="Build and Install GRASS">
+
+<p><h3>4. Build and Install GRASS (6.3.0)</h3></p>
+
+<p>Download the <a target="_blank" href="http://grass.osgeo.org/grass63/source/grass-6.3.0.tar.gz">GRASS source code</a></p>
+
+<p>Unpack to <code>c:\msys\local\src</code></p>
+
+<p>Open <code>c:\msys\local\src\grass-6.3.0\man\Makefile</code></p>
+
+<p>At line 13, replace:</p>
+<pre><code>default: $(MANPAGES)</pre></code>
+
+<p>with:</p>
+<pre><code>default:</pre></code>
+
+<p>In MSYS console, type:</p>
+<pre><code>cd /usr/local/src/grass-6.3.0
+./configure \
+--prefix=/usr/local \
+--with-includes=/usr/local/include \
+--with-libs=/usr/local/lib \
+--disable-x11 \
+--without-jpeg \
+--without-x \
+--with-cxx \
+--enable-shared \
+--enable-largefile \
+--with-opengl=windows \
+--with-fftw \
+--with-freetype \
+--with-proj-share=/usr/local/share/proj \
+--with-gdal=/usr/local/bin/gdal-config \
+--with-tcltk --with-tcltk-includes=/usr/local/tcl-tk/include --with-tcltk-libs=/usr/local/tcl-tk/bin \
+--with-sqlite --with-sqlite-includes=/usr/local/sqlite/include --with-sqlite-libs=/usr/local/sqlite/lib \
+--with-postgres --with-postgres-includes=/usr/local/pgsql/include --with-postgres-libs=/usr/local/pgsql/lib</code></pre>
+
+<p>When finished, you should have the following screen output:</p>
+<pre><code>GRASS is now configured for:  i686-pc-mingw32
+
+ Source directory:            /usr/local/src/grass-6.3.0
+ Build directory:             /usr/local/src/grass-6.3.0
+ Installation directory:      ${prefix}/grass-6.3.0
+ Startup script in directory: ${exec_prefix}/bin
+ C compiler:                  gcc -g -O2 
+ C++ compiler:                c++ -g -O2
+ Building shared libraries:   yes
+ 64bit support:               no
+ OpenGL platform:             Windows
+
+  NVIZ:                       yes
+
+  BLAS support:               no
+  C++ support:                yes
+  DWG support:                no
+  FFMPEG support:             no
+  FFTW support:               yes
+  FreeType support:           yes
+  GDAL support:               yes
+  GLw support:                no
+  JPEG support:               no
+  LAPACK support:             no
+  Large File Support (LFS):   yes
+  Motif support:              no
+  MySQL support:              no
+  NLS support:                no
+  ODBC support:               no
+  OGR support:                yes
+  OpenGL support:             yes
+  PNG support:                yes
+  PostgreSQL support:         yes
+  Python support:             no
+  Readline support:           no
+  SQLite support:             yes
+  Tcl/Tk support:             yes
+  wxWidgets support:          no
+  TIFF support:               yes
+  X11 support:                no
+  MacOSX application:         no</code></pre>
+
+Having GRASS successfully configured, now you can build it:
+<pre><code>export PATH="/usr/local/bin:/usr/local/tcl-tk/bin:/usr/local/sqlite/bin:/usr/local/pgsql/lib:$PATH"
+make</code></pre>
+
+<p>When finished, you should have the following compilation log:</p>
+
+<pre><code>GRASS GIS compilation log
+-------------------------
+Started compilation: Thu Apr 24 07:56:14 GMT 2008
+--
+Errors in:
+/usr/local/src/grass-6.3.0/raster/r.li/r.li.daemon
+/usr/local/src/grass-6.3.0/raster/r.li/r.li.edgedensity
+/usr/local/src/grass-6.3.0/raster/r.li/r.li.patchdensity
+/usr/local/src/grass-6.3.0/raster/r.li/r.li.patchnum
+/usr/local/src/grass-6.3.0/raster/r.li/r.li.shape
+/usr/local/src/grass-6.3.0/raster/r.li/r.li.simpson
+/usr/local/src/grass-6.3.0/raster/r.li/r.li.shannon
+/usr/local/src/grass-6.3.0/raster/r.li/r.li.mps
+/usr/local/src/grass-6.3.0/raster/r.li/r.li.mpa
+/usr/local/src/grass-6.3.0/raster/r.li/r.li.padcv
+/usr/local/src/grass-6.3.0/raster/r.li/r.li.padsd
+/usr/local/src/grass-6.3.0/raster/r.li/r.li.padrange
+/usr/local/src/grass-6.3.0/raster/r.li/r.li.cwed
+/usr/local/src/grass-6.3.0/raster/r.li/r.li.richness
+/usr/local/src/grass-6.3.0/raster/r.li/r.li.dominance
+--
+In case of errors please change into the directory with error and run 'make'.
+If you get multiple errors, you need to deal with them in the order they
+appear in the error log. If you get an error building a library, you will
+also get errors from anything which uses the library.
+--
+Finished compilation: Thu Apr 24 10:54:25 GMT 2008</code></pre>
+
+<p>Then install GRASS:</p>
+
+<pre><code>make install</code></pre>
+
+<p>Now GRASS should be installed in <code>c:\msys\local\grass-6.3.0</code></p>
+
+</div>
+
+
+
+
+<div id="Create a GRASS self-contained Package">
+
+<p><h3>5. Create a GRASS self-contained Package</h3></p>
+
+<p>Copy all the content of the SVN Win32 folder to a temporary directory, for example <code>c:\temp</code>.</p>
+
+<p>Launch the file <code>c:\temp\GRASS-Packager.bat</code> and select the option number 2.</p>
+
+<p>When finished, you should have a GRASS self-contained release package in <code>c:\temp\GRASS-Release-Package</code>.</p>
+
+</div>
+
+
+
+
+<div id="Install NSIS">
+
+<p><h3>6. Install NSIS (2.36)</h3></p>
+
+<p>Download the <a target="_blank" href="http://prdownloads.sourceforge.net/nsis/nsis-2.36-setup.exe">NSIS installer</a></p>
+
+<p>Install to <code>c:\DevTools</code></p>
+
+</div>
+
+
+
+
+<div id="Create the WinGRASS Installer">
+
+<p><h3>7. Create the WinGRASS Installer</h3></p>
+
+<p>Open the the file <code>c:\temp\GRASS-Installer.nsi</code>.</p>
+
+<p>At line 15 set the <code>INSTALLER_TYPE</code> variable to <code>"Release"</code>, then, at line 16, set the
+<code>SVN_REVISION</code> variable to the current SVN Revision Number.</p>
+
+<p>Finally, right click on the file <code>c:\temp\GRASS-Installer.nsi</code> and select <code>Compile NSIS Script</code>.</p>
+
+<p>When finished, you should have the WinGRASS release installer as <code>c:\temp\WinGRASS-6.3.0-Setup.exe</code>.</p>
+
+</div>
+
+
+
+
+<div id="Credits and Contacts">
+
+<p><h3>Credits and Contacts</h3></p>
+
+<p>The GRASS MSYS Environment and the GRASS Packager and Installer scripts are provided by Marco Pasetti.</p>
+
+<p>To contact him, e-mail to: GRASS Development Mailing List
+(<a target="_blank" href="http://lists.osgeo.org/mailman/listinfo/grass-dev">http://lists.osgeo.org/mailman/listinfo/grass-dev</a>).</p>
+
+<p>Edited by Marco Pasetti on 24 April 2008.</p>
+
+</div>
+
+</body>
+
+</html>
\ No newline at end of file



More information about the grass-commit mailing list