Changes between Version 24 and Version 25 of PackagingInstructions
- Timestamp:
- Mar 9, 2010, 11:48:25 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PackagingInstructions
v24 v25 5 5 OSGeo4W packages are each bzip2 compressed .tar files intended to be unpacked in the OSGeo4W root directory. They come with setup.hint files designed to describe dependencies and a package description. 6 6 7 == Package name convention ==8 Use the vendor's version plus a release suffix for ports of existing packages (i.e. bash 2.04 becomes 2.04'''-1''', 2.04'''-2''', etc, until bash 2.05 is ported, which would be 2.05-1, etc). Some packages also use a YYMMDD format for their versions, e.g. binutils-20010901'''-1'''.tar.bz2. The first release of a package should have a -1 release suffix. ''-- http://cygwin.com/setup.html#naming''9 10 7 == Package Directory Layout == 11 8 … … 20 17 This tree can be reviewed at: http://download.osgeo.org/osgeo4w/release 21 18 22 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- 1.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-1-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.19 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. 23 20 24 21 Sometimes a single project is packaged as several packages. In this case component packages are normally created as subdirectories of the primary directory. So, for instance the Oracle 10g driver for GDAL is kept in the release/gdal/gdal-oracle10g directory and packaged as gdal-oracle10g-1.5.0-1.tar.bz2.