dsp-sbc task update

2008-07-03 Thread Simon Pickering

Just a quick note really. Thinking that I ought to try to optimise the  
_sbc_analyze_eight()/_sbc_analyze_four() fns as these are called lots,  
I re-wrote them to use DSP intrinsics, dual-MACs, etc.

I hasten to add that my code doesn't actually work, I get what I  
understand is saturated output - loud white noise. So there's still  
some sort of problem in there (not unexpected for the first run after  
conversion). The real issue is that this has done nothing in  
particular to the overall decode time.

So either my optimisations are rubbish (quite possible, but afaict  
I've done what needs to be done) or the code is being held up  
somewhere else. So, this is where the problem comes - from SPRU376A,  
the TMS320C55x DSP Programmer's Guide (Rev. A), ch3.3, it says to use  
the clock() fn to time individual parts of the code.

I've tried this, and the function always returns the same value (each  
16bit part (high and low) of the 32bit integer = -1792 (when output  
with %d for signed short; the dbg() fn can only output 16bit values)).

Any clues? I'm not sure how to go about timing the code without some  
sort of clock, other than to just look at the code and guess at what  
might be optimisable.

Cheers,


Simon

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: GPS + Python + POI database + sqlite - small project , need your help

2008-07-03 Thread Darius Jack
Thanks.
I would like to see it working on maemo.
Personally have to start with Kismet as it already saves gps in xml file format.
I can remove other data entries and parse xml with txt file logging data from 
measuring instrument on another device.

Now sure if kismet supports gps logging under OS2007HE.

Thanks.
Darius



--- On Thu, 3/7/08, Ian Lawrence <[EMAIL PROTECTED]> wrote:

> From: Ian Lawrence <[EMAIL PROTECTED]>
> Subject: Re: GPS + Python + POI database + sqlite - small project , need your 
> help
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED], "Maemo developers mailing-list" 
> 
> Date: Thursday, 3 July, 2008, 7:43 PM
> Hey,
> 
> 
> > Source for gpsd already installed with maemo-mapper
> > http://gpsd.berlios.de/
> There are some reasons why gpsd might not be the best for
> resource
> constrained devices. I have successfully used gypsy before
> and i wrote
> up what i did here (for Ubuntu Mobile, but there is no
> reason why this
> would not work on arm too):
> 
> http://ianlawrence.info/random-stuff/django-bluetooth-and-gps-on-ubuntu-mobile
> 
> Ian
> 
> -- 
> http://ianlawrence.info

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Has maemo-pc-connectivity been substituted by USB Networking applet (in control panel)?

2008-07-03 Thread Andrea Grandi
Hi,

that is not the package I was looking for :(
I'm looking for the application that was installed in Extra menu. The
one described here:
http://maemo.org/downloads/product/OS2008/maemo-pc-connectivity/

2008/7/3 Glauber Ferreira <[EMAIL PROTECTED]>:
> Hi Andrea.
>
> Maemo PC Connectivity has been sent to Diablo extras yesterday.
>
> []s
> Glauber Ferreira
>
> On Thu, Jul 3, 2008 at 10:50 AM, Andrea Grandi <[EMAIL PROTECTED]> wrote:
>>
>> Hi all,
>>
>> using chinook I remember I had an icon in Extra menu, called "Maemo PC
>> Connectivity". I used it to setup USB networking to be able to connect
>> from Eclipse/Pluthon. Now I can only find "USB Networking" in Control
>> Panel, but I don't like it.
>>
>> It's very bugged compared with the old "Maemo PC Connectivity". For
>> example if I connect the cable then I disconnect it, it says me that
>> USB is busy and I've to disconnect the cable (and it's already
>> disconnected!), or if I don't connect any cable and click on "Setup
>> USB Networking" I cannot use anymore the cable, I've to reboot the
>> device.
>>
>> Any idea? Thanks for your support.
>>
>> --
>> Andrea Grandi
>> email: a.grandi [AT] gmail [DOT] com
>> website: http://www.andreagrandi.it
>> PGP Key: http://www.andreagrandi.it/pgp_key.asc
>> ___
>> maemo-developers mailing list
>> maemo-developers@maemo.org
>> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
>



