wiki:GSoc2013Tests

Version 7 (modified by steve, 11 years ago) ( diff )

--

1. Adding license in Server Side :

1.1 Add a file with License Terms

First in order to add a license for a especific package, you need to create a .txt license file under path of a directory of package on

http://download.osgeo.org/osgeo4w server, for example:

    svn someuser@download.osgeo.org   # log in into server 

    # if gdal-ecw package has non-open source license go there.

    cd osgeo/download/osgeo4w/release/gdal/gdal-ecw

    touch gdal-ecw-1.9.1-0.txt        # you need to create a .txt license file.

    echo "some terms of the restrictive package" > gdal-ecw-1.9.1-0.txt
 

1.2 Generate the "setup.ini" file

Second, you need to generate the setup.ini in order to update it with all entries for each non-open source packages. thus:

   # go to main directory of osgeo4w, there is a script called rengen.sh
   ./rengen.sh   # it will run perl script genini
   
   # Now you can see the setup.ini file with license entry for each restrictive package   

2. Steps for Testing extend Features of OSGeo4W :

  • Before you follow this steps you should do all configurations and build the setup.exe at http://trac.osgeo.org/osgeo4w/wiki/SetupDevelopment
  • Choose the next option with new feature: Advance Install > Install from internet > Root Directory > Local package directory > Direct connection
  • Choose a restrictive package for example 'gdal-mrsid' or 'gdal-ecw' or both(remember if you want to see its license, you must have create it in step one) and choose another normal package for example: 'gdal-java'.
  • Setup will download the license file from remote server into your local directory "Local Package Directory" , you can see it if you want.
  • Next step setup.exe will load the file license into a window dialog, with its terms, and If you agree you can continue.
Note: See TracWiki for help on using the wiki.