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)

xes 2013-01-06 23:04

Re: Navit on N900
 
Quote:

Originally Posted by rdorsch (Post 1311670)
No, it is compile with

# Disable garmin
DEB_CONFIGURE_EXTRA_FLAGS += --disable-garmin

Rainer

Do you think it would be possible to compile with that option enabled?

magic_doc 2013-01-08 09:02

Re: Navit on N900
 
Thanks again for the builds!

I just wanted to mention that I came across the problem once again that navit only starts via xterm, not with the launch icon from menu after installing the new navit.xml from /etc/navit in the .navit-directory in home.

I tried again with the former navit.xml that didnīt caused this- works!
Then tried again with the new navit.xml- suddenly it worked too!

Can anyone reproduce this behavior?
It is good for next time to know but I would be curious for the reason of all this.

Tnx & Bye!

Michael

sup 2013-01-09 15:36

Re: Navit on N900
 
2 Attachment(s)
Magic_doc: I cannot reproduce this (but I use slightly different navit.xml). Maybe try to modify the command used by to launch navit to redirect its output to a file and see what is going on?

I made some changes navit.xml I use and link to from navit wiki (mainly cosmetics - better formatting so that the diff from /etc/navit/navit.xml is clearer) and the OSD (added quit button and switching to 2D now zooms out to the whole route - I have yet to see if this is a good idea in practice as well). Here you go in case anybody is interested.

gianko 2013-01-11 11:06

Re: Navit on N900
 
in the latest versions seems no all the settings are translated according to localization

my localization is italian, but some settings are in english still (for example the profiles in settings->vehicle; rules settings, and "former destination")

is the same for other languages?

we should inform navit team or submit a translation?

sup 2013-01-11 15:43

Re: Navit on N900
 
Quote:

Originally Posted by gianko (Post 1313657)
in the latest versions seems no all the settings are translated according to localization

my localization is italian, but some settings are in english still (for example the profiles in settings->vehicle; rules settings, and "former destination")

is the same for other languages?

we should inform navit team or submit a translation?

Yeah, for Czech the situation is the same with probably the same strings (only some of the vehicle profiles are untranslated). Informing the developers is a good idea (irc is accesible via web and they are responsive, usually in a couple of hours).

rdorsch 2013-01-12 20:01

Re: Navit on N900
 
If you get some fixes for the translation issues, let me know and I will start a new build.

Rainer

rdorsch 2013-03-02 10:09

Re: Navit on N900
 
I uploaded an update to bokomoko.de

There have been quite a few commits in the area of town search.

Rainer

www.rzr.online.fr 2013-03-02 10:20

Re: Navit on N900
 
any one use it also on n810 ?

sup 2013-03-02 11:01

Re: Navit on N900
 
1 Attachment(s)
Quote:

Originally Posted by rdorsch (Post 1326355)
I uploaded an update to bokomoko.de

There have been quite a few commits in the area of town search.

Rainer

Yep
Quote:

revision 5382 Add:gui_internal:Move most relevant results in Town search to the top of the list.
and
Quote:

revison 5354 Fix:XML:Made text on Car-dark appear white on black
are something I was waiting for. My updated .navit.xml updated as upstream changed it.

tanago 2013-03-08 18:18

Re: Navit on N900
 
...so I wanted to make my own navit build; downloaded the source, configured; make; make install....now how can I make the .deb package in scratchbox so I can transfer it to the phone? I dont have such "debian" folder when I try "dpkg-buildpackage" what should I do now?

gianko 2013-03-12 17:36

Re: Navit on N900
 
i was searching for vehicle profile explanation, i found this wiki page but is not updated (http://wiki.navit-project.org/index.php/Vehicleprofile)

can you help me in updating definitions?

car_shortest: choose the route with less kilometres...with tall
car_avoid_talls: the route avoiding talls
car_pedantic: ???
bike: prefer cycleways, and no care of oneway?
foot: prefer footways?
horse: prefer bridleways?
Track: ???

gianko 2013-03-13 16:17

Re: Navit on N900
 
Quote:

Originally Posted by tanago (Post 1327712)
...so I wanted to make my own navit build; downloaded the source, configured; make; make install....now how can I make the .deb package in scratchbox so I can transfer it to the phone? I dont have such "debian" folder when I try "dpkg-buildpackage" what should I do now?

you can try this guide...i dont know if is working http://wiki.maemo.org/Navit

ReverZ 2013-03-14 12:50

Re: Navit on N900
 
Could anybody help me with a repository for the 0.5.0 version of navit?
On bokomoko you can just find the 0.2.0 packages.

Thanks and best regards,
ReverZ

rdorsch 2013-03-14 18:53

Re: Navit on N900
 
Quote:

Originally Posted by ReverZ (Post 1328958)
Could anybody help me with a repository for the 0.5.0 version of navit?
On bokomoko you can just find the 0.2.0 packages.

I always use latest svn to build. I must have missed, that the navit team has increased the version number. So no worry, it is just the version string in the package which is missleading :-)

Rainer

rdorsch 2013-03-14 19:07

Re: Navit on N900
 
Quote:

Originally Posted by tanago (Post 1327712)
...so I wanted to make my own navit build; downloaded the source, configured; make; make install....now how can I make the .deb package in scratchbox so I can transfer it to the phone? I dont have such "debian" folder when I try "dpkg-buildpackage" what should I do now?

tanago,

I gave in an earlier post a short description and posted the scripts I use to build navit:

http://talk.maemo.org/showpost.php?p...&postcount=631

They are using dpkg-buildpackage.

The debian directory you should get bokomoko as well through the standard debian toolchain. Please check the documentation for the "apt-get source" documentation for details.

If you need more help, please ask again.

Rainer

ReverZ 2013-03-15 10:14

Re: Navit on N900
 
Ah OK, Thanks for the clarification :)
BTW: Thank you very much for keeping one of the last navigation solutions for the N900 alive!

Quote:

Originally Posted by rdorsch (Post 1329019)
I always use latest svn to build. I must have missed, that the navit team has increased the version number. So no worry, it is just the version string in the package which is missleading :-)

Rainer


tanago 2013-03-23 23:38

Re: Navit on N900
 
Quote:

Originally Posted by rdorsch (Post 1329020)
The debian directory you should get bokomoko as well through the standard debian toolchain. Please check the documentation for the "apt-get source" documentation for details.

I just dont have that 'debian' directory..
Quote:

A debian directory(http://tech.visser-scully.ca/) is available so that you can build your own packages. Download and unpack in your top Navit source directory. Build a .deb file by using fakeroot ./debian/rules binary after running the initial autogen and configure at least once. The .deb file will appear in the directory above where you are. This works best after you have done at least one build using the full set of commands above.
that site is down, how can I obtain that dir?

nokiabot 2013-03-27 03:57

Re: Navit on N900
 
Any devlopment on this lately:)

tanago 2013-04-02 20:16

Re: Navit on N900
 
Quote:

Originally Posted by tanago (Post 1331233)
I just dont have that 'debian' directory..

that site is down, how can I obtain that dir?

bump...or is there other way of making deb file ?

Quote:

Originally Posted by rdorsch (Post 1300713)
Quite frankly, I think it is a long way to get navit build with cmake in scratchbox *and* get it packaged as *.deb.

The conclusion I draw for me was that I build navit as long as possible, pledge the navit developers to keep autotools for a few more months, and then give up.

I tend to replace my n900 with an Android device in the next months anyways, so for me it is not really worth anymore to go through that transition to cmake....

...if anybody wants to take over and work on the transition, I am happy to help to replicate the (autotools based) build environment I have here.

I compiled navit's source with cmake not autotools

sup 2013-04-02 20:30

Re: Navit on N900
 
If you managed to make debs from autotools, that would be great!

tanago 2013-04-02 20:37

Re: Navit on N900
 
Quote:

Originally Posted by sup (Post 1333795)
If you managed to make debs from autotools, that would be great!

No, I just build the source. Now I only need to package it in a deb file!

tanago 2013-04-05 14:25

Re: Navit on N900
 
..so nobody build navit ?!
(or wants to help me?)

The maintainer of navit for N900 (Rdorsch) is not into navit anymore and look like he will not help me + he said he's moving away from N900

sup 2013-04-05 15:01

Re: Navit on N900
 
Quote:

Originally Posted by tanago (Post 1334289)
..so nobody build navit ?!
(or wants to help me?)

The maintainer of navit for N900 (Rdorsch) is not into navit anymore and look like he will not help me + he said he's moving away from N900

I just use it and have no idea ow to build it, but would be glad if you succeeded in building it and shared the debs.

I believe the debian direcotory you looked for is in tar.gz files on this address: http://bokomoko.de/~rd/maemo/unstable/ (like http://bokomoko.de/~rd/maemo/unstabl...o1~5427.tar.gz )

tanago 2013-04-05 16:06

Re: Navit on N900
 
This debian dir compiles the source with autotools, I need it with cmake... First I tried with autotools but when i attempt dpkg-buildpackage error pops-up 'debian/opt/navit/share/icons: No such file or directory'
with cmake the whole procedure is a lot easier now, im on my way of creating my own debian dir, without ANY help.....

sup 2013-04-05 16:16

Re: Navit on N900
 
Quote:

Originally Posted by tanago (Post 1334306)
This debian dir compiles the source with autotools, I need it with cmake... First I tried with autotools but when i attempt dpkg-buildpackage error pops-up 'debian/opt/navit/share/icons: No such file or directory'
with cmake the whole procedure is a lot easier now, im on my way of creating my own debian dir, without ANY help.....

Well, I am afraid nobody is able to give you any help since nobody has suceeded in building it as a deb with cmake. I would loveto help you but have no idea how:-). But still appreciate your effort!

tanago 2013-04-05 16:29

Re: Navit on N900
 
Quote:

Originally Posted by sup (Post 1334308)
Well, I am afraid nobody is able to give you any help since nobody has suceeded in building it as a deb with cmake. I would loveto help you but have no idea how:-). But still appreciate your effort!

Thank you, it would be good if just rdorsch helped me, but no...

sup 2013-04-05 16:30

Re: Navit on N900
 
Quote:

Originally Posted by tanago (Post 1334309)
Thank you, it would be good if just rdorsch helped me, but no...

I ma not sure he could help you either - he never suceeded in building with cmake as far as I know. But let him speak for himself.

tanago 2013-04-05 16:34

Re: Navit on N900
 
Quote:

Originally Posted by sup (Post 1334311)
I ma not sure he could help you either - he never suceeded in building with cmake as far as I know. But let him speak for himself.

I ask for his help on the missing 'icons' dir not about cmake; if i manage to build at least with autotools i will take it in my own hands building with cmake.

nokiabot 2013-04-05 19:54

Re: Navit on N900
 
Try to do as much as u can it will help somebody:)

tanago 2013-04-05 20:11

Re: Navit on N900
 
FINALLY, packaged a build as deb file (WWOHOOO) :D
Now I got to make a transition from autotools to cmake but there is a time for that :)

nokiabot 2013-04-05 20:26

Re: Navit on N900
 
So quick:o

rdorsch 2013-04-05 20:31

Re: Navit on N900
 
Congratulations tanago! Having a deb which is built through cmake is really good, because autotools are deprecated by the navit team and will eventually not work anymore.

I was busy with other issue, but sup is right, I never got a navit deb working with cmake, so I cannot be a big help :-)

The icons build works on the x86 target of scratchbox not on arm for me. Therefore I build the navit-data... package on the x86 target. Since it is by definition architecture independet it works also for arm then at the end. My build scripts do that basically automatically (see my earlier post).

