[GRASS-dev] [GRASS GIS] #1940: wingrass - nsis - script in release mode: !define SVN_REVISION "@GRASS_VERSION_SVN@" not set

GRASS GIS trac at osgeo.org
Sat Apr 20 12:00:48 PDT 2013


#1940: wingrass - nsis - script in release mode: !define SVN_REVISION
"@GRASS_VERSION_SVN@" not set
-----------------------+----------------------------------------------------
 Reporter:  hellik     |       Owner:  grass-dev@…              
     Type:  defect     |      Status:  new                      
 Priority:  critical   |   Milestone:  6.4.3                    
Component:  Packaging  |     Version:  6.4.3 RCs                
 Keywords:  nsis       |    Platform:  MSWindows 7              
      Cpu:  x86-64     |  
-----------------------+----------------------------------------------------
 http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/mswindows
 /GRASS-Installer.nsi.tmpl#L19

 {{{
 19      ;Select if you are building a "Development Version" (Devel) or a
 "Release Version" (Release) of the GRASS Installer
 20
 21      !define INSTALLER_TYPE "Devel"
 }}}

 http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/mswindows
 /GRASS-Installer.nsi.tmpl#L31

 {{{
 31      ;Version variables
 32
 33      !define SVN_REVISION "@GRASS_VERSION_SVN@"
 }}}

 in release mode @GRASS_VERSION_SVN@ isn't set:

 {{{
 !define SVN_REVISION "" <=
 !define BINARY_REVISION "1"
 !define VERSION_NUMBER "6.4.3RC3"
 !define GRASS_BASE "GRASS GIS 6.4.3RC3"
 [...]
 }}}

 so
 http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/mswindows
 /GRASS-Installer.nsi.tmpl#L251

 {{{
 251             !define /math VERSION ${SVN_REVISION} + ${BINARY_REVISION}
 }}}

 doesn't work and nsis stopps with an error

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1940>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list