[GRASS-SVN] r67630 - in grass/trunk/mswindows: . osgeo4w
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jan 23 03:10:14 PST 2016
Author: martinl
Date: 2016-01-23 03:10:14 -0800 (Sat, 23 Jan 2016)
New Revision: 67630
Modified:
grass/trunk/mswindows/env.bat
grass/trunk/mswindows/osgeo4w/env.bat.tmpl
grass/trunk/mswindows/osgeo4w/package.sh
Log:
attempt to fix d.fontlist crashes on Windows (#2870)
Modified: grass/trunk/mswindows/env.bat
===================================================================
--- grass/trunk/mswindows/env.bat 2016-01-23 10:48:41 UTC (rev 67629)
+++ grass/trunk/mswindows/env.bat 2016-01-23 11:10:14 UTC (rev 67630)
@@ -11,6 +11,8 @@
set GDAL_DATA=%GISBASE%\share\gdal
set GEOTIFF_CSV=%GISBASE%\share\epsg_csv
+set FONTCONFIG_FILE=%GISBASE%\etc\fonts.conf
+
set PATH=%GISBASE%\extrabin;%GISBASE%\bin;%PATH%
REM set RStudio temporarily to %PATH% if it exists
Modified: grass/trunk/mswindows/osgeo4w/env.bat.tmpl
===================================================================
--- grass/trunk/mswindows/osgeo4w/env.bat.tmpl 2016-01-23 10:48:41 UTC (rev 67629)
+++ grass/trunk/mswindows/osgeo4w/env.bat.tmpl 2016-01-23 11:10:14 UTC (rev 67630)
@@ -13,6 +13,8 @@
set GDAL_DATA=%OSGEO4W_ROOT%\share\gdal
set GEOTIFF_CSV=%OSGEO4W_ROOT%\share\epsg_csv
+set FONTCONFIG_FILE=%GISBASE%\etc\fonts.conf
+
REM set RStudio temporarily to %PATH% if it exists
IF EXIST "%ProgramFiles%\RStudio\bin\rstudio.exe" set PATH=%PATH%;%ProgramFiles%\RStudio\bin
Modified: grass/trunk/mswindows/osgeo4w/package.sh
===================================================================
--- grass/trunk/mswindows/osgeo4w/package.sh 2016-01-23 10:48:41 UTC (rev 67629)
+++ grass/trunk/mswindows/osgeo4w/package.sh 2016-01-23 11:10:14 UTC (rev 67630)
@@ -255,6 +255,8 @@
/mingw${MINGW_POSTFIX}/bin/libtre-5.dll \
/mingw${MINGW_POSTFIX}/bin/zlib1.dll \
apps/grass/grass-$VERSION/bin
+ cp -uv /mingw${MINGW_POSTFIX}/etc/fonts/fonts.conf \
+ apps/grass/grass-$VERSION/etc
# creating grass package
tar -cjf $PDIR/grass$PACKAGE_POSTFIX-$VERSION-$PACKAGE_PATCH.tar.bz2 \
More information about the grass-commit
mailing list