wiki:GSoC2013Reports

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

1. Work Done :

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 #2

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.

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 #3

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 #4

1. Work Done:

2. Problems Faced :

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 #5

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)

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").

Work done in week 29-02 August #6

1. Work Done:

2. Problems Faced :

  • I had resolved many problems with segmentation fault. "segmentation fault" when setup.exe does not find a license file in remote server.

3. Work to be done in the next week:

  • I will improve some cases when there is no file in remote server and install in "some path" that I will define with my mentor.

Work done in week 29-02 July #7

1. Work Done:

  • This week I had fixed a Bug with the download process when file license isn't in server Added properties of many classes in order to replace the new classes that I was created

Replaced some methods for restrictive package

2. Problems Faced :

  • I was learning classes of database of package, I am not familiar with these classes and code.

3. Work to be done in the next week:

  • Testing and I will work in the backend with perl files for generation of automatic packages and learn perl programming

Work done in week 05-09 August #8

1. Work Done:

  • This week, I have been doing some tests and I decided to build the osgeo4w setup in another clean machine with windows seven. But the oficial cygwin setup.exe has changed and they are released setup-86.exe for 32bit and setup-x86_64.exe for 64bit installations, and I noticed that they have some unresolved dependencies with i686-pc-mingw32-gcc-g++ 32bit compiler. So I couldn't build the setup.exe with the last compiler i686-pc-mingw32-gcc-g++ 4.7.3(in their repositories) , I was building all time with i686-pc-mingw32-gcc-g++ 4.5.2-1 version without problems(in another virtual machine) but when I used the version 4.7.3, I got some errors about "-Werror=unused-but-set-variable". Before to change code, first I changed to previous version of mingw-gcc-g++ and I found that i686-pc-mingw32-gcc-g++ (4.5.2-1) could not start cc1plus.exe because it could not find some shared object files. Cygwin Setup-32.exe should have considered all the dependencies but maybe I've got a bug or a missing one somewhere (I think Cygwin people have forgotten some dependencies of its setup.ini file). However I tried to install all dependencies for the 4.5.2-1 version of mingw-gcc-g++.exe and its dependencies like runtime and libs, but I still got errors. I spoke with my mentor about it and We decided to work with the last compiler and resolve the "unused variables" Nevertheless I have worked on migration to last version of mingw-gcc-g++ compiler, adding log messages to setup, modified bootstrap script, Makefiles and others.

2. Problems Faced :

  • Yes I got "segmentation fault" in main.cc file (109-118 lines) that I couldnt' fixed yet. My mentor helped but if someone could give me other suggestions they are welcome.

3. Work to be done in the next week:

  • I am going to continue working with the support of mingw-gcc-g++ and resolve some errors in main.cc file.

Work done in week 12-16 August #9

1. Work Done:

  • I have fixed the license display widget resize in the installer
  • I had stored licenses that have been installed in order to not installed it again.
  • I had resolved the problem in main.cc file, because the current compiler couldn't build setup.exe because It had some incompatible macros ( CYGWIN32). I removed the problem with unused variables( compiler can't build them if there are).
  • I also applied and merged a patch file with md5 sums feature for license file proposed by Jürgen(autor).
  • I had made sure the C runtime functions use the same code page as the GUI
  • And I updated the make files and bootstrap script for automatic generation of configure file and st_configure file was removed because is unnecesary and I updated wiki pages.

2. Problems Faced :

  • No

3. Work to be done in the next week:

  • I am going to work with post install issues

Work done in week 19-23 August #10

1. Work Done:

  • I am still working in post installation files
  • I added printing features to licenses.
  • I did format to licenses in order to support break lines of .txt licenses

2. Problems Faced :

  • Yes, I had some problems with end lines of .txt licenses showing into windows controls, but it was resolved

3. Work to be done in the next week:

  • I will continue working in postinstall files
  • I will do a translation of res_en.rc file to spanish language
  • I will contact with other translators of each languages in order to have res_* files updated with new features of installer

Work done in week 26-30 August #11

1. Work Done:

  • The main work done this week was around automation of generation setup.ini file with a perl script, I was learning perl language in order to change some script files from the server.
  • I had contacted with some autors of traductions and added Russian & Ukrainain languages to svn server
  • I am working with spanish version, in two days I will have finished
  • I tested printing functionality of license and it works fine.
  • I added locales for support languages.
  • I tested gdal-ecw and gdal-mrsid packages and they worsk fine
  • I tested all setup installer

2. Problems Faced :

  • I had some problems learning perl languages and creating test for generation of setup.ini file but it was resolved
  • I deleted one directory of packages, but it was recovered immediately

3. Work to be done in the next week:

  • I will finish automation setup.ini with perl script
  • Testing locales of languages
  • Prepare package documentation on licenses
  • I will continue testing.

Work done in week 2-6 September #12

1. Work Done:

2. Problems Faced :

  • No

3. Work to be done in the next week:

  • I will continue working on save all licenses in a specific directory
  • I will talk with my Mentor about my work and "Pencils down" date
  • I will add more Documentation
Last modified 11 years ago Last modified on 09/12/13 16:40:07
Note: See TracWiki for help on using the wiki.