Active Topics

 



Notices


Reply
Thread Tools
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#421
Originally Posted by arne.anka View Post
no need to force, the qt dep is in qtpainter and qml, not navit itself.
True, but the qpainter renderer is the best one so it's the one the script installs, hence that package is forced.

well, if you read my previous posts, you would know that i (and several others) have begged _several_ times for instructions how to "build myself". scratchbox does not work (or needs apparently crude hacks), madde does not allow to include external libs (still wondering which genius made that decision) and the same seems to be true for the qt sdk.

so please, if it is that easy, would you care to enlighten us?
if not, refrain from using that stupid phrase!
Charming.

Once all the dependencies were installed i had no trouble getting it to build in scratchbox with a typical procedure (/configure && make stuff). I haven't tried building packages using dpkg-buildpackage yet--just grabbed svn and used the standard build method. You can look at chollya's source package or the one in the repo to see what patches woglinde used to get it working in the autobuilder back in January. One of the patches is now obsolete (the one to revert a then-recent svn revision); i haven't looked into the others yet and did not apply any of them, but also haven't tried the binary that was built.

Originally Posted by Amboss View Post
It took me 3 tries to install but in the end it worked. I had to get this libfribidi0 first which the skript complained about. It also complained about libgarmin0 and libspeechd2 but that seems to be no problem after all.

I also installed espeak but this I am not very happy about. The sound is terrible and seems to be not depend on my volume settings.

How do I deactivate espeak for navit? I already read navit.xml. There is a comment about it and a line which states
Code:
<speech type="espeak" enabled="no"/>
which would lead me to believe it is deactivated. But its not. How do I get rid of speech output?
The navit.xml refers to external xml files for different setttings, including speech. Check speech.xml for the real voice directions configuration.

About the volume: apparently espeak doesn't use the "right" sound channel, so the volume setting doesn't affect it. Eventually the internal navit volume will probably control it but for now you can change the amplitude with a switch in the output to espeak in speech.xml file as follows:
-a 50
Where 100 is default. See http://espeak.sourceforge.net/commands.html.

I've also found that adding the -z switch improves performance a bit (truncates empty space at end of phrases), and also liked the results better after speeding up the rate a bit.
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful

Last edited by Flandry; 2010-07-28 at 04:08.
 
Posts: 198 | Thanked: 76 times | Joined on Mar 2010
#422
Originally Posted by Flandry View Post
Once all the dependencies were installed i had no trouble getting it to build in scratchbox with a typical procedure (/configure && make stuff).
care to describe the setup of your environment resp the steps you took to set it up in detail?
 
Amboss's Avatar
Posts: 237 | Thanked: 502 times | Joined on May 2010 @ Mittelfranken, Germany
#423
Originally Posted by Flandry View Post
See http://espeak.sourceforge.net/commands.html.

I've also found that adding the -z switch improves performance a bit (truncates empty space at end of phrases), and also liked the results better after speeding up the rate a bit.
Thanks for the hints. After playing with espeak a while I found some settings I will try in the car next.
As the modifiers didn't seem to change anything with German language I completly removed them. Also to me it sounded better when slowing down.
My setting are now
Code:
espeak -vde -a25 -s120
Maybe I will need to speed up to 140 or 150 and turn up volume a bit. This will be tested when driving and finetuned.
 
Posts: 1 | Thanked: 2 times | Joined on Aug 2010
#424
espeak is doing something weird with the sound output, but you can avoid it by using
Code:
espeak --stdout | aplay
. This will respect the volume control of the N900.

Moreover, if you add &amp; at the end (yes, you need &amp; not just &), this will be run in the background, and navit will not freeze while speaking. So I would use:
Code:
echo '%s' | espeak -ven+m2+croak --stdout | aplay &amp;
 

The Following 2 Users Say Thank You to Nioui For This Useful Post:
Posts: 33 | Thanked: 5 times | Joined on Feb 2010
#425
Hello,

