[GRASS-SVN] r67150 - in grass/branches/releasebranch_7_0: gui/icons mswindows mswindows/osgeo4w

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 15 06:19:47 PST 2015


Author: martinl
Date: 2015-12-15 06:19:47 -0800 (Tue, 15 Dec 2015)
New Revision: 67150

Added:
   grass/branches/releasebranch_7_0/gui/icons/grass64bit.ico
   grass/branches/releasebranch_7_0/gui/icons/grass64bit_osgeo.ico
Modified:
   grass/branches/releasebranch_7_0/mswindows/GRASS-Installer.nsi.tmpl
   grass/branches/releasebranch_7_0/mswindows/GRASS-Packager.bat.tmpl
   grass/branches/releasebranch_7_0/mswindows/osgeo4w/package.sh
Log:
wingrass: various backports (32/64bit)


Copied: grass/branches/releasebranch_7_0/gui/icons/grass64bit.ico (from rev 67124, grass/trunk/gui/icons/grass64bit.ico)
===================================================================
(Binary files differ)

Copied: grass/branches/releasebranch_7_0/gui/icons/grass64bit_osgeo.ico (from rev 67124, grass/trunk/gui/icons/grass64bit_osgeo.ico)
===================================================================
(Binary files differ)

Modified: grass/branches/releasebranch_7_0/mswindows/GRASS-Installer.nsi.tmpl
===================================================================
--- grass/branches/releasebranch_7_0/mswindows/GRASS-Installer.nsi.tmpl	2015-12-15 14:17:57 UTC (rev 67149)
+++ grass/branches/releasebranch_7_0/mswindows/GRASS-Installer.nsi.tmpl	2015-12-15 14:19:47 UTC (rev 67150)
@@ -43,10 +43,12 @@
 ;----------------------------------------------------------------------------------------------------------------------------
 
 !if "@ARCH@" == "x86_64-w64-mingw32"
-    !define PLATFORM "x86_64"
+    !define PLATFORM   "x86_64"
+    !define GRASS_ICON "grass64bit.ico"
     InstallDir "$PROGRAMFILES64\${GRASS_BASE}"
 !else
-    !define PLATFORM "x86"
+    !define PLATFORM   "x86"
+    !define GRASS_ICON "grass.ico"
     InstallDir "$PROGRAMFILES32\${GRASS_BASE}"
 !endif
 
@@ -628,7 +630,7 @@
 	WriteRegStr HKLM "Software\${GRASS_BASE}" "InstallPath" "$INSTALL_DIR"
 	
 	;HKEY_LOCAL_MACHINE Uninstall entries
-	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${GRASS_BASE}" "DisplayName" "GRASS @GRASS_VERSION_MAJOR at .@GRASS_VERSION_MINOR@"
+	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${GRASS_BASE}" "DisplayName" "GRASS GIS @GRASS_VERSION_MAJOR at .@GRASS_VERSION_MINOR@ (${PLATFORM})"
 	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${GRASS_BASE}" "UninstallString" "$INSTALL_DIR\Uninstall-GRASS.exe"
 	
 	!if ${INSTALLER_TYPE} == "Release"
@@ -639,7 +641,7 @@
 		"DisplayVersion" "${VERSION_NUMBER}-r${SVN_REVISION}-${BINARY_REVISION}"
 	!endif
 	
-	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${GRASS_BASE}" "DisplayIcon" "$INSTALL_DIR\gui\icons\grass.ico"
+	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${GRASS_BASE}" "DisplayIcon" "$INSTALL_DIR\gui\icons\${GRASS_ICON}"
 	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${GRASS_BASE}" "EstimatedSize" 1
 	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${GRASS_BASE}" "HelpLink" "${WIKI_PAGE}"
 	WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${GRASS_BASE}" "URLInfoAbout" "${WEB_SITE}"
@@ -650,7 +652,7 @@
 	SetShellVarContext current
 	
 	CreateShortCut "$DESKTOP\${GRASS_BASE}.lnk" "$INSTALL_DIR\${GRASS_COMMAND}.bat" "-gui"\
