[prev in list] [next in list] [prev in thread] [next in thread]
List: grass-commit
Subject: [GRASS-SVN] r66691 - grass/trunk/mswindows/osgeo4w
From: svn_grass () osgeo ! org
Date: 2015-10-31 22:59:11
Message-ID: 20151031225911.E0E6A39027C () trac ! osgeo ! org
[Download RAW message or body]
Author: hellik
Date: 2015-10-31 15:59:11 -0700 (Sat, 31 Oct 2015)
New Revision: 66691
Modified:
grass/trunk/mswindows/osgeo4w/postinstall.bat
Log:
postinstall.bat: update paths to fonts during an OSGeo4W-winGRASS installation; \
attempt to fix #2784
Modified: grass/trunk/mswindows/osgeo4w/postinstall.bat
===================================================================
--- grass/trunk/mswindows/osgeo4w/postinstall.bat 2015-10-31 16:35:32 UTC (rev 66690)
+++ grass/trunk/mswindows/osgeo4w/postinstall.bat 2015-10-31 22:59:11 UTC (rev 66691)
@@ -11,5 +11,23 @@
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
_______________________________________________
grass-commit mailing list
grass-commit@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-commit
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic