@@ -208,6 +208,7 @@ cd ..
208
208
sed -e 's/@ package@ /%PACKAGENAME% /g' -e 's/@ version@ /%VERSION% /g' -e 's/@ grassversion@ /%GRASS_VERSION% /g' postinstall-dev.bat > %OSGEO4W_ROOT% \etc\postinstall\%PACKAGENAME% .bat
209
209
sed -e 's/@ package@ /%PACKAGENAME% /g' -e 's/@ version@ /%VERSION% /g' -e 's/@ grassversion@ /%GRASS_VERSION% /g' preremove-desktop.bat > %OSGEO4W_ROOT% \etc\preremove\%PACKAGENAME% .bat
210
210
sed -e 's/@ package@ /%PACKAGENAME% /g' -e 's/@ version@ /%VERSION% /g' -e 's/@ grassversion@ /%GRASS_VERSION% /g' qgis.bat.tmpl > %OSGEO4W_ROOT% \bin\%PACKAGENAME% .bat.tmpl
211
+ sed -e 's/@ package@ /%PACKAGENAME% /g' -e 's/@ version@ /%VERSION% /g' -e 's/@ grassversion@ /%GRASS_VERSION% /g' designer-qgis.bat.tmpl > %OSGEO4W_ROOT% \bin\designer-%PACKAGENAME% .bat.tmpl
211
212
sed -e 's/@ package@ /%PACKAGENAME% /g' -e 's/@ version@ /%VERSION% /g' -e 's/@ grassversion@ /%GRASS_VERSION% /g' browser.bat.tmpl > %OSGEO4W_ROOT% \bin\%PACKAGENAME% -browser.bat.tmpl
212
213
sed -e 's/@ package@ /%PACKAGENAME% /g' -e 's/@ version@ /%VERSION% /g' -e 's/@ grassversion@ /%GRASS_VERSION% /g' qgis.reg.tmpl > %OSGEO4W_ROOT% \apps\%PACKAGENAME% \bin\qgis.reg.tmpl
213
214
@@ -221,6 +222,13 @@ touch exclude
221
222
move %PKGDIR% \bin\qgis.exe %OSGEO4W_ROOT% \bin\%PACKAGENAME% -bin.exe
222
223
move %PKGDIR% \bin\qbrowser.exe %OSGEO4W_ROOT% \bin\%PACKAGENAME% -browser-bin.exe
223
224
225
+ if not exist %OSGEO4W_ROOT% \apps\%PACKAGENAME% \qtplugins\sqldrivers mkdir %OSGEO4W_ROOT% \apps\%PACKAGENAME% \qtplugins\sqldrivers
226
+ move %PKGDIR% \qt4\plugins\sqldrivers\qsqlocispatial.dll %OSGEO4W_ROOT% \apps\%PACKAGENAME% \qtplugins\sqldrivers
227
+ move %PKGDIR% \qt4\plugins\sqldrivers\qsqlspatiallite.dll %OSGEO4W_ROOT% \apps\%PACKAGENAME% \qtplugins\sqldrivers
228
+
229
+ if not exist %OSGEO4W_ROOT% \apps\%PACKAGENAME% \qtplugins\designer mkdir %OSGEO4W_ROOT% \apps\%PACKAGENAME% \qtplugins\designer
230
+ move %PKGDIR% \qt4\plugins\designer\qgis_customwidgets.dll %OSGEO4W_ROOT% \apps\%PACKAGENAME% \qtplugins\designer
231
+
224
232
if not exist %ARCH% \release\qgis\%PACKAGENAME% mkdir %ARCH% \release\qgis\%PACKAGENAME%
225
233
tar -C %OSGEO4W_ROOT% -cjf %ARCH% /release/qgis/%PACKAGENAME% /%PACKAGENAME% -%VERSION% -%PACKAGE% .tar.bz2 ^
226
234
--exclude-from exclude ^
@@ -229,9 +237,7 @@ tar -C %OSGEO4W_ROOT% -cjf %ARCH%/release/qgis/%PACKAGENAME%/%PACKAGENAME%-%VERS
229
237
bin/%PACKAGENAME% -browser-bin.exe ^
230
238
bin/%PACKAGENAME% .bat.tmpl ^
231
239
bin/%PACKAGENAME% -browser.bat.tmpl ^
232
- apps/qt4/plugins/sqldrivers/qsqlocispatial.dll ^
233
- apps/qt4/plugins/sqldrivers/qsqlspatialite.dll ^
234
- apps/qt4/plugins/designer/qgis_customwidgets.dll ^
240
+ bin/designer-%PACKAGENAME% .bat.tmpl ^
235
241
etc/postinstall/%PACKAGENAME% .bat ^
236
242
etc/preremove/%PACKAGENAME% .bat
237
243
if errorlevel 1 (echo tar failed & goto error)
0 commit comments