Wednesday, July 09, 2014

Getting started with Gnomesoy

So, I have cleared mid-evaluation of GSoC and I now I have to start working on 2nd phase of my work, that is modify gnomesoy(an existing pysoy client) to add support for accessing bookmarks.
I started with cloning the repository, as it is not available in AUR(I could make one though). Started off by building gnomesoy. But it was failing to build. I was getting one error
error: The type name `Gee.Traversable' could not be found
Arc told me it has something to do with libgee. But in the configure phase it was not checking whether libgee is available or not (have to fix this one). One crucial information that Arc provided is that gee-0.8 is actually newer version than gee-1.0 (what the heck!). Then I found in the file "src/wscript_build" in the list of packages it has gee-1.0. Changing that to gee-0.8 fixed the build error. First hurdle clear.

So, now I tried running it. But what I got is a small window with title "GnomeSoy" instead of some proper GUI.
Time to look at the code. There is only 4 source files. What I found is that the window is made using GTK. The previous developer had tried to create some menu with licensing information and some basic stuff. It was not added to the window so I was getting a blank window.

He(she?) also tried to display the pysoy client within the window using OpenGL but the code is fully commented out. May be it was not building properly, have to check that also.

So, what I found I have to do is
  1. Read a little bit about using GTK and GTK in Genie.
  2. I have to redesign the GUI.
  3. code for pysoy support.
 That's all from me for now.

No comments: