Re: [maemo-developers] Compiling for ARM

2006-07-17 Thread philippe
> Have you installed the strachbox and the SDK? I have installed the SDK with the installer > have followed the instructions given in maemo.org to do it, you should > just change the profile to SDK_ARM, compile your program, and copy it to I try a very simple operation: sbox-config -st SDK_ARM

Re: [maemo-developers] A good debugger infrastructure

2006-07-17 Thread Frantisek Dufka
Philip Van Hoof wrote: But gdb on the device itself (in an xterm), however does work. Pity it's a little bit difficult because my ui's are always full screen. But I'll manage. You can install dropbear or openssh and debug when logged in over network (wi-fi,bluetooh PAN,usb). Frantisek _

Re: [maemo-developers] Compiling for ARM

2006-07-17 Thread Israel Herraiz
Have you installed the strachbox and the SDK? If you have done so, and have followed the instructions given in maemo.org to do it, you should just change the profile to SDK_ARM, compile your program, and copy it to the 770 (along with the needed libraries if there is any not included by default in

[maemo-developers] Compiling for ARM

2006-07-17 Thread Philippe Midol-Monnet
Hi I'm new on this list. I try to develop a little application for my Nokia. I can test it on my Debian box, and I want to compile a version for my tablet. I wan't to know if there is a quick (and may be dirty ;-) ) way to do this without creating a package: typing "make" and copying the res

Re: [maemo-developers] A good debugger infrastructure

2006-07-17 Thread Philip Van Hoof
On Mon, 2006-07-17 at 23:05 +0400, Mikhail Sobolev wrote: > On Mon, Jul 17, 2006 at 08:58:46PM +0200, Philip Van Hoof wrote: > > How can I thank you for letting me know there's a gdb package? > It's not me, it's Ed Bartosh :) Oh. Thanks Ed :) > > The mmap() summaries are now working with tinymail

Re: [maemo-developers] Re: [pygtk] Re: using __attribute__ ((visibility "hidden")))

2006-07-17 Thread Gustavo Sverzut Barbieri
On 7/17/06, Rafael Espíndola <[EMAIL PROTECTED]> wrote: > This is gccism. it needs to be abstracted otherwise we won't compile on > other platforms. > > glib may have a macro for that, can you check that out? glib uses these attributes internally, but it I couldn't find macro that can be used in

[maemo-developers] Re: The mmap stuff definitely needs more eyes!

2006-07-17 Thread Philip Van Hoof
Hi there, This one works on the Nokia 770 device! http://pvanhoof.be/files/camel_folder_summary_with_mmap_fixes11_data_alignment04.diff So my real target has finally been reached. Using this stuff, it should be possible to display huge folders using tinymail on a Nokia 770. With huge I mean: I

Re: [maemo-developers] A good debugger infrastructure

2006-07-17 Thread Mikhail Sobolev
On Mon, Jul 17, 2006 at 08:58:46PM +0200, Philip Van Hoof wrote: > How can I thank you for letting me know there's a gdb package? It's not me, it's Ed Bartosh :) > The mmap() summaries are now working with tinymail on the Nokia 770. I believe, there's an issue with mmap on jffs2. I'm not sure if

Re: [maemo-developers] A good debugger infrastructure

2006-07-17 Thread Philip Van Hoof
On Mon, 2006-07-17 at 22:37 +0400, Mikhail Sobolev wrote: > On Mon, Jul 17, 2006 at 08:16:21PM +0200, Philip Van Hoof wrote: > > > > I didn't try, no. > > > You should definitely try first :) > > > > > > gdbserver is included into gdb package. You can install it from > > > http://repository.maemo

[maemo-developers] Re: [pygtk] Re: using __attribute__ ((visibility "hidden")))

2006-07-17 Thread Rafael Espíndola
This is gccism. it needs to be abstracted otherwise we won't compile on other platforms. glib may have a macro for that, can you check that out? glib uses these attributes internally, but it I couldn't find macro that can be used in application code. The patch looks pretty good otherwise, can

Re: [maemo-developers] A good debugger infrastructure

2006-07-17 Thread Philip Van Hoof
On Mon, 2006-07-17 at 22:37 +0400, Mikhail Sobolev wrote: > On Mon, Jul 17, 2006 at 08:16:21PM +0200, Philip Van Hoof wrote: > > > > I didn't try, no. > > > You should definitely try first :) > > > > > > gdbserver is included into gdb package. You can install it from > > > http://repository.maem

Re: [maemo-developers] A good debugger infrastructure

2006-07-17 Thread Mikhail Sobolev
On Mon, Jul 17, 2006 at 08:16:21PM +0200, Philip Van Hoof wrote: > > > I didn't try, no. > > You should definitely try first :) > > > > gdbserver is included into gdb package. You can install it from > > http://repository.maemo.org/ repo: > > > > echo "deb http://repository.maemo.org/ mistral fr

