Changes between Version 5 and Version 6 of GSoc2013Tests
- Timestamp:
- 09/03/13 14:43:52 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GSoc2013Tests
v5 v6 1 1 '''1. Adding license in Server Side :''' 2 2 [[BR]] 3 * 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 4 [http://download.osgeo.org/osgeo4w] server, for example: 3 ''1.1 Add a file with License Terms 4 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 5 [http://download.osgeo.org/osgeo4w] server, for example: 5 6 {{{ 6 7 svn someuser@download.osgeo.org # log in into server 7 8 9 # if gdal-ecw package has non-open source license go there. 10 8 11 cd osgeo/download/osgeo4w/release/gdal/gdal-ecw 9 12 10 touch gdal-ecw-1.9.1-0.txt # you need to create a .txt license file 13 touch gdal-ecw-1.9.1-0.txt # you need to create a .txt license file. 11 14 12 15 echo "some terms of the restrictive package" > gdal-ecw-1.9.1-0.txt … … 14 17 }}} 15 18 19 '' 1.2 Generate the "setup.ini" file 20 Second, you need to generate the setup.ini in order to update it with all entries for each non-open source packages. thus: 21 22 {{{ 23 # go to main directory of osgeo4w, there is a script called rengen.sh 24 ./rengen.sh # it will run perl script genini 25 26 # Now you can see the setup.ini file with license entry for each restrictive package 27 }}} 28 29 16 30 '''2. Steps for Testing extend Features of OSGeo4W :''' 17 31 [[BR]] 18 32 * Before you follow this steps you should do all configurations and build the setup.exe at [http://trac.osgeo.org/osgeo4w/wiki/SetupDevelopment] 19 * make the following: 20 {{{ 21 Download "setup.override.ini" file from [http://trac.osgeo.org/osgeo4w/browser] in the root of your local directory 'C:\' 22 ./setup.exe # run it. 23 24 25 }}} 26 * Choose the next option: Advance Install > Install from internet > Root Directory > Local package directory > Direct connection 27 * Choose a restrictive package for example 'gdal-mrsid' or 'gdal-ecw' or both, you should to choose these because I just created a file for each 28 one in 'download.osgeo.org' server. If you choose another restrictive package setup.exe will raise an error, and choose another normal package for 29 example: 'gdal-java'. 33 * Choose the next option with new feature: Advance Install > Install from internet > Root Directory > Local package directory > Direct connection 34 * 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) 35 and choose another normal package for example: 'gdal-java'. 30 36 * Setup will download the license file from remote server into your local directory "Local Package Directory" , you can see it if you want. 31 * Next step setup.exe will load the file license into a window and it will show you.37 * Next step setup.exe will load the file license into a window dialog, with its terms, and If you agree you can continue.