Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Navit - The OS vector based navigation program with routing.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
KaZeR
Apprentice
Apprentice


Joined: 04 Feb 2004
Posts: 275
Location: Au fond, à droite.

PostPosted: Mon Apr 30, 2007 11:22 am    Post subject: Navit - The OS vector based navigation program with routing. Reply with quote

Hi people.

I've posted an ebuild for navit at bugzilla : https://bugs.gentoo.org/show_bug.cgi?id=176552
This ebuild is for the main branch of navit.
There's two other branches yet :
- modular map which allow more map files (like garmin) (USE=modular_map)
- sdl with a SDL gui (instead of GTK) (USE=sdl)

You'll find some screenshots/video of the SDL gui there : http://www.kazer.org/navit/
The gtk gui is far more complete than the sdl. I'll post some sshots soon :)

Navit is an open source vector based navigation software with routing engine.
It's the first to support commercial-grade maps (including Europe), like the ones from Reiseplanner or Garmin (check modular_map). It can read your position from a GPS device (or via gpsd / gpsfake ) and even guide you using speech synthesis.

Any feedback welcome. For the ebuild or Gentoo-specific stuffs, use this thread, otherwise it may be better to use Navit's forums at Sourceforge : http://sourceforge.net/forum/?group_id=153410

Navit's website : http://navit.sf.net

Enjoy :)
_________________
Foo.
Back to top
View user's profile Send private message
jancici
Apprentice
Apprentice


Joined: 27 Jan 2004
Posts: 284
Location: Slovakia

PostPosted: Wed Aug 04, 2010 2:06 pm    Post subject: Reply with quote

I just add sunrise overlay where is this soft
I did emerge that without problems

I have to choose SDL for graphics driver
when using gtk interface then is is frozing or little time when closing the porogram, and writing a lot of message to console


is anybody using this soft NOW???
have you got any problems ...?

thanks
Back to top
View user's profile Send private message
KaZeR
Apprentice
Apprentice


Joined: 04 Feb 2004
Posts: 275
Location: Au fond, à droite.

PostPosted: Wed Aug 04, 2010 4:49 pm    Post subject: Reply with quote

Wow, this post is old.. and didn't get much attention :)

There has been a lot of changes meanwhile.

First, the SDL gui has been deprecated in favor of one called 'internal'.
Then i would advise you to try an ebuild from here instead : https://bugs.gentoo.org/show_bug.cgi?id=176552

Either mine from february, or Florian's one (i haven't tested it so far).

I'm using navit as my daily navigation system. Never got lost so far :)

Also, i would recommend having a look here for some tips : http://wiki.navit-project.org/index.php/Main_Page

And #navit on irc if you need help.

Enjoy, feel free to ask if you have questions.
_________________
Foo.
Back to top
View user's profile Send private message
jancici
Apprentice
Apprentice


Joined: 27 Jan 2004
Posts: 284
Location: Slovakia

PostPosted: Thu Aug 05, 2010 7:59 am    Post subject: Reply with quote

thanks for reply ;-)

I did install from overlay

here is my part of navit.xml

Code:
<graphics type="gtk_drawing_area"/>
<gui type="gtk" enabled="yes" menubar="1" toolbar="1" statusbar="1"/>


and here is output from console when closing the program
Code:
navit
map_rect_new_textfile unable to open textfile /home/jano/.navit/bookmark.txt
vehicle_file:vehicle_file_new_file:on_eof=0
vehicle_file:vehicle_file_new_file:Failed to open 'file:/dev/rfcomm0'

(<unknown>:18580): GLib-WARNING **: giounix.c:406Error while getting flags for FD: Bad file descriptor (9)