Re: [maemo-developers] A good debugger infrastructure

2006-07-17 Thread Philip Van Hoof
On Mon, 2006-07-17 at 12:38 +0300, Ed Bartosh wrote: > > I didn't try, no. > You should definitely try first :) > > gdbserver is included into gdb package. You can install it from > http://repository.maemo.org/ repo: > > echo "deb http://repository.maemo.org/ mistral free non-free" > >> /etc/a

Re: [maemo-developers] Where to find Maemo rootstrap-files?

2006-07-17 Thread Clemens Eisserer
Hi, maybe here http://repository.maemo.org/stable/2.0/ ? Don't you think I search in the places mentioned in the tutorial ;) However this leads me to the conclusion that not many have even played a bit installing the maemo-2 sdk. lg Clemens regards On 7/17/06, Clemens Eisserer < [EMAIL P

[maemo-developers] Re: using __attribute__ ((visibility "hidden")))

2006-07-17 Thread Rafael Espíndola
An updated patch is attached. The results are without the patch atk.so: 616 relocations, 600 relative (97%), 252 PLT entries, 0 for local syms (0%), 0 users pango.so: 727 relocations, 710 relative (97%), 280 PLT entries, 0 for local syms (0%), 0 users pangocairo.so: 67 relocations, 59 relative (8

Re: [maemo-developers] XML Question

2006-07-17 Thread Karoliina Salminen
Hi, >> i need a tool, written in c, to create an xml document automatically >> with c commands. Does anyone know if there is one available in maemo or >> i should create my own? > > libxml is shipped with the product libxml is really good and pretty easy and straightforward to use and quite well

Re: [maemo-developers] XML Question

2006-07-17 Thread Kuisma Salonen
Hi, Dionisis Petromanolakis wrote: > hi all, > > i need a tool, written in c, to create an xml document automatically with c > commands. Does anyone know if there is one available in maemo or i should > create my own? libxml is shipped with the product, you probably want to use it unless you w

[maemo-developers] XML Question

2006-07-17 Thread Dionisis Petromanolakis
hi all,   i need a tool, written in c, to create an xml document automatically with c commands. Does anyone know if there is one available in maemo or i should create my own?   regards dionysis  ___ maemo-developers mailing list maemo-developers@mae

[maemo-developers] downloading hildon widget src code

2006-07-17 Thread shankar rajan
Hi, I wish to download complete hildon widget src code. I think the directories are : hello-world-app/ hildon-base-lib/ hildon-common-strings-l10n-2.0/ hildon-control-panel/ hildon-control-panel-l10n-2.0/ hildon-fm/ hildon-fm-l10n-2.0/ hildon-initscripts/ hildon-lgpl/ hildon-libs/ hild

Re: [maemo-developers] Missing library in the 2006 beta version?

2006-07-17 Thread Andrew Flegg
On 7/17/06, Antonio Gomes <[EMAIL PROTECTED]> wrote: So, I have packed these X dependencies mentioned above (libXt, libICE and libSM) into my .deb file , and they install fine if *and only if* they have not been installed before by another application or whatever. In the case when they are alrea

Re: [maemo-developers] Missing library in the 2006 beta version?

2006-07-17 Thread Antonio Gomes
So, I have packed these X dependencies mentioned above (libXt, libICE and libSM) into my .deb file , and they install fine if *and only if* they have not been installed before by another application or whatever. In the case when they are already installed my .deb installation hangs when it tries to

Re: [maemo-developers] Tinymail using mmap() gets killed by the kernel of the device

2006-07-17 Thread Eero Tamminen
Hi, On Mon, Jul 17, 2006 at 11:00:01AM +0200, Philip Van Hoof wrote: > > > I cannot change these "to, from nor subject" pointers. These are used > > > in thousands of lines of Evolution code that I don't want to change. > > > > There's no need to align access to chars. Is there something that ac

Re: [maemo-developers] A good debugger infrastructure

2006-07-17 Thread Ed Bartosh
On Mon, 2006-07-17 at 11:35 +0200, ext Philip Van Hoof wrote: > On Mon, 2006-07-17 at 12:29 +0300, Ed Bartosh wrote: > > On Sun, 2006-07-16 at 20:31 +0200, ext Philip Van Hoof wrote: > > > On Sun, 2006-07-16 at 21:45 +0400, Mikhail Sobolev wrote: > > > > On Sun, Jul 16, 2006 at 06:10:18PM +0200, Ph

Re: [maemo-developers] A good debugger infrastructure

2006-07-17 Thread Philip Van Hoof
On Mon, 2006-07-17 at 12:29 +0300, Ed Bartosh wrote: > On Sun, 2006-07-16 at 20:31 +0200, ext Philip Van Hoof wrote: > > On Sun, 2006-07-16 at 21:45 +0400, Mikhail Sobolev wrote: > > > On Sun, Jul 16, 2006 at 06:10:18PM +0200, Philip Van Hoof wrote: > > > > Nevertheless I'd like to re-empathize tha

Re: [maemo-developers] A good debugger infrastructure

2006-07-17 Thread Ed Bartosh
On Sun, 2006-07-16 at 20:31 +0200, ext Philip Van Hoof wrote: > On Sun, 2006-07-16 at 21:45 +0400, Mikhail Sobolev wrote: > > On Sun, Jul 16, 2006 at 06:10:18PM +0200, Philip Van Hoof wrote: > > > Nevertheless I'd like to re-empathize that software developers working > > > on embedded devices like

Re: [maemo-developers] Application catalog from repositories

2006-07-17 Thread Santtu Lakkala
Tommi Komulainen wrote: > I hacked together a small script which reads the Packages.gz files from > a configured set of repositories and generates a catalog page showing > all packages, grouped by sections. Maybe someone finds this useful. Here's a little patch (sorry for the low quality, don't re

Re: [maemo-developers] Tinymail using mmap() gets killed by the kernel of the device

2006-07-17 Thread Philip Van Hoof
On Mon, 2006-07-17 at 11:49 +0300, Eero Tamminen wrote: > On Mon, Jul 17, 2006 at 10:12:21AM +0200, Philip Van Hoof wrote: > > I cannot change these "to, from nor subject" pointers. These are used > > in thousands of lines of Evolution code that I don't want to change. > > There's no need to al

Re: [maemo-developers] Tinymail using mmap() gets killed by the kernel of the device

2006-07-17 Thread Eero Tamminen
Hi, On Mon, Jul 17, 2006 at 10:12:21AM +0200, Philip Van Hoof wrote: > > If the point of this is to align the "string" member as a pointer > > would, 4 is not correct alignment for 64-bit architectures. > > Regretfully, I can't change the structs. They are, in fact, put in the > structs as char p

[maemo-developers] Application catalog from repositories

2006-07-17 Thread Tommi Komulainen
Hi, I hacked together a small script which reads the Packages.gz files from a configured set of repositories and generates a catalog page showing all packages, grouped by sections. Maybe someone finds this useful. Example page: http://www.iki.fi/tkomulai/maemo/mistral-application-catalog-2006-07-

[maemo-developers] Where to find Maemo rootstrap-files?

2006-07-17 Thread Clemens Eisserer
Hi there! I would like to upgrade my dev-system to maemo 2.0 to be able to develop software for the IT2006. I read the "maemo 2.0 tutorial" and was told to download the file "Maemo_Dev_Platform_RS_v2.0_i386.tgz" - however I was not able to find it. I would be really happy about hints where to st

Re: [maemo-developers] Tinymail using mmap() gets killed by the kernel of the device

2006-07-17 Thread Philip Van Hoof
On Mon, 2006-07-17 at 09:55 +0300, Eero Tamminen wrote: > Hi, > > > Otherwise one just needs to be careful. > As to this: > struct MyHeaderSummary > { > int16 foo; > char bar; > char string[MAXLEN] __attribute__ ((aligned (4))); > }; > > If the point of this is to align t

Re: [maemo-developers] initfs hacking questions

2006-07-17 Thread Frantisek Dufka
Eero Tamminen wrote: IMHO best would be to re-create the initfs partition image and flash it. Then there's no need for JFFS2 garbage collecting. :-) I would like to store last chosed rootfs in some config file there so it would be nice to find out if it works or not. Frantisek

Re: [maemo-developers] initfs hacking questions

2006-07-17 Thread Eero Tamminen
Hi, > BTW when editing /linuxrc multiple times it happened to me that I still > had 124 blocks free and could remove files but creating/modifying file > produced 'no space on device'. Looks like some trouble with jffs2 > garbage collecting. This is strange. I wonder whether reboot may fix > this?

Re: [maemo-developers] initfs hacking questions

2006-07-17 Thread Frantisek Dufka
Devesh Kothari wrote: Can I distribute hacked initfs? If not, is binary patch OK? I am not a legal expert, but please read the EULA (End user license agreement). I would be pretty surprise if they would let you do so :) Devesh I am not a legal expert too so reading EULA is probably waste o

Re: [maemo-developers] initfs hacking questions

2006-07-17 Thread Devesh Kothari
ext Frantisek Dufka wrote: > Hello, > > recently I tried to modify initfs to allow dual booting and got some > questions: > > Is there a way to get code of pressed HW key in /linuxrc script? There > is command that waits for keypress. There is also something is sysfs > for detecting battery door