Version 3 (modified by 11 years ago) ( diff ) | ,
---|
Google Summer of Code 2013
Project Extend OSGeo4W Installer
Short description
Main goal for this project is develop functionalities in order to ask to the end users by an EULA license for proprietary libraries and building the majority of OSGeo components to x86-64 bits on Windows as well as improve the current OSGeo4W installer. See also here.
Student Name
Steve Ataucuri Cruz
Mentor Name
Frank Warmerdam
Work done in week 17-21 June
1. Work Done :
- I understood the structure of OSGeo4W Installer
- I also setuped a local virtual machine with Windows envirotment and all the tools needed in order to getting a build of setup.exe.
- I fixed some errors of setup.exe and I sent my changes to server:
- I included a hack implementation of _fstati64() because at linking time presents some problems with Cygwin/Mingw libraries.https://trac.osgeo.org/osgeo4w/changeset/1207
- I fixed the linking to res.o object when make program try to build setup.exe it presents some problems, I solved removing the codepage in res_* files to use UTF-8 enconding for multilanguage support https://trac.osgeo.org/osgeo4w/changeset/1208.
- I updated the iniparse.yy file, it has some incompatible changes with the new version of Automake 1.2 and YACC & LEX support.https://trac.osgeo.org/osgeo4w/changeset/1209
- I removed some obsolete macros in configure.in file, too it was moved to newer configure.ac https://trac.osgeo.org/osgeo4w/changeset/1210
- I fixed the static library path of libbz2.a and libz.a in Makefile.am file https://trac.osgeo.org/osgeo4w/changeset/1211
2. Problem Faced :
- Definitely yes, some problems with the installation of Installer but are already solved, many times I needed to read a lot before changing a line of the code of setup installer.
3. Work to be done in the next week :
- Next week I need to prepare the new windows dialog for new version of installer.
- I will update the wiki of the project to build the new setup.
Work done in week 22-28 June
1. Work Done:
- The main job done this week was integrated a new window dialog "license" with its class license which will download a license file from somewhere (before the community organize the license terms) ie: "http://download.osgeo.org/osgeo4w/release" of every restrictive package.
- I added a new resource entry to window dialog http://trac.osgeo.org/osgeo4w/changeset/1216.
- I added a new entry for Makefile.am http://trac.osgeo.org/osgeo4w/changeset/1217
- All changes I committed you can see at http://trac.osgeo.org/osgeo4w/changeset/1218
2. Problems Faced :
- It was a little difficult to understand the flow of window dialog and some classes of installer, I am still learning all the process into installer.
- There was a bit problem with the first compilation of new installer with the new class, but it was resolved, I couldn't implement the download process I need more time but I will do it next week with some extra work.
3. Work to be done in the next week:
- For two next weeks I will plan something to download a license from a main central repository or individual projects and install into local directory ie: /etc/licenses. I will finish the new license class to automation of every restrictive package like gdal-ecw.
Work done in week 1-5 July
1. Work Done:
This week I have revised many classes of oseo4w installer to see how is the processes of download a package of server (download.osgeo.org).
- I have done a modification of setup.ini file to add a link to license file.
- I did modifications and was looking for into code where the installer loads the list of package of setup.ini and try to add a field to license
2. Problems Faced :
- I had a bit problem with the version of compiler , I was using g++ 3.4 with flag -mno-cygwin to build the installer and I tried to use ddd to debug the code, and now my version of cygwin has changed to new compiler is g++ 4.7.3(current version of cygwin) , I tried to come back g++ 3.4 but in the official list of package of cygwin there is not anymore. This compiler has many bugs fixed and it doesn't support -mno-cygwin flag, I couldn't build the setup, and I spent many hours
in order to find a solution
3. Work to be done in the next week:
- I will implement a class for download process of a license from a main central repository and install into local directory ie: /etc/licenses.
Work done in week 8-12 July
1. Work Done:
- This week the main work was around support of new compiler, I have changed the installer with new version of mingw compilers and runtime. I was talking with my mentor Frank about advantage and disvantage of new compiler and we decided to modernize it. We had a lot of problems with g++ 3.4 which doesn't support -mno-cywin flag and Cygwin has in their repositories the last version of compilers( g++4.7.3 or mingw*).
- I researched how bison and lex work then I had added an entry licence into setup_test.ini which will be used in the installer to download the license terms.
- I have fixed the bug with fstati64 function.
- I updated the wiki page with the new configuration.
- I have committed all changes : https://trac.osgeo.org/osgeo4w/changeset/1225, https://trac.osgeo.org/osgeo4w/changeset/1223, https://trac.osgeo.org/osgeo4w/changeset/1222, https://trac.osgeo.org/osgeo4w/changeset/1221
2. Problems Faced :
- I had a problem with a virtual function but it was resolved https://trac.osgeo.org/osgeo4w/changeset/1226
3. Work to be done in the next week:
- Next week my work will concentrate in scan the setup.ini file which has restrictive packages
Work done in week 15-20 July
1. Work Done:
- I was working with scanning support of setup.ini file. Now the installer can save a list of restrictive package and asking to the user with a new window dialog. You can test my progress choosing some restrictive package(gdal-sde90,gdal-oracle,gdal-mrsid, gdal-grass, gdal-filegdb). I have attached the "setup.override.ini" file with some examples(you have to download in C:\ disk)
- I committed all my work in [1] and [2] https://trac.osgeo.org/osgeo4w/changeset/1229, https://trac.osgeo.org/osgeo4w/changeset/1228
2. Problems Faced :
- I had a problem with scanning of "setup.ini" file , but it was resolved
3. Work to be done in the next week:
- I will download the license text and show to the user. Also I will improve the automation of this process installing into the path of local
machine("/OSGeo4W/etc/setup/licenses").