I have tried navit with the script in post #383 by flandry. It installed navit on my n900 and I was eventually able to run it using the desktop icon.
I have difficulty finding a lot of places. Is there any plan to enable searching by postcode (UK) for places?
 
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#426
Originally Posted by Flandry View Post
Once all the dependencies were installed i had no trouble getting it to build in scratchbox with a typical procedure (/configure && make stuff).
...
but also haven't tried the binary that was built.
Have you tried the binary that you built since? I can't get the ones I compile to display anything...

I've compiled QT 4.7 for Maemo for the Nokia N900 and then the latest navit Subversion checkout.

I compiled it with:
Code:
./configure --enable-static --disable-binding-python --disable-gui-sdl --enable-avoid-float --enable-avoid-unaligned --enable-svg2png-scaling="32,48,64" --enable-svg2png-scaling-flag="32,48,64" --enable-svg2png-scaling-nav="8,16,32,48,64" --disable-samplemap --disable-graphics-sdl --enable-vehicle-maemo --enable-gui-qml --enable-plugin-pedestrian --disable-graphics-null
Now when I run navit, it runs with the following feedback on the console:

Code:
$ navit
graphics_qt_qpainter:graphics_priv* graphics_qt_qpainter_new(navit*, graphics_methods*, attr**, callback_list*):enter
graphics_qt_qpainter:graphics_priv* graphics_qt_qpainter_new(navit*, graphics_methods*, attr**, callback_list*):return
navit:plugin_load:can't load '/usr/lib/navit/osd/libosd_core.so', already loaded
and that's it, no graphical output, nothing. Originally thought the graphics null display was active, that's why I explicitly disabled it.

Doesn't crash or segfault, stays put there running, but no graphical output...

What could be wrong? Any ideas?

Last edited by 白い熊; 2010-08-15 at 09:27.
 
Posts: 25 | Thanked: 3 times | Joined on Jun 2010
#427
any news about osd files for better view ? i tried using osd files from somewhere in this thread (which is compatible with magellan's version) but failed when being used on flandry's version
 
Posts: 33 | Thanked: 5 times | Joined on Feb 2010
#428
Originally Posted by Flandry View Post
Installing Latest Navit


Removing navit
This script will uninstall navit. Download it and move/chown/etc. it in exactly the same way as the above script except that it is called navit-remove.txt instead of navit-install.txt.

Attachment 11936
Hello Flandry,

I wonder if you would consider revising your uninstall script as it does not remove all that the install script instals. There are still deb files left in /home/user. Also espeak was left on the system after uninstall via script. This is just what I have noticed. Thanks.
 
Posts: 1 | Thanked: 0 times | Joined on Aug 2010
#429
Hi.
Does anyone knows how can I change the default Country on the Towns menu? Reading on the navit wiki page, they mention some white box right under the World Icon, but that doesn't show up on the build I downloaded (right from the repository 0.2.0-svn2916+dfsg.1)

BTW, this is a GREAT appliation! I tried all the other navigation tools (mappero, modrana, nokia maps) and by far this is the one that I like the most!

-Luis
 
Posts: 1 | Thanked: 0 times | Joined on Aug 2009
#430
Hi Flandry,

I couldn't run using your script. It seems I'm the only one who is having this problem.. Per your script,

mv MyDocs/navit-install.txt .
sudo gainroot
chmod a+x navit-install.txt
./navit-install.txt
exit

I downloaded navi-install using n900 and tried saving to either Nokia N900, or Documents or MyDocs, then I run from X Terminal either:

mv /navit-install.txt . OR
mv documents/navit-install.txt . OR
mv MyDocs/navit-install.txt .

Then I would get this error:
mv: cannot rename '/navit-install.txt': No such File or Directory OR
mv: cannot rename 'documents/navit-install.txt': No such File or Directory OR
mv: cannot rename 'MyDocs/navit-install.txt': No such File or Directory

Could you tell me what I did wrong?

Thanks,
 
Reply

Tags
navigation, navit, nokia n900, openstreetmap


 
Forum Jump


All times are GMT. The time now is 10:17.