[GRASS-SVN] r57688 - grass/branches/develbranch_6/mswindows

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Sep 14 05:05:21 PDT 2013


Author: martinl
Date: 2013-09-14 05:05:20 -0700 (Sat, 14 Sep 2013)
New Revision: 57688

Modified:
   grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi.tmpl
   grass/branches/develbranch_6/mswindows/GRASS-Packager.bat.tmpl
   grass/branches/develbranch_6/mswindows/env.bat
Log:
wingrass: copy DLL files to extrabin, remove extralib from standalone installer
          (merge r57639 and r57646 from trunk)


Modified: grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi.tmpl
===================================================================
--- grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi.tmpl	2013-09-14 06:54:11 UTC (rev 57687)
+++ grass/branches/develbranch_6/mswindows/GRASS-Installer.nsi.tmpl	2013-09-14 12:05:20 UTC (rev 57688)
@@ -542,7 +542,7 @@
 	FileWrite $0 'set GISBASE=$INSTALL_DIR$\r$\n'
 	FileWrite $0 '$\r$\n'
 	FileWrite $0 'rem set path to freetype dll$\r$\n'
-	FileWrite $0 'set FREETYPEBASE=$INSTALL_DIR\extralib;$INSTALL_DIR\msys\bin;$INSTALL_DIR\lib$\r$\n'
+	FileWrite $0 'set FREETYPEBASE=$INSTALL_DIR\extrabin;$INSTALL_DIR\msys\bin;$INSTALL_DIR\lib$\r$\n'
 	FileWrite $0 '$\r$\n'
 	FileWrite $0 'rem set dependecies path$\r$\n'
 	FileWrite $0 'set PATH=%FREETYPEBASE%;%PATH%$\r$\n'
@@ -782,7 +782,7 @@
 	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/extrabin:$$PATH"$\r$\n'
 	FileWrite $0 'export PATH$\r$\n'
 	FileWrite $0 '$\r$\n'
 	FileWrite $0 'GRASS_PAGER=more$\r$\n'
@@ -917,7 +917,7 @@
 	ExecWait "$TEMP\$ORIGINAL_UNTAR_FOLDER\bin\vcredist_2005_x86.exe /q"
 	ExecWait "$TEMP\$ORIGINAL_UNTAR_FOLDER\bin\vcredist_2008_x86.exe /q"	
 	ExecWait "$TEMP\$ORIGINAL_UNTAR_FOLDER\bin\vcredist_2010_x86.exe /q"
-	CopyFiles "$TEMP\$ORIGINAL_UNTAR_FOLDER\bin\*.dll" "$INSTDIR\extralib"
+	CopyFiles "$TEMP\$ORIGINAL_UNTAR_FOLDER\bin\*.dll" "$INSTDIR\extrabin"
 	Delete "$TEMP\$ARCHIVE_NAME"
 	RMDir /r "$TEMP\$ORIGINAL_UNTAR_FOLDER"
 	;the following doesn't work. Maybe because the installer is still running?

Modified: grass/branches/develbranch_6/mswindows/GRASS-Packager.bat.tmpl
===================================================================
--- grass/branches/develbranch_6/mswindows/GRASS-Packager.bat.tmpl	2013-09-14 06:54:11 UTC (rev 57687)
+++ grass/branches/develbranch_6/mswindows/GRASS-Packager.bat.tmpl	2013-09-14 12:05:20 UTC (rev 57688)
@@ -42,18 +42,6 @@
 
 @echo.
 @echo -----------------------------------------------------------------------------------------------------------------------
- at echo Copy DLL libs to PACKAGE_DIR\extralib
- at echo -----------------------------------------------------------------------------------------------------------------------
- at echo.
-
-mkdir %PACKAGE_DIR%\extralib
-
-copy %OSGEO4W_PKG_DIR%\bin\*.dll %PACKAGE_DIR%\extralib
-del %PACKAGE_DIR%\extralib\msvcp*
-del %PACKAGE_DIR%\extralib\msvcr*
-
- at echo.
- at echo -----------------------------------------------------------------------------------------------------------------------
 @echo Copy extrabins to PACKAGE_DIR\extrabin
 @echo -----------------------------------------------------------------------------------------------------------------------
 @echo.
@@ -61,9 +49,11 @@
 mkdir %PACKAGE_DIR%\extrabin
 mkdir %PACKAGE_DIR%\extrabin\gdalplugins
 
-copy %OSGEO4W_PKG_DIR%\bin\*.exe %PACKAGE_DIR%\extrabin
+copy %OSGEO4W_PKG_DIR%\bin\* %PACKAGE_DIR%\extrabin
 xcopy %OSGEO4W_PKG_DIR%\bin\gdalplugins\* %PACKAGE_DIR%\extrabin\gdalplugins /S/V/F/I
-del %PACKAGE_DIR%\extrabin\apt*.exe
+del %PACKAGE_DIR%\extrabin\apt*
+del %PACKAGE_DIR%\extrabin\msvcp*
+del %PACKAGE_DIR%\extrabin\msvcr*
 
 @echo.
 @echo -----------------------------------------------------------------------------------------------------------------------

Modified: grass/branches/develbranch_6/mswindows/env.bat
===================================================================
--- grass/branches/develbranch_6/mswindows/env.bat	2013-09-14 06:54:11 UTC (rev 57687)
+++ grass/branches/develbranch_6/mswindows/env.bat	2013-09-14 12:05:20 UTC (rev 57688)
@@ -18,5 +18,5 @@
 set GEOTIFF_CSV=%GISBASE%\share\epsg_csv
 
 set PATH=%GISBASE%\msys\bin;%PATH%
-set PATH=%GISBASE%\extrabin;%GISBASE%\extralib;%PATH%
+set PATH=%GISBASE%\extrabin;%PATH%
 set PATH=%GISBASE%\bin;%PATH%



More information about the grass-commit mailing list