Changes between Initial Version and Version 1 of GSoc2013Doc


Ignore:
Timestamp:
Sep 12, 2013, 5:09:33 PM (11 years ago)
Author:
steve
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GSoc2013Doc

    v1 v1  
     1'''1. Adding license files on Server Side'''
     2[[BR]]
     3    ''' Add a file with License Terms '''
     4       Each package directory has many files like setup.hint file (which normally contains the short and long description for the package and other important things), the package tar file. First in order to add a license file for an especific package, you need to create a .txt license file in its directory package on [http://download.osgeo.org/osgeo4w/testing_license] server, for example:
     5        {{{
     6            ssh someuser@download.osgeo.org   # log in into server
     7
     8            # if gdal-ecw package has non-open source license go there.
     9
     10            cd /osgeo/download/osgeo4w/testing_license/release/gdal/gdal-ecw
     11
     12            touch gdal-ecw-1.9.1-0.txt        # you need to create a .txt license file.
     13
     14            echo "put all terms and conditions of the restrictive package" > gdal-ecw-1.9.1-0.txt  # Remember to save as .txt file
     15         
     16       }}}
     17
     18    ''' Generate the Setup.ini file '''
     19      The OSGeo4w Setup.exe downloads the  setup.ini file with a list of all packages each time when it is run. This file should be recreated on the server by running the script invoking regen.sh on the web each time packages are uploaded. You need to recreate the setup.ini in order to update it with all entries of licenses for each restrictive packages
     20        {{{
     21           # go to main directory of testing version or official in this case,
     22           # we use "/osgeo/download/osgeo4w/testing_license/" path directory, there is a script called regen.sh
     23
     24           ./regen.sh   # it will run perl script genini and create the new "setup.ini" file
     25         
     26           # Now you can see the setup.ini file with license entries for each restrictive package   
     27        }}}
     28 
     29
     30'''2. Steps for Testing extend Features of OSGeo4W '''
     31[[BR]]
     32     * Before you follow this steps you should do all configurations and build the setup.exe at [http://trac.osgeo.org/osgeo4w/wiki/SetupDevelopment]
     33     * execute the following:
     34       {{{
     35         cd setup
     36         ./bootstrap.sh  --enable-mirror=http://download.osgeo.org/osgeo4w/testing_license # this will produce configure file with a mirror
     37          make # this will produce a setup.exe executable in the setup directory
     38         ./osgeo4w-setup-x86.exe --arch=x86  #this will connect to remote server to get packages from [http://download.osgeo.org/osgeo4w/testing_license/] testing licenses
     39       }}}
     40     * Choose the next option with new feature: Advance Install > Install from internet > Root Directory > Local package directory > Direct connection
     41     * 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)
     42       and choose another normal package for example: 'gdal-java'.
     43     * Setup will download the license file from remote server into your local directory "Local Package Directory" , you can see it if you want.
     44     * Next step setup.exe will load the file license into a window dialog, with its terms, and If you agree you can continue.