Skip to content

GWeather for the 770!

So, I decided that I would take the opportunity presented by the thanksgiving weekend to start work on my port of GWeather to Maemo and the Nokia 770. And I’m pleased to announce that I’ve got something that you can actually run, even if it’s not particuarly usable right now.

It runs as a regular application (not as a home page applet yet) and provides the weather information about a single location. There are a lot of caveats that I’ve listed in the readme file, but it basically works, which is pretty neat.

The biggest problem is that the locations.xml file is 18mb in size which is a lot of space to take up and it also causes the preferences dialog to take about 30 seconds to appear because the file is being parsed. I’m not sure what would be a better format to use, but one is needed.

I’ve been writing the code with an eye to keeping it mergable back to gnome-applets, because most of it is unaffected. I think the refactoring should be healthy in general because it will make life easier when gnome-panel goes away. If there are any gnome-applets maintainers reading this, I’d like to hear their thoughts.

I’ve thrown up the source and deb and slackware packages here along with the readme.

Here’s a couple of screenshots: (I was too lazy to make thumbnails. Sorry)

Main window

{ 4 } Comments

  1. desrt | 24th November 2005 at 20:05 | Permalink

    There is some thought occuring in this direction already. Specifically, see this bug:

    The options discussed thus far include removing the translations from the xml file and using gettext() in a normal way or compiling the database at compile-time into something mmapable.

    There’s also the possibility that (if it ever happens) will hold all of the locations data and you’ll need to be online to make your selection (which is reasonable since you can’t get the weather data at all if you’re offline).

  2. Anonymous | 24th November 2005 at 20:31 | Permalink

    What about not installing the locations at all, leave that work to the server just let the user type their citie and then search it on the server. That’s the way the osx widget works and i think that’ s a better user interface than presenting a huge list.

  3. KbOo | 3rd August 2006 at 02:07 | Permalink

    Big problem:
    I put the applet of gweather and since that when I reboot the 770 it doesn’t stop to boot reboot reboot, what should I do???

  4. Philip Langdale | 3rd August 2006 at 07:57 | Permalink

    Hmm, well there is a warning in the README about that…

    Marius says that if you try enough times it won’t crash and you can then remove it from the home page.

    “Serious bug: mweather home applet very often causes the desktop process to crash during boot time, causing a reboot loop. Every now and then it boots successfully. (FWIW I tried to cause successfull boots by e.g. plugging in the USB cable or by repeatedly pressing random hardware keys; I’m not sure if these had any effect).”

{ 1 } Trackback

  1. Smarking | 27th April 2006 at 20:18 | Permalink

    Wubble » Blog Archive » GWeather for the 770!

    Someone at Smarking has bookmarked your post.

Post a Comment

Your email is never published nor shared. Required fields are marked *