maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Navit on N900 (https://talk.maemo.org/showthread.php?t=38800)

Kjow 2009-12-30 12:17

Navit on N900
 
Hi all,

is it possible to install Navit on N900?
I tried, but it misses libgpsbt dependency... do you know how to resolve it?

with: apt-get install libgpsbt

N900 returns me that libgpsbt is in other package, but I don't know which to choose!

Ignoring this lib it install (dpkg --ingore-depends=libgpsbt -i navit.deb), but at start it crashes and closes.

Thanks!

Kjow 2010-01-07 14:47

Re: Navit on N900
 
Quote:

Originally Posted by Kjow (Post 446522)
Hi all,

is it possible to install Navit on N900?

Didn't anyone try? :)

ruskie 2010-01-08 07:15

Re: Navit on N900
 
You need to rebuild it for the N900. I've tried but didn't have much luck doing that.

maemo.it 2010-01-14 01:28

Re: Navit on N900
 
Hi, news about navit on n900?

sxg75 2010-01-15 00:21

Re: Navit on N900
 
According to latest log on their sourceforge SVN it's being worked on.

Quote:

2913 12 hours akashihi Add:vehicle/maemo:Added support for Maemo/Fremantle liblocation API.

jean2323 2010-01-15 08:10

Re: Navit on N900
 
Quote:

Originally Posted by sxg75 (Post 472737)
According to latest log on their sourceforge SVN it's being worked on.

so? can one install navit?
can you please explain how?
that would be somethng! :D

crown77 2010-01-15 08:13

Re: Navit on N900
 
hi iam also interested into this can you please give us a tutorial how to install it properly?

best regards crown

maemo.it 2010-01-16 11:27

Re: Navit on N900
 
WOW! great news! please, post a tutorial or howto.
If I can help tell me, I'd like to help community! (language translation in italian, basic programming on source code,..)
:)

schnebeck 2010-01-17 00:24

Re: Navit on N900
 
I compiled navit-trunk in the N900 SDK to generate arm-code.
Compiling was fine, there was a small lib glitch when compiling maptool.

I used
Code:

./configure --prefix=/opt/navit --enable-vehicle-maemo && make && make install
to put everything to /opt, create a navit.tgz, scp to the N900, unpack in /opt/navit and try to start with
Code:

NAVIT_SHAREDIR=/opt/navit/share/navit  NAVIT_LIBDIR=/opt/navit/lib/navit /opt/navit/bin/navit -d 1 -c /home/user/.navit/navit.xml
This crashs the program when it has to render the map. Compiling this for the x86 target and running in the SDK is fine :-/ If I start without NAVIT_SHAREDIR (== without map-data) I have a GUI without map and no crash.

I used GTK-GUI and
Code:

                <vehicle name="Maemo" enabled="yes" source="maemo://any" retry_interval="2"/>
                <!-- source cound be on of "any","cwp","acwp","gnss","agnss" -->
                <!-- retry_interval could be one of "1","2","5","10","20","30","60","120" measured in seconds -->

in the XML-config file

Any ideas?

schnebeck 2010-01-17 12:58

Re: Navit on N900
 
1 Attachment(s)
Ok, a step further. petabyte from merusers.de pointed me to
http://wiki.navit-project.org/index....chbox_for_N8x0
This site has now instructions to compile Navit for the N900.
With these fixes I was able to overcome the crash.
Navit starts, runs really slow (cache disables), GTK is usable, Internal too slow.
But does not focus according to my GSM postion. I'm indoor so no GPS avaliable.

A small screenshot:

maemo.it 2010-01-17 21:44

Re: Navit on N900
 
Maybe it will be soon available on official repos?

firefox 2010-01-18 15:52

Re: Navit on N900
 
i tried to compile it with a new version of freetype2 but configure does not find the maemo location api (in scratchbox). what am i doing wrong? did someone build navit without workaround?

greets fox

schnebeck 2010-01-23 01:09

Re: Navit on N900
 
Meanwhile I have it running :-) (Who need Ovi-Maps?)
I am in testing mode but a first install procedure for the experienced user is here.
We do this stuff in Scatchbox only the svg2png conversion is done on the desktop. Its easier than integrating the converter into arm-scratchbox

Code:

cd
wget http://mirrors.zerg.biz/nongnu/freetype/freetype-2.3.11.tar.gz
tar -xzf freetype-2.3.11.tar.gz
cd freetype-2.3.11
mkdir install
./configure --disable-shared --prefix=`pwd`/install
make && make install                                     

svn co http://navit.svn.sourceforge.net/svnroot/navit/trunk/navit/ navit
cd navit
./autogen.sh

LIBS=-lfib FREETYPE2_CFLAGS=`../freetype-2.3.11/install/bin/freetype-config --cflags` FREETYPE2_LIBS=`../freetype-2.3.11/install/bin/freetype-config --prefix`/lib/libfreetype.a ./configure --prefix=/opt/navit --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-debug   

make && make install

This version works - not fast but usable (300km routing in 40sec)
I only test this in real live when I have a TTS ready. So far I can only say, the programs get a GPS position. If turn by turn is good enough I dont know yet. It would be nice if Akashihi from navit wiki will write some stuff and share his experience . He is the coder of maemo5 vehicle support.

Bye

Thorsten

schnebeck 2010-01-23 13:32

Re: Navit on N900
 
2 Attachment(s)
I like it :-)

EDIT
I attach this navit.xml
You have to edit the espeak voice command otherwise you a an funny German speaker trying to tell you the way :-)

Wiener 2010-01-23 13:52

Re: Navit on N900
 
Guys, you saved my days after those bad news concerning OVI Maps for Maemo5.
I prefer OSM anyhow :-)))))

maemo.it 2010-01-23 18:44

Re: Navit on N900
 
wonderful news!
how long to insert it in repos?

Dave999 2010-01-23 18:59

Re: Navit on N900
 
wow. is this really working for n900 at the moment? or where is the screen from?

borghal 2010-01-23 19:14

Re: Navit on N900
 
Great news! Please put it in the repros, I'm eager to test it! :)

g0dzilla 2010-01-23 19:28

Re: Navit on N900
 
Wow!
Anyone else can compile .deb for N900?

maemo.it 2010-01-23 19:33

Re: Navit on N900
 
Quote:

Originally Posted by g0dzilla (Post 490849)
Wow!
Anyone else can compile .deb for N900?

I can try but I'm not sure.
It's like ubuntu?

./configure
sudo make
make install
?

fred123 2010-01-23 20:09

Re: Navit on N900
 
I followed the instructions above got the following error in scratchbox from ./autogen.sh

/scratchbox/tools/autotools/automake-1.8/share/automake-1.8/am/depend2.am: am__fastdepOBJC does not appear in AM_CONDITIONAL
autoreconf2.50: automake failed with exit status: 1

any sugesstions?

Bec 2010-01-23 21:51

Re: Navit on N900
 
Quote:

Originally Posted by schnebeck (Post 477957)
Ok, a step further. petabyte from merusers.de pointed me to
http://wiki.navit-project.org/index....chbox_for_N8x0
This site has now instructions to compile Navit for the N900.
With these fixes I was able to overcome the crash.
Navit starts, runs really slow (cache disables), GTK is usable, Internal too slow.
But does not focus according to my GSM postion. I'm indoor so no GPS avaliable.

A small screenshot:

Regarding the speed of the application there is something I wanted to show you regarding QT.
http://labs.trolltech.com/blogs/2010...nt-in-threads/
It conssts in separating the display and loading in two separate threads to provide a better framerate and smooth visual experience.
I don't know the QT<->GTK relations but I thaught this might be helpful/inspiring :)

fred123 2010-01-23 22:50

Re: Navit on N900
 
O I've downloaded the automake patch from

http://wiki.navit-project.org/index....chbox_for_N8x0

run export SBOX_DEFAULT_AUTOMAKE=1.9

now get
Quote:

/scratchbox/tools/autotools/automake-1.9/share/automake-1.9/am/depend2.am: am__fastdepOBJC does not appear in AM_CONDITIONAL
autoreconf2.50: automake failed with exit status: 1
What am I doing wrong? I would really like to try this out.

schnebeck 2010-01-23 23:14

Re: Navit on N900
 
I try to make a pre-alpha tar.gz release - stay tuned

schnebeck 2010-01-23 23:40

Re: Navit on N900
 
Ok, here we go.

EDIT
====
navit is now in extra-testing! Use this version!

msa 2010-01-23 23:41

Re: Navit on N900
 
will this be an offline-software, or is it getting maps online?

schnebeck 2010-01-23 23:45

Re: Navit on N900
 
Quote:

Originally Posted by msa (Post 491195)
will this be an offline-software, or is it getting maps online?

Offline - as long as you don't use the "a" in aGPS ;-)
Maps are on the device

rmarcus 2010-01-24 00:39

Re: Navit on N900
 
Nice job everybody! Where can you get maps for it?:confused:

mattajas 2010-01-24 00:58

Re: Navit on N900
 
Quote:

Originally Posted by schnebeck (Post 491193)
...

Thanks for your work! I get the following error messages when I run the install.sh file:
Code:

Nokia-N900-42-11:/home/opt/navit# sh install.sh
ln: /usr/share/locale/af/LC_MESSAGES/navit.mo: No such file or directory
ln: /usr/share/locale/fo/LC_MESSAGES/navit.mo: No such file or directory
ln: /usr/share/locale/nds/LC_MESSAGES/navit.mo: No such file or directory
Nokia-N900-42-11:/home/opt/navit#


fred123 2010-01-24 02:45

Re: Navit on N900
 
Just found "navit 0.2.0~svn2916+dfsg.1-1maemo1" in extras-testing.

Program installs OK, no info on setting up or map locations, can't find xml file. Menus seem strange.

bxbomber 2010-01-24 03:01

Re: Navit on N900
 
Quote:

Originally Posted by schnebeck (Post 491202)
Offline - as long as you don't use the "a" in aGPS ;-)
Maps are on the device



So we'll be able to use this as a full fledged gps application?
Will this be able to tell me to turn left or right like my gps app that I have on my phone right now?