-- 
Andrea Grandi
email: a.grandi [AT] gmail [DOT] com
website: http://www.andreagrandi.it
PGP Key: http://www.andreagrandi.it/pgp_key.asc
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: GPS + Python + POI database + sqlite - small project , need your help

2008-07-03 Thread Ian Lawrence
Hey,


> Source for gpsd already installed with maemo-mapper
> http://gpsd.berlios.de/
There are some reasons why gpsd might not be the best for resource
constrained devices. I have successfully used gypsy before and i wrote
up what i did here (for Ubuntu Mobile, but there is no reason why this
would not work on arm too):

http://ianlawrence.info/random-stuff/django-bluetooth-and-gps-on-ubuntu-mobile

Ian

-- 
http://ianlawrence.info
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: GPS + Python + POI database + sqlite - small project , need your help

2008-07-03 Thread Darius Jack
Thanks.
But I need to start from the basics, logging GPS data into a file.
Maemo-mapper is great project, application.
I still wonder why nobody developed new features to fit it.

So shell script application only.
GPSD update from http://www.gossamer-threads.com/lists/maemo/developers/31553
is not installable under OS2007HE

Source for gpsd already installed with maemo-mapper
http://gpsd.berlios.de/

Python GIS
http://www.pygps.org/

GPSDrive
http://www.gpsdrive.de/download.shtml

GPS Navigator
http://www.gnustep.it/enrico/position/

and finally Kismet, 
http://www.kismetwireless.net/

Any chance to have Kismet to work with gpsd and log gps data in xml format - 
OS2007HE ?

Frankly speaking would welcome to see third party application enhancement to 
maemo-mapper, based on the below source code.
There is a long list of features I would like to be incorporated,
to make maemo-mapper No.1 in GPS navigation (free open source) one day.
Darius


 


--- On Thu, 3/7/08, Frank Banul <[EMAIL PROTECTED]> wrote:

> From: Frank Banul <[EMAIL PROTECTED]>
> Subject: Re: GPS + Python + POI database + sqlite - small project , need your 
> help
> To: [EMAIL PROTECTED]
> Cc: "Maemo developers mailing-list" 
> Date: Thursday, 3 July, 2008, 6:26 PM
> Hi,
> 
> Is this source suitable?
> http://repository.maemo.org/extras/pool/chinook/free/source/m/maemo-mapper/maemo-mapper_2.4.1-os2008.tar.gz
> 
> Frank
> 
> On Thu, Jul 3, 2008 at 11:21 AM, Darius Jack
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > just completed 2 projecvts, in Semantic Multimedia and
> Geolocation.
> > Now need your help and advice in pursuing
> > GPS + Python + POI + sqlite - non-GUI project.
> >
> > Now I need to learn how to read GPS data from gpsd
> Python ?)
> > process them and save into db as a track,
> > build POI database and more
> >
> > Maemo-mapper already does all the above,
> > unfortunately it is one-man closed project, assissted
> by Cezary (POI database).
> >
> > Please tell me know to start.
> > - GPS data acquisition
> > data logging as xml file (parser)
> >
> > Than I need to build a basic database logging gps data
> + some instrument
> > data like sound level, temperature, sun intensity
> level and more
> > to make Google Maps.
> >
> > Your comments, advise, help is welcome.
> >
> > Darius
> >
> >
> >
> >
> > Send instant messages to your online friends
> http://uk.messenger.yahoo.com
> > ___
> > maemo-developers mailing list
> > maemo-developers@maemo.org
> >
> https://lists.maemo.org/mailman/listinfo/maemo-developers
> >

Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: GPS + Python + POI database + sqlite - small project , need your help

2008-07-03 Thread Frank Banul
Hi,

Is this source suitable?
http://repository.maemo.org/extras/pool/chinook/free/source/m/maemo-mapper/maemo-mapper_2.4.1-os2008.tar.gz

Frank

On Thu, Jul 3, 2008 at 11:21 AM, Darius Jack <[EMAIL PROTECTED]> wrote:
> Hi,
>
> just completed 2 projecvts, in Semantic Multimedia and Geolocation.
> Now need your help and advice in pursuing
> GPS + Python + POI + sqlite - non-GUI project.
>
> Now I need to learn how to read GPS data from gpsd Python ?)
> process them and save into db as a track,
> build POI database and more
>
> Maemo-mapper already does all the above,
> unfortunately it is one-man closed project, assissted by Cezary (POI 
> database).
>
> Please tell me know to start.
> - GPS data acquisition
> data logging as xml file (parser)
>
> Than I need to build a basic database logging gps data + some instrument
> data like sound level, temperature, sun intensity level and more
> to make Google Maps.
>
> Your comments, advise, help is welcome.
>
> Darius
>
>
>
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


GPS + Python + POI database + sqlite - small project , need your help

2008-07-03 Thread Darius Jack
Hi,

just completed 2 projecvts, in Semantic Multimedia and Geolocation.
Now need your help and advice in pursuing 
GPS + Python + POI + sqlite - non-GUI project.

Now I need to learn how to read GPS data from gpsd Python ?)
process them and save into db as a track,
build POI database and more

Maemo-mapper already does all the above,
unfortunately it is one-man closed project, assissted by Cezary (POI database).

Please tell me know to start.
- GPS data acquisition
data logging as xml file (parser)

Than I need to build a basic database logging gps data + some instrument
data like sound level, temperature, sun intensity level and more
to make Google Maps.

Your comments, advise, help is welcome.

Darius




Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Problem to setup an icon to an application

2008-07-03 Thread Torello Querci
2008/7/3 Marius Gedminas <[EMAIL PROTECTED]>:
> On Thu, Jul 03, 2008 at 03:32:19PM +0200, Torello Querci wrote:
>> I try to set an icon file to a my application. The program seem to run
>> fine without error on console but the icon still the same, the generic
>> application icon setup by default.
>>
>> This is a sample file taken from maemo tutorial where I add the
>>
>>   gtk_window_set_icon_from_file(window,"icona.ico",NULL);
>
> Is the .ico format even supported by Gtk+?  Usually people use .png.
Ok, I try using both and not work

>
> I strongly suspect the relative pathname is not going to work.  You
> should pass an absolute filename, such as "/usr/share/myapp/icon.png".
I try this solution, but if the GTK not find the image I got an error
message on console. Again not work.

>
> Also, I believe the window manager in Maemo (matchbox) wants to
> determine the icon from the .desktop file corresponding to your app,
> rather than from the _NET_WM_ICON property that
> gtk_window_set_icon_from_file.
On the Bora enviroment I was able to setup the application icon on the runtime.
Now I use the same method and not work, but the problem can be on the
environmante that I use.
So I try to "write" (write . simply add a line of code :) ) to
test to set the Icon using C code.
I try to setup the Icon, X-Window-Icon and X-Window-Icon-Dimmed
proerty in .desktop file and the icon is right in the Maemo menu but
is the generic one in the taskbar.

>
> Now you have three things to check, any of which could be the cause why
> your icon is missing.
I try but something is wrong .. :(


Bye, Torello.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: AGPS performance

2008-07-03 Thread Joshua Layne
Frederic Crozat wrote:
> On Thu, Jul 3, 2008 at 2:20 PM, Frederic Crozat <[EMAIL PROTECTED]> wrote:
>
>   
>> Since the reflash to official Diablo image + updated a-gps package,
>> GPRS connection is never started and I have the feeling A-GPS is not
>> working at all. And I have no clue where does regression come from.
>> 
>
> I've just did more tests and it seems a reboot is required after first
> enabling A-GPS and PacketData to get auto connection over GPRS and
> ephemeris download working.
>
> I've confirmed this on two different n810 running Diablo.
>   
I noticed this as well, although I did not quantify it so precisely.  
AGPS did nothing for me initially. but now helps considerably in 
acquisition times *usually - it's much better than previous gps 
functionality, but I would love to see a more open interface 
specification at the very least.  Have the dbus documents been updated?  
If there is a way to interface to supld over dbus, then it really 
becomes the responsibility of the other software pieces to integrate 
using that (should they want to) - I just haven't yet had time to look 
into this.

rgds,
jos

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Has maemo-pc-connectivity been substituted by USB Networking applet (in control panel)?

2008-07-03 Thread Andrea Grandi
Hi all,

using chinook I remember I had an icon in Extra menu, called "Maemo PC
Connectivity". I used it to setup USB networking to be able to connect
from Eclipse/Pluthon. Now I can only find "USB Networking" in Control
Panel, but I don't like it.

It's very bugged compared with the old "Maemo PC Connectivity". For
example if I connect the cable then I disconnect it, it says me that
USB is busy and I've to disconnect the cable (and it's already
disconnected!), or if I don't connect any cable and click on "Setup
USB Networking" I cannot use anymore the cable, I've to reboot the
device.

