View Full Version : Navit on N900
sondjata
2011-03-09, 01:54
Anybody been able to get Navit to narrow down locations? I'm trying to go somewhere and the list of towns goes off screen and trying to pick which one is entirely a crap shoot.
Hi anybody
I install Navit by script everything is OK (thank you Flandry) but navit could not load map.
Who can help me?
Hi anybody
I install Navit by script everything is OK (thank you Flandry) but navit could not load map.
Who can help me?
Which map cannot you load ?
I saw somewhere a remark that the map format has changed, and noticed that my navit does not recognize new maps downloaded from navit-project extractor. Maps downloaded earlier still work fine.
According to the source (which I cannot recall anymore, sorry), the newest SVN version of navit does recognize these maps.. However, I do not know how to compile new maps. Maybe the kind person who has built the packages at chollya.org could build a new version for the rest of us ?
Of course, your problem could be a different one.
Typo: I intended to say "do not know how to compile a new version of the application" instead of "compile new maps".
Typo: I intended to say "do not know how to compile a new version of the application" instead of "compile new maps".
Actually, it might not be necessary to compile the application. I was able to use the newest OSM maps
when I converted them myself from OSM extracts into bin-files using the maptool available together with navit.
samad909
2011-05-02, 08:11
For a newer version of the program follow this tutorial (http://talk.maemo.org/showpost.php?p=573415&postcount=275)
Instead of installing the navit files listed under "3) Navit distribution", get the newer files from,
navit-data_0.2.0+dfsg.1-1maemo1~4347_all.deb (http://www.chollya.org/navit/navit-data_0.2.0+dfsg.1-1maemo1~4347_all.deb)
navit-graphics-gtk-drawing-area_0.2.0+dfsg.1-1maemo1~4347_armel.deb (http://www.chollya.org/navit/navit-graphics-gtk-drawing-area_0.2.0+dfsg.1-1maemo1~4347_armel.deb)
navit-gui-gtk_0.2.0+dfsg.1-1maemo1~4347_armel.deb (http://www.chollya.org/navit/navit-gui-gtk_0.2.0+dfsg.1-1maemo1~4347_armel.deb)
navit-gui-internal_0.2.0+dfsg.1-1maemo1~4347_armel.deb (http://www.chollya.org/navit/navit-gui-internal_0.2.0+dfsg.1-1maemo1~4347_armel.deb)
navit_0.2.0+dfsg.1-1maemo1~4347_armel.deb (http://www.chollya.org/navit/navit_0.2.0+dfsg.1-1maemo1~4347_armel.deb)
Please note that there is a small issue under the step "8) Put the files...", use solution number two ie "Create the folder under Xterminal" and you should be good to go. The reason why the first one wont work is because the N900's MyDocs dir gets mounted in windows and we need to have the .navit folder in /home/user and not /home/user/MyDocs.
When you follow the second solution you will need to move the xml files to the proper location manually. So copy the xml files to a folder called "navit" in MyDocs over mass storage mode and then run the following command in xterminal,
mv /home/user/MyDocs/navit/* /home/user/.navit/
I havent tested this personally but it could work, worth a try =)
Redsandro
2011-05-09, 11:42
This navigation software is pretty neat! :D
Here's how I installed it from the repository. It installed version 4347 which is the same as the manual installation mentioned above.
On the N900:
root
apt-get install librsvg2-common
apt-get install espeak
apt-get install navit
On a laptop/computer with Linux (Ubuntu) (wifi connected, same network as N900)
sudo apt-get install maptool
wget http://downloads.cloudmade.com/europe/western_europe/netherlands/netherlands.osm.bz2
# Find your own country. Don't be a hero and download World.osm just yet, because converting the Netherlands alone took me 10 minutes. The world will probably take A DAY.
bzcat netherlands.osm.bz2 | maptool netherlands.osm.bin
mkdir ~/n900
# Requires sshd and tftp on your n900:
sshfs user@192.168.201.2:/ ~/n900
# Mind your n900s ip-address
mkdir ~/n900/home/user/MyDocs/OpenStreetMaps
cp netherlands.osm.bin ~/n900/home/user/MyDocs/OpenStreetMaps/
# Copy took 5 mintes.
mkdir ~/n900/home/user/.navit
cd ~/n900/home/user/.navit
wget -O navit-config.zip http://talk.maemo.org/attachment.php?attachmentid=6644&d=1264836319
unzip navit-config.zip
echo '<map type="binfile" enabled="yes" data="/home/user/MyDocs/OpenStreetMaps/netherlands.osm.bin"/>' > maps.xml
echo "<speech type=\"cmdline\" data=\"echo '%s' | espeak -vnl+f2\" cps=\"10\"/>" > speech.xml
# Mind your own language settings, this is Dutch
cd /
fusermount -u /home/sander/n900
ssh user@192.168.201.2 dbus-send --system --print-reply --dest=com.nokia.dsme /com/nokia/dsme com.nokia.dsme.request.req_reboot
# reboot required for graphics
Replace .png with .svg in OSD.xml on n900
apt-get install sed
mv OSD.xml OSD.xml.bak
sed 's/.png/.svg/g' OSD.xml.bak > OSD.xml
Weird bug: You don't see any results when searching for cities unless you start the program from terminal:
ctrl+shift+x and navit
Start with different environment for a different language.
env LANG=nl_NL navit
Move the icons to the absolute sides of the screen to make it look better. Change the last portion of OSD.xml like so:
<!-- <osd enabled="yes" type="button" x="-60" y="50" command="zoom_in()" src="gui_zoom_in.svg"/> -->
<osd enabled="yes" type="button" x="-54" y="44" command="zoom_in()" src="gui_zoom_in.svg"/>
<!-- <osd enabled="yes" type="button" x="-60" y="-120" command="zoom_out()" src="gui_zoom_out.svg"/> -->
<osd enabled="yes" type="button" x="0" y="44" command="zoom_out()" src="gui_zoom_out.svg"/>
<!-- <osd enabled="yes" type="button" x="-70" y="130" command="gui.menu()" src="gui_menu.svg"/> -->
<osd enabled="no" type="button" x="-70" y="130" command="gui.menu()" src="gui_menu.svg"/>
<!-- <osd enabled="yes" type="button" x="-60" y="220" command="gui.fullscreen=!gui.fullscreen" src="gui_fullscreen.svg"/> -->
<osd enabled="yes" type="button" x="-52" y="-112" command="gui.fullscreen=!gui.fullscreen" src="gui_fullscreen.svg"/>
Very nice!
http://tweakers.net/ext/f/qYnIV8Ol4HcXroGb93Auuram/full.png
I've tried Mappero and a few of the likes, but they work with tiles or bitmaps and that is just not how we roll in the 21st century.
The other vector based app I've tried in the past is GpsMid, but getting it to work is more difficult than kickstarting self-sustaining nuclear fusion.
So Navit is pretty much the only player in town that parses vectordata from OpenStreetMaps in realtime.
I'm glad I found Navit :D but I really wish some people are still working on it, because it needs some improvements. :D
It crashes a lot when doing stuff other than just browsing the map.
Moving a map is slow like Debian development. OpenGL implementations could easily make this 50 times faster.
Having a route makes navit 386ish slow. What the hell is it calculating all the time even if my car is standing still?:confused:
Getting it to work requires some work. Apps should work out of the box.
OSD Icons don't show up until you move the map a bit
Checking the car position *on screen* crashes the program.
It doesn't save settings. Very VERY annoying. :rolleyes:
-update-
Other bugs
navit:displayitem_draw:failed to load icon 'fuel.png'
navit:displayitem_draw:failed to load icon 'shopping.png'
navit:displayitem_draw:failed to load icon 'bar.xpm'
navit:displayitem_draw:failed to load icon 'fastfood.png'
navit:displayitem_draw:failed to load icon 'bank.png'
navit:displayitem_draw:failed to load icon 'bus.png'
navit:displayitem_draw:failed to load icon 'church.png'
navit:displayitem_draw:failed to load icon 'cinema.png'
Any ideas on how to stop it from crashing so often? I like to use this when bicycling random cities, and I don't want to restart the app pretty much every time I want to take a look. :(
Hello,
I worked through the maemo package for the n900 from chollya.org and updated it to the new version 4503. This brings now for the first time elevation support for the n900. Beside that, the chollya.org package linked statically against a newer freetype library. The downside of this is that there are two versions of freetype in the RAm of the phone, when navit is running. I applied the patch for this specific freetype bug to the version of freetype shipped with the n900 and submitted it for inclusion in the CSSU. In addition you may install the patched version directly from here: http://bokomoko.de/~rd/Navit/freetype-navit_2.3.9-1osso2+0m5.1/libfreetype6-navit_2.3.9-1osso2+0m5.1_armel.deb
Alternatively, I built a freetype-navit package, which can install in parallel to the freetype shipped with the n900, for people which do not want to replace the system freetype library. This is included similar to navit itself in my repository
deb http://bokomoko.de/~rd/maemo/ unstable
I am running the patched freetype library and navit on my n900 without problems so far. All my packages come without any warranty and I cannot give commitments on fixing problems, but I hope they are useful for some of you. The repository did not get a whole lot of testing, I welcome feedback if it worked or not.
If you want to see the sources please add in scratchbox the source repository
deb-src http://bokomoko.de/~rd/maemo/ unstable
Thanks,
Rainer
hi all,
installed navit from the instructions a few posts up.
all installed fine but when I run it, it just hangs. i did a screenshot of the terminal but sure how to attach it.
hope someone can help!
hi all,
installed navit from the instructions a few posts up.
all installed fine but when I run it, it just hangs. i did a screenshot of the terminal but sure how to attach it.
hope someone can help!
Can you reference the number of the reply (at top right below the date) you used?
Thanks
Rainer
Hello,
I worked through the maemo package for the n900 from chollya.org and updated it to the new version 4503.
...
Thanks,
Rainer
Thanks Rainer. I've been using modrana for a while as it has generally met my needs but i haven't given up on the hope of a polished vector map app. I installed from your repo using the freetype-navit option and tested this newer release of navit.
This release seems stable and the search actually appears to work in a reasonable way now. I also tried the QML UI, which i haven't been able to make work previously. The QML UI fixes three problems:
Using standard X close icon properly exits the program. Full screen button works and doesn't cause a crash. Keyboard works.
However, it also brings some problems of its own, specifically there are textbox focus and layout problems in the menus, and a few options seem to be missing.
It would be interesting to know whether the qtpainter or gtk renderer is faster (any volunteers to benchmark?), and likewise whether the qml or internal GUI is better when properly configured. I suspect it wouldn't be too hard to fix most of the issues with the QML -- perhaps simply a matter of tweaking the skin or enabling svg.
Here are simple instructions for installation. With a repo available it's definitely the easiest it has been. Unfortunately, configuration is still the hardest part.
This should be used instead of my earlier script-based instructions (http://talk.maemo.org/showpost.php?p=746245&postcount=383) from last year
To install:
Add the repository to the sources list in FAPman (Manage repositories) as follows:
URL http://bokomoko.de/~rd/maemo/
Distribution unstable/
Components (leave empty)
Don't forget to enable the repo with the checkbox at the bottom!
Choose "Install Applications"
Click on the C icon (Category filter) and scroll down to select All packages (ADVANCED)
Type "navit" to find packages
Mark libfreetype6-navit, navit, navit-graphics-qt-qpainter, navit-gui-qml for install*
Install.
* This is if you intend to use qpainter and QML. If you mark the navit package only, it will pull in the default navit-gui-internal and gtk renderer packages iirc. There's no harm in installing all of them if you want to try different renderers or GUIs.
At this point you have a working install of navit, but need to configure it and download a map from the Navit Planet Extractor (http://maps5.navit-project.org/). Make sure you grab as small a map as will meet your needs, because the size of the map definitely affects navit performance. You can get multiple maps and enable/disable them as needed.
You will need to grab one of the configuration file archives kicking around here and uncompress them to /home/user/.navit (aka ~/.navit). Then modify maps.xml to point to the map that you downloaded to or copied to your N900, and modify navit.xml to choose the appropriate renderer and GUI. You should be able to do so following the existing file and comments. I recommend leafpad for this. Be sure not to do any of this as root!
For QML we have to specify the skin and icon directory as described on the navit wiki (http://wiki.test.navit-project.org/index.php/Gui_QML). The QML line will end up looking something like this:
<gui type="qml" enabled="yes" source="/opt/navit/share/navit/skins" icon_src="/opt/navit/share/navit/xpm/" />
Good luck!
Edit: You will need to download new maps if yours are as old as mine were. If navit opens and you see the map display before it crashes, the map format is the problem.
URL http://bokomoto.de/~rd/maemo/
http://bokomoko.de/~rd/maemo/
:)
thopiekar
2011-06-23, 22:14
hi. I see you got problems installing and configure navit.. I could help you getting it well packaged .
I already made navit packages for Ubuntu in the past which got already different OSD layouts and you where able to choose one by installing the one you prefer.
If you like let us collect OSD layouts and other maemo specific optimizions, so I can put them into well packages ;)
Flandry,
thanks for working on a QML configuration. This could allow us to upload navit to maemo extras very soon (currently the build of navit-data with the pngs is painful and not supported by the autobuilder).
Can you post somewhere the QML configuration you use? Or did you change just the single line you posted?
As a side note, I uploaded navit svn r4538 to bokomoko, any feedback is welcome...
Thanks,
Rainer
thopiekar
2011-06-27, 15:39
Is Navit now working stabler? I used the navit version at extras-testing today and it was crashing every >5mins.
Btw. I'm willing to split navit and it's conf into different packages. If you like I could try to finish that. I just made a source package that builds navit against the latest freefont staticly. So no extra packages for freefont are needed.
thopiekar,
I think, what is in extras-testing is terribly outdated. Post #511 explains how to install a recent navit version from bokomoko.de. I have no stability issue at all with that version.
Also there are fixed freetype packages, i.e. no need for static linking anymore (which wastes valuable main memory in your N900).
Any improvement in the configuration area is excellent.
Thanks,
Rainer
faktorqm
2011-07-04, 04:38
Thanks Rainer. I've been using modrana for a while as it has generally met my needs but i haven't given up on the hope of a polished vector map app. I installed from your repo using the freetype-navit option and tested this newer release of navit.
This release seems stable and the search actually appears to work in a reasonable way now. I also tried the QML UI, which i haven't been able to make work previously. The QML UI fixes three problems:
Using standard X close icon properly exits the program. Full screen button works and doesn't cause a crash. Keyboard works.
However, it also brings some problems of its own, specifically there are textbox focus and layout problems in the menus, and a few options seem to be missing.
It would be interesting to know whether the qtpainter or gtk renderer is faster (any volunteers to benchmark?), and likewise whether the qml or internal GUI is better when properly configured. I suspect it wouldn't be too hard to fix most of the issues with the QML -- perhaps simply a matter of tweaking the skin or enabling svg.
Here are simple instructions for installation. With a repo available it's definitely the easiest it has been. Unfortunately, configuration is still the hardest part.
This should be used instead of my earlier script-based instructions (http://talk.maemo.org/showpost.php?p=746245&postcount=383) from last year
To install:
Add the repository to the sources list in FAPman (Manage repositories) as follows:
URL http://bokomoko.de/~rd/maemo/
Distribution unstable/
Components (leave empty)
Don't forget to enable the repo with the checkbox at the bottom!
Choose "Install Applications"
Click on the C icon (Category filter) and scroll down to select All packages (ADVANCED)
Type "navit" to find packages
Mark libfreetype6-navit, navit, navit-graphics-qt-qpainter, navit-gui-qml for install*
Install.
* This is if you intend to use qpainter and QML. If you mark the navit package only, it will pull in the default navit-gui-internal and gtk renderer packages iirc. There's no harm in installing all of them if you want to try different renderers or GUIs.
At this point you have a working install of navit, but need to configure it and download a map from the Navit Planet Extractor (http://maps5.navit-project.org/). Make sure you grab as small a map as will meet your needs, because the size of the map definitely affects navit performance. You can get multiple maps and enable/disable them as needed.
You will need to grab one of the configuration file archives kicking around here and uncompress them to /home/user/.navit (aka ~/.navit). Then modify maps.xml to point to the map that you downloaded to or copied to your N900, and modify navit.xml to choose the appropriate renderer and GUI. You should be able to do so following the existing file and comments. I recommend leafpad for this. Be sure not to do any of this as root!
For QML we have to specify the skin and icon directory as described on the navit wiki (http://wiki.test.navit-project.org/index.php/Gui_QML). The QML line will end up looking something like this:
<gui type="qml" enabled="yes" source="/opt/navit/share/navit/skins" icon_src="/opt/navit/share/navit/xpm/" />
Good luck!
Edit: You will need to download new maps if yours are as old as mine were. If navit opens and you see the map display before it crashes, the map format is the problem.
Thank you very much for your help, I've installed the repository in the stock application manager, and then I did (as root):
- apt-get update
- apt-get install libfreetype6-navit navit-data navit navit-gui-gtk navit-graphics-gtk-drawing-area maptool
(I added maptool only just because)
Now, I downloaded the maps in the navit planet extractor, finally got a .bin file. Now, where I need to put the .bin file? I've tried in /home/user/.navit/ but I don't see any map in the app. I need to use maptool?
Thank you! Regards!
vaporeso
2011-07-04, 07:21
is gamin maps working on this version? anyone tried?
Just wanted to say thanks to everybody still helping with this.
I had given up on Navit but since installing the latest version from the bokomoko repository, enabling the QT graphics and gui, and downloading a new map, it all clicked into place. It looks very usable now.
faktorqm
2011-07-04, 16:23
Yes, this version is very usefull. The devel version is very old.
Now, I've read this page http://wiki.navit-project.org/index.php/OpenStreetMaps and enable the open street map in the xml file
<mapset>
<map type="binfile" enabled="yes" data="/path/to/your/map/my_Navit_map.bin" />
</mapset>
in /etc/navit/navit.xml
Now, the city search is working, I can search for names of the cities, but in the main windows I see:
http://img832.imageshack.us/img832/1828/screenshot2011070413155.png
If I can search cities names, the map is working, now, what is wrong in my navit main page?
Thank you very much for your help! Regards!!
Redsandro
2011-07-12, 19:32
To install:
Add the repository to the sources list in FAPman (Manage repositories) as follows:
URL http://bokomoko.de/~rd/maemo/
Distribution unstable/
Components (leave empty)
Don't forget to enable the repo with the checkbox at the bottom!
Choose "Install Applications"
Click on the C icon (Category filter) and scroll down to select All packages (ADVANCED)
Type "navit" to find packages
Mark libfreetype6-navit, navit, navit-graphics-qt-qpainter, navit-gui-qml for install*
Install.
Cannot find navit package, only navit-dbg
Cannot find navit package, only navit-dbg
Can you post your output of
~ $ apt-cache policy navit
navit:
Installed: 0.2.0+dfsg.1-1maemo1~4616
Candidate: 0.2.0+dfsg.1-1maemo1~4616
Version table:
*** 0.2.0+dfsg.1-1maemo1~4616 0
500 http://bokomoko.de unstable/ Packages
100 /var/lib/dpkg/status
0.2.0~svn2916+dfsg.1-1maemo1 0
500 http://repository.maemo.org fremantle/free Packages
500 http://repository.maemo.org fremantle/free Packages
~ $
?
[...]
If I can search cities names, the map is working, now, what is wrong in my navit main page?
Thank you very much for your help! Regards!!
That is indeed surprising. Do you have a reliable GPS connection? And do you have a map of the area you are currently in?
Let me know if it still does not work, the I share my current ~/.navit directory...
Redsandro
2011-07-20, 21:21
It was truth. I could download everything except navit itself.
/home/user # apt-cache policy navit
navit:
Installed: 0.2.0~svn2916+dfsg.1-1maemo1
Candidate: 0.2.0~svn2916+dfsg.1-1maemo1
Version table:
*** 0.2.0~svn2916+dfsg.1-1maemo1 0
500 http://repository.maemo.org fremantle/free Packages
500 http://repository.maemo.org fremantle-1.3/free Packages
100 /var/lib/dpkg/status
/home/user # apt-cache policy navit-graphics-qt-qpainter
navit-graphics-qt-qpainter:
Installed: 0.2.0+dfsg.1-1maemo1~4616
Candidate: 0.2.0+dfsg.1-1maemo1~4616
Version table:
*** 0.2.0+dfsg.1-1maemo1~4616 0
100 /var/lib/dpkg/status
0.2.0~svn2916+dfsg.1-1maemo1 0
500 http://repository.maemo.org fremantle/free Packages
500 http://repository.maemo.org fremantle-1.3/free Packages
Second one to show version differences
Redsandro
2011-07-22, 02:10
Okay got it, disable your testing and devel repo's (I think) and look under updates. There it is. :)
Redsandro
2011-07-22, 17:00
Thanks for post #511 (http://talk.maemo.org/showpost.php?p=1025907&postcount=511) @flandry, I got it to work now.
Apart from the UI, I don't see many changes, except that the OSD is now drawn properly! And it crashes less often, which is very nice indeed! It still does crash now and then though.
However, the old GTK interface doesn't work anymore with it for me. Any options that need to be changed?
This QML is very fluent and seems really nice, but like you mentioned, it's pretty crippled on the N900. Options drawn behind other options, options drawn off the screen, icon-sized search-results, etc.
I'd like the GTK interface back which was the default back when I tried it out in post #507 (http://talk.maemo.org/showpost.php?p=1002698&postcount=507)
That one, though less pretty, worked better for me. Contrary to what you experienced, search results also worked normally as long as you start navit from a terminal and not from the desktop.
Either way, wether GTK or QML, any options you choose in settings still aren't saved. On reboot, settings are reset to default. Can this be fixed? Do I need to change a config option or is this some internal function?
Redsandro,
I use the "internal GUI" but getting QML stable would be preferable on the long run.
I am not aware of a method saving the settings. But you can adjust almost everying in /etc/navit/navit.xml (which is not as convenient, but works for me).
sondjata
2011-08-10, 12:16
I've downloaded and installed the navit per the directions from the Bokomoho website. However NAVIT does not kick on the GPS and will not show my maps. under the actions there is no icon for my vehicle position. I'm using the same custom navit.xml file that I was using under Maemo 5 and all my other customizations to the GUI show up properly.
Does the N900 have a different address to the GPS that should be modified in the navit.xml file?
Are there known issues with the gui-internal mapping settings?
Thanks.
---
Never mind the offending line is
<vehicle name="Local GPS" profilename="car" enabled="yes" active="1" source="maemo">
On the 810/800 this is
source=" gspd://localhost" gpsd_query="w+xj""> which needs to be changed to match the above to work on 900. This should be pointed out for those who may have upgraded from a previous device.
Redsandro
2011-08-10, 12:59
@sondjata: You have to browse around and zoom in (or was it out?) randomly for the first time.
I think it's because navit has a terrible automatic map simplifier to make sure not too much poligons are drawn at the same time, which causes the map look all bue or all brown from certain points of view.
sondjata
2011-08-10, 13:21
I'm cool now. You missed my edit. The entire issue was the GPS setting.
Redsandro
2011-08-10, 14:06
Oh wow, sorry I wasn't paying attention for edits. :P
Is the N810 still feasible? The much faster N900 is barely holding ground as a smart(phone) device, and second hand price is dropping like it's hot.
sondjata
2011-08-10, 14:20
feasable? Yes. The Opera browser did add life to the device and NAVIT was a godsend over Maemomapper (and now OviMaps which I tried out on the road today. No turn warnings and no live rerouting. Absolute fail). You can do a lot but it's slow as hell and the newer features on FB etc. lack of a functioning twitter app just got on my nerves after a while. I do miss that relatively HUGE screen though. It was the first difference I noticed (aside from the fact that this 900 is huge). I bought the 900 'cause the phone I was using to tether was starting to go south so I decided if I was going to lay out for phone then it was either an iPhone or N900. I may still regret the decision, but I figure I am deep in Apple (Macbook, iPad, Tower) that I can keep up with IOS stuff (which I need to do professionally) but still use this as my linux/unix escape. That and I enjoy not having to carry around a mess of devices. I had an 800 and had to buy a special carrier for the external GPS, phone and tablet. I don't miss that at all. I bought the 900 off ebay for much less than 1/2 it was retailing for. I refused to pay the retail price for this given how Nokia has had a habit of dropping support quickly and the app developers (not all) essentially drop all updates. Honestly had someone created a FB widget/client that supported places and a twitter client/widget for the 810/Diablo I'd probably have not bought the 900.
But this is waaaay off topic. lol
Redsandro
2011-08-10, 21:28
Thanks for sharing anyway. I didn't realize you have all those Maemo devices. I'm a professional signature ignorer. :)
simpler instructions than managing sources with fapman:
echo "deb http://bokomoko.de/~rd/maemo/ unstable/" | sudo tee /etc/apt/sources.list.d/navit.list
sudo apt-get update
sudo apt-get install libfreetype6-navit navit navit-graphics-qt-qpainter navit-gui-qml
Some time ago I had a somewhat working navit configuration, including text-to-speech svg-icons and OSD, mostly scrounged together from this forum. Then an update came and navit crashed on start. I got it running again by removing my custom configuration files. But no map, no OSD, not even GPS. I was able to fix gps and map, but the rest is still broken.
Does anyone have a working configuration for navit on the n900?
Is it not possible to distribute a working configuration for navit on the n900 together with the navit package?
simpler instructions than managing sources with fapman:
echo "deb http://bokomoko.de/~rd/maemo/ unstable/" | sudo tee /etc/apt/sources.list.d/navit.list
sudo apt-get update
sudo apt-get install libfreetype6-navit navit navit-graphics-qt-qpainter navit-gui-qml
Hi
Trying to install today I get the following error:
The following packages have unmet dependencies:
navit: Depends: navit-data (= 0.2.0+dfsg.1-1maemo1~4772) but 0.2.0~svn2916+dfsg.1-1maemo1 is to be installed
E: Broken packages
Any way I can solve this would be appreciated - Thanks
mykey
free-diver
2011-10-14, 15:12
Would someone pleeeeeeease show me how to use garmin maps on navit... am a noob so step by step please...
i installed navit from repos and navit-dbg and downloaded a bin map and put it in navit_maps folder in MyDocs and pointed maps.xml to that bin file and it worked but when trying to use garmin it's a hell of mess.
when i try to download libgarmin the way this site http://wiki.navit-project.org/index.php/Garmin_maps says to xterminal says "svn not found".
so i tried to find this libgarmin some other way and finally after some long search i found a deb file that installs libgarmin svn-20080313
i installed it and did what the above site says about editing maps.xml and navit.xml but garmin map still doesn't appear in navit..
help me please ASAP..
Hi
Trying to install today I get the following error:
The following packages have unmet dependencies:
navit: Depends: navit-data (= 0.2.0+dfsg.1-1maemo1~4772) but 0.2.0~svn2916+dfsg.1-1maemo1 is to be installed
E: Broken packages
Any way I can solve this would be appreciated - Thanks
mykey
I think the problem is that you have still old navit packages from the extras repository installed.
I suggest to remove first all navit packages. Maybe
apt-get purge navit navit-data navit-dbg <and other packages you have installed>
To find packages you have installed, list the navit packages by
apt-cache serach navit
Then
apt-cache show <package-name>
should tell you, if the package is installed.
arne.anka
2011-10-22, 22:49
it's not exactly maemo/n900, but:
is there a way to configure navit to show a marker for the location it shows? ie, when i search for a street, navit shows a map of the area -- but no indicator where in the area shown the street is!
for larger cities with many streets this means that the search is nearly useless, since i am unable to locate the street (no name shown) and when zooming i might as well move away from that street.
Having problems launching navit. fap installed all well but when i launch navit from the terminal line it gave me following message:
navit:main_real:trying /home/user/.navit/navit.xml
plugin_osso: osso_navit: error initiating osso context
navit: plugin_load:can't load '/opt/navit/lib/navit/osd/libosd_core.so', already loaded
any idea? if i try to start it from icon, it breaks..
greets
matthias
bingomion
2011-11-02, 22:44
hmmm already loaded.. try, rebooting the N900?
then try uninstall and a reinstall
hi everybody! i installed navit from the bokomoko repo and i tried with the settings suggested in the past by Flandry. With my great surprise it worked fine the first time that i launched it! The gui was fine, i was able to access all the menu, i tried the routing and it worked! But now when i launch again it crashes. From the terminal it says:
navit:main_real:trying /home/user/.navit/navit.xml
map_rect_new_textfile unable to open textfile /home/user/.navit/bookmark.txt. Error: No such file or directory
navit:plugin_load:can't load '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so', Error '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so: undefined symbol: _ZTV14EmbeddedWidget'
navit:plugin_load:can't load '/opt/navit/lib/navit/osd/libosd_core.so', already loaded
^Z[2] + Stopped navit
~ $
What to do?
hi everybody! i installed navit from the bokomoko repo and i tried with the settings suggested in the past by Flandry. With my great surprise it worked fine the first time that i launched it! The gui was fine, i was able to access all the menu, i tried the routing and it worked! But now when i launch again it crashes. From the terminal it says:
navit:main_real:trying /home/user/.navit/navit.xml
map_rect_new_textfile unable to open textfile /home/user/.navit/bookmark.txt. Error: No such file or directory
navit:plugin_load:can't load '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so', Error '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so: undefined symbol: _ZTV14EmbeddedWidget'
navit:plugin_load:can't load '/opt/navit/lib/navit/osd/libosd_core.so', already loaded
^Z[2] + Stopped navit
~ $
What to do?
Just guessing but did you kill the existing instances of navit or reboot? This is probably the same issue i described somewhere back in the thread that is encountered when closing the app with the maemo close button when not using the QT interface: it leaves components still running.
Type "top" in terminal and see if you see something about navit in the list of processes. If it's there you can kill it with "killall navit".
To properly shut down navit using the other GUIs, you have to use the exit button within the UI rather than the maemo "x".
Would someone pleeeeeeease show me how to use garmin maps on navit... am a noob so step by step please...
i installed navit from repos and navit-dbg and downloaded a bin map and put it in navit_maps folder in MyDocs and pointed maps.xml to that bin file and it worked but when trying to use garmin it's a hell of mess.
when i try to download libgarmin the way this site http://wiki.navit-project.org/index.php/Garmin_maps says to xterminal says "svn not found".
so i tried to find this libgarmin some other way and finally after some long search i found a deb file that installs libgarmin svn-20080313
i installed it and did what the above site says about editing maps.xml and navit.xml but garmin map still doesn't appear in navit..
help me please ASAP..
Search back through the thread to one of my earlier posts of instructions to see what it said about garmin. If i recall correctly garmin support is either almost useless or removed from navit at this point.
Just guessing but did you kill the existing instances of navit or reboot? This is probably the same issue i described somewhere back in the thread that is encountered when closing the app with the maemo close button when not using the QT interface: it leaves components still running.
Type "top" in terminal and see if you see something about navit in the list of processes. If it's there you can kill it with "killall navit".
To properly shut down navit using the other GUIs, you have to use the exit button within the UI rather than the maemo "x".
yes i tried to reboot also but still the same error. is it possible that some other apps, a widget maybe, is using the qt interface?
anyway i got my navit working using the internal gui with gtk_drawing_area. work pretty good even if in the terminal i can see some errors like:
navit:displayitem_draw:failed to load icon '/opt/navit/share/navit/xpm/parking.xpm' also for other icons like worship heliport viewpoint zoo etc.
and i choose an osd.xml that at least make visible the zoom in/out icons and the fullscreen icon, but there is still a square with an interrogative point inside, i don't know what icon should be
if somebody know how to fix the error with qt_qpainter please let me know!
that is:
navit: plugin_load:can't load '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so', Error '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so: undefined symbol: _ZTV14EmbeddedWidget'
navit: plugin_load:can't load '/opt/navit/lib/navit/osd/libosd_core.so', already loaded
i don't know if there is a conflict with some other qt apps that i have installed on the phone or what
just another question: do you have the speech working with espeak? i set on enabled but still not working. are the settings inside speech.xml fine or is better this http://wiki.navit-project.org/index.php/Configuring_Navit#Speech ?
sorry for continuous posting, but maybe i found a bug. using openstreetmap maps, when searching for a street, all the streets with access=private are excluded so is not possible to find these streets. i'd reather prefer something like the Garmin Nuvi1300, that uses openstreetmap maps compiled on navmaps.eu: a street with access=private is findable and if choosen as destination, the routing takes you on the nearest point without entering the street.
magic_doc
2011-12-17, 12:10
just another question: do you have the speech working with espeak? i set on enabled but still not working. are the settings inside speech.xml fine or is better this http://wiki.navit-project.org/index.php/Configuring_Navit#Speech ?
Just updated to 0.5.0 yesterday and found espeak not working too.
This was my old setting in speech.xml:
<speech type="cmdline" data="echo %s | sed s/\\./Komma/g | espeak -vde+m2+croak" cps="10"/>
which worked with 0.2.0 but not with 0.5.0
I had to change it to this:
<speech type="cmdline" data="espeak -vde+m2+croak '%s'" cps="10"/>
and this works!
HTH & HAND
Michael
plaka666
2011-12-23, 09:12
navit:plugin_load:can't load '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so', Error '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so: undefined symbol: _ZTV14EmbeddedWidget'
navit:plugin_load:can't load '/opt/navit/lib/navit/osd/libosd_core.so', already loaded
^Z[2] + Stopped navit
~ $
I installed this week, same repo, and am getting the same messages. Installed, reinstalled, removed and replaced config files. restarted, no running navit processes, etc. Will look into if I have time, not sure if I can be of much assistance. Subscribed to thread
magic_doc
2011-12-23, 21:05
Just came across another issue:
a friend of mine installed navit 0.5.0 from scratch out of http://www.chollya.org-Repository
and the menu-icons were missing completely.
He found out, that installing librsvg2-2 and librsvg2-common solved that issue.
Would it be possible to add these two to the navit-dependencies to prevent future problems?
CU and merry christmas!
CU Doc
Which gui are you using? I have not installed these packages and navit works well (though from bokomoko.de):
~ $ apt-cache policy librsvg2-2
librsvg2-2:
Installed: (none)
Candidate: 2.26.0-1maemo1
Version table:
2.26.0-1maemo1 0
500 http://repository.maemo.org fremantle/free Packages
2.26.0-1maemo0 0
500 http://repository.maemo.org fremantle-1.3/free Packages
500 http://repository.maemo.org fremantle/free Packages
500 http://repository.maemo.org fremantle/free Packages
~ $ apt-cache policy librsvg2-common
librsvg2-common:
Installed: (none)
Candidate: 2.26.0-1maemo1
Version table:
2.26.0-1maemo1 0
500 http://repository.maemo.org fremantle/free Packages
2.26.0-1maemo0 0
500 http://repository.maemo.org fremantle/free Packages
500 http://repository.maemo.org fremantle/free Packages
~ $
there is an update from bokomoko repo, does it fix/improve something? have you tried?
I installed this week, same repo, and am getting the same messages. Installed, reinstalled, removed and replaced config files. restarted, no running navit processes, etc. Will look into if I have time, not sure if I can be of much assistance. Subscribed to thread
maybe navit-qml is not compatible with the cssu qt-library? anyway can you address the problem on the irc channel #navit, see
http://wiki.navit-project.org/index.php/Contacts#IRC
If there is an outcome which improves the package, please let me know.
magic_doc
2012-03-06, 13:42
Which gui are you using? I have not installed these packages and navit works well (though from bokomoko.de):
~ $ apt-cache policy librsvg2-2
librsvg2-2:
Installed: (none)
Candidate: 2.26.0-1maemo1
Version table:
2.26.0-1maemo1 0
500 http://repository.maemo.org fremantle/free Packages
2.26.0-1maemo0 0
500 http://repository.maemo.org fremantle-1.3/free Packages
500 http://repository.maemo.org fremantle/free Packages
500 http://repository.maemo.org fremantle/free Packages
~ $ apt-cache policy librsvg2-common
librsvg2-common:
Installed: (none)
Candidate: 2.26.0-1maemo1
Version table:
2.26.0-1maemo1 0
500 http://repository.maemo.org fremantle/free Packages
2.26.0-1maemo0 0
500 http://repository.maemo.org fremantle/free Packages
500 http://repository.maemo.org fremantle/free Packages
~ $
Sorry for the late answer- forgot to subscribe the thread :mad:
I am using the internal gui:
<gui type="internal" enabled="yes">
Complete navit.xml can be found here (http://www.q0a.de/~rhm9bw/download/navit/0.5.0/navit.xml)
Tnx & Bye
Michael
magic_doc
2012-03-08, 18:29
maybe navit-qml is not compatible with the cssu qt-library? anyway can you address the problem on the irc channel #navit, see
http://wiki.navit-project.org/index.php/Contacts#IRC
If there is an outcome which improves the package, please let me know.
The same here. Reverted back from http://bokomoko.de/~rd/maemo/ to chollya's repos.
But I would be fond of a navit-version using qt to be a little more responsive using the qt-libraries of n900.
A combination of the smoothness of cloudgps and the offline-routing-capability of navit, that would be nice wouldn't it? :D
CU Michael
dragonteeth
2012-03-27, 15:35
I'm afraid I'm a bit of a n00b and my learning curve is very steep. I do try to read things before asking for help and I've managed reasonably well so far, but this one's got me. The more I read about the different installations the more confused I'm getting.
If I understand it at all, I need to install the "libgarmin" before I can install the main "Navit" application, and I also need a map package. Is that right?
The problem is that I'm seeing several references of places to go to get the packages and some of them are old ones and some of them don't seem to work at all.
I did find this page...
http://maemo.org/downloads/product/OS2008/navit/
But that doesn't seem to be quite right, (maybe it doesn't have the "lib" package) but I'm not sure how to fix that or even if it is still the correct current version.
I've found this one...
http://maps5.navit-project.org/
For the maps (I think), and at least I have found my home etc.
I can't find the "lib" things (libgarmin?), is there an alternative lib or am I missing something?
Would someone be kind enough to point me to the right things, and give me some tips on getting it working smoothly?
Many thanks
Charles
magic_doc
2012-03-28, 13:21
I'm afraid I'm a bit of a n00b and my learning curve is very steep. I do try to read things before asking for help and I've managed reasonably well so far, but this one's got me. The more I read about the different installations the more confused I'm getting.
If I understand it at all, I need to install the "libgarmin" before I can install the main "Navit" application, and I also need a map package. Is that right?
The problem is that I'm seeing several references of places to go to get the packages and some of them are old ones and some of them don't seem to work at all.
I did find this page...
http://maemo.org/downloads/product/OS2008/navit/
But that doesn't seem to be quite right, (maybe it doesn't have the "lib" package) but I'm not sure how to fix that or even if it is still the correct current version.
I've found this one...
http://maps5.navit-project.org/
For the maps (I think), and at least I have found my home etc.
I can't find the "lib" things (libgarmin?), is there an alternative lib or am I missing something?
Would someone be kind enough to point me to the right things, and give me some tips on getting it working smoothly?
Many thanks
Charles
Hello Charles,
please have a look at this page (https://www.zerties.org/index.php/Navit_auf_n900) where I summarized my installation of navit on n900. Sorry, it is available in german language only, but should be quite self-explaining. :D
The place to get the maps is right, I recommend you to download everything you need until 1st of April, because there will be a licence-change in the OSM-Project which could cause some gaps in the map- so it is save to use the "old" but complete card for a while until everything is mapped under the new licence.
Please feel free to ask if you are facing further problems.
CU Michael
dragonteeth
2012-03-28, 14:39
Hello Charles,
please have a look at this page (https://www.zerties.org/index.php/Navit_auf_n900) where I summarized my installation of navit on n900. Sorry, it is available in german language only, but should be quite self-explaining. :D
It probably would be self explanatory if I understood Either the code OR the German. Unfortunately I understand neither so it means nothing at all.
I did try Google Translate, but that doesn't like the "Https" server and returns a "URL" invalid error, so no help there either.
Thanks for trying though.
magic_doc
2012-03-29, 13:42
It probably would be self explanatory if I understood Either the code OR the German. Unfortunately I understand neither so it means nothing at all.
I did try Google Translate, but that doesn't like the "Https" server and returns a "URL" invalid error, so no help there either.
Thanks for trying though.
No problem, then I try to explain step by step:
1. You have to add the repository in the application-manager (wether the original one or Faster Application Manager that I prefer):
Name: navit
URL: http://www.chollya.org/navit/
Distribution: /
Components:
Then update the package list.
2. Then install the package navit (Version 0.5.0 is the latest one), the libgarmin will be installed too cause it is included in the repos.
3. Then you will have to install librsvg2-2 and librsvg2-common too because otherwise there will be no icons in the main menu :mad:
4. Now you have to copy the configuration template to your home. Open the xterm and do this:
cd /home/user
mkdir .navit
cp /etc/navit/navit.xml /home/user/.navit/navit.xml
You will find my configuration files as an example here (http://www.q0a.de/~rhm9bw/download/navit/0.5.0/).
Of cause you will need a map a place it where you have specified it in the config.
I hope this will help you and feel free to ask for further information.
CU Michael
There is a non-https version which google translates willingly:
http://translate.google.com/translate?sl=de&tl=en&u=http%3A%2F%2Fwww.zerties.org%2Findex.php%2FNavit _auf_n900
I'm afraid I'm a bit of a n00b and my learning curve is very steep. I do try to read things before asking for help and I've managed reasonably well so far, but this one's got me. The more I read about the different installations the more confused I'm getting.
If I understand it at all, I need to install the "libgarmin" before I can install the main "Navit" application, and I also need a map package. Is that right?
The problem is that I'm seeing several references of places to go to get the packages and some of them are old ones and some of them don't seem to work at all.
I did find this page...
http://maemo.org/downloads/product/OS2008/navit/
But that doesn't seem to be quite right, (maybe it doesn't have the "lib" package) but I'm not sure how to fix that or even if it is still the correct current version.
I've found this one...
http://maps5.navit-project.org/
For the maps (I think), and at least I have found my home etc.
I can't find the "lib" things (libgarmin?), is there an alternative lib or am I missing something?
Would someone be kind enough to point me to the right things, and give me some tips on getting it working smoothly?
Many thanks
Charles
i got everything working following this page: http://talk.maemo.org/showthread.php?t=38800&page=52
arne.anka
2012-04-11, 22:38
did anyone ever get that qml gui working?
i try every few months and it's alwys crashing on my because of some missing symbols.
most recently even the qt painter crashes with a missing symbol, but from the bugtracker that at least should be solved since february.
There is a new build on bokmoko, but the symbol is still missing:
navit:plugin_load:can't load '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so', Error '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so: undefined symbol: _ZTV14EmbeddedWidget'
dragonteeth
2012-04-12, 19:05
With apologies for the delay, I've been away (was hoping to have this sorted before I went but never mind) I tried this this afternoon and didn't have much luck.
No problem, then I try to explain step by step:
1. You have to add the repository in the application-manager (wether the original one or Faster Application Manager that I prefer):
Name: navit
URL: http://www.chollya.org/navit/
Distribution: /
Components:
Then update the package list.
2. Then install the package navit (Version 0.5.0 is the latest one), the libgarmin will be installed too cause it is included in the repos.
I got this far, and got an error that said something was "broken".
3. Then you will have to install librsvg2-2 and librsvg2-common too because otherwise there will be no icons in the main menu :mad:
I thought this might be what was causing the "Broken" problem but I couldn't find these files at all.
4. Now you have to copy the configuration template to your home. Open the xterm and do this:
cd /home/user
mkdir .navit
cp /etc/navit/navit.xml /home/user/.navit/navit.xml
You will find my configuration files as an example here (http://www.q0a.de/~rhm9bw/download/navit/0.5.0/).
Of cause you will need a map a place it where you have specified it in the config.
I hope this will help you and feel free to ask for further information.
CU Michael
I didn't get to the "Configuration Files, but the link to the "example" led to a directory of XML files and I don't know how to view those.
Your help is hugely appreciated, I'm sorry I'm not getting the hang of it.
C
arne.anka
2012-04-12, 20:23
the chollya repo seems to be dead for some time now - latest packages are from july 2011.
the only one still being updated i know of, is bokomoko (search the forum for instructions on how to install the repo):
http://bokomoko.de/~rd/maemo unstable/
i attach my configurations, unzip those three files into folder /home/user/.navit/
these three files are:
- navit.xml -- general navit configuration (and references the next two files)
- OSD.xml -- on screen display configuration
- maps.xml -- maps files location
you may want to change two settings:
- in navit.xml in line 9 the language attribute from en_DE to en_UK, so that navit has an english interface (en) and UK as default country (UK)
- in maps.xml the path and name of the maps file: /media/mmc1/europe.navit.bin
anything else should work -- updated navit.xml yesterday to the latest navit from bokomoko.
magic_doc
2012-04-14, 08:40
the chollya repo seems to be dead for some time now - latest packages are from july 2011.
the only one still being updated i know of, is bokomoko (search the forum for instructions on how to install the repo):
http://bokomoko.de/~rd/maemo unstable/
At least, the packages are working. Last time (8th of March) I tried the bokomoko-packages, navit did not start at all!
i attach my configurations, unzip those three files into folder /home/user.navit/
There is an typo: the folder is /home/user/.navit/
But thanks for attaching your configs, I will test it again with the latest packages from bokomoko.de and report back here.
Tnx & HANW
Michael
magic_doc
2012-04-16, 13:07
I didn't get to the "Configuration Files, but the link to the "example" led to a directory of XML files and I don't know how to view those.
Your help is hugely appreciated, I'm sorry I'm not getting the hang of it.
C
OK folks, I now successfully switched to the bokomoko.de-packages as described by arne.anka and using his config-files.
Thanks again for that- the trick is that you must always use latest navit.xml-configfiles as they may be incompatible from older versions causing the hang of the hole application at start.
I am still using the internal gui with gtk-drawing-area, the qml-gui does not work with it and qt-painter seems to be incompatible to the qt-Version of CSSU.
Does anyone has it running though?
@dragonteeth: the configs of navit are always xml-Files, just use a text-editor to view or change it.
CU Michael
dragonteeth
2012-04-16, 14:49
arne.anka
and
magic_doc
Thanks for your help and patience.
OK so I added the Navit repository and installed the package, so far so good. It shows on my list of applications, but obviously doesn't actually DO anything.
I unzipped the Config Packages on my PC and made the changes you suggested (thanks again arne.anka). I thought it would be relatively simple to then push the files to the N900 in "Mass Storage Mode" but it doesn't seem to be.
I can't find a file named "home" "user" or "navit".
Have I missed something?
In one of the things there was an additional code that had to be entered to the N900 using the X-Term, is that an old reference or should I be doing that?
you r nearly done.
if u already put the 3 xml files in your N900, probably you have it in the folder /home/user/MyDocs (you have to check, from xterm type: cd /home/user/MyDocs and send. then type ls and send, to have a list of files in that folder.)
anyway, when u know where the 3 xml files are, to move the files in the right navit folder, open xterminal and type the command to enter that folder, for example: cd /home/user/MyDocs
to move navit.xml in the right path, type: mv navit.xml /home/user/.navit
same for OSD.xml and maps.xml
ps: if u dont have the folder /home/user/.navit , u have to create it with command: mkdir /home/user/.navit
good luck
magic_doc
2012-04-18, 18:15
arne.anka
and
magic_doc
[...]
I can't find a file named "home" "user" or "navit".
No problem, you're very welcome!
Thanks to gianko for helping- two remarks from my side:
1. Directories with a point in front like "/home/user/.navit" are so called hidden directories, you won't see them in some gui-based filemanagers unless you disable the hide-function. In the build-in you have basically only access to MyDocs if I remember correctly. So the solution is to mv the files like described out of xterm.
2. When you are in xterm anyway, you can type "navit" afterwords and see what happens. It is always a good trick to do so with any program that makes trouble because there are helpful outputs in xterm like "error-cannot find blabla... " etc. that you don't see when launching it from an icon.
HTH and good luck! Please feel free to report back!
CU Michael
There is a new build on bokmoko, but the symbol is still missing:
navit:plugin_load:can't load '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so', Error '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so: undefined symbol: _ZTV14EmbeddedWidget'
I built navit against qt4 in the fremantle sdk
[sbox-FREMANTLE_ARMEL: ~] > apt-cache policy libqt4-gui
libqt4-gui:
Installed: 4.7.0~git20100909-0maemo1+0m5
Candidate: 4.7.0~git20100909-0maemo1+0m5
Version table:
*** 4.7.0~git20100909-0maemo1+0m5 0
500 http://repository.maemo.org fremantle/sdk/free Packages
100 /var/lib/dpkg/status
4.6.2~git20100401-0maemo1+0m5 0
500 http://repository.maemo.org fremantle/sdk/free Packages
4.6.2~git20100310-0maemo1+0m5 0
500 http://repository.maemo.org fremantle/sdk/free Packages
4.5.3~git20090723-0maemo6+0m5 0
500 http://repository.maemo.org fremantle/sdk/free Packages
4.5.3~git20090723-0maemo4+0m5 0
500 http://repository.maemo.org fremantle/sdk/free Packages
[sbox-FREMANTLE_ARMEL: ~] >
I upgrade to the qt4 version in CSSU for the next build.
I myself use the internal GUI right now.
Rainer
arne.anka
2012-04-18, 21:25
Thanks again for that- the trick is that you must always use latest navit.xml-configfiles as they may be incompatible from older versions causing the hang of the hole application at start.
i always download both the new navit.xml and my customized one to my local computer and comapre them with a GUI diff (like meld or kdiff3) -- that way i
- see how much changes are there
- see which changes i need to adopt (eg maps configuration remains always in maps.xml, locale attribute is usually missing, ...)
- can easily copy changes over and may even change them if necessary
afterwards i simply move the new navit.xml back to /home/user/.navit/
magic_doc
2012-04-19, 13:18
I upgrade to the qt4 version in CSSU for the next build.
I myself use the internal GUI right now.
Rainer
I'm looking forward to test this and would be thankful for a short announce here in the thread.
Out of curiosity: Is the qt-painter/qml so much smoother/faster than internal? Never seen it working...
Tnx & Bye
CU Michael
I will post here when I updated qt to cssu. The build I just uploaded still comes with the old qt4 variant.
I try to build once a month, typically end of a month or beginning of the next month.
arne.anka
2012-04-30, 18:56
ceterum censeo:
could you possibly share how you build? i try to setup QtSDk/MADDE so it builds navit for maemo (and packs) but it's a rather frustrating experience ...
ceterum censeo:
could you possibly share how you build? i try to setup QtSDk/MADDE so it builds navit for maemo (and packs) but it's a rather frustrating experience ...
From memory (I try to provide something more detailed at the weekend, but cannot promise that I manage to write it down):
You should be able to download the sources including the debian dir from bokomoko.de (just use deb-src in sources.list). This should build out of the box on the x86 target. On the armel target, one package does not build, because a binary fails on qemu. This is a know problem in the armel build setup inside scratchbox (and also the reason, why navit is not in the extra repository). Fortunately, it is the navit_data package which is architecture independent and I can simply take the package from the x86 build. Also make sure that you have freetype from CSSU or my libfreetype-navit package.
Hope that helps somewhat,
Rainer
arne.anka
2012-05-24, 23:04
nja, not really ;-)
i was aiming at a lower level: i never really managed to get scratchbox up and running so it would build navit.
any pointers to how it is done, would be highly appreciated
The wiki contains detailed documentation on setting up scratchbox. If you do not run Ubuntu or Debian, I would setup a VirtualBox image with Ubuntu or Debian:
http://wiki.maemo.org/Documentation/Maemo_5_Final_SDK_Installation
arne.anka
2012-06-13, 17:52
been there, done that, didn't work.
but now that MoNav supports street names, i am ready to switch.
takes some time to prepare a map, but
- routing is much faster
- much better
- interface is much easier to handle (most notably looking up street names when there's more than one street with the same name)
magic_doc
2012-06-14, 07:37
been there, done that, didn't work.
but now that MoNav supports street names, i am ready to switch.
takes some time to prepare a map, but
- routing is much faster
- much better
- interface is much easier to handle (most notably looking up street names when there's more than one street with the same name)
Well the biggest disadvantage I see when I look at http://monav.openstreetmap.de/ that the maps are all from 2011-04-20.
Using navit I can have a actual offline map every day when I like to.
Is there any possibility to get newer maps?
CU Michael
don_falcone
2012-06-14, 07:53
It seems you'll have to build your own.
[...]
I upgrade to the qt4 version in CSSU for the next build.
[...]
Rainer
I am facing trouble when I try to upgrade my scratchbox to CSSU:
Selecting previously deselected package gcc-4.6-base.
dpkg: regarding .../gcc-4.6-base_4.6.1-maemo6_armel.deb containing gcc-4.6-base:
package uses Breaks; not supported in this dpkg
dpkg: error processing /var/cache/apt/archives/gcc-4.6-base_4.6.1-maemo6_armel.deb (--unpack):
unsupported dependency problem - not installing gcc-4.6-base
bocephus
2012-06-16, 16:07
I have pulled down the latest bokomoko Navit release plus librsvg2-common which I didn't previously have installed, and downloaded arne.ankas configuration files from post #566, and I've gotten everything to work except actually displaying maps!
<!-- You can only have enabled only one mapset at time, but with as much maps enabled as you want -->
Well, in navit.xml, all mapsets are disabled except Mapset template for userdefined maps on n900 - i.e. maps.xml. So that's correct, right? And I want to be able to display Garmin maps, so in maps.xml I have put
<map type="garmin" enabled="yes" data="/path to my img"/>
and I have even set the Navit center coordinates in navit.xml to be in the middle of the map I'm trying to display. Still, I get nothing! What could be wrong...?
but now that MoNav supports street names, i am ready to switch.
BTW, do you have any info about the current state of the Monav project ? From their site on Google Code (http://code.google.com/p/monav/) it looks like the last commit was in December 2011 and there seems to be no new activity since then...
I have a working scratchbox again, the problem was that the extras repository and cssu are incompatible. There are no cssu packages for x86, if that does not break the build process, you should soon see a navit version linked against libqt from CSSU.
I have pulled down the latest bokomoko Navit release plus librsvg2-common which I didn't previously have installed, and downloaded arne.ankas configuration files from post #566, and I've gotten everything to work except actually displaying maps!
That is weired, I have no librsvg2-common installed
~ $ apt-cache policy librsvg2-common
librsvg2-common:
Installed: (none)
Candidate: 2.26.0-1maemo1
Version table:
2.26.0-1maemo1 0
500 http://repository.maemo.org fremantle/free Packages
2.26.0-1maemo0 0
500 http://repository.maemo.org fremantle/free Packages
500 http://repository.maemo.org fremantle/free Packages
~ $
and have no issue running navit (with the internal gui). For which gui did you configure navit?
I uploaded yesterday 5147 to bokomoko.de. It is built against libqt in CSSU. Can somebody please check, if that fixes the qml issues described in #564 (http://talk.maemo.org/showpost.php?p=1191242&postcount=564) ?
bocephus
2012-06-17, 14:29
That is weired, I have no librsvg2-common installed
and have no issue running navit (with the internal gui). For which gui did you configure navit?
I'm using the internal gui. librsvg2-2 and librsvg2-common are needed for icon display in main window. I didn't have the latter installed at first, and consequently had no way to navigate within the program.
I uploaded yesterday 5147 to bokomoko.de. It is built against libqt in CSSU. Can somebody please check, if that fixes the qml issues described in #564 (http://talk.maemo.org/showpost.php?p=1191242&postcount=564) ?
Thanks for the new build, but unfortunately no luck:
navit:plugin_load:can't load '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so', Error '/opt/navit/lib/navit/graphics/libgraphics_qt_qpainter.so: undefined symbol: _ZTV14EmbeddedWidget'
seems to be a navit bug, that they do not care to fix:http://trac.navit-project.org/ticket/961
I try to include the fix into the next built.
I'm using the internal gui. librsvg2-2 and librsvg2-common are needed for icon display in main window. I didn't have the latter installed at first, and consequently had no way to navigate within the program.
Hmm...still do not understand, why I do not need librsvg2-*
~ $ dpkg --get-selections|grep librsvg2
Can you post your navit.xml file?
thanks for the new version!
it seems they r improving navit, more pois icons are visible now!
they should put more in the future, like bike_sharing, car_sharing, bicycle_parking, pubs and so on...
even in "show attributes" of the poi you can see only a little part of the osm tags...for example is not shown if a fuel station have lpg or not...i will ask on their irc channel...
where i can find the latest version of navit for n900?
i have 0.2 but it doesnt seem to support right to left languages
magic_doc
2012-07-09, 12:48
where i can find the latest version of navit for n900?
i have 0.2 but it doesnt seem to support right to left languages
Add this repository:
URL http://bokomoko.de/~rd/maemo/
Distribution unstable/
Components (leave empty)
The latest version is 0.5.0 and usually rdorsch makes a new build every month.
But I do not know if it supports right to left languages you'll have to find out for your own.
CU Michael
I updated the package today. I just realized, that via routing is now supported by navit (actually it was apparently already in the last version I packaged). For details for via routing, see
http://trac.navit-project.org/ticket/46#comment:10
I updated the package today. I just realized, that via routing is now supported by navit (actually it was apparently already in the last version I packaged). For details for via routing, see
http://trac.navit-project.org/ticket/46#comment:10
thanks, i will try.
ps: what about qt-qpainter? working now? i removed the packages time ago...but ready to install again if is fixed
ps: what about qt-qpainter? working now? i removed the packages time ago...but ready to install again if is fixed
No, there is still the missing symbol error.
No, there is still the missing symbol error.
So do I understand it correctly that the only working gui right now is gtk one? Set up as per #566 (http://talk.maemo.org/showpost.php?p=1191341&postcount=566) ?
magic_doc
2012-08-08, 07:40
So do I understand it correctly that the only working gui right now is gtk one? Set up as per #566 (http://talk.maemo.org/showpost.php?p=1191341&postcount=566) ?
Nope, the internal gui is working too and is my prefered one.
You can activate it in the navit.xml shipped with the latest version.
CU Michael
Nope, the internal gui is working too and is my prefered one.
You can activate it in the navit.xml shipped with the latest version.
CU Michael
Oh, now I se I was confused. There are two settings:
1. graphics type, where only gtk_drawing_area is working, right? What would be the benefit of qt_painter, would it be faster?
2. gui type with options qml, internal and gtk. Internal is the only working for me. Would qml be better, if qt_painter worked, or is there no conection?
As I am next to my computer and not in a car, I have not tried navit in practice yet, so I have a couple practical questions also:
1) Is it possible to display the speed of the vehicle from GPS? I cannot find anything in the settings. As I am indoors, GPS is not locked, so I do not know if it changes then.
2) How sound and directions work? I set a destination and set my position (not through GPS but manually, GPS is not locked), the route gets displayed, but I cannot find directions anywhere and the phone does not speak.
I found in this thread the following speech.xml content I am using.<speech type="cmdline" data="echo '%s' | espeak -ven-us+f2" cps="1"/>
Navit does not complain, but is there a way to test the speech without actually driving around?
3) Is it possible to turn off points of interests from view? There are so many in my city (Prague) that I can only barely see the roads underneath them.
4) And the last one. If I take a wrong turn, does it reroute itself automatically?
As I am next to my computer and not in a car, I have not tried navit in practice yet, so I have a couple practical questions also:
1) Is it possible to display the speed of the vehicle from GPS? I cannot find anything in the settings. As I am indoors, GPS is not locked, so I do not know if it changes then.
2) How sound and directions work? I set a destination and set my position (not through GPS but manually, GPS is not locked), the route gets displayed, but I cannot find directions anywhere and the phone does not speak.
I found in this thread the following speech.xml content I am using.<speech type="cmdline" data="echo '%s' | espeak -ven-us+f2" cps="1"/>
Navit does not complain, but is there a way to test the speech without actually driving around?
3) Is it possible to turn off points of interests from view? There are so many in my city (Prague) that I can only barely see the roads underneath them.
4) And the last one. If I take a wrong turn, does it reroute itself automatically?
Well, I dug into this a little.
1) Yes, OSD must be configured for this.
2) Sound still does not work for me. OSD must be configured directions. See below for example.
3) I believe it is possible. Have a look here (http://wiki.navit-project.org/index.php/Configuring_Navit#Custom_layouts). Items in navit.xml called itemgra can be deleted and then they are not shown. I think, I actually did not try this.
4) Yes, it does.
Anyway, what I learnt is that one needs to look up the navit wiki, even though the information there sometimes does not seem to be correct (i.e. scale layout item does not work for me).
I went ahead and created an updated layout based on layouts for N770-810. I attach the neccesary files. I created custom 72x72 icons, they need to be extracted into /opt/navit/share/navit/xpm/
OSD.xml is based on files here (http://wiki.navit-project.org/index.php/Navit_on_n770/n800/n810) (mainly the third one). navit.xml is modified from the version by the user arne.anka form post #566 (http://talk.maemo.org/showpost.php?p=1191341&postcount=566) of this forum. The changes are mainly to lines beginning: "<navit" (I changed the default gps position, lowered initial zoom level, orientation follows vehicle, zoom is adjusted according to the vehicle's speed and and it starts in 3D) and "<gui type" (it stars in fullscreen). The documentation to that is here (http://wiki.navit-project.org/index.php/Configuring_Navit)
However, I still do not understand why sound does not work. What is your working configuration (both navit.xml and speech.xml?)
magic_doc
2012-08-09, 07:25
Oh, now I se I was confused. There are two settings:
1. graphics type, where only gtk_drawing_area is working, right? What would be the benefit of qt_painter, would it be faster?
2. gui type with options qml, internal and gtk. Internal is the only working for me. Would qml be better, if qt_painter worked, or is there no conection?
Shure qt_painter with qml would be faster, but rdorsch which compiles the packages cannot do it due to a bug that isn't fixed yet (and probably never will be) :mad:.
You can look up details in this thread not long ago if you're interested.
Cheers, Michael
Shure qt_painter with qml would be faster, but rdorsch which compiles the packages cannot do it due to a bug that isn't fixed yet (and probably never will be) :mad:.
You can look up details in this thread not long ago if you're interested.
Cheers, Michael
Well, a pity but it is still usable.
I have seen that you posted (http://talk.maemo.org/showpost.php?p=1138704&postcount=549) about making sound work with navit. I tried to replicate it but with no success. Do I understand it correctly that your speech.xml is as follows:
<speech type="cmdline" data="espeak -vde+m2+croak '%s'" cps="10"/>
(i.e. nothing else is there)
and the relevant snippet in navit.xml is:
<speech type="espeak" enabled="no"/>
<xi:include href="/home/user/.navit/speech.xml"/>
It does not work for me and I do not know what is wrong. How often navit actually speaks?
magic_doc
2012-08-10, 07:47
Well, a pity but it is still usable.
I have seen that you posted (http://talk.maemo.org/showpost.php?p=1138704&postcount=549) about making sound work with navit. I tried to replicate it but with no success. Do I understand it correctly that your speech.xml is as follows:
<speech type="cmdline" data="espeak -vde+m2+croak '%s'" cps="10"/>
(i.e. nothing else is there)
and the relevant snippet in navit.xml is:
<speech type="espeak" enabled="no"/>
<xi:include href="/home/user/.navit/speech.xml"/>
It does not work for me and I do not know what is wrong. How often navit actually speaks?
Yes, just testet it with rdorsch's latest navit-build, the above config works for me.
In my case, navit speaks when I start routing i.e. "turn right in 100m" or something.
Is your espeak working properly? You can test it in the terminal with
espeak -vde+m2+croak 'hello' cps="10"
for example.
HTH & CU Michael
and the relevant snippet in navit.xml is:
<speech type="espeak" enabled="no"/>
<xi:include href="/home/user/.navit/speech.xml"/>
It does not work for me and I do not know what is wrong. How often navit actually speaks?
try <speech type="espeak" enabled="yes"/>
should work ;)
ps: i have also a speaker icon on my OSD, to enable/disable the speech by tapping on it
Gianko: yes, I have that too. Even though I didn't make it so that the icon would indicate whether sonud is off or not (speaker_toggle or how it is named does not work).
I actually tried it outside yesterday and as soon as it locked GPS position, it started to speak. Apparently, it does not speak when GPS is not locked.
Only I have the phone set to Czech interface and wanted navit so speak English - the result is it reads Czech instructions with english accent, which is barely understandable. I have to found out how to make it speak english proper.
So I fiddled with it some more and now it speaks as it should. I needed to set environment language to english for navit. I created navit_en in /usr/bin:
#!/bin/sh
export LC_ALL="en_GB.utf8"
navit
export LC_ALL="cs_CZ.UTF-8"
And made it executable.
And then I made a shortcut (http://maemo.org/packages/view/scm/). Editing navit .desktop file for some reason did not work.
I also made adjustments to my OSD layout and not I think it works well. I now use 96x96 icons, as they are large so one can better use them while driving. I added clock and I made speed bigger and without units (as I know it is in km/h, I am interested in the number. See attached screenshot.
Anyway, I am attaching my working setup now (just download it and unzip to .navit/ ).
3) Is it possible to turn off points of interests from view? There are so many in my city (Prague) that I can only barely see the roads underneath them.
My question is, as it possible to turn off some POIs, how can we add new category of POIs ?
there is a list of active pois here: http://wiki.navit-project.org/index.php/Configuring_Navit/map_items
and a link to the file osm.c: https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit/navit/maptool/osm.c
but i like to have the missing: bike_sharing, car_sharing, bicycle_parking, pubs, etc.
how can we add these?
I uploaded 5222 to bokomoko.de
No big changes just rebuilt latest svn.
Thanks,
Rainer
My question is, as it possible to turn off some POIs, how can we add new category of POIs ?
there is a list of active pois here: http://wiki.navit-project.org/index.php/Configuring_Navit/map_items
and a link to the file osm.c: https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit/navit/maptool/osm.c
but i like to have the missing: bike_sharing, car_sharing, bicycle_parking, pubs, etc.
how can we add these?
gianko,
I tried something similar with mtb:scale and this is what I did and my conclusions.
I added entries like
+ "w highway=path,mtb:scale=0 pmtb_scale0\n"
into osm.c
If you want to add POIs like pub, you need to extend osm.c, compile maptool, create your custom maps with maptool, and then extend navit.xml to allow navit to display them.
If you want to make new ways and make them routable, you need to insert in addition
The only navit version I have so far for displaying and routing these new ways, I had to add in addition
in item_def.h lines like
+ITEM(pmtb_scale0)
Thanks,
Rainer
PS: There is no need to build for the n900, you can build navit and maptool on a regular linux installation much easier. If you have good patches submit them upstream, if the are very useful for a wide range of users, I would be happy to include them in the n900 build, even when they are not yet included (reviewed would be good though) upstream.
magic_doc
2012-09-09, 09:18
[...]
I also made adjustments to my OSD layout and not I think it works well. I now use 96x96 icons, as they are large so one can better use them while driving. I added clock and I made speed bigger and without units (as I know it is in km/h, I am interested in the number. See attached screenshot.
Anyway, I am attaching my working setup now (just download it and unzip to .navit/ ).
Thank you for that, for my taste the ETA and remaining travel-time and distance was too tiny so I adjusted it to my needs.
I found your speech.active-button was not working for me, I found this in the wiki:
<osd enabled="yes" type="toggle_announcer" x="10" y="50" w="70" h="70" icon_src="$NAVIT_SHAREDIR/xpm/%s_70_70.png" />
which works quite nice, it even displays the status of the toggle.
The only problem with this one: if you switch from fullscreen to windowed-mode, toggle there and switch back, the announcer does not work any more at all :confused:.
If anyone wants to try out, I attached the OSD.xml zipped.
CU & HAND
Michael
gianko,
I tried something similar with mtb:scale and this is what I did and my conclusions.
I added entries like
+ "w highway=path,mtb:scale=0 pmtb_scale0\n"
into osm.c
If you want to add POIs like pub, you need to extend osm.c, compile maptool, create your custom maps with maptool, and then extend navit.xml to allow navit to display them.
If you want to make new ways and make them routable, you need to insert in addition
The only navit version I have so far for displaying and routing these new ways, I had to add in addition
in item_def.h lines like
+ITEM(pmtb_scale0)
Thanks,
Rainer
PS: There is no need to build for the n900, you can build navit and maptool on a regular linux installation much easier. If you have good patches submit them upstream, if the are very useful for a wide range of users, I would be happy to include them in the n900 build, even when they are not yet included (reviewed would be good though) upstream.
thank u! i will try to add some pois, and i will let you know.
ps: and what if we want to see more tags when tapping on show attributes for a poi? usually i can see: name and osm_id, but is it possible, for example, to visualize tag capacity for a poi amenity=parking? or opening_hours and contact info for pois like restaurants? for example address, website, phone? ...if has been added by some osmapper ofcourse :)
Thank you for that, for my taste the ETA and remaining travel-time and distance was too tiny so I adjusted it to my needs.
I found your speech.active-button was not working for me, I found this in the wiki:
<osd enabled="yes" type="toggle_announcer" x="10" y="50" w="70" h="70" icon_src="$NAVIT_SHAREDIR/xpm/%s_70_70.png" />
which works quite nice, it even displays the status of the toggle.
The only problem with this one: if you switch from fullscreen to windowed-mode, toggle there and switch back, the announcer does not work any more at all :confused:.
If anyone wants to try out, I attached the OSD.xml zipped.
CU & HAND
Michael
Now that is strange, toggle_announcer does not work for me:-).
BTW: does night/day layout switching work for anybody? (if so, how?)
If you want to add POIs like pub, you need to extend osm.c, compile maptool, create your custom maps with maptool, and then extend navit.xml to allow navit to display them.
i tried to add the poi amenity=bicycle_parking
using ubuntu i dowloaded sources and modified osm.c:
i just added a new line with "? amenity=bicycle_parking poi_bicycle_parking\n" after static char *attrmap={ (line 376)
just this?
then i compiled navit successfully, and made a map.bin from osm.xml using maptool
now how can i modify navit.xml ? i tried to add the poi in the bike layout but no results, i added a line <itemgra item_types="poi_bicycle_parking" order="14-"> <icon src="bench.png"/> </itemgra>
i put bench.png just to try as i don't have a bikeparking.png icon, and i don't know where should i put the new icons
ps:sorry for bit OT but maybe is of use for other navit users...and in navit irc channel nobody replies :)
now im able to add more POIs thanks to this guide: http://wiki.navit-project.org/index.php/Custom_POIs#Hard_way
is not so complicated so if you want i can make svg icons of some new pois and add patches for next release
I uploaded revision 5440 of navit to bokomoko.
I has support for mtb_scale mountainbike tracks. Since the navit maps generated from osm do not have these paths, nobody should notice. If somebody experiences problems, please let me know. If somebody wants the mtb_scale enabled maps, let me know as well :-)
Rainer
gianko,
I am happy to accept patches. Just let me know where they are and I will include them (although if upstream would include them, that would make even more sense).
Thanks,
Rainer
gianko,
I am happy to accept patches. Just let me know where they are and I will include them (although if upstream would include them, that would make even more sense).
Thanks,
Rainer
im putting the patches here on trac http://trac.navit-project.org/ticket/1072
feel free to contribute or to include in the N900 build before they do :)
I uploaded revision 5440 of navit to bokomoko.
I has support for mtb_scale mountainbike tracks. Since the navit maps generated from osm do not have these paths, nobody should notice. If somebody experiences problems, please let me know. If somebody wants the mtb_scale enabled maps, let me know as well :-)
Rainer
we can have mtb_scale on map if we use your maptool to create map.bin ?
Navit problem: display lacks zoom buttons, main menu. I installed the version available in the usual repos (including extras-devel), not the bokomoko one. I was hoping that might be good enough. I put map.xml, navit.xml and OSD.xml (arne.anka's set from comment 566, edited for my location and other data) in /home/user/.navit. I downloaded an openstreetmap and put it in the designated map folder.
When I start navit, it shows the map, I can use the touchscreen to scroll it to other locations. But it's missing most of the buttons. No zoom. No way to give it a location that I want to see a map of. And when I go to Settings screen, there's no way to get back to the map. The Main Menu in the top left does nothing. No way to exit either. I have to wait for it to crash from random button presses, or reboot.
So is my only hope to try the bokomoko version? Anybody else have these weird partial-function things going on? The Goog was not my friend on this. I didn't find anything, but I probably don't know where to look.
edited to add: I use an N900.
Gaaa. I'm going nuts. As usual. So, I thought Monav might be the solution for what I want which is only to have maps I can access OFFLINE. Downloaded my region, everything fine,
but,
as soon as I turn off wifi, it stops using the map I just downloaded! What the f gives? Why does everything want a connection? When I'm in the back of beyond, there is no connection. I need OFFline maps. How do I get Monav ( or anything) to just give me simple offline maps? You know, as if I had an atlas stored on my n900?
the navit version in the "official" repo afaik is not working properly, try bokomoko repo is completely another story :)
Ah, I see. Off to reinstall now.
Okay. A day later. I had some kind of problem with my repos, but finally it went away. You're right that the bokomoko version does work. W00T!
Now I just have to mess about with navit.xml (?I assume, haven't looked into it yet) to get the type big enough to actually see. :p
Thanks for pointing me in the right direction!
Mentalist Traceur
2012-10-06, 03:27
Why the separate repo? Why not upload to extras-devel (it'll let you override it in devel even if you're not the maintainer, and honestly, you could contact maintainer and ask him to let you maintain it, I'm sure at this point they'd know you'd do a better job than them - or if they don't respond, I think council can do something about that, last I checked, by prodding the right people who handle the repo management).
arne.anka
2012-10-07, 19:12
Gaaa. I'm going nuts. As usual. So, I thought Monav might be the solution for what I want which is only to have maps I can access OFFLINE. Downloaded my region, everything fine,
but,
as soon as I turn off wifi, it stops using the map I just downloaded! What the f gives? Why does everything want a connection? When I'm in the back of beyond, there is no connection. I need OFFline maps. How do I get Monav ( or anything) to just give me simple offline maps? You know, as if I had an atlas stored on my n900?
i got the strong impression that you have never really read anything about the software you are attempting to use.
- navit's gui needs to be configured in the navit.xml (or included xml file)
- offline maps have to be downloaded and made known to navit and monav -- if you don't do that, what do you expect to happen?
- monav maps need to be prepared by you, since there's no usable provider -- latest monav available for n900 requires maps more rcent then the ones linked to from the monav hp
btw: monav is imo certainly the way to go. it's faster, it's better and the gui is so much better, that i don't even know, where to start.
im putting the patches here on trac http://trac.navit-project.org/ticket/1072
feel free to contribute or to include in the N900 build before they do :)
I think "they" were faster. The latest build should have them.
Rainer
we can have mtb_scale on map if we use your maptool to create map.bin ?
I do have mtb_scale, yes.
Have a look at the patch which I apply
http://bokomoko.de/~rd/navit/mtb-track.patch
(i.e. you do not need to run the maptool on the n900 ;-) )
and my mtb layout
http://bokomoko.de/~rd/navit/mtb.xml
Let me know, if you have trouble with it.
Rainer
Why the separate repo? Why not upload to extras-devel (it'll let you override it in devel even if you're not the maintainer, and honestly, you could contact maintainer and ask him to let you maintain it, I'm sure at this point they'd know you'd do a better job than them - or if they don't respond, I think council can do something about that, last I checked, by prodding the right people who handle the repo management).
It is not a problem of repo management. Navit currently does not build properly on armel in scratchbox, which I think is a qemu issue at the end. When building on armel, the png generation tool crashes (I do not remember the name right now, might be svg2png or similar).
So to get it in extras-devel, there are two options:
- Fix scratchbox (which I think means upgrade qemu to a recent version). And I do not know if that solves the problem....
- Workaround the problem in the debian package, i.e. put precomputed pngs in the debian dir for the navit-data package.
For both I do not have the time to work throught the details, if anybody wants to help, I support as good as I can (and continue to build packages on bokomoko.de until the extras-devel setup works).
Here are my current build scripts:
http://bokomoko.de/~rd/navit/build_navit_n900.tgz
Rainer
Hi Rainer. i just upgrade to the latest navit from bokomoko. the map shows a car icon for pubs...why?
also there is a man icon for poi vehicle_pedestrian but i dont know what is the osm related feature...i will investigate the osm data
benches are fine
- monav maps need to be prepared by you, since there's no usable provider -- latest monav available for n900 requires maps more rcent then the ones linked to from the monav hp
I've made a script (http://wiki.maemo.org/ModRana_offline_routing_guide#Generating_your_own_ routing_data) for simple Monav routing data generation. It only generates the routing data, as modRana currently has no use for the other Monav data types (vector data for map rendering & address database) but it should not be too difficult to modify the script to include all data types.
I'll be also setting up an online repository with Monav data packs, but it would be routing-only, at least initially.
Hi Rainer. i just upgrade to the latest navit from bokomoko. the map shows a car icon for pubs...why?
also there is a man icon for poi vehicle_pedestrian but i dont know what is the osm related feature...i will investigate the osm data
benches are fine
gianko,
sorry to hear that your pois get reordered.
Mine still look ok, see
http://bokomoko.de/~rd/navit/navit_screenshot.png
for Downtown Tübingen.
Rainer
maybe i have an old navit.xml or the problem is with the map generated from navit planet extractor...
is there a fine navit.xml for maemo in your repo?
magic_doc
2012-10-11, 10:43
maybe i have an old navit.xml or the problem is with the map generated from navit planet extractor...
is there a fine navit.xml for maemo in your repo?
There is always an up-to-date navit.xml in the directory /etc/navit which comes with the package.
Of course you must customize it for your own needs.
Hint: diff is your friend :D
HTH & HAND
Michael
phantomR6
2012-10-11, 11:02
Hey guys! Who can teach to speak clearly our navit? Is it possible?
Best regards and sorry for my English.
maybe i have an old navit.xml or the problem is with the map generated from navit planet extractor...
is there a fine navit.xml for maemo in your repo?
Hmm...I just downloaded a map from planet extractor. Worked fine.
Here is my .navit dir on the n900:
http://bokomoko.de/~rd/navit/navit-config-n900.tgz
Rainer
i downloaded a newer map from navit planet extractor as long with updated navit.xml now the reordered pois issue is gone.
but i noticed some other issue...i updated navit to the last version 5246.4, so my patch adding some new pois is implemented. the new pois (bike_sharing,shop_bicycle,car_sharing,bicycle_par king) are recognized and the navit.xml has itemgras to show them, the problem is that the icons are missing in /opt/navit/share/navit/xpm
why?
i downloaded a newer map from navit planet extractor as long with updated navit.xml now the reordered pois issue is gone.
but i noticed some other issue...i updated navit to the last version 5246.4, so my patch adding some new pois is implemented. the new pois (bike_sharing,shop_bicycle,car_sharing,bicycle_par king) are recognized and the navit.xml has itemgras to show them, the problem is that the icons are missing in /opt/navit/share/navit/xpm
why?
Hi gianko,
I think because they are missing in navit/navit/xpm/Makefile.am ... maybe other icons are missing in there as well (?).
My n900 build uses autotools, I suspect that cmake does not need this file.
Rainer
Hi gianko,
I think because they are missing in navit/navit/xpm/Makefile.am ... maybe other icons are missing in there as well (?).
My n900 build uses autotools, I suspect that cmake does not need this file.
Rainer
i think so, because i compiled Navit on Ubuntu with cmake and the new icons are included and converted in png correctly even if not included in navit/navit/xpm/Makefile.am
possible solutions ?
-using cmake also for N900 build ?
-i will submit a patch with the new icons in Makefile.am ?
-put precomputed pngs in the debian dir for the navit-data package?
-other?
thank u.
i think so, because i compiled Navit on Ubuntu with cmake and the new icons are included and converted in png correctly even if not included in navit/navit/xpm/Makefile.am
possible solutions ?
-using cmake also for N900 build ?
-i will submit a patch with the new icons in Makefile.am ?
-put precomputed pngs in the debian dir for the navit-data package?
-other?
thank u.
cmake would be the best solution. I tried some time back to use the cmake based build from the current debian package, but this relies on newer debian helper scripts. So I doubt that this will ever happen for the n900 (except somebody can help with this).
precomputed pngs are ugly from my perspective, since it requires additional scripting. The beauty could be that this might allow to upload navit to maemo extras.
My preference is a patch for Makefile.am (probably there are more than you icons missing and will appear). Will you try to make upstream accepting the patch. If yes, I hope they do, since they try to complete the migration to cmake...which is not a good outlook for my n900 builds.
Thanks,
Rainer
ok, i will try to submit a patch for Makefile.am, to see if they will implement on future releases (maybe is difficult, as they are forcing to use cmake and deprecating autotools, but who knows...)
if they don't , can you implement the patch in your built?
ps: in the meanwhile, they fixed the bug related to qt_qpainter: http://trac.navit-project.org/ticket/961
so i installed your latest packages for navit qt_qpainter and qml-gui, tried and it worked!
i modified two lines of navit.xml like this:
<graphics type="qt_qpainter"/>
<gui type="qml" enabled="yes" source="/opt/navit/share/navit/skins" icon_src="/opt/navit/share/navit/xpm/">
after a try, even if the qml gui looks like promising, more "shiny and futuristic", i still prefer the internal gui. the qml gui is still buggy, launch navit from xterm to see what happens.
especially the address search is not a good one
and i cannot change layouts
btw, using qt_qpainter should improve performance right?
maybe i noticed a little faster rendering for the map
so,if there is a better performance for the map rendering, i'll gonna use qt_qpainter with the internal gui
lets try you also and let me know your tests results ;)
My preference is a patch for Makefile.am (probably there are more than you icons missing and will appear). Will you try to make upstream accepting the patch. If yes, I hope they do, since they try to complete the migration to cmake...which is not a good outlook for my n900 builds.
Thanks,
Rainer
Patch for Makefile.am sent, and already fixed!
Committed in rev. 5255
:)
http://trac.navit-project.org/ticket/1079
can be possible to port and adapt this cool Startrek style OSD for N900?
http://wiki.navit-project.org/index.php/OSD_Layouts#LCARS_v0.1_.28Startrek_TNG.29
:rolleyes:
maybe deleting the zoom bar and put zoom icons on the right...
Patch for Makefile.am sent, and already fixed!
Committed in rev. 5255
:)
http://trac.navit-project.org/ticket/1079
Thank you for providing the patch and integrating it upstream, that makes it very easy for me.
I just built and uploaded 5255 to bokomoko.de
Rainer
can be possible to port and adapt this cool Startrek style OSD for N900?
http://wiki.navit-project.org/index.php/OSD_Layouts#LCARS_v0.1_.28Startrek_TNG.29
:rolleyes:
maybe deleting the zoom bar and put zoom icons on the right...
i played a little with the OSD.xml to adapt to N900 :o
i got something, but, as a newbie, is very far from perfection still...the main issue is that most of the data is in small size...but i like to share with you, cause probably there are more expert guys here that can improve it.
also using this OSD, the fullscreen command is not working, anybody know why?
maybe because use a newly introduced <osd type="image"> with png images?
i played a little with the OSD.xml to adapt to N900 :o
i got something, but, as a newbie, is very far from perfection still...the main issue is that most of the data is in small size...but i like to share with you, cause probably there are more expert guys here that can improve it.
also using this OSD, the fullscreen command is not working, anybody know why?
maybe because use a newly introduced <osd type="image"> with png images?
Do I seee there some influence of the Enterprise spaceship:-)? Nice! Otherwise I think it is a major problem with the text size. I found out that while driving, the minimum size of fonts that I can read comfortably is aroung 48 pizels or so.
Also, I see you are using a night layout. Dost automatic switching of layouts work for you? According to google (http://trac.navit-project.org/ticket/502), it should change by itself, but I cannot get it to work.
Does anyone know how/if multiple waypoints routing works? I do not understand, this (http://trac.navit-project.org/ticket/46) suggests it has been implemented but I do not see any way to use it.
I noticed when driving near a border of the map, navit crashes and freezes a lot, have you experienced it as well?
I aslo played a bit with OSD layout and here is what I got. I found out that font sizes needs to be bigger when driving so that I can read them. Street names are on the other hand useless so I got rid of them. I found out how to change the icon so toggling fullscreen and speech now changes the icon accordingly. I also added an icon to toggle 2D/3D, orient map to north and autozoom. I also commented OSD so it is easier to understand. I also added scale and rearranged everything.
Here it goes:
Also, I see you are using a night layout. Dost automatic switching of layouts work for you? According to google (http://trac.navit-project.org/ticket/502), it should change by itself, but I cannot get it to work.
yes, automatic switching of layouts works for me,
im using navit.xml in the directory /etc/navit which comes with the package.
yes, automatic switching of layouts works for me,
im using navit.xml in the directory /etc/navit which comes with the package.
You must have made some tweaks to that file, right? It does not work for me at all. Would you mind posting your navit.xml here? I would liek to try it if it solves my issue (i tried comparint /etc/navit/navit.xml with my version but they are just too different to work meaningfully with diff).
i edited the mapset line with my path for the osm map, and the line
<vehicle name="Local GPS" profile name="car" enabled="yes" active="1" source="maemo>"
then copied to ~/.navit
i noticed also an issue, full screen mode is not in the menu now, and the osd button for fullscreen also is not working.
fixed fullscreen issue
in my OSD.xml was
<osd enabled="yes" type="button" x="-60" y="220" command="gui.fullscreen()" src="gui_fullscreen.png"/>
i changed in
<osd enabled="yes" type="button" x="-60" y="220" command="gui.fullscreen=!gui.fullscreen" src="gui_fullscreen.png"/>
and the button is now working, also i can see the fullscreen option in menu
i edited the mapset line with my path for the osm map, and the line
<vehicle name="Local GPS" profile name="car" enabled="yes" active="1" source="maemo>"
then copied to ~/.navit
i noticed also an issue, full screen mode is not in the menu now, and the osd button for fullscreen also is not working.
It is actually
<vehicle name="Local GPS" profilename="car" enabled="yes" active="1" source="maemo">
:-)
But thanks. I compared the files and found out that I was using the Droid font for night layout and so it failed. Now it works. I attach my navit.xml as usual. I also increased the size of icons in the internal menu so that it is more touch-friendly (even though it sometimes does not fit onto the screen). I also removed lots of POI as they made the map cluttered, especially in the cities.
UPDATE: I slightly edited the file even more so that now it diffs nicely with the official version and also it should now benefit from the recent patches to navit regarding more efficient routing. I also adjusted the size of the icons.
I just built a new package of the latest navit code (r5278), which contains a few bugfixes (among other things):
* http://trac.navit-project.org/ticket/1081 (missing speedcams)
* http://trac.navit-project.org/ticket/1040 (better waypoint handling)
* http://trac.navit-project.org/ticket/985 (wrong scale)
A heads-up: The navit developers plan to remove support for building navit with autotools:
http://wiki.navit-project.org/index.php/Main_Page
This will break our build process for the n900. I am pessimistic that I get that build process fixed for the n900, I tried before but failed and I think a substancial amount of time (or experience?) is needed to convert the build process to cmake. I do not remember the exact issue anymore, which made the cmake build attempt failing.
I.e. it is very likely that I cannot provide updates to the navit packages on bokomoko.de anymore, when the navit developers remove autotools support.
I hope they postphone that for a few months.
I just built a new package of the latest navit code (r5278), which contains a few bugfixes (among other things):
* http://trac.navit-project.org/ticket/1081 (missing speedcams)
* http://trac.navit-project.org/ticket/1040 (better waypoint handling)
* http://trac.navit-project.org/ticket/985 (wrong scale)
A heads-up: The navit developers plan to remove support for building navit with autotools:
http://wiki.navit-project.org/index.php/Main_Page
This will break our build process for the n900. I am pessimistic that I get that build process fixed for the n900, I tried before but failed and I think a substancial amount of time (or experience?) is needed to convert the build process to cmake. I do not remember the exact issue anymore, which made the cmake build attempt failing.
I.e. it is very likely that I cannot provide updates to the navit packages on bokomoko.de anymore, when the navit developers remove autotools support.
I hope they postphone that for a few months.
Nice. Waypoint routing works now. Normal routing and shortest works as well. Avoiding tolls does not work for more 150km distances (and supposedly more) - I think it is this ticket (http://trac.navit-project.org/ticket/456)
BTW: I tried according to this wiki page (http://wiki.navit-project.org/index.php/Navit_icons) to set the size of xs_icons to 48, but navit ocmplains that
gui_internal:image_new_scaled:Failed to load image for 'country_FR' (w=48, h=48)
Are you compiling with --enable-svg2png-scaling=8,16,32,48,96
--enable-svg2png-scaling-flag=8 16 32 48 96
--enable-svg2png-scaling-nav=8,16,32,48,96 ? Or is the problem somewhere else?
You can do an
$ apt-get source navit
then you should get the source and the build directory.
Then debian/rules contains the configuration
# scale all gui icons
DEB_CONFIGURE_EXTRA_FLAGS += --enable-svg2png-scaling="16 24 32 48 64" \
--enable-svg2png-scaling-flag="16 24 32" \
--enable-svg2png-scaling-nav="16 32 48 64"
I never changed that. Can you explain what the three parameters are doing and what settings you are recommending?
Thanks.
You can do an
$ apt-get source navit
then you should get the source and the build directory.
Then debian/rules contains the configuration
# scale all gui icons
DEB_CONFIGURE_EXTRA_FLAGS += --enable-svg2png-scaling="16 24 32 48 64" \
--enable-svg2png-scaling-flag="16 24 32" \
--enable-svg2png-scaling-nav="16 32 48 64"
I never changed that. Can you explain what the three parameters are doing and what settings you are recommending?
Thanks.
As the wiki page (http://wiki.navit-project.org/index.php/Navit_icons) I linked above says, you can set the size of the icons in internal menu (where one sets targets and so on) like this:
<gui type="internal" icon_xs="32" icon_s="96" icon_l="96" />
I have tried this settings as bigger icons are touch-friendlier. However, it does not work with flags as they are not scaled due to the compile options you are using. If I understand it correctly, each number in "--enable-svg2png-scaling-flag="16 24 32" (in this example 16, 24, 32) causes icons of corresponding type (16x16, 24x24, 32x32) to be generated. It would inflate the size of the package, but I do not think that would be such an issue.
I think that:
DEB_CONFIGURE_EXTRA_FLAGS += --enable-svg2png-scaling="16 24 32 48 64 72 96" \
--enable-svg2png-scaling-flag="16 24 32 48 64" \
--enable-svg2png-scaling-nav="16 32 48 64 72 96"
would be sufficent for me. I would compile the packages myself but I hav enever recompiled anything for N900.
Then navit is not a good package to start with.
Here is the changelog
navit (0.2.0+dfsg.1-1maemo1~5278.1) unstable; urgency=low
* Build with more icons
$ diff rules~ rules
25,27c25,27
< DEB_CONFIGURE_EXTRA_FLAGS += --enable-svg2png-scaling="16 24 32 48 64" \
< --enable-svg2png-scaling-flag="16 24 32" \
< --enable-svg2png-scaling-nav="16 32 48 64"
---
> DEB_CONFIGURE_EXTRA_FLAGS += --enable-svg2png-scaling="16 24 32 48 64 72 96" \
> --enable-svg2png-scaling-flag="16 24 32 48 64" \
> --enable-svg2png-scaling-nav="16 32 48 64 72 96"
$
-- Rainer Dorsch <dev@bokomoko.de> Sun, 2 Dec 2012 12:36:08 +0100
Then navit is not a good package to start with.
Yeah, I figure so. Thanks a lot, bigger icons work now!
A heads-up: The navit developers plan to remove support for building navit with autotools:
http://wiki.navit-project.org/index.php/Main_Page
this is sad!
This will break our build process for the n900. I am pessimistic that I get that build process fixed for the n900, I tried before but failed and I think a substancial amount of time (or experience?) is needed to convert the build process to cmake. I do not remember the exact issue anymore, which made the cmake build attempt failing.
I.e. it is very likely that I cannot provide updates to the navit packages on bokomoko.de anymore, when the navit developers remove autotools support.
was the issue about build problem on armel in scratchbox?
a qemu issue? png generation tool crashing?
what can we do to solve this? open a new topic for scratchbox help?
this is sad!
was the issue about build problem on armel in scratchbox?
a qemu issue? png generation tool crashing?
what can we do to solve this? open a new topic for scratchbox help?
I did not even get it build in for x86 in scratchbox !
I tried to build with the debian directory from the latest debian package, which uses cmake, but this contains so much new dh_* stuff, that it is not trivial to make that building with the debian helpers from maemo.
Then I tried to build it with cmake from source without a debian package. This also failed with (when rerunning make)
[sbox-FREMANTLE_X86: ~/tmp.nobackup/navit/build] > make
Can't locate File/Basename.pm in @INC (@INC contains: /scratchbox/devkits/git/lib/perl5/site_perl /scratchbox/devkits/svn/lib/perl5/site_perl/5.8.4/i686-linux-thread-multi /etc/perl /usr/local/lib/perl/5.8.3 /usr/local/share/perl/5.8.3 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /scratchbox/devkits/git/bin/git-svn line 41.
BEGIN failed--compilation aborted at /scratchbox/devkits/git/bin/git-svn line 41.
-- SVN-version 5278
[ 0%] Built target version
[ 0%] Built target fib
[ 2%] Built target navit_core
Linking C executable navit
/lib/librt.so.1: undefined reference to `__fortify_fail@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
make[2]: *** [navit/navit] Error 1
make[1]: *** [navit/CMakeFiles/navit.dir/all] Error 2
make: *** [all] Error 2
[sbox-FREMANTLE_X86: ~/tmp.nobackup/navit/build] >
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.
....the latest build crashes everytime i switching fullscreen on/off....
Going back to 5255 solved the issue.
....the latest build crashes everytime i switching fullscreen on/off....
Going back to 5255 solved the issue.
Yes, that happens to me too.
Yes, that happens to me too.
I was using your OSD.xml and the issue seems to be related to that file.
Changing the fullscreen button to:
<osd name="my_fullscreen_status" enabled="yes" type="button" x="0" y="-156" src="gui_fullscreen_96_96.png" command='gui.fullscreen=!gui.fullscreen' />
solves the issue.
I was using your OSD.xml and the issue seems to be related to that file.
Changing the fullscreen button to:
<osd name="my_fullscreen_status" enabled="yes" type="button" x="0" y="-156" src="gui_fullscreen_96_96.png" command='gui.fullscreen=!gui.fullscreen' />
solves the issue.
Seems that it is a recently introduced bug, I reported it through irc http://irclogs.navit.ie/%23navit-2012-12-03.log (starting with 17:49) so I hope the developers solve it quickly:-).
Seems that it is a recently introduced bug, I reported it through irc http://irclogs.navit.ie/%23navit-2012-12-03.log (starting with 17:49) so I hope the developers solve it quickly:-).
In fact i'm trying to port this osd layout:
http://0606.at/index.php?option=com_content&view=article&id=115:samsung-galaxy-nexus-navit-layoutosd&catid=53:android&Itemid=57
Now it's almost completed but it hangs at the same syntax used to dynamically change icons..
In fact i'm trying to port this osd layout:
http://0606.at/index.php?option=com_content&view=article&id=115:samsung-galaxy-nexus-navit-layoutosd&catid=53:android&Itemid=57
Now it's almost completed but it hangs at the same syntax used to dynamically change icons..
They rolled out a fix for the full-screen icon, but I still crash on the sound off/on icon. I am reporting in on the IRC right now.
They rolled out a fix for the full-screen icon, but I still crash on the sound off/on icon. I am reporting in on the IRC right now.
So the fix for the firt crash is revision 5279 and for the second 5282. The second was caused by me not having set up speech and trying to turn it off - it crashed navit.
Rdosch: would you care to roll out another update (I have no idea how much work is that)? It would bi kind of nice if navit did not crash on me all the time.
[...]
Rdosch: would you care to roll out another update (I have no idea how much work is that)? It would bi kind of nice if navit did not crash on me all the time.
I kicked off a build, should be available in around 30 minutes.
Rainer
Hey, I need some help with QML
I installed the last version (5283), following the #511 post instructions and the configuration files (http://talk.maemo.org/attachment.php?attachmentid=11936&d=1278727249) from the navit-install.txt script.
Works with the internal gui, but when I set the qt gui it fails with:
/home/user# cat log.txt
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 '/opt/navit/lib/navit/osd/libosd_core.so', already loaded
navit:vehicle_ref:refcount 2
navit:vehicle_unref:refcount 1
navit:xinclude:Unable to include /opt/navit/share/navit/maps/*.xml
gui_qml:int gui_qml_set_graphics(gui_priv*, graphics*):
FATAL: Environment variable NAVIT_XID not set.
Please set NAVIT_XID to the window ID of the window to embed into.
I edited the navit.xml, just disabled the internal gui, and added
<gui type="qml" enabled="yes" source="/opt/navit/share/navit/skins" icon_src="/opt/navit/share/navit/xpm/" />
How do I fix it?Am I the only one with this?
to use qml:
i modified two lines of navit.xml like this:
<graphics type="qt_qpainter"/> instead of <graphics type="gtk_drawing_area"/>
<gui type="qml" enabled="yes" source="/opt/navit/share/navit/skins" icon_src="/opt/navit/share/navit/xpm/">
like this is working, for me, but not so smooth as i expected...let me know your impressions ;)
no luck... same error...
I did also try to edit the /etc/navit/navit.xml.
Maybe I have some dependencies missing.
Hey, I need some help with QML
I installed the last version (5283), following the #511 post instructions and the configuration files (http://talk.maemo.org/attachment.php?attachmentid=11936&d=1278727249) from the navit-install.txt script.
Works with the internal gui, but when I set the qt gui it fails with:
/home/user# cat log.txt
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 '/opt/navit/lib/navit/osd/libosd_core.so', already loaded
navit:vehicle_ref:refcount 2
navit:vehicle_unref:refcount 1
navit:xinclude:Unable to include /opt/navit/share/navit/maps/*.xml
gui_qml:int gui_qml_set_graphics(gui_priv*, graphics*):
FATAL: Environment variable NAVIT_XID not set.
Please set NAVIT_XID to the window ID of the window to embed into.
I edited the navit.xml, just disabled the internal gui, and added
<gui type="qml" enabled="yes" source="/opt/navit/share/navit/skins" icon_src="/opt/navit/share/navit/xpm/" />
How do I fix it?Am I the only one with this?
I think I asked similar question some time ago and the answer was that Qt ui does not work. But I might be mistaken.
no luck... same error...
I did also try to edit the /etc/navit/navit.xml.
Maybe I have some dependencies missing.
have you installed the packages navit-gui-qml and navit-graphics-qt-qpainter from bokomoko repo?
I just uploaded a new build to bokomoko.de
Includes fixes for #1046, #1086 and its duplicate #1088
There are quite some changes in the xml config file, shipped with navit:
------------------------------------------------------------------------
r5328 | martin-s | 2012-12-25 18:26:18 +0100 (Di, 25. Dez 2012) | 1 Zeile
Fix:gui_internal:Moved vehicle config to xml
------------------------------------------------------------------------
r5324 | martin-s | 2012-12-25 15:28:18 +0100 (Di, 25. Dez 2012) | 1 Zeile
Add:XML:Made maps page scripted
------------------------------------------------------------------------
r5319 | martin-s | 2012-12-25 11:45:17 +0100 (Di, 25. Dez 2012) | 1 Zeile
Add:XML:Scripted layout setting page
------------------------------------------------------------------------
r5315 | martin-s | 2012-12-23 22:15:53 +0100 (So, 23. Dez 2012) | 1 Zeile
Add:gui_internal:More functionality for vehicle config page
------------------------------------------------------------------------
r5314 | martin-s | 2012-12-23 21:44:25 +0100 (So, 23. Dez 2012) | 1 Zeile
Add:gui_internal:New config pages for vehicle
------------------------------------------------------------------------
r5308 | martin-s | 2012-12-22 23:04:40 +0100 (Sa, 22. Dez 2012) | 1 Zeile
Add:XML:Include (still disabled) map config page
------------------------------------------------------------------------
r5304 | martin-s | 2012-12-22 20:05:03 +0100 (Sa, 22. Dez 2012) | 1 Zeile
Fix:gui_internal:Improved new layout page
------------------------------------------------------------------------
r5294 | martin-s | 2012-12-15 23:44:29 +0100 (Sa, 15. Dez 2012) | 1 Zeile
Fix:xml:Use new hot point functionality for better placing of destination flag
------------------------------------------------------------------------
r5287 | martin-s | 2012-12-13 12:37:23 +0100 (Do, 13. Dez 2012) | 1 Zeile
Add:XPM:Add icon for atm (currently same as bank)
thanks for the update and for the info :)
Can the version in the repo load Garmin maps?
Can the version in the repo load Garmin maps?
probably yes because there is a mapset template for garmin maps in navit.xml
<map type="garmin" enabled="yes" data="/path/to/img" debug="4"/>
but never tried as i use openstreetmap
Can the version in the repo load Garmin maps?
No, it is compile with
# Disable garmin
DEB_CONFIGURE_EXTRA_FLAGS += --disable-garmin
Rainer
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
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
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.
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?
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).
If you get some fixes for the translation issues, let me know and I will start a new build.
Rainer
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
any one use it also on n810 ?
I uploaded an update to bokomoko.de
There have been quite a few commits in the area of town search.
Rainer
Yep
revision 5382 Add:gui_internal:Move most relevant results in Town search to the top of the list.
and
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.
...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?
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: ???
...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
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
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
...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=1277788&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
Ah OK, Thanks for the clarification :)
BTW: Thank you very much for keeping one of the last navigation solutions for the N900 alive!
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
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..
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
Any devlopment on this lately:)
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 ?
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
If you managed to make debs from autotools, that would be great!
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!
..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
..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/unstable/navit_0.2.0+dfsg.1-1maemo1~5427.tar.gz )
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.....
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!
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...
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.
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
Try to do as much as u can it will help somebody:)
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
So quick:o
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
So quick:o
You call that quick ? It was ~ 1 week of struggles to make a deb :D
Congratulations tanago! Having a deb which is built through cmake is really good...
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)
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 :-)
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...
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?
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
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?
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....
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. :)
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
nice job!
ps: i don't know...but maybe QtDeclarative is provided by packages like libqtm-11-declarative or libqtm-12-declarative ? it comes with CSSU ?
nice job!
ps: i don't know...but maybe QtDeclarative is provided by packages like libqtm-11-declarative or libqtm-12-declarative ? it comes with CSSU ?
I tried them too but still without success, It's more like cmake is searching for Qt Declarative headers in a different directory than they are
the navit-gui-qml package installed from rdorsch repo depends on libqt4-core libqt4-declarative libqt4-dbus libqt4-gui libqt4-xml i dont know if this helps
the navit-gui-qml package installed from rdorsch repo depends on libqt4-core libqt4-declarative libqt4-dbus libqt4-gui libqt4-xml i dont know if this helps
Means that when I already have Qt Declarative => cmake is looking at the wrong directory
Mentalist Traceur
2013-04-06, 19:21
Question (don't have time to read the thread history to find answers, if they exist, sorry): Why cmake and not autotools? And does using cmake to do it make it any less doable for you or whoever follows in your footsteps to package the .deb into the repos using autobuilder (as opposed to manual package upload)?
Question (don't have time to read the thread history to find answers, if they exist, sorry): Why cmake and not autotools? And does using cmake to do it make it any less doable for you or whoever follows in your footsteps to package the .deb into the repos using autobuilder (as opposed to manual package upload)?
I will answer your question
1. For a long time, building with cmake produced many errors, thats why it was preferred to build with autotools
2. It still produces many errors mainly because cmake is searching for headers in different directories. Today I managed to fix all those paths except one, described at the beggining of this page.
3. dpkg-buildpackage scripts inside 'debian' folder use autotools and compiles the source code with it. Today I workaround-ed that with the following commands
cmake /path/to/sources
make
dpkg-buildpackage -b -nc
i had to specify -nc because dpkg will 'make clean' and will compile with autotools again. So anybody who is expert at making "debian" dirs is welcomed to help us switch to cmake entirely :)
i had to specify -nc because dpkg will 'make clean' and will compile with autotools again. So anybody who is expert at making "debian" dirs is welcomed to help us switch to cmake entirely :)
Let's try to take inspiration from keepassx package:
http://merlin1991.at/~luf/keepassx/source/keepassx_2.0-alpha3maemo2.tar.gz
You can also find original version in extras-devel or testing (I took inspiration there - keepassx_0.4.3-1).
I hope it can help you.
if can help, i found this (maybe old) tutorial for maemo compiling on Scratchbox, with some configure options
http://wiki.navit-project.org/index.php/Scratchbox_development
Most people might have seen it already, I updated navit on bokomoko.de. From the upstream changelog it seems that street search and house number search saw a lot of changes. It did not work very well in the new version though. If I see a version, whose street search works better for me, I will upload another update. In any case maps need to be updated for that.
Rainer
magic_doc
2013-05-04, 08:59
Most people might have seen it already, I updated navit on bokomoko.de. From the upstream changelog it seems that street search and house number search saw a lot of changes. It did not work very well in the new version though. If I see a version, whose street search works better for me, I will upload another update. In any case maps need to be updated for that.
Rainer
Thanks again for your effort! So I will stay at version 5427 until further notice, because I really need the street-search-function.
But what I don't understand is why maps need to be updated for the new search function?
Have a nice weekend!
CU Michael
I think it is pretty save to update. The issues I saw for streetsearch were caused by an old map I still had enabled. After disabling it they have been gone.
The house number search was probably broken, because I build my own maps which are below country level.
Rainer
Just uploaded another update to 5477 to bokomoko.de. Should contain at least one important house number fix.
Also I changed version number to 0.5 as upstream did some time back.
Rainer
if somebody wants to play with QML GUI, there is a guide on how to configure that: http://wiki.navit-project.org/index.php/Gui_QML
I am trying to add some voice control to Navit.
Somehow the following code, for zooming the Navit map, doesn't work anymore:
#!/usr/bin/python
import dbus
bus = dbus.SessionBus()
conn = bus.get_object('org.navit_project.navit', '/org/navit_project/navit')
iface = dbus.Interface(conn, dbus_interface='org.navit_project.navit')
iter = iface.attr_iter()
navit = bus.get_object('org.navit_project.navit', conn.get_attr_wi("navit",iter)[1]);
iface.attr_iter_destroy(iter)
navit_iface = dbus.Interface(navit, dbus_interface='org.navit_project.navit.navit')
navit_iface.zoom(2)
The first line that fails is
iter = iface.attr_iter()
Is this a bug in Navit, or did they change the dbus interface?
P.S.: I would also like to do the following stuff with dbus (via voice control):
- toggle 2D/3D
- select a bookmarked destination
- start/stop navigation
It would be nice if anyone could show me code or some documentation how to do this with dbus.
The first line that fails is
iter = iface.attr_iter()
what exactly happens at that line? What error message do you get?
Is this a bug in Navit, or did they change the dbus interface?
Have you enabled the dbus binding in navit.xml?
i think there was something about the dbus interface recently... but i don't remember exactly
Have you enabled the dbus binding in navit.xml?
i think there was something about the dbus interface recently... but i don't remember exactly
Thank you very much gianko :)
That was the problem (stupid me). I didn't know that the dbus binding can be dis-/enabled in navit.xml.
I am still looking how to do the following stuff with dbus (via voice control):
- toggle 2D/3D
- select a bookmarked destination
- start/stop navigation
It would be nice if anyone could show me code or some documentation how to do this with dbus.
Greets
I am still looking how to do the following stuff with dbus (via voice control):
- toggle 2D/3D
- select a bookmarked destination
- start/stop navigation
It would be nice if anyone could show me code or some documentation how to do this with dbus.
i will check, but for faster help i suggest you to ask on navit irc channel, there are a lot of people more expert in navit there ;)
http://wiki.navit-project.org/index.php/Contacts#IRC
Uploaded release 5524 to bokomoko.de
I did not see any new features, looks more like a polishing release.
I found out how to
- select a bookmarked destination, and to
- start/stop navigation
but I am still looking for a way to
- toggle 2D/3D
with dbus.
It would be nice if someone who knows how this can be done would post this here.
Wikiwide
2013-06-10, 02:19
I found out how to
- select a bookmarked destination, and to
- start/stop navigation
but I am still looking for a way to
- toggle 2D/3D
with dbus.
It would be nice if someone who knows how this can be done would post this here.
http://wiki.navit-project.org/index.php/Configuration
http://wiki.navit-project.org/index.php/Dbus
Try this code:
dbus-send --print-reply --session --dest=org.navit_project.navit /org/navit_project/navit/default_navit org.navit_project.navit.navit.set_attr string:"pitch" variant:int32:30
Disclaimer: I don't have Navit installed.
http://wiki.navit-project.org/index.php/Configuration
http://wiki.navit-project.org/index.php/Dbus
Try this code:
dbus-send --print-reply --session --dest=org.navit_project.navit /org/navit_project/navit/default_navit org.navit_project.navit.navit.set_attr string:"pitch" variant:int32:30
Disclaimer: I don't have Navit installed.
Thanks Wikiwide,
this works!
Setting the pitch to 0° (of course) changes the layout to 2D-mode.
On a recent trip with latest bokomoko updates and maps about half a year old, I noticed some things.
1) First I noticed that street search does not work. Did you experience anything similar? Might redownloading the maps help?
2) Also, I noticed that searching for routes not requiring tolls for over 200 km (in France) does not work. It depends on the distance, it seems Navit does not like if there are toll autoroute crossings for much of the way.
3) I also noticed that the search alogorithm gives sometimes suboptimal results - it prefers the routes of highest quality (national as opposed to regional or local road network) even if it means a detour of tens of kilometers. Have you similar experience?
On a recent trip with latest bokomoko updates and maps about half a year old, I noticed some things.
1) First I noticed that street search does not work. Did you experience anything similar? Might redownloading the maps help?
yes, with the latest release, you need to download a new map.
try http://maps7.navit-project.org/
magic_doc
2013-06-14, 11:52
Since yesterday, I try to download this part of the map for germany:
http://maps7.navit-project.org/api/map/?bbox=5.4,47.1,14.1,55.3
It always get stucked at some point, tried on two machines since then, always the same effect.
Can anyone confirm this problem?
CU and HANW
Michael
Since yesterday, I try to download this part of the map for germany:
http://maps7.navit-project.org/api/map/?bbox=5.4,47.1,14.1,55.3
It always get stucked at some point, tried on two machines since then, always the same effect.
Can anyone confirm this problem?
CU and HANW
Michael
I tried France with the same results.
magic_doc
2013-06-15, 04:22
The issue seems to be fixed, just tried on a root server with fat bandwith:
100%[====================================>] 1.449.248.635 11,2M/s in 2m 3s
WOOOT ;)
guilledoc
2013-06-16, 01:21
Can we have an easy how to install/use Navit for newbies :(
Can we have an easy how to install/use Navit for newbies :(
this can be a starting point http://talk.maemo.org/showpost.php?p=1025907&postcount=511
Can we have an easy how to install/use Navit for newbies :(
Look also at this, if I can promote myself:-). http://talk.maemo.org/showpost.php?p=1312839&postcount=683 - you need to edit maps.xml to point to the maps you downloaded.
To others: I downloaded a new map version, but it has problems with finding small towns (like Murat: http://goo.gl/maps/Y7zAu in France) - but when I zoom on it manually, Murat is in the map. Have you experienced anything similar?
vBulletin® v3.8.8, Copyright ©2000-2025, vBulletin Solutions, Inc.