[GRASS-SVN] r66715 - grass/branches/releasebranch_7_0/mswindows/osgeo4w

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 2 06:04:20 PST 2015


Author: hellik
Date: 2015-11-02 06:04:19 -0800 (Mon, 02 Nov 2015)
New Revision: 66715

Modified:
   grass/branches/releasebranch_7_0/mswindows/osgeo4w/postinstall.bat
Log:
postinstall.bat: sync with trunk to fix #2784

Modified: grass/branches/releasebranch_7_0/mswindows/osgeo4w/postinstall.bat
===================================================================
--- grass/branches/releasebranch_7_0/mswindows/osgeo4w/postinstall.bat	2015-11-02 12:11:17 UTC (rev 66714)
+++ grass/branches/releasebranch_7_0/mswindows/osgeo4w/postinstall.bat	2015-11-02 14:04:19 UTC (rev 66715)
@@ -11,5 +11,23 @@
 
 xxmklink "%ALLUSERSPROFILE%\Desktop\GRASS GIS @VERSION at .lnk" "%BATCH%"  "-gui" \ "Launch GRASS GIS @VERSION@ with wxGUI" 1 "%ICON%" 
 
+rem run g.mkfontcap outside a GRASS session during
+rem an OSGeo4W installation for updating paths to fonts
+
+rem set gisbase
+set GISBASE=%OSGEO4W_ROOT%\apps\grass\grass- at VERSION@
+
+rem set path to freetype dll and its dependencies
+set FREETYPEBASE=%OSGEO4W_ROOT%\bin;%OSGEO4W_ROOT%\apps\msys\bin;%GISBASE%\lib
+
+rem set dependencies to path
+set PATH=%FREETYPEBASE%;%PATH%
+
+rem GISRC must be set
+set GISRC=dummy
+
+rem run g.mkfontcap outside a GRASS session
+"%GISBASE%\bin\g.mkfontcap.exe" -o
+
 del "%OSGEO4W_ROOT%"\bin\@GRASS_EXECUTABLE at .bat.tmpl
 del "%OSGEO4W_ROOT%"\bin\@GRASS_EXECUTABLE at .tmpl



More information about the grass-commit mailing list