Changes between Version 2 and Version 3 of GSoc2013Doc
- Timestamp:
- 09/18/13 16:02:38 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GSoc2013Doc
v2 v3 2 2 [[BR]] 3 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: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: 5 5 {{{ 6 6 ssh someuser@download.osgeo.org # log in into server 7 7 8 # if gdal-ecw package hasnon-open source license go there.8 # For example, if gdal-ecw package has a non-open source license go there. 9 9 10 10 cd /osgeo/download/osgeo4w/testing_license/release/gdal/gdal-ecw … … 12 12 touch gdal-ecw-1.9.1-0.txt # you need to create a .txt license file. 13 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 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 15 15 16 16 }}} 17 17 18 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 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 20 {{{ 21 21 # go to main directory of testing version or official in this case, 22 22 # we use "/osgeo/download/osgeo4w/testing_license/" path directory, there is a script called regen.sh 23 23 24 ./regen.sh # it will run perl script geniniand create the new "setup.ini" file24 ./regen.sh # it will run perl genini script and create the new "setup.ini" file 25 25 26 26 # Now you can see the setup.ini file with license entries for each restrictive package … … 42 42 make # this will produce the osgeo4w-setup-x86.exe installer for x86 machine 43 43 44 ./osgeo4w-setup-x86.exe 44 ./osgeo4w-setup-x86.exe --arch=x86 45 45 46 46 }}} … … 49 49 * 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 50 50 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. 53 52 * 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. 54 53