Back to coding!

December 7th, 2009

After almost 10 months of not looking at the Navit for N800 code, here I am again. Of course a few things have changed in the mean time.

1. Naivt has undergone a lot of improvements
2. Scratchbox is up one version
3. Maemo Diablo is up one version
4. I forgot what I had changed :-)

After upgrading scratchbox and the Maemo toolkits, as wellas Navit’s source code, I could no longer compile. Specifically Autogen was failing.

The solution, add the patches from this bug to /scratchbox/tools/autotools/automake-1.9/share/aclocal-1.9/init.m4 and to /scratchbox/tools/autotools/automake-1.9/share/automake-1.9/Automake/Variable.pm. Most of the stuff in the bug link is documentation or test code related. This fixes the errors you get due to the addition of Objective C code somewhere in the project. Alternatively the errant portion in the ‘configure.in’ file could be ifdef’d since this is not used on the N8×0 series.

This leaves issues with maptool (cores under Qemu) while building the osm map. But adding -disable-samplemap to the configure script bypasses that action so we can move on.

Navit SVN 2042 + trac’s 282 and 300

February 11th, 2009

I  have fixed two  mistakes (mine, all mine) from the 2038 I provided on Feb 11, 2009. The .deb is now  based on SVN 2042 as well.

This is one of my last builds before I go off-line for a few months. Please visit dwould’s blog for further updates on Navit for the N800.

I built a .deb file for SVN 2042 plus the screen unblank and a fix for  some missing .png files. This version also includes a few fixes for crashes.

Call tracing code without adding statements

February 9th, 2009

Learning the sequence of calls in an application is either tedious or time consuming or both. And when there are callbacks involved it becomes frustrating.

The typical solution used to be adding trace statements are the entry and exit of functions. But this reuiqres a lot of editing in existing programs along with adding code space and execution penalties in production code.

Along comes a fascinating article from IBM, written in 2005. The solution is to use existing  functionality with a bit of glue code. The key is  a feature of gcc, Read the rest of this entry »

Navit SVN2006 plus 3 patches

February 4th, 2009

Trac 283 (graceful exit) is now in SVN 2009

Here it is: SVN 2006 with 3 patches, tracs 282, 283 and 289. (289  is now in SVN 2007!!!)
UPDATE: I messed up this file on Feb 4, this is now a .deb file with no compression etc. Best news is that SVN has most of the fixes now. SVN is only missing the Screen Unblank and graceful exit of graphics/gtk_drawing_area, I think it will be done soon, the Navit team has added many OSD enhancements.

The patches are listed in the  previous  blog entry. I  have done limited testing of this Read the rest of this entry »

Some Navit updates

February 4th, 2009

Sorry for not having a .tar extension on the prescaled icons file, that is now corrected.

Trac 288 changes the tool that navit_svg2png uses for prescaling icons. Rsvg-convert is a smaller footprint to install on Ubuntu and inside Scratchbox than the ksvg2png tool originally used. Now in SVN 200x.

#285: Fix some svg format icons files fixes a  bunch of  .svg files so that rsvg-convert can  act on them. This also fixes the messed up gui_quit icon. Now in SVN 200x

#284: Improve menu performance on N8×0 This forces gui/internal  to look  for Read the rest of this entry »