If you manage to build the icons on the arm target, then it should be possible to upload navit to the maemo.org repositories. But nobody managed to do that in the past three years, I think. A workaround could be to copy the icons in the debian dir....

BTW, I did my monthly navit built run, the new version is on bokomoko.de.

Enjoy
Rainer

tanago 2013-04-05 20:46

Re: Navit on N900
 
Quote:

Originally Posted by nokiabot (Post 1334357)
So quick:o

You call that quick ? It was ~ 1 week of struggles to make a deb :D

Quote:

Originally Posted by rdorsch (Post 1334359)
Congratulations tanago! Having a deb which is built through cmake is really good...

Quote:

Originally Posted by tanago (Post 1334352)
Now I got to make a transition from autotools to cmake but there is a time for that :)

I built it through autotools. But still we have to talk about how can we make changes to the building options (what to enable, what to disable)

rdorsch 2013-04-05 21:25

Re: Navit on N900
 
Quote:

Originally Posted by tanago (Post 1334361)
But still we have to talk about how can we make changes to the building options (what to enable, what to disable)

Have a look in the debian/rules file :-)

tanago 2013-04-06 06:55

Re: Navit on N900
 
and do you know why my build doesn't have a menu icon and when I run it from menu it crashes but when run from the terminal it doesnt crash? I've used your script so you must have changed something to have a menu icon and to be able to run it from the menu...

rdorsch 2013-04-06 07:54

Re: Navit on N900
 
Hmm....I do not do anything special, just run the script (and enter 5 times my gpg passkey because I did not manage to setup gpg-agent within scratchbox).

Where does the debian dir come from you started with? Did you do "apt-get source navit" from bokomoko.de sources?

tanago 2013-04-06 08:05

Re: Navit on N900
 
Quote:

Originally Posted by rdorsch (Post 1334419)
Hmm....I do not do anything special, just run the script (and enter 5 times my gpg passkey because I did not manage to setup gpg-agent within scratchbox).

I have removed some parts from your script like :'check for ssh-key'; 'upload x86 build to bokomoko'; 'update armel changes file'; 'upload armel build to bokomoko'

so it doens't ask me for gpg-key
Quote:

Originally Posted by rdorsch (Post 1334419)
Where does the debian dir come from you started with? Did you do "apt-get source navit" from bokomoko.de sources?

I downloaded the source but I'm using debian dir from bokomoko.de/~rd/Navit/navit-debian-dir should I use the one from sources?

rdorsch 2013-04-06 12:49

Re: Navit on N900
 
Quote:

Originally Posted by tanago (Post 1334421)
I downloaded the source but I'm using debian dir from bokomoko.de/~rd/Navit/navit-debian-dir should I use the one from sources?

I suggest to use the latest one from that maemo package, I built. The one you are using is almost two years old. I cannot promise though if that solves your problem....

tanago 2013-04-06 13:16

Re: Navit on N900
 
Quote:

Originally Posted by rdorsch (Post 1334448)
I suggest to use the latest one from that maemo package, I built. The one you are using is almost two years old. I cannot promise though if that solves your problem....

I just built the latest (2-3 hours) 5428 svnversion with autotools and the debian dir from your package and it worked on my phone without any problems(I havent built FREMANTLE_X86 version navit, so my navit-data builds under FREMANTLE_ARMEL), now I'm trying to build it with cmake. :)

tanago 2013-04-06 14:18

Re: Navit on N900
 
Well...I managed to build navit through cmake!

...but there is only one problem to resolve and we can say it's mission accomplished. cmake can't find Qt Declarative(which I think is provided by libqt4-experimental-declarative-dev) that is needed for QML gui and without qml gui packaging debs fail. If we just solve that issue we can build through cmake :)

Edit: Removing ./debian/navit-gui-qml.install is a temporary fix


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

vBulletin® Version 3.8.8