Changes between Version 33 and Version 34 of PackagingInstructions


Ignore:
Timestamp:
08/25/13 08:34:09 (11 years ago)
Author:
jef
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PackagingInstructions

    v33 v34  
    1616
    1717This tree can be reviewed at: http://download.osgeo.org/osgeo4w/release
     18
     19Experimental 64bit packages are located on:
     20
     21 upload.osgeo.org:/osgeo/download/osgeo4w/testing64/release/<package>
     22
     23This tree can be reviewed at: http://download.osgeo.org/osgeo4w/testing64/release
    1824
    1925[[Image(package-name.png, right)]]Each package directory should have a single setup.hint file, and one or more versions of that package as a .tar.bz2 file.  These should normally have names like gdal-1.5.0-7.tar.bz2 where "1.5.0" is the version of GDAL that was packaged, and "-1" indicates the version of the packaging attempt.  The directory can also contain corresponding source snapshots named like gdal-1.5.0-7-src.tar.bz2.   Note that the basename should exactly match the directory in which the package is found.  So the "gdal" directory has gdal-<version>-<revision>.tar.bz2 package files.
     
    138144The environment variables {{{OSGEO4W_MENU_LINKS}}} and {{{OSGEO4W_DESKTOP_LINKS}}} are set by the installer (since 1.0.6-5) and reflect whether or not the corresponding option was checked.
    139145
     146In the 64bit msvcrt package there is also {{{nircmd}}} (see [http://www.nirsoft.net/utils/nircmd.html nircmd]) that can alternatively be used to create shortcuts.  Example from the qgis-dev postinstall:
     147
     148{{{
     149REM get short path without blanks
     150for %%i in ("%OSGEO4W_ROOT%") do set O4W_ROOT=%%~fsi
     151
     152if not %OSGEO4W_MENU_LINKS%==0 mkdir "%OSGEO4W_STARTMENU%"
     153if not %OSGEO4W_MENU_LINKS%==0 nircmd shortcut "%O4W_ROOT%\bin\nircmd.exe" "%OSGEO4W_STARTMENU%" "QGIS Desktop 1.9.0" "exec hide %O4W_ROOT%\bin\qgis-dev.bat" "%O4W_ROOT%\apps\qgis-dev\icons\QGIS.ico"
     154if not %OSGEO4W_MENU_LINKS%==0 nircmd shortcut "%O4W_ROOT%\bin\nircmd.exe" "%OSGEO4W_STARTMENU%" "QGIS Browser 1.9.0" "exec hide %O4W_ROOT%\bin\qgis-dev-browser.bat" "%O4W_ROOT%\apps\qgis-dev\icons\QGIS.ico"
     155
     156if not %OSGEO4W_DESKTOP_LINKS%==0 nircmd shortcut "%O4W_ROOT%\bin\nircmd.exe" "~$folder.desktop$" "QGIS Desktop 1.9.0" "exec hide %O4W_ROOT%\bin\qgis-dev.bat" "%O4W_ROOT%\apps\qgis-dev\icons\QGIS.ico"
     157if not %OSGEO4W_DESKTOP_LINKS%==0 nircmd shortcut "%O4W_ROOT%\bin\nircmd.exe" "~$folder.desktop$" "QGIS Browser 1.9.0" "exec hide %O4W_ROOT%\bin\qgis-dev-browser.bat" "%O4W_ROOT%\apps\qgis-dev\icons\QGIS.ico"
     158}}}
     159
     160''Note:'' that this also uses {{{nircmd}}} to start the batch job, which has the advantage that there is no command line window flashing up when a desktop application starts.
     161
    140162The postinstall scripts can run any DOS command or installed binary with desired arguments.
    141163
     
    183205 * Promote test setup to live: `http://upload.osgeo.org/cgi-bin/osgeo4w-promote.sh`
    184206
    185 ''Note:'' the nightly build of Quantum GIS (package {{{qgis-dev}}}) is build and uploaded around 00:00 UTC / 16:00 PST in the process the {{{setup.ini}}}} is updated and promoted automatically.
     207Links for the experimental 64bit repository:
     208
     209 * Generate test setup: `http://upload.osgeo.org/cgi-bin/osgeo4w-regen-testing64.sh`
     210 * Promote test setup to live: `http://upload.osgeo.org/cgi-bin/osgeo4w-promote-testing64.sh`
     211
     212''Note:'' the nightly build of QGIS (package {{{qgis-dev}}}) is build and uploaded around 00:00 UTC / 16:00 PST in the process the {{{setup.ini}}}} is updated and promoted automatically.   There's also a nightly build in the 64bit repository.
    186213
    187214== Documenting ==