Skip to content

Commit

Permalink
osgeo4w: also exclude the external python libraries in release packag…
Browse files Browse the repository at this point in the history
…es and

skip the disabled grass direct library
  • Loading branch information
jef-n committed Jun 27, 2014
1 parent 747c7ff commit 9eb0e6c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions ms-windows/osgeo4w/package.cmd
Expand Up @@ -158,6 +158,12 @@ cmake %CMAKE_OPT% ^
-D CMAKE_INSTALL_PREFIX=%O4W_ROOT%/apps/%PACKAGENAME% ^
-D FCGI_INCLUDE_DIR=%O4W_ROOT%/include ^
-D FCGI_LIBRARY=%O4W_ROOT%/lib/libfcgi.lib ^
-D WITH_INTERNAL_JINJA2=FALSE ^
-D WITH_INTERNAL_MARKUPSAFE=FALSE ^
-D WITH_INTERNAL_PYGMENTS=FALSE ^
-D WITH_INTERNAL_DATEUTIL=FALSE ^
-D WITH_INTERNAL_PYTZ=FALSE ^
-D WITH_INTERNAL_SIX=FALSE ^
%SRCDIR%
if errorlevel 1 (echo cmake failed & goto error)

Expand Down Expand Up @@ -308,10 +314,13 @@ tar -C %OSGEO4W_ROOT% -cjf %ARCH%/release/qgis/%PACKAGENAME%-grass-plugin/%PACKA
"apps/%PACKAGENAME%/bin/qgisgrass.dll" ^
"apps/%PACKAGENAME%/plugins/grassrasterprovider.dll" ^
"apps/%PACKAGENAME%/plugins/grassplugin.dll" ^
"apps/%PACKAGENAME%/plugins/grassprovider.dll" ^
"apps/%PACKAGENAME%/plugins/libgrass_gis.%GRASS_VERSION%.dll"
"apps/%PACKAGENAME%/plugins/grassprovider.dll"
if errorlevel 1 (echo tar grass-plugin failed & goto error)

REM grass direct library disabled
REM "apps/%PACKAGENAME%/plugins/libgrass_gis.%GRASS_VERSION%.dll"


tar -C %OSGEO4W_ROOT% -cjf %ARCH%/release/qgis/%PACKAGENAME%-globe-plugin/%PACKAGENAME%-globe-plugin-%VERSION%-%PACKAGE%.tar.bz2 ^
--exclude-from exclude ^
--exclude "*.pyc" ^
Expand Down

0 comments on commit 9eb0e6c

Please sign in to comment.