|
@@ -11,5 +11,23 @@ xxmklink "%OSGEO4W_STARTMENU%\GRASS GIS @VERSION@\GRASS @VERSION@ Command Line.l
|
|
|
|
|
|
xxmklink "%ALLUSERSPROFILE%\Desktop\GRASS GIS @VERSION@.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-@VERSION@\
|
|
|
+
|
|
|
+rem set path to freetype dll and its dependecies
|
|
|
+set FREETYPEBASE=%OSGEO4W_ROOT%bin;%OSGEO4W_ROOT%apps\msys\bin;%GISBASE%lib
|
|
|
+
|
|
|
+rem set dependecies 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@.bat.tmpl
|
|
|
del "%OSGEO4W_ROOT%"\bin\@GRASS_EXECUTABLE@.tmpl
|