Compiling from source wasnt too great a problem, but getting it to run is some what more difficult... The process of howto compile on linux is documented here on the , and I am putting my notes about it on this page
I'm not totally sure the best way to communicate with the gps daemon on the phone. I've had some success with the gypsy libraries, as the maemo location-daemon package uses a gypsy comatible api. However, I had to complile the gypsy libraries both for navit to compile with it enabled, and for the navit program to be able to access the gps data. I'm yet to compile it into a .deb package, but may just bundle the library when I make the navit-am pretty certain this would go against a whole lot of rules.
Gypsy daemon homepage
when trying to run my initial builds, I was getting some nice seg-faults, which I tracked down to being with freetype.
Following various threads on irc logs and bug trackers, there appears to be a problem running navit on some systems, unless freetype has been compiled without strict aliasing. This bug with freetype and aliasing was fixed at about release 2.3.10, and the current latest release is 2.3.11, but the version available for maemo 5 currently is only 2.3.9, and no newer versions seem to be in the pipeline
I successfuly built freetype from source, and placed it in the /usr/lib/ directory and swapped sym-links around to use it, instead of the provided one, and all seems ok. Another option is to try compiling navit with the option --disable-freetype, but I am unsure of the consequences of this.
Freetype.org
So far totaly untested, but I have enabled the maemo extras-devel repository, and from there would seem to have a choice of flite, festival and eSpeak. I am leaning towards flite, as this would seem slightly more light weight than eSpeak, atleast in disk usage.
the first step with the source checked out from svn is to run autogen.sh. However, I get this error message when running it:
am__fastdepOBJC does not appear in AM_CONDITIONAL
Looking at details on the navit wiki, the guide for maemo on the n8xx series suggests applying a patch. I've not had a chance to do this, but had been making do by runing autogen within the normal shell, rather than in scratchbox.
Once this is done, the right configure options need to be set. I will try using the ones suggested for the n8xx series, as the systems are fairly similar:
./configure --prefix=/usr --disable-binding-python --disable-gui-sdl --enable-avoid-float --enable-avoid-unaligned --enable-svg2png-scaling="32,48" --enable-svg2png-scaling-flag="32,48" --enable-svg2png-scaling-nav="8,16,32,48"
I know the svg2png is needed, as with versions I've previously compiled, svg based icons do not display. The prefix dir of /usr is needed to get the libraries put in the right location
To make life somewhat easier when installing, I've tried my hand at making .deb packages of navit. My first ones were none to useful, as I accidentally included the root of the folder where navit was compiled in!
I'm yet to have any files worth sharing, but once my builds seem to be of atleast alpha quality, I will put them on here
< < Maemo Linux > > other pages