{"id":21,"date":"2005-11-25T20:00:03","date_gmt":"2005-11-26T03:00:03","guid":{"rendered":"http:\/\/intr.overt.org\/blog\/?p=21"},"modified":"2005-11-25T20:00:03","modified_gmt":"2005-11-26T03:00:03","slug":"more-gweather-on-770-progress","status":"publish","type":"post","link":"https:\/\/blog.intr.overt.org\/?p=21","title":{"rendered":"More GWeather on 770 progress"},"content":{"rendered":"<p>Today, I contined my porting of GWeather to Maemo. I don&#8217;t have a happy bundled package to throw up right now, but I&#8217;m happy with today&#8217;s progress.<\/p>\n<p>The first thing I did was put together a libgweather from the backend code. It was originally rather tangled up with the backend requiring knowledge of the applet object and gconf. After refactoring that, I now have a functional library. Using this I was able to define simple homepage applet that currently queries the infamous Pittsburgh default location. I plan to refactor the gconf code out into another library and then use it from the home applet to query the right location.<\/p>\n<p>In other areas, I attempted to set up a script to run the application with support for internet auto-connection. Unfortunately, nothing gets triggered. I believe this is because the auto-connection library isn&#8217;t interposing itself in the path that gnome-vfs uses. This seems rather surprising but it&#8217;s all I can think of right now. On the size front, I changed the Locations.xml rule to skip the translations which brings the file size down to a more manageable 1.3mb &#8211; it now only takes 20 seconds to bring up preferences. Small favours eh? \ud83d\ude42<\/p>\n<p>Questions that I still have:<\/p>\n<ul>\n<li>Why doesn&#8217;t the home page wrap a HildonHomeApplet container around user supplied home applets? The lack of this causes them to look inconsistent as the screenshot below illustrates.<\/li>\n<li>If a home-applet depends on a library (my libgweather in this case) that is installed in \/var\/lib\/install, can it be found? My experience in scratchbox is that it cannot, and you have to symlink the library into \/usr\/lib, which seems wrong.<\/li>\n<li>What&#8217;s the right way to install icons into the icon-theme? Just put them in \/var\/lib\/install\/usr\/share\/icons\/? The hello-world example does this and fails miserably.<\/li>\n<li>What should a HildonApp based application do in response to a &#8220;top_application&#8221; event? If the window is currently hidden and you get one of these events, it seems that nothing happens automatically.<\/li>\n<\/ul>\n<p>Anyway, it&#8217;s been a great learning experience doing this. I hope to have another drop tomorrow.<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/intr.overt.org\/screenshots\/gweather-home-applet.png\" alt=\"The Home Applet\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, I contined my porting of GWeather to Maemo. I don&#8217;t have a happy bundled package to throw up right now, but I&#8217;m happy with today&#8217;s progress.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-rambling"],"_links":{"self":[{"href":"https:\/\/blog.intr.overt.org\/index.php?rest_route=\/wp\/v2\/posts\/21"}],"collection":[{"href":"https:\/\/blog.intr.overt.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.intr.overt.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.intr.overt.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.intr.overt.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=21"}],"version-history":[{"count":0,"href":"https:\/\/blog.intr.overt.org\/index.php?rest_route=\/wp\/v2\/posts\/21\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.intr.overt.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.intr.overt.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.intr.overt.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}