[QGIS Commit] r15172 - branches/Release-1_6_0/ms-windows/osgeo4w

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Feb 14 14:02:06 EST 2011


Author: jef
Date: 2011-02-14 11:02:06 -0800 (Mon, 14 Feb 2011)
New Revision: 15172

Modified:
   branches/Release-1_6_0/ms-windows/osgeo4w/package.cmd
   branches/Release-1_6_0/ms-windows/osgeo4w/qgis.bat.tmpl
Log:
osgeo4w updates

Modified: branches/Release-1_6_0/ms-windows/osgeo4w/package.cmd
===================================================================
--- branches/Release-1_6_0/ms-windows/osgeo4w/package.cmd	2011-02-14 18:53:38 UTC (rev 15171)
+++ branches/Release-1_6_0/ms-windows/osgeo4w/package.cmd	2011-02-14 19:02:06 UTC (rev 15172)
@@ -27,6 +27,10 @@
 
 call "%OSGEO4W_ROOT%\bin\o4w_env.bat"
 
+set PATH=%PROGRAMFILES%\CMake 2.8\bin;%PROGRAMFILES%\GnuWin32\bin;%PATH%
+set INCLUDE=%INCLUDE%;%OSGEO4W_ROOT%\include;
+set LIB=%LIB%;%OSGEO4W_ROOT%\lib
+
 set O4W_ROOT=%OSGEO4W_ROOT:\=/%
 set LIB_DIR=%O4W_ROOT%
 
@@ -37,8 +41,8 @@
 
 PROMPT qgis%VERSION%$g 
 
-set BUILDCONF=RelWithDebInfo
-REM set BUILDCONF=Release
+REM set BUILDCONF=RelWithDebInfo
+set BUILDCONF=Release
 
 
 cd ..\..
@@ -89,11 +93,10 @@
 	-D WITH_INTERNAL_SPATIALITE=TRUE ^
 	-D CMAKE_BUILD_TYPE=%BUILDCONF% ^
 	-D CMAKE_CONFIGURATION_TYPES=%BUILDCONF% ^
-	-D GDAL_INCLUDE_DIR=%O4W_ROOT%/apps/gdal-17/include ^
-	-D GDAL_LIBRARY=%O4W_ROOT%/apps/gdal-17/lib/gdal_i.lib ^
 	-D PYTHON_EXECUTABLE=%O4W_ROOT%/bin/python.exe ^
 	-D PYTHON_INCLUDE_PATH=%O4W_ROOT%/apps/Python25/include ^
 	-D PYTHON_LIBRARY=%O4W_ROOT%/apps/Python25/libs/python25.lib ^
+	-D GEOS_LIBRARY=%O4W_ROOT%/lib/geos_c_i.lib ^
 	-D SIP_BINARY_PATH=%O4W_ROOT%/apps/Python25/sip.exe ^
 	-D GRASS_PREFIX=%O4W_ROOT%/apps/grass/grass-%GRASS_VERSION% ^
 	-D QT_BINARY_DIR=%O4W_ROOT%/bin ^
@@ -145,7 +148,9 @@
 touch exclude
 
 tar -C %OSGEO4W_ROOT% -cjf %PACKAGENAME%-%VERSION%-%PACKAGE%.tar.bz2 ^
+	--exclude "apps/%PACKAGENAME%/bin/qgis.reg" ^
 	--exclude-from exclude ^
+	--exclude "*.pyc" ^
 	--exclude "apps/%PACKAGENAME%/themes/classic/grass" ^
 	--exclude "apps/%PACKAGENAME%/themes/default/grass" ^
 	--exclude "apps/%PACKAGENAME%/themes/qgis/grass" ^
@@ -161,8 +166,9 @@
 	>>%LOG% 2>&1
 if errorlevel 1 goto error
 
-tar -C %OSGEO4W_ROOT% -cjf %PACKAGENAME%-grass-%VERSION%-%PACKAGE%.tar.bz2 ^
+tar -C %OSGEO4W_ROOT% -cjf %PACKAGENAME%-grass-plugin-%VERSION%-%PACKAGE%.tar.bz2 ^
 	--exclude-from exclude ^
+	--exclude "*.pyc" ^
 	"apps/%PACKAGENAME%/themes/classic/grass" ^
 	"apps/%PACKAGENAME%/themes/default/grass" ^
 	"apps/%PACKAGENAME%/themes/gis/grass" ^

Modified: branches/Release-1_6_0/ms-windows/osgeo4w/qgis.bat.tmpl
===================================================================
--- branches/Release-1_6_0/ms-windows/osgeo4w/qgis.bat.tmpl	2011-02-14 18:53:38 UTC (rev 15171)
+++ branches/Release-1_6_0/ms-windows/osgeo4w/qgis.bat.tmpl	2011-02-14 19:02:06 UTC (rev 15172)
@@ -2,7 +2,6 @@
 
 SET OSGEO4W_ROOT=@osgeo4w@
 call "%OSGEO4W_ROOT%"\bin\o4w_env.bat
-call "%OSGEO4W_ROOT%"\bin\gdal17.bat
 call "%OSGEO4W_ROOT%"\bin\grass-env.bat
 @echo off
 path %PATH%;%GISBASE%\bin



More information about the QGIS-commit mailing list