Skip to content

Commit 690afab

Browse files
committed
osgeo4w packaging update
1 parent fd17247 commit 690afab

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

ms-windows/osgeo4w/browser.bat.tmpl

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@echo off
2+
3+
SET OSGEO4W_ROOT=@osgeo4w@
4+
call "%OSGEO4W_ROOT%"\bin\o4w_env.bat
5+
call "%OSGEO4W_ROOT%"\apps\grass\grass-@grassversion@\etc\env.bat
6+
@echo off
7+
path %PATH%;%OSGEO4W_ROOT%\apps\@package@\bin;%OSGEO4W_ROOT%\apps\grass\grass-@grassversion@\lib
8+
start "Quantum GIS Browser" /B "%OSGEO4W_ROOT%"\apps\@package@\bin\qbrowser.exe %*

ms-windows/osgeo4w/package.cmd

+5-8
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ cmake -G "Visual Studio 9 2008" ^
9292
-D WITH_GLOBE=TRUE ^
9393
-D CMAKE_BUILD_TYPE=%BUILDCONF% ^
9494
-D CMAKE_CONFIGURATION_TYPES=%BUILDCONF% ^
95-
-D GEOS_LIBRARY=%OSGEO4W_ROOT%/lib/geos_c_i.lib ^
96-
-D SQLITE3_LIBRARY=%OSGEO4W_ROOT%/lib/sqlite3_i.lib ^
97-
-D SPATIALITE_LIBRARY=%OSGEO4W_ROOT%/lib/spatialite_i.lib ^
95+
-D GEOS_LIBRARY=%O4W_ROOT%/lib/geos_c_i.lib ^
96+
-D SQLITE3_LIBRARY=%O4W_ROOT%/lib/sqlite3_i.lib ^
97+
-D SPATIALITE_LIBRARY=%O4W_ROOT%/lib/spatialite_i.lib ^
9898
-D PYTHON_EXECUTABLE=%O4W_ROOT%/bin/python.exe ^
9999
-D PYTHON_INCLUDE_PATH=%O4W_ROOT%/apps/Python27/include ^
100100
-D PYTHON_LIBRARY=%O4W_ROOT%/apps/Python27/libs/python27.lib ^
@@ -124,11 +124,11 @@ if not errorlevel 1 goto error
124124

125125
echo ZERO_CHECK: %DATE% %TIME%>>%LOG% 2>&1
126126
%DEVENV% qgis%VERSION%.sln /Project ZERO_CHECK /Build %BUILDCONF% /Out %LOG%>>%LOG% 2>&1
127-
if errorlevel 1 goto error
127+
if errorlevel 1 goto error
128128

129129
echo ALL_BUILD: %DATE% %TIME%>>%LOG% 2>&1
130130
%DEVENV% qgis%VERSION%.sln /Project ALL_BUILD /Build %BUILDCONF% /Out %LOG%>>%LOG% 2>&1
131-
if errorlevel 1 goto error
131+
if errorlevel 1 goto error
132132

133133
echo INSTALL: %DATE% %TIME%>>%LOG% 2>&1
134134
%DEVENV% qgis%VERSION%.sln /Project INSTALL /Build %BUILDCONF% /Out %LOG%>>%LOG% 2>&1
@@ -153,9 +153,6 @@ touch exclude
153153
tar -C %OSGEO4W_ROOT% -cjf %PACKAGENAME%-%VERSION%-%PACKAGE%.tar.bz2 ^
154154
--exclude-from exclude ^
155155
--exclude "*.pyc" ^
156-
--exclude "apps/%PACKAGENAME%/themes/classic/grass" ^
157-
--exclude "apps/%PACKAGENAME%/themes/default/grass" ^
158-
--exclude "apps/%PACKAGENAME%/themes/gis/grass" ^
159156
--exclude "apps/%PACKAGENAME%/grass" ^
160157
--exclude "apps/%PACKAGENAME%/bin/qgisgrass.dll" ^
161158
--exclude "apps/%PACKAGENAME%/plugins/grassrasterprovider.dll" ^

0 commit comments

Comments
 (0)