-	"$INSTALL_DIR\gui\icons\grass.ico" "" SW_SHOWNORMAL "" "Launch GRASS GIS ${VERSION_NUMBER}"
+	"$INSTALL_DIR\gui\icons\${GRASS_ICON}" "" SW_SHOWNORMAL "" "Launch GRASS GIS ${VERSION_NUMBER}"
 	
 	;Create the Windows Start Menu Shortcuts
 	SetShellVarContext all
@@ -658,7 +660,7 @@
 	CreateDirectory "$SMPROGRAMS\${GRASS_BASE}"
 	
 	CreateShortCut "$SMPROGRAMS\${GRASS_BASE}\${GRASS_BASE}.lnk" "$INSTALL_DIR\${GRASS_COMMAND}.bat" "-gui"\
-	"$INSTALL_DIR\gui\icons\grass.ico" "" SW_SHOWNORMAL "" "Launch GRASS GIS ${VERSION_NUMBER}"
+	"$INSTALL_DIR\gui\icons\${GRASS_ICON}" "" SW_SHOWNORMAL "" "Launch GRASS GIS ${VERSION_NUMBER}"
 	
 	CreateShortCut "$SMPROGRAMS\${GRASS_BASE}\Uninstall ${GRASS_BASE}.lnk" "$INSTALL_DIR\Uninstall-GRASS.exe" ""\
 	"$INSTALL_DIR\Uninstall-GRASS.exe" "" SW_SHOWNORMAL "" "Uninstall GRASS GIS ${VERSION_NUMBER}"

Modified: grass/branches/releasebranch_7_0/mswindows/GRASS-Packager.bat.tmpl
===================================================================
--- grass/branches/releasebranch_7_0/mswindows/GRASS-Packager.bat.tmpl	2015-12-15 14:17:57 UTC (rev 67149)
+++ grass/branches/releasebranch_7_0/mswindows/GRASS-Packager.bat.tmpl	2015-12-15 14:19:47 UTC (rev 67150)
@@ -68,6 +68,8 @@
 copy %MSYS_BLD_DIR%\bin\libharfbuzz-0.dll %PACKAGE_DIR%\extrabin
 copy %MSYS_BLD_DIR%\bin\libglib-2.0-0.dll %PACKAGE_DIR%\extrabin
 copy %MSYS_BLD_DIR%\bin\libpng16-16.dll %PACKAGE_DIR%\extrabin
+copy %MSYS_BLD_DIR%\bin\libsystre-0.dll %PACKAGE_DIR%\extrabin
+copy %MSYS_BLD_DIR%\bin\libtre-5.dll %PACKAGE_DIR%\extrabin
 if exist "%MSYS_BLD_DIR%\bin\libgcc_s_seh-1.dll" copy %MSYS_BLD_DIR%\bin\libgcc_s_seh-1.dll %PACKAGE_DIR%\extrabin
 if exist "%MSYS_BLD_DIR%\bin\libgcc_s_dw2-1.dll" copy %MSYS_BLD_DIR%\bin\libgcc_s_dw2-1.dll %PACKAGE_DIR%\extrabin
 

Modified: grass/branches/releasebranch_7_0/mswindows/osgeo4w/package.sh
===================================================================
--- grass/branches/releasebranch_7_0/mswindows/osgeo4w/package.sh	2015-12-15 14:17:57 UTC (rev 67149)
+++ grass/branches/releasebranch_7_0/mswindows/osgeo4w/package.sh	2015-12-15 14:19:47 UTC (rev 67150)
@@ -251,6 +251,8 @@
         /mingw${MINGW_POSTFIX}/bin/libharfbuzz-0.dll \
 	/mingw${MINGW_POSTFIX}/bin/libglib-2.0-0.dll \
 	/mingw${MINGW_POSTFIX}/bin/libpng16-16.dll \
+	/mingw${MINGW_POSTFIX}/bin/libsystre-0.dll \
+	/mingw${MINGW_POSTFIX}/bin/libtre-5.dll \
 	bin
     
     # creating grass package
@@ -270,7 +272,9 @@
         bin/libharfbuzz-0.dll \
 	bin/libglib-2.0-0.dll \
 	bin/libpng16-16.dll \
-
+	bin/libsystre-0.dll \
+	bin/libtre-5.dll
+    
     # clean up
     rm bin/${GRASS_EXECUTABLE}.bat.tmpl
 fi



More information about the grass-commit mailing list