Excuse my noobish questions new maemo and so far loving what i'm seeing.

DaSilva 2010-01-24 03:11

Re: Navit on N900
 
I have downloaded Navit from extras-devel, download map material from http://maps.navit-project.org/download/ and extracted the navit.xml from http://talk.maemo.org/showpost.php?p...8&postcount=14 to /home/user/.navit . After that I have uploaded the downloaded map material to /home/user/.navit and edited the corresponding line in the navit.xml but sadly Navit closes itself after a few seconds :(

azz 2010-01-24 03:21

Re: Navit on N900
 
@bxbomber

basically YES! but the map is base on OpenMAP so the quality will varies. This is awesome works, guys. I hope this app will mature quickly so the others can get a taste of the power of an open community.

jakiman 2010-01-24 03:32

Re: Navit on N900
 
Quote:

Originally Posted by DaSilva (Post 491388)
..Navit closes itself after a few seconds :(

Same here. I also installed the one at extras-devel. I've downloaded the navit map from http://downloads.cloudmade.com/ and have modified the xml to its location. (I placed mine at /home/opt/navit/australia.navit.bin)

It launches, then closes not long after.

bxbomber 2010-01-24 03:33

Re: Navit on N900
 
Quote:

Originally Posted by azz (Post 491394)
@bxbomber

basically YES! but the map is base on OpenMAP so the quality will varies. This is awesome works, guys. I hope this app will mature quickly so the others can get a taste of the power of an open community.

If this matures and turns into a quality gps app I won't be so disappointed that nokia doesn't have ovi maps nav for the n900.

schnebeck 2010-01-24 04:47

Re: Navit on N900
 
Quote:

Originally Posted by rmarcus (Post 491265)
Nice job everybody! Where can you get maps for it?:confused:

Please read the navit-wiki

Quote:

Originally Posted by mattajas (Post 491279)
Thanks for your work! I get the following error messages when I run the install.sh file:

Thats fine, navit supports more language than maemo5. This is just a notice about.
Oh, there is a small bug in the uninstaller, compare install.sh and uninstall.sh and you can adjust or download the new version ;-)

Quote:

Originally Posted by fred123 (Post 491367)
Just found "navit 0.2.0~svn2916+dfsg.1-1maemo1" in extras-testing.

Program installs OK, no info on setting up or map locations, can't find xml file. Menus seem strange.

2916 should be fine. Maemo5 support started in 2914
http://navit.svn.sourceforge.net/vie...&revision=2914
My build is 2920 (EDIT: now its based on 2922) with static linked freetype

Quote:

Originally Posted by bxbomber (Post 491381)
So we'll be able to use this as a full fledged gps application?
Will this be able to tell me to turn left or right like my gps app that I have on my phone right now?

Excuse my noobish questions new maemo and so far loving what i'm seeing.

Yes, turn left or right and synthetic voice :-)

Quote:

Originally Posted by DaSilva (Post 491388)
I have downloaded Navit from extras-devel, download map material from http://maps.navit-project.org/download/ and extracted the navit.xml from http://talk.maemo.org/showpost.php?p...8&postcount=14 to /home/user/.navit . After that I have uploaded the downloaded map material to /home/user/.navit and edited the corresponding line in the navit.xml but sadly Navit closes itself after a few seconds :(

Please read the navit wiki:
http://wiki.navit-project.org/index....Navit#Foreword
you can use "navit /path/to/navit.xml" to be sure your navit.xml is used
In navit.xml you have to set-up the path to your map-file.
If you do not adjust navit.xml navit does not work. In my version debugging is on, so you get some hints on the console.

HTH

Thorsten

DaSilva 2010-01-24 05:03

Re: Navit on N900
 
If I want to start Navit with "navit /home/user/.navit/navit.xml" I get "navit:navit_init:no gui" but I have the following lines in the xml:

Code:

                <!-- Use one of gtk_drawing_area, qt_qpainter or sdl. For cegui, use opengl -->
                <graphics type="gtk_drawing_area"/>
                <!-- The following line let you select which graphical user interface you'd like to use.
                Options include internal (optimized for touch screen devices), gtk (useful for desktop computers) and cegui.
                If you don't like the internal gui, set enabled=yes for the following tag and enabled=no for the gui internal tag -->
                <gui type="gtk" enabled="yes" toolbar="0" menubar="1" statusbar="0" fullscreen="1" font_size="300" pitch="00"/>

What is wrong?

jakiman 2010-01-24 05:22

Re: Navit on N900
 
By default, it seems to use /etc/navit/navit.xml
So try modifying that.

DaSilva 2010-01-24 05:33

Re: Navit on N900
 
Thanks, but even without any navit.xml or a symlink it has the same behaviour. It loads, I can see the GPS connection icon, the GPS icon disappears and then Navit closes itself. I had it only running the first time but it didn't work anymore on the second run (no changes).

schnebeck 2010-01-24 05:36

Re: Navit on N900
 
Do you got debug infos if you start navit from xterm?


All times are GMT. The time now is 14:12.

vBulletin® Version 3.8.8