Any idea? Thanks for your support.

-- 
Andrea Grandi
email: a.grandi [AT] gmail [DOT] com
website: http://www.andreagrandi.it
PGP Key: http://www.andreagrandi.it/pgp_key.asc
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Problem to setup an icon to an application

2008-07-03 Thread Marius Gedminas
On Thu, Jul 03, 2008 at 03:32:19PM +0200, Torello Querci wrote:
> I try to set an icon file to a my application. The program seem to run
> fine without error on console but the icon still the same, the generic
> application icon setup by default.
> 
> This is a sample file taken from maemo tutorial where I add the
> 
>   gtk_window_set_icon_from_file(window,"icona.ico",NULL);

Is the .ico format even supported by Gtk+?  Usually people use .png.

I strongly suspect the relative pathname is not going to work.  You
should pass an absolute filename, such as "/usr/share/myapp/icon.png".

Also, I believe the window manager in Maemo (matchbox) wants to
determine the icon from the .desktop file corresponding to your app,
rather than from the _NET_WM_ICON property that
gtk_window_set_icon_from_file.

Now you have three things to check, any of which could be the cause why
your icon is missing.

Marius Gedminas
-- 
C is for Cookies.  Perl is even better for Cookies.


signature.asc
Description: Digital signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Problem to setup an icon to an application

2008-07-03 Thread Torello Querci
Hi to all,

I try to set an icon file to a my application. The program seem to run
fine without error on console but the icon still the same, the generic
application icon setup by default.

This is a sample file taken from maemo tutorial where I add the

  gtk_window_set_icon_from_file(window,"icona.ico",NULL);

line.

Thank's in advance.



Torello Querci

-

#include  /* EXIT_* */
/* Introduce types and prototypes of GTK+ for the compiler. */
#include 

int main(int argc, char** argv) {

  /* We'll have two references to two GTK+ widgets. */
  GtkWindow* window;
  GtkLabel* label;

  /* Initialize the GTK+ library. */
  gtk_init(&argc, &argv);

  /* Create a window with window border width of 12 pixels and a
 title text. */
  window = g_object_new(GTK_TYPE_WINDOW,
"border-width", 12,
"title", "Hello GTK+",
NULL);

  /* Create the label widget. */
  label = g_object_new(GTK_TYPE_LABEL,
"label", "Hello World!",
NULL);

  /* Pack the label into the window layout. */
  gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(label));

  gtk_window_set_icon_from_file(window,"icona.ico",NULL);

  /* Show all widgets that are contained by the window. */
  gtk_widget_show_all(GTK_WIDGET(window));

  /* Start the main event loop. */
  g_print("main: calling gtk_main\n");
  gtk_main();

  /* Display a message to the standard output and exit. */
  g_print("main: returned from gtk_main and exiting with success\n");

  /* The C standard defines this condition as EXIT_SUCCESS, and this
 symbolic macro is defined in stdlib.h (which GTK+ will pull in
 in-directly). There is also a counter-part for failures:
 EXIT_FAILURE. */
  return EXIT_SUCCESS;
}
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Download request signal in browser-eal

2008-07-03 Thread Mikko Mehtonen
Hello all,
 
I have an application which has an internal web browser. It is a WEB
Engine widget from browser-eal. In Chinook everything worked nicely, but
now when I updated to Diablo download request signals aren't working
anymore. I have connected it:
 
g_signal_connect(en_notify, G_WEBWIDGET_SIGNAL_DOWNLOAD_REQUEST,
 
G_CALLBACK(g_web_widget_signal_download_request), NULL);
 
But g_web_widget_signal_download_request function never gets called,
even if it should. Other signals are working properly. Does anyone have
any ideas or should I report bug somewhere?
 
-Mikko
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: AGPS performance

2008-07-03 Thread Frederic Crozat
On Thu, Jul 3, 2008 at 2:20 PM, Frederic Crozat <[EMAIL PROTECTED]> wrote:

> Since the reflash to official Diablo image + updated a-gps package,
> GPRS connection is never started and I have the feeling A-GPS is not
> working at all. And I have no clue where does regression come from.

I've just did more tests and it seems a reboot is required after first
enabling A-GPS and PacketData to get auto connection over GPRS and
ephemeris download working.

I've confirmed this on two different n810 running Diablo.

-- 
Frederic Crozat
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: AGPS performance

2008-07-03 Thread Frederic Crozat
Hi,

some quicks comment from an end-user perspective

On Thu, Jul 3, 2008 at 12:15 PM, Simon Pickering
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Just a quick question. Diablo has seen the introduction of working AGPS
> (yay!), but I've been wondering if we'd gain better performance by having a
> more accurate way of telling the SUPL server (which sends us the data we
> need about satellite positions, etc.) where we are?

When I tried A-GPS with pre-release Diablo packages, the accurary was
pretty good, when it was kicking GPRS connection to grab ephemeris
(cold fix time was about 30s to 1minutes). So, I'm not sure it is
worth going down to lower resolution than 300km.

Since the reflash to official Diablo image + updated a-gps package,
GPRS connection is never started and I have the feeling A-GPS is not
working at all. And I have no clue where does regression come from.

-- 
Frederic Crozat
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: extras-build diablo failed to compile Xournal

2008-07-03 Thread Eero Tamminen
Hi,

ext Aniello Del Sorbo wrote:
> Actually my package already depends (Build depends) on the -dev of
> libgnomecanvas, and it is installed (I noticed from the log), but
> still it can find libgnomecanvas.h
> 
> It should at least find this one... right ?

It may be installed to same path as some of the other stuff you're
missing and you were in your own environment just getting the correct
include path from some other component's pkgconfig call.


- Eero

> 
> --
> anidel
> 
> On Thu, Jul 3, 2008 at 1:19 PM, Eero Tamminen <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> ext Aniello Del Sorbo wrote:
>>> I have uploaded (thru the web interface) 3 packages of mine:
>>> xournal and its dependencies: libgnomecanvas and libgnomeprint.
>>>
>>> The two deps compiled just fine and they were automatically added to
>>> extras-devel.
>>>
>>> When it tries to build Xournal it fails.
 From the root log (armel.root.log.OK.txt ) I can see it correctly
>>> installs the two above packages
>>> and all of the dependencies.
>>> But when it tries to actually build the package I get this errors:
>>>
>>> main.c:7:21: gtk/gtk.h: No such file or directory
>>> main.c:8:43: libgnomecanvas/libgnomecanvas.h: No such file or directory
>>> main.c:10:21: libosso.h: No such file or directory
>>> main.c:14:32: hildon/hildon-note.h: No such file or directory
>> You need to build depend from the -dev packages for all of these.
>>
>>
>>> (and of course a bunch of other caused by these).
>>>
>>> How can it not even find libosso.h, for example ?
>>>
>>> Of course it compiles just fine in my scratchbox environment.
>>>
>>> Am I doing something wrong or not doing something I should, instead, do ?
>>
>>- Eero
>>
> 
> 
> 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: extras-build diablo failed to compile Xournal

2008-07-03 Thread Aniello Del Sorbo
Just to let you guys know.
This is the subject of the e-mail I've just received in my "maemo stuff" folder:

"[diablo]: xournal 0.4.2.1-1diablo1 OK".

no more to say. :)

--
anidel
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: extras-build diablo failed to compile Xournal

2008-07-03 Thread Aniello Del Sorbo
On Thu, Jul 3, 2008 at 1:23 PM, Tim Teulings <[EMAIL PROTECTED]> wrote:
> Hello!
>
>> Of course it compiles just fine in my scratchbox environment.
>
> The autobuilder installs only the packages you ecplicitely name as
> build-depends. Your envrionment has all packages available from the start.
>

