tangoGPS 0.9.9 (was Re: tangogps 0.9.8)

2009-11-04 Thread Marcus Bauer

fixed and as a goodie GPX track load added

Marcus


On Tue, 03 Nov 2009 23:08:29 -0500
Joshua Judson Rosen  wrote:

> "Maksim 'max_posedon' Melnikau"  writes:
> >
> > SHR version (mrmoku/unstable feed) segfaults for me, on try to
> > download map (4 levels):
> [...]
> > *** timer_tile_download():
> > *** timer_tile_download():
> > *** timer_tile_download():
> > *** timer_tile_download():
> > Segmentation fault
> 
> I'm seeing a segfault on line #370 of gps_functions.c (in
> set_label()); it seems to coincide with the end of map-download, in
> at least some configurations (I can reproduce it if I disable
> auto-download), so this may be what you're seeing:
> 
> There's a buffer-overflow problem that results in the `label70'
> pointer being overwritten with what's supposed to be text-data
> (and ends up being a garbage pointer) because the `buffer' variable
> (actually named "buffer" :)) is not always big enough to hold the text
> that's being g_sprintf'd into it.
> 
> As a quick hack, you can try just making the buffer bigger, but it may
> be a better solution to use g_strdup_printf() instead of g_sprintf()
> (and remembering to g_free() the resulting pointer when done with
> it, of course!).
> 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: tangogps 0.9.8

2009-11-03 Thread Joshua Judson Rosen
"Maksim 'max_posedon' Melnikau"  writes:
>
> SHR version (mrmoku/unstable feed) segfaults for me, on try to
> download map (4 levels):
[...]
> *** timer_tile_download():
> *** timer_tile_download():
> *** timer_tile_download():
> *** timer_tile_download():
> Segmentation fault

I'm seeing a segfault on line #370 of gps_functions.c (in set_label());
it seems to coincide with the end of map-download, in at least some
configurations (I can reproduce it if I disable auto-download),
so this may be what you're seeing:

There's a buffer-overflow problem that results in the `label70'
pointer being overwritten with what's supposed to be text-data
(and ends up being a garbage pointer) because the `buffer' variable
(actually named "buffer" :)) is not always big enough to hold the text
that's being g_sprintf'd into it.

As a quick hack, you can try just making the buffer bigger, but it may
be a better solution to use g_strdup_printf() instead of g_sprintf()
(and remembering to g_free() the resulting pointer when done with
it, of course!).

-- 
"Don't be afraid to ask (λf.((λx.xx) (λr.f(rr."


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: tangogps 0.9.8

2009-11-03 Thread Maksim 'max_posedon' Melnikau
SHR version (mrmoku/unstable feed) segfaults for me, on try to
download map (4 levels):



tile_data: 
http://tile.openstreetmap.org/16/37796/21088.png|/home/root/Maps/OSM/16/37796/21088.png|/home/root/Maps/OSM/16/37796/
 URL: http://tile.openstreetmap.org/16/37796/21088.png
 FILE: /home/root/Maps/OSM/16/37796/21088.png
 DIR: /home/root/Maps/OSM/16/37796/
*** timer_tile_download():
** expose event 0 0 455 455
map_scale_indicator():
lat 0.939628 => lat_m 1.119339
DISTANCE: acos(1.00), ll1: 0.939628, -3.141593 -- ll2: 0.939628, -3.140394
*** timer_tile_download():
*** timer_tile_download():
*** timer_tile_download():
*** timer_tile_download():
Segmentation fault

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: tangogps 0.9.8

2009-11-03 Thread Sebastian Krzyszkowiak
On 11/3/09, Sebastian Krzyszkowiak  wrote:
> On 11/3/09, Yorick Moko  wrote:
>> On Tue, Nov 3, 2009 at 5:22 PM, Niall Haslam  wrote:
>>
>>>
>>> On 2 Nov 2009, at 23:46, Robin Paulson wrote:
>>>
>>> > 2009/11/2 Marcus Bauer :
>>> >> I have currently no working OE here and there are now too many
>>> >> distribs. However, you can try the armel.deb. Just extract the
>>> >> tangogps
>>> >> binary from the .deb (do it on your desktop/laptop) and copy it to
>>> >> your
>>> >> Neo.
>>> >
>>> > .deb packages can be installed natively with opkg.
>>> >
>>> > you'll need to edit /etc/opkg/arch.conf, and add 'arch armel 36'
>>> > (without the quotes) to the bottom
>>> >
>>> > then do
>>> >
>>> > wget http://www.tangogps.org/downloads/tangogps_0.9.8-1_armel.deb
>>> >
>>> > and
>>> >
>>> > opkg install tangogps_0.9.8-1_armel.deb
>>>
>>> I tried this but get an error saying: Enlightenment was unable to run
>>> the application tangogps.
>>> The application failed to start.
>>>
>>> Any other ideas. Or pointers as to how to package 0.9.8 for shr?
>>>
>>>
>>> add a ticket in shr trac
>>
>
> I've just sent recipe for 0.9.8 to shr-devel. I'll try to build it soon.

tangogps 0.9.8-r0 is already in our tests/unstable feed :)

-- 
Sebastian Krzyszkowiak
dos

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: tangogps 0.9.8

2009-11-03 Thread Niall Haslam

On 3 Nov 2009, at 16:53, Michele Brocco wrote:

> On Tue, Nov 3, 2009 at 5:42 PM, Sebastian Krzyszkowiak
>  wrote:
>> On 11/3/09, Yorick Moko  wrote:
>>> On Tue, Nov 3, 2009 at 5:22 PM, Niall Haslam   
>>> wrote:
>>>

 On 2 Nov 2009, at 23:46, Robin Paulson wrote:

> 2009/11/2 Marcus Bauer :
>> I have currently no working OE here and there are now too many
>> distribs. However, you can try the armel.deb. Just extract the
>> tangogps
>> binary from the .deb (do it on your desktop/laptop) and copy it  
>> to
>> your
>> Neo.
>
> .deb packages can be installed natively with opkg.
>
> you'll need to edit /etc/opkg/arch.conf, and add 'arch armel 36'
> (without the quotes) to the bottom
>
> then do
>
> wget http://www.tangogps.org/downloads/tangogps_0.9.8-1_armel.deb
>
> and
>
> opkg install tangogps_0.9.8-1_armel.deb

 I tried this but get an error saying: Enlightenment was unable to  
 run
 the application tangogps.
 The application failed to start.

 Any other ideas. Or pointers as to how to package 0.9.8 for shr?


 add a ticket in shr trac
>>>
>>
>> I've just sent recipe for 0.9.8 to shr-devel. I'll try to build it  
>> soon.
>>
>> --
>> Sebastian Krzyszkowiak
>> dos
>>
> Was the enlightenment error related to the libcurl issue discussed in
> this thread some mails before? If yes the solution described by Marcus
> should help for now. At least for me it did. I am using shr-u as well.

Yeah - when I launched from the command line I got the same error as  
you. So enlightenment was just hiding the error.

>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: tangogps 0.9.8

2009-11-03 Thread Michele Brocco
On Tue, Nov 3, 2009 at 5:42 PM, Sebastian Krzyszkowiak
 wrote:
> On 11/3/09, Yorick Moko  wrote:
>> On Tue, Nov 3, 2009 at 5:22 PM, Niall Haslam  wrote:
>>
>>>
>>> On 2 Nov 2009, at 23:46, Robin Paulson wrote:
>>>
>>> > 2009/11/2 Marcus Bauer :
>>> >> I have currently no working OE here and there are now too many
>>> >> distribs. However, you can try the armel.deb. Just extract the
>>> >> tangogps
>>> >> binary from the .deb (do it on your desktop/laptop) and copy it to
>>> >> your
>>> >> Neo.
>>> >
>>> > .deb packages can be installed natively with opkg.
>>> >
>>> > you'll need to edit /etc/opkg/arch.conf, and add 'arch armel 36'
>>> > (without the quotes) to the bottom
>>> >
>>> > then do
>>> >
>>> > wget http://www.tangogps.org/downloads/tangogps_0.9.8-1_armel.deb
>>> >
>>> > and
>>> >
>>> > opkg install tangogps_0.9.8-1_armel.deb
>>>
>>> I tried this but get an error saying: Enlightenment was unable to run
>>> the application tangogps.
>>> The application failed to start.
>>>
>>> Any other ideas. Or pointers as to how to package 0.9.8 for shr?
>>>
>>>
>>> add a ticket in shr trac
>>
>
> I've just sent recipe for 0.9.8 to shr-devel. I'll try to build it soon.
>
> --
> Sebastian Krzyszkowiak
> dos
>
Was the enlightenment error related to the libcurl issue discussed in
this thread some mails before? If yes the solution described by Marcus
should help for now. At least for me it did. I am using shr-u as well.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: tangogps 0.9.8

2009-11-03 Thread Sebastian Krzyszkowiak
On 11/3/09, Yorick Moko  wrote:
> On Tue, Nov 3, 2009 at 5:22 PM, Niall Haslam  wrote:
>
>>
>> On 2 Nov 2009, at 23:46, Robin Paulson wrote:
>>
>> > 2009/11/2 Marcus Bauer :
>> >> I have currently no working OE here and there are now too many
>> >> distribs. However, you can try the armel.deb. Just extract the
>> >> tangogps
>> >> binary from the .deb (do it on your desktop/laptop) and copy it to
>> >> your
>> >> Neo.
>> >
>> > .deb packages can be installed natively with opkg.
>> >
>> > you'll need to edit /etc/opkg/arch.conf, and add 'arch armel 36'
>> > (without the quotes) to the bottom
>> >
>> > then do
>> >
>> > wget http://www.tangogps.org/downloads/tangogps_0.9.8-1_armel.deb
>> >
>> > and
>> >
>> > opkg install tangogps_0.9.8-1_armel.deb
>>
>> I tried this but get an error saying: Enlightenment was unable to run
>> the application tangogps.
>> The application failed to start.
>>
>> Any other ideas. Or pointers as to how to package 0.9.8 for shr?
>>
>>
>> add a ticket in shr trac
>

I've just sent recipe for 0.9.8 to shr-devel. I'll try to build it soon.

-- 
Sebastian Krzyszkowiak
dos

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: tangogps 0.9.8

2009-11-03 Thread Yorick Moko
On Tue, Nov 3, 2009 at 5:22 PM, Niall Haslam  wrote:

>
> On 2 Nov 2009, at 23:46, Robin Paulson wrote:
>
> > 2009/11/2 Marcus Bauer :
> >> I have currently no working OE here and there are now too many
> >> distribs. However, you can try the armel.deb. Just extract the
> >> tangogps
> >> binary from the .deb (do it on your desktop/laptop) and copy it to
> >> your
> >> Neo.
> >
> > .deb packages can be installed natively with opkg.
> >
> > you'll need to edit /etc/opkg/arch.conf, and add 'arch armel 36'
> > (without the quotes) to the bottom
> >
> > then do
> >
> > wget http://www.tangogps.org/downloads/tangogps_0.9.8-1_armel.deb
> >
> > and
> >
> > opkg install tangogps_0.9.8-1_armel.deb
>
> I tried this but get an error saying: Enlightenment was unable to run
> the application tangogps.
> The application failed to start.
>
> Any other ideas. Or pointers as to how to package 0.9.8 for shr?
>
>
> add a ticket in shr trac
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: tangogps 0.9.8

2009-11-03 Thread Niall Haslam

On 2 Nov 2009, at 23:46, Robin Paulson wrote:

> 2009/11/2 Marcus Bauer :
>> I have currently no working OE here and there are now too many
>> distribs. However, you can try the armel.deb. Just extract the  
>> tangogps
>> binary from the .deb (do it on your desktop/laptop) and copy it to  
>> your
>> Neo.
>
> .deb packages can be installed natively with opkg.
>
> you'll need to edit /etc/opkg/arch.conf, and add 'arch armel 36'
> (without the quotes) to the bottom
>
> then do
>
> wget http://www.tangogps.org/downloads/tangogps_0.9.8-1_armel.deb
>
> and
>
> opkg install tangogps_0.9.8-1_armel.deb

I tried this but get an error saying: Enlightenment was unable to run  
the application tangogps.
The application failed to start.

Any other ideas. Or pointers as to how to package 0.9.8 for shr?



> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: tangogps 0.9.8

2009-11-02 Thread Robin Paulson
2009/11/2 Marcus Bauer :
> I have currently no working OE here and there are now too many
> distribs. However, you can try the armel.deb. Just extract the tangogps
> binary from the .deb (do it on your desktop/laptop) and copy it to your
> Neo.

.deb packages can be installed natively with opkg.

you'll need to edit /etc/opkg/arch.conf, and add 'arch armel 36'
(without the quotes) to the bottom

then do

wget http://www.tangogps.org/downloads/tangogps_0.9.8-1_armel.deb

and

opkg install tangogps_0.9.8-1_armel.deb

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: tangogps 0.9.8

2009-11-02 Thread Marcus Bauer
On Mon, 2 Nov 2009 12:49:43 +0100
Michal Brzozowski  wrote:

> 2009/11/2 Marcus Bauer 
> 
> >
> > I have currently no working OE here and there are now too many
> > distribs. However, you can try the armel.deb. Just extract the
> > tangogps binary from the .deb (do it on your desktop/laptop) and
> > copy it to your Neo.
> >
> > The necessary steps are:
> >
> > cd /tmp
> > wget http://www.tangogps.org/downloads/tangogps_0.9.8-1_armel.deb
> > ar -x tangogps_0.9.8-1_armel.deb
> > tar xfvz data.tar.gz
> > scp /tmp/usr/bin/tangogps to_your_phone
> >
> >
> > Marcus
> >
> 
> I tried the above and get this error. Do you know where to find that
> lib?
> 
> r...@om-gta02 ~ $ tangogps
> tangogps: error while loading shared libraries: libcurl-gnutls.so.4:
> cannot open shared object file: No such file or directory

In Debian it is libcurl3-gnutls. But tangoGPS does not use any TLS
functions, thus as a hacky quick fix I guess you could even set a
symbolic link to to libcurl.so.4 or maybe even libcurl.so.3 in /usr/lib.



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: tangogps 0.9.8

2009-11-02 Thread Michal Brzozowski
2009/11/2 Marcus Bauer 

>
> I have currently no working OE here and there are now too many
> distribs. However, you can try the armel.deb. Just extract the tangogps
> binary from the .deb (do it on your desktop/laptop) and copy it to your
> Neo.
>
> The necessary steps are:
>
> cd /tmp
> wget http://www.tangogps.org/downloads/tangogps_0.9.8-1_armel.deb
> ar -x tangogps_0.9.8-1_armel.deb
> tar xfvz data.tar.gz
> scp /tmp/usr/bin/tangogps to_your_phone
>
>
> Marcus
>

I tried the above and get this error. Do you know where to find that lib?

r...@om-gta02 ~ $ tangogps
tangogps: error while loading shared libraries: libcurl-gnutls.so.4: cannot
open shared object file: No such file or directory
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: tangogps 0.9.8

2009-11-02 Thread Marcus Bauer
On Mon, 02 Nov 2009 10:41:22 +0100
Pieter Colpaert  wrote:

> Hi Markus,
> 
> Thanks for the update. Do you have an ipk/opk file yet? On your
> website it says version 0.9.5.

I have currently no working OE here and there are now too many
distribs. However, you can try the armel.deb. Just extract the tangogps
binary from the .deb (do it on your desktop/laptop) and copy it to your
Neo.

The necessary steps are:

cd /tmp
wget http://www.tangogps.org/downloads/tangogps_0.9.8-1_armel.deb
ar -x tangogps_0.9.8-1_armel.deb
tar xfvz data.tar.gz
scp /tmp/usr/bin/tangogps to_your_phone


Marcus

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: tangogps 0.9.8

2009-11-02 Thread Pieter Colpaert
Hi Markus,

Thanks for the update. Do you have an ipk/opk file yet? On your website
it says version 0.9.5. On my moko though, I got 0.9.7-r2 installed.
Someone for SHR-u should update the repo to 0.9.8 asap? Thanks :)

Pieter

On Mon, 2009-11-02 at 08:06 +0100, Marcus Bauer wrote:
> 
> Hello,
> 
> a new version of tangoGPS is out. Most notably are:
> 
>  * a fix for a potential segfault in the overzoom code (spotted by
>Joshua Judson Rosen)
> 
>  * if started in landscape mode the layout is optimized (toolbar
>vertical) which is nice both on the neo as well as on a laptop
> 
>  * you can send messages to other users if the have 0.9.8 too - if you
>are on GPRS that's a lot cheaper than SMS. In any case it is a fun
>little feature and can be quite handy at times
> 
> As always, find it a http://tangogps.org/
> 
> Have fun!
> 
> Marcus
> 
> 
> 
> 


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: tangogps 0.9.8

2009-11-02 Thread Yorick Moko
On Mon, Nov 2, 2009 at 8:06 AM, Marcus Bauer  wrote:

>
>
> Hello,
>
> a new version of tangoGPS is out. Most notably are:
>
>  * a fix for a potential segfault in the overzoom code (spotted by
>   Joshua Judson Rosen)
>
>  * if started in landscape mode the layout is optimized (toolbar
>   vertical) which is nice both on the neo as well as on a laptop
>
>  * you can send messages to other users if the have 0.9.8 too - if you
>   are on GPRS that's a lot cheaper than SMS. In any case it is a fun
>   little feature and can be quite handy at times
>
> As always, find it a http://tangogps.org/
>
> Have fun!
>
> Marcus
>
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>

super!
will test it as soon as i find some time
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


tangogps 0.9.8

2009-11-01 Thread Marcus Bauer


Hello,

a new version of tangoGPS is out. Most notably are:

 * a fix for a potential segfault in the overzoom code (spotted by
   Joshua Judson Rosen)

 * if started in landscape mode the layout is optimized (toolbar
   vertical) which is nice both on the neo as well as on a laptop

 * you can send messages to other users if the have 0.9.8 too - if you
   are on GPRS that's a lot cheaper than SMS. In any case it is a fun
   little feature and can be quite handy at times

As always, find it a http://tangogps.org/

Have fun!

Marcus



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community