Changes between Version 2 and Version 3 of GSoc2013Doc


Ignore:
Timestamp:
Sep 18, 2013, 4:02:38 PM (11 years ago)
Author:
steve
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GSoc2013Doc

    v2 v3  
    22[[BR]]
    33    ''' 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:
     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 in [http://download.osgeo.org/osgeo4w/testing_license] server, for example:
    55        {{{
    66            ssh someuser@download.osgeo.org   # log in into server
    77
    8             # if gdal-ecw package has non-open source license go there.
     8            # For example, if gdal-ecw package has a non-open source license go there.
    99
    1010            cd /osgeo/download/osgeo4w/testing_license/release/gdal/gdal-ecw
     
    1212            touch gdal-ecw-1.9.1-0.txt        # you need to create a .txt license file.
    1313
    14             echo "put all terms and conditions of the restrictive package" > gdal-ecw-1.9.1-0.txt  # Remember to save as .txt file
     14            echo "put all terms and conditions of the restrictive package" > gdal-ecw-1.9.1-0.txt  # Remember to save as .txt file and don't forget do format
    1515         
    1616       }}}
    1717
    1818    ''' 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
     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.
    2020        {{{
    2121           # go to main directory of testing version or official in this case,
    2222           # we use "/osgeo/download/osgeo4w/testing_license/" path directory, there is a script called regen.sh
    2323
    24            ./regen.sh   # it will run perl script genini and create the new "setup.ini" file
     24           ./regen.sh   # it will run perl genini script and create the new "setup.ini" file
    2525         
    2626           # Now you can see the setup.ini file with license entries for each restrictive package   
     
    4242          make # this will produce the osgeo4w-setup-x86.exe installer for x86 machine
    4343
    44          ./osgeo4w-setup-x86.exe
     44         ./osgeo4w-setup-x86.exe --arch=x86
    4545
    4646       }}}
     
    4949     * 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
    5050       step one) and choose another normal package for example: 'gdal-java'.
    51      * Setup will download the license file from remote server into your local directory "Local Package Directory"/etc/licenses path , you can see it
    52        if you want.
     51     * Setup will download the license file from remote server into your local directory "Local Package Directory" (/OSGeo4W/etc/licenses/ path),you can see it.
    5352     * Next step osgeo4w-setup-x86.exe will load the file license into a window dialog, with its terms, and If you agree you can continue installing.
    5453