[QGIS Commit] r14065 - trunk/qgis/ms-windows/osgeo4w

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Aug 11 15:03:55 EDT 2010


Author: jef
Date: 2010-08-11 19:03:55 +0000 (Wed, 11 Aug 2010)
New Revision: 14065

Modified:
   trunk/qgis/ms-windows/osgeo4w/package.cmd
Log:
separate grass plugin package for osgeo4w

Modified: trunk/qgis/ms-windows/osgeo4w/package.cmd
===================================================================
--- trunk/qgis/ms-windows/osgeo4w/package.cmd	2010-08-11 19:00:16 UTC (rev 14064)
+++ trunk/qgis/ms-windows/osgeo4w/package.cmd	2010-08-11 19:03:55 UTC (rev 14065)
@@ -144,18 +144,41 @@
 
 tar -C %OSGEO4W_ROOT% -cjf %PACKAGENAME%-%VERSION%-%PACKAGE%.tar.bz2 ^
 	--exclude-from exclude ^
+	--exclude "apps/%PACKAGENAME%/themes/classic/grass" ^
+	--exclude "apps/%PACKAGENAME%/themes/default/grass" ^
+	--exclude "apps/%PACKAGENAME%/themes/qgis/grass" ^
+	--exclude "apps/%PACKAGENAME%/grass" ^
+	--exclude "apps/%PACKAGENAME%/bin/qgisgrass.dll" ^
+	--exclude "apps/%PACKAGENAME%/plugins/grassrasterprovider.dll" ^
+	--exclude "apps/%PACKAGENAME%/plugins/grassplugin.dll" ^
+	--exclude "apps/%PACKAGENAME%/plugins/grassprovider.dll" ^
 	apps/%PACKAGENAME% ^
 	bin/%PACKAGENAME%.bat.tmpl ^
 	etc/postinstall/%PACKAGENAME%.bat ^
-	etc/preremove/%PACKAGENAME%.bat>>%LOG% 2>&1
+	etc/preremove/%PACKAGENAME%.bat ^
+	>>%LOG% 2>&1
 if errorlevel 1 goto error
 
+tar -C %OSGEO4W_ROOT% -cjf %PACKAGENAME%-grass-%VERSION%-%PACKAGE%.tar.bz2 ^
+	--exclude-from exclude ^
+	"apps/%PACKAGENAME%/themes/classic/grass" ^
+	"apps/%PACKAGENAME%/themes/default/grass" ^
+	"apps/%PACKAGENAME%/themes/gis/grass" ^
+	"apps/%PACKAGENAME%/grass" ^
+	"apps/%PACKAGENAME%/bin/qgisgrass.dll" ^
+	"apps/%PACKAGENAME%/plugins/grassrasterprovider.dll" ^
+	"apps/%PACKAGENAME%/plugins/grassplugin.dll" ^
+	"apps/%PACKAGENAME%/plugins/grassprovider.dll" ^
+	>>%LOG% 2>&1
+if errorlevel 1 goto error
+
 goto end
 
 :error
 echo BUILD ERROR %ERRORLEVEL%: %DATE% %TIME%
 echo BUILD ERROR %ERRORLEVEL%: %DATE% %TIME%>>%LOG% 2>&1
 if exist %PACKAGENAME%-%VERSION%-%PACKAGE%.tar.bz2 del %PACKAGENAME%-%VERSION%-%PACKAGE%.tar.bz2
+if exist %PACKAGENAME%-grass-plugin-%VERSION%-%PACKAGE%.tar.bz2 del %PACKAGENAME%-grass-plugin-%VERSION%-%PACKAGE%.tar.bz2
 
 :end
 echo FINISHED: %DATE% %TIME% >>%LOG% 2>&1



More information about the QGIS-commit mailing list