Skip to content

Commit 7e8f9c1

Browse files
author
jef
committed
osgeo4w updates
git-svn-id: http://svn.osgeo.org/qgis/branches/Release-1_6_0@15172 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 803f357 commit 7e8f9c1

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

ms-windows/osgeo4w/package.cmd

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ if not exist "%OSGEO4W_ROOT%\bin\o4w_env.bat" goto error
2727

2828
call "%OSGEO4W_ROOT%\bin\o4w_env.bat"
2929

30+
set PATH=%PROGRAMFILES%\CMake 2.8\bin;%PROGRAMFILES%\GnuWin32\bin;%PATH%
31+
set INCLUDE=%INCLUDE%;%OSGEO4W_ROOT%\include;
32+
set LIB=%LIB%;%OSGEO4W_ROOT%\lib
33+
3034
set O4W_ROOT=%OSGEO4W_ROOT:\=/%
3135
set LIB_DIR=%O4W_ROOT%
3236

@@ -37,8 +41,8 @@ if "%DEVENV%"=="" goto error
3741

3842
PROMPT qgis%VERSION%$g
3943

40-
set BUILDCONF=RelWithDebInfo
41-
REM set BUILDCONF=Release
44+
REM set BUILDCONF=RelWithDebInfo
45+
set BUILDCONF=Release
4246

4347

4448
cd ..\..
@@ -89,11 +93,10 @@ cmake -G "Visual Studio 9 2008" ^
8993
-D WITH_INTERNAL_SPATIALITE=TRUE ^
9094
-D CMAKE_BUILD_TYPE=%BUILDCONF% ^
9195
-D CMAKE_CONFIGURATION_TYPES=%BUILDCONF% ^
92-
-D GDAL_INCLUDE_DIR=%O4W_ROOT%/apps/gdal-17/include ^
93-
-D GDAL_LIBRARY=%O4W_ROOT%/apps/gdal-17/lib/gdal_i.lib ^
9496
-D PYTHON_EXECUTABLE=%O4W_ROOT%/bin/python.exe ^
9597
-D PYTHON_INCLUDE_PATH=%O4W_ROOT%/apps/Python25/include ^
9698
-D PYTHON_LIBRARY=%O4W_ROOT%/apps/Python25/libs/python25.lib ^
99+
-D GEOS_LIBRARY=%O4W_ROOT%/lib/geos_c_i.lib ^
97100
-D SIP_BINARY_PATH=%O4W_ROOT%/apps/Python25/sip.exe ^
98101
-D GRASS_PREFIX=%O4W_ROOT%/apps/grass/grass-%GRASS_VERSION% ^
99102
-D QT_BINARY_DIR=%O4W_ROOT%/bin ^
@@ -145,7 +148,9 @@ REM del %OSGEO4W_ROOT%\apps\%PACKAGENAME%\python\qgis\qgisconfig.py
145148
touch exclude
146149

147150
tar -C %OSGEO4W_ROOT% -cjf %PACKAGENAME%-%VERSION%-%PACKAGE%.tar.bz2 ^
151+
--exclude "apps/%PACKAGENAME%/bin/qgis.reg" ^
148152
--exclude-from exclude ^
153+
--exclude "*.pyc" ^
149154
--exclude "apps/%PACKAGENAME%/themes/classic/grass" ^
150155
--exclude "apps/%PACKAGENAME%/themes/default/grass" ^
151156
--exclude "apps/%PACKAGENAME%/themes/qgis/grass" ^
@@ -161,8 +166,9 @@ tar -C %OSGEO4W_ROOT% -cjf %PACKAGENAME%-%VERSION%-%PACKAGE%.tar.bz2 ^
161166
>>%LOG% 2>&1
162167
if errorlevel 1 goto error
163168

164-
tar -C %OSGEO4W_ROOT% -cjf %PACKAGENAME%-grass-%VERSION%-%PACKAGE%.tar.bz2 ^
169+
tar -C %OSGEO4W_ROOT% -cjf %PACKAGENAME%-grass-plugin-%VERSION%-%PACKAGE%.tar.bz2 ^
165170
--exclude-from exclude ^
171+
--exclude "*.pyc" ^
166172
"apps/%PACKAGENAME%/themes/classic/grass" ^
167173
"apps/%PACKAGENAME%/themes/default/grass" ^
168174
"apps/%PACKAGENAME%/themes/gis/grass" ^

ms-windows/osgeo4w/qgis.bat.tmpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
SET OSGEO4W_ROOT=@osgeo4w@
44
call "%OSGEO4W_ROOT%"\bin\o4w_env.bat
5-
call "%OSGEO4W_ROOT%"\bin\gdal17.bat
65
call "%OSGEO4W_ROOT%"\bin\grass-env.bat
76
@echo off
87
path %PATH%;%GISBASE%\bin

0 commit comments

Comments
 (0)