navit:xinclude:Unable to include /usr/share/navit/maps/*.xml
map_rect_new_textfile unable to open textfile /home/jano/.navit/bookmark.txt
navit:main_real:Using '/home/jano/.navit/navit.xml'

warning: Can not parse XML syscalls information; XML support was disabled at compile time.
GNU gdb (Gentoo 7.0.1 p1) 7.0.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/navit...(no debugging symbols found)...done.
Attaching to program: /usr/bin/navit, process 18580
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libgmodule-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgmodule-2.0.so.0
Reading symbols from /usr/lib/libglib-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libglib-2.0.so.0
Reading symbols from /lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.8
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libgmp.so.3...(no debugging symbols f

...

a lot of those messages

...
Reading symbols from /usr/lib64/navit/map/libmap_binfile.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/navit/map/libmap_binfile.so
0x00007f9272ec421e in waitpid () from /lib/libc.so.6
#0  0x00007f9272ec421e in waitpid () from /lib/libc.so.6
#1  0x00007f9272e5fba9 in ?? () from /lib/libc.so.6
#2  0x00000000004185f7 in ?? ()
#3  <signal handler called>
#4  0x0000000000433eab in transform_get_projection ()
#5  0x000000000043ba25 in bookmarks_write_center_to_file ()
#6  0x0000000000420c05 in navit_destroy ()
#7  0x00007f926eb97021 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#8  0x00007f926eba8a34 in ?? () from /usr/lib/libgobject-2.0.so.0
#9  0x00007f926ebaa132 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#10 0x00007f926ebaa614 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#11 0x00007f927203aac6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x00007f927219a7dc in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00007f926eb97021 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0x00007f926eba8a34 in ?? () from /usr/lib/libgobject-2.0.so.0
#15 0x00007f926ebaa132 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#16 0x00007f926ebaa614 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#17 0x00007f9272051835 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x00007f926eb97021 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#19 0x00007f926eba855f in ?? () from /usr/lib/libgobject-2.0.so.0
#20 0x00007f926ebaa132 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#21 0x00007f926ebaa614 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#22 0x00007f9272050798 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x00007f92720e7afa in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00007f926eb97021 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#25 0x00007f926eba8d1c in ?? () from /usr/lib/libgobject-2.0.so.0
#26 0x00007f926eba9f1a in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#27 0x00007f926ebaa614 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#28 0x00007f92721deafc in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#29 0x00007f92720e2102 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x00007f92720e2f28 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#31 0x00007f9271d7457a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#32 0x00007f92739ca37a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0x00007f92739cd9a1 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0x00007f92739cde39 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#35 0x000000000040ec08 in main_real ()
#36 0x00007f9272e41bbd in __libc_start_main () from /lib/libc.so.6
#37 0x000000000040e939 in _start ()
Back to top
View user's profile Send private message
jancici
Apprentice
Apprentice


Joined: 27 Jan 2004
Posts: 284
Location: Slovakia

PostPosted: Thu Aug 05, 2010 8:04 am    Post subject: Reply with quote

well, if I am using this gui
Code:
<gui type="internal" enabled="yes"><![CDATA[
                        <html>
                                <a name='Main Menu'><text>Main menu</text>
                                        <a href='#Actions'><img src='gui_actions'>Actions</img></a>
                                        <img cond='flags&amp;2' src='gui_map' onclick='back_to_map()'><text>Show
Map</text></img>
                                        <a href='#Settings'><img src='gui_settings'><text>Settings</text></img></a>
                                <a href='#Tools'><img src='gui_tools'><text>Tools</text></img></a>
                                <a href='#Route'><img src='gui_settings'><text>Route</text></img></a>
                <img src='gui_about'  onclick='about()'><text>About</text></img>
                                </a>
                        <a name='Actions'><text>Actions</text>
                                <img src='gui_bookmark' onclick='bookmarks()'><text>Bookmarks</text></img>
                                <img cond='click_coord_geo' src='gui_map' onclick='position(click_coord_geo,_("Map Point"),8|16|32|64|256)'><script>write(click_coord_geo)</script></img>
                                <img cond='position_coord_geo' src='gui_vehicle' onclick='position(position_coord_geo,_("Vehicle Position"),8|32|64|128|256)'><script>write(position_coord_geo)</script></img>
                                <img src='gui_town' onclick='town()'><text>Town</text></img>
                                <img src='gui_quit' onclick='quit()'><text>Quit</text></img>
                                <img cond='navit.route.route_status&amp;52' src='gui_stop' onclick='abort_navigation()'><text>Stop
Navigation</text></img>
                        </a>
                        <a name='Settings'><text>Settings</text>
                                <a href='#Settings Display'><img src='gui_display'><text>Display</text></img></a>
                                <img src='gui_maps' onclick='setting_maps()'><text>Maps</text></img>
                                <img src='gui_vehicle' onclick='setting_vehicle()'><text>Vehicle</text></img>
                                <img src='gui_rules' onclick='setting_rules()'><text>Rules</text></img>
                        </a>
                        <a name='Settings Display'><text>Display</text>
                                <img src='gui_display' onclick='setting_layout()'><text>Layout</text></img>
                                <img cond='fullscreen==0' src='gui_fullscreen' onclick='fullscreen=1'><text>Fullscreen</text></img>
                                <img cond='fullscreen==1' src='gui_leave_fullscreen' onclick='fullscreen=0'><text>Window Mode</text></img>
                                <img cond='navit.pitch==0' src='gui_map' onclick='navit.pitch=pitch;redraw_map();back_to_map()'><text>3D</text></img>
                                <img cond='navit.pitch!=0' src='gui_map' onclick='navit.pitch=0;redraw_map();back_to_map()'><text>2D</text></img>
                        </a>
                        <a name='Tools'><text>Tools</text>
                                <img src='gui_actions' onclick='locale()'><text>Show Locale</text></img>
                        </a>
<a name='Route'><text>Route</text>
                                <img src='gui_actions' onclick='route_description()'><text>Description</text></img>
                                <img src='gui_actions' onclick='route_height_profile()'><text>Height Profile</text></img>
                        </a>
                        </html>
                ]]></gui>




then it is closing correctly
Back to top
View user's profile Send private message
KaZeR
Apprentice
Apprentice


Joined: 04 Feb 2004
Posts: 275
Location: Au fond, à droite.

PostPosted: Thu Aug 05, 2010 8:05 am    Post subject: Reply with quote

Ok. First thing to do is to check which revision you are using.

Try : navit -v
_________________
Foo.
Back to top
View user's profile Send private message
jancici
Apprentice
Apprentice


Joined: 27 Jan 2004
Posts: 284
Location: Slovakia

PostPosted: Thu Aug 05, 2010 8:24 am    Post subject: Reply with quote

Code:
navit -v
navit 0.2.0 exported
Back to top
View user's profile Send private message
jancici
Apprentice
Apprentice


Joined: 27 Jan 2004
Posts: 284
Location: Slovakia

PostPosted: Thu Sep 22, 2011 6:49 am    Post subject: Reply with quote

because some problems with updating world I did uninstall navit
now I want to emerge it back, but I am getting problem

Code:
emerge -pv navit

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-libs/fribidi-0.10.7  580 kB [0]
[ebuild  N    ~] x11-misc/xkbd-0.8.15-r1  USE="-debug -doc" 337 kB [0]
[ebuild  N     ] dev-vcs/cvs-1.12.12-r6  USE="crypt nls pam -doc -kerberos -server" 0 kB [0]
[ebuild  N     ] dev-games/cegui-0.7.5-r1  USE="gtk opengl pcre truetype xml -bidi -debug -devil -doc -examples -expat -irrlicht -lua -ogre -static-libs -tinyxml -xerces-c -zip" 8,847 kB [0]
[ebuild  N     ] media-libs/quesoglc-0.7.2  USE="-doc -examples" 642 kB [0]
[ebuild  N    *] app-misc/navit-9999  USE="dbus gps gtk nls python sdl svg -garmin -speechd" 0 kB [1]

Total: 6 packages (6 new), Size of downloads: 10,405 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /var/lib/layman/sunrise

The following keyword changes are necessary to proceed:
#required by navit (argument)
>=app-misc/navit-9999 **

NOTE: This --autounmask behavior can be disabled by setting
      EMERGE_DEFAULT_OPTS="--autounmask=n" in make.conf.
root@frodo ~ % grep navit /etc/portage* -r
/etc/portage/package.keywords/soft:app-misc/navit
/etc/portage/package.unmask/general:app-misc/navit
/etc/portage/package.use:app-misc/navit graphics_opengl graphics_sdl gui_sdl speech_speechd speech_cmd



how to unmask dobule * ???

thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum