| 1 | = Setup Development = |
| 2 | |
| 3 | The OSGeo4W GUI Installer is derived from the Cygwin GUI Installer described at: |
| 4 | |
| 5 | http://cygwin.com/setup.html |
| 6 | |
| 7 | The modified source can be found in the OSGeo4W SVN at: |
| 8 | |
| 9 | https://svn.osgeo.org/osgeo4w/trunk/setup |
| 10 | |
| 11 | To build, you must first install Cygwin - including quite a variety of development packages. Then run: |
| 12 | |
| 13 | {{{ |
| 14 | ./bootstrap.sh |
| 15 | ./fr_configure |
| 16 | make |
| 17 | }}} |
| 18 | |
| 19 | In the setup source directory. This should produce a setup.exe executable. The fr_upload.sh and package.sh scripts should also be helpful to get the results to the OSGeo4W download server. Note that the executable needs to be updated in two places when new versions are uploaded. One is the http://download.osgeo.org/osgeo4w/osgeo4w-setup.exe binary and the other is the packaged copy in http://download.osgeo.org/osgeo4w/release/setup. |
| 20 | |
| 21 | == Adding Express Packages == |
| 22 | |
| 23 | To add a new express install package follow these steps: |
| 24 | |
| 25 | # Add a symbolic define for the new package in resource.h in the section at the end (IDC_PKG_OPENEV, etc). |
| 26 | # Add a new entry on the express package dialog defined in res.rc (search for IDC_PKG_OPENEV). Make sure the positioning does not overlap other packages. |
| 27 | # Add the new package to the !PackageControlPair[] array in express_package.cc file, matching the IDC_PKG_ constant with the name of the package. |
| 28 | |