That's the info that I was missing (and I was not able to notice from the log).

>> Am I doing something wrong or not doing something I should, instead, do ?
>
> You are missing build-depends!

I do have it, but it's incomplete.

Even tho, I had the libgnomecanvasblabla-dev dependency listed and
still it could find it.
Well, I'll add all the missing ones and see what happens.

Thank you all, really.

-- 
anidel
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: extras-build diablo failed to compile Xournal

2008-07-03 Thread Tim Teulings
Hello!

> But when it tries to actually build the package I get this errors:
> 
> main.c:7:21: gtk/gtk.h: No such file or directory
> main.c:8:43: libgnomecanvas/libgnomecanvas.h: No such file or directory
> main.c:10:21: libosso.h: No such file or directory
> main.c:14:32: hildon/hildon-note.h: No such file or directory

You need to add additional build-depends for your packages for
libgtk2.0-dev
and likely other packages (note, that the package configure script
does not check for the availability of gtk, otherwiese the problem
would have been more obvious). You can see fromt he root log that the
packgaes
is not yet installed (only the packages containing the libraries but not
the package containing the development files).
 
> (and of course a bunch of other caused by these).
> 
> How can it not even find libosso.h, for example ?

Find the packages containing libosso.h with dpkg -S (use full path),
and add this packgae to your build-depends, too.
 
> Of course it compiles just fine in my scratchbox environment.

The autobuilder installs only the packages you ecplicitely name as
build-depends. Your envrionment has all packages available from the start.
 
> Am I doing something wrong or not doing something I should, instead, do ?

You are missing build-depends!

-- 
Gruß...
Tim

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: extras-build diablo failed to compile Xournal

2008-07-03 Thread Aniello Del Sorbo
On Thu, Jul 3, 2008 at 1:16 PM, Andrew Flegg <[EMAIL PROTECTED]> wrote:
> On Thu, Jul 3, 2008 at 12:11 PM, Aniello Del Sorbo <[EMAIL PROTECTED]> wrote:
>>
> [snip]
>> But when it tries to actually build the package I get this errors:
>>
>> main.c:7:21: gtk/gtk.h: No such file or directory
>> main.c:8:43: libgnomecanvas/libgnomecanvas.h: No such file or directory
>> main.c:10:21: libosso.h: No such file or directory
>> main.c:14:32: hildon/hildon-note.h: No such file or directory
>
> This sounds like a Build-Depends issue. The auto-builder has fewer
> packages installed by default than the full SDK, meaning that
> Build-Depends has to be correct.
>
> dpkg-depcheck can be helpful here: this is what the current svn
> version of mud uses to auto-detected build dependencies and update
> Build-Depends automaticallly. If you're not using mud to generate your
> package from upstream source, there are more hints on using
> dpkg-depcheck here:
>
>http://wiki.maemo.org/Uploading_to_extras#Preparing_a_source_package
>
> Hope that helps,
>
> Andrew
>

While waiting for an answer I was thinking more about the possible
cause of those errors,
and this is what I was checking right now.
Thanks, I'll look further into this.

-- 
anidel
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: extras-build diablo failed to compile Xournal

2008-07-03 Thread Andrew Flegg
On Thu, Jul 3, 2008 at 12:11 PM, Aniello Del Sorbo <[EMAIL PROTECTED]> wrote:
>
[snip]
> But when it tries to actually build the package I get this errors:
>
> main.c:7:21: gtk/gtk.h: No such file or directory
> main.c:8:43: libgnomecanvas/libgnomecanvas.h: No such file or directory
> main.c:10:21: libosso.h: No such file or directory
> main.c:14:32: hildon/hildon-note.h: No such file or directory

This sounds like a Build-Depends issue. The auto-builder has fewer
packages installed by default than the full SDK, meaning that
Build-Depends has to be correct.

dpkg-depcheck can be helpful here: this is what the current svn
version of mud uses to auto-detected build dependencies and update
Build-Depends automaticallly. If you're not using mud to generate your
package from upstream source, there are more hints on using
dpkg-depcheck here:

http://wiki.maemo.org/Uploading_to_extras#Preparing_a_source_package

Hope that helps,

Andrew

-- 
Andrew Flegg -- mailto:[EMAIL PROTECTED] | http://www.bleb.org/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


extras-build diablo failed to compile Xournal

2008-07-03 Thread Aniello Del Sorbo
Hi,

I have uploaded (thru the web interface) 3 packages of mine:
xournal and its dependencies: libgnomecanvas and libgnomeprint.

The two deps compiled just fine and they were automatically added to
extras-devel.

When it tries to build Xournal it fails.
>From the root log (armel.root.log.OK.txt ) I can see it correctly
installs the two above packages
and all of the dependencies.
But when it tries to actually build the package I get this errors:

main.c:7:21: gtk/gtk.h: No such file or directory
main.c:8:43: libgnomecanvas/libgnomecanvas.h: No such file or directory
main.c:10:21: libosso.h: No such file or directory
main.c:14:32: hildon/hildon-note.h: No such file or directory

(and of course a bunch of other caused by these).

How can it not even find libosso.h, for example ?

Of course it compiles just fine in my scratchbox environment.

Am I doing something wrong or not doing something I should, instead, do ?

Thanks!

-- 
anidel
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


AGPS performance

2008-07-03 Thread Simon Pickering
Hi all,

Just a quick question. Diablo has seen the introduction of working AGPS
(yay!), but I've been wondering if we'd gain better performance by having a
more accurate way of telling the SUPL server (which sends us the data we
need about satellite positions, etc.) where we are?

The tail-end of https://bugs.maemo.org/show_bug.cgi?id=2878 has some
comments on this (and Quim told me to make an enhancement bug, but I'm not
yet sure whether this will enhance anything, hence the email). Does it make
any difference if we have something more accurate than the ~300km radius
Marko is talking about?

If it does make some (minor?) difference then it would be worth having an
API to be able to access the SUPL service so that it could be integrated
with maemo-mapper (which has much higher magnification on the map and
therefore would give more precise locations than the ~50mile square pixels
in agps-ui) and/or integrate it with GeoClue to use other backends to
provide an initial location.

I don't know enough about this stuff. Does anyone know if:
a) the SUPL server calculates the ephemeris/etc. data for the exact position
that is sent to it, or does it only calculate for some specific sized grid,
then returns the nearest set of data? 
b) The area over which the ephemerides/etc. are actually valid (is it really
a ~300km radius or is this just "good enough" for most cases)?

Thanks,


Simon


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: More Autobuilder fun!

2008-07-03 Thread Ed Bartosh
On Wed, 2008-07-02 at 16:27 -0600, ext Charles Werbick wrote:
> Hello All,
> 
> Sorry to be a pest. But I got all the deps squared away, uploaded
> Roadmap and now ARM is building fine, but i386 is giving me linker
> errors-->
> 
> `.text._ZN3agg18rasterizer_sl_clipINS_12ras_conv_intEE7line_toINS_19rasterizer_cells_aaINS_7cell_aaEvRT_ii'
> referenced in section `.rodata' of
> //usr/lib/libaggfontfreetype.a(libaggfontfreetype_la-agg_font_freetype.o):
> defined in discarded section
> `.text._ZN3agg18rasterizer_sl_clipINS_12ras_conv_intEE7line_toINS_19rasterizer_cells_aaINS_7cell_aaEvRT_ii[void
> agg::rasterizer_sl_clip::line_to
> >(agg::rasterizer_cells_aa&, int, int)]' of
> //usr/lib/libaggfontfreetype.a(libaggfontfreetype_la-agg_font_freetype.o)
> 
> A google search on this one wasn't very helpful.
> 1. Why would it succeed on arm-eabi but fail on x386?
> 2. What can I do to fix this?
> 
> Ideas anyone?
> 
This is not autobuilder issue. At least I reproduced it in my local
environment.

My first guess after looking at the buildlog is that
libaggfontfreetype.a library(libagg-dev package) might be the reason for
this failure.

Regards,
---
Ed
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers