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

2006-07-17 Thread Eero Tamminen
Hi, (((char *)address + 3) ~3) I simply use this on each char* pointer? That's it? There shouldn't be any need for aligning addresses manually if the code is done properly using correct types, sizeof() offsetof() and not trying to cast pointers to something that needs larger alignment.

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
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

[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 start

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 pointers.

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 align

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: [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 the

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 that

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 accesses

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

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

[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/

[maemo-developers] XML Question

2006-07-17 Thread Dionisis Petromanolakis
hi all, i need a tool, written in c,to createanxmldocument automatically with ccommands. Does anyone know if there isone available in maemo ori should create my own? regards dionysis ___ maemo-developers mailing list maemo-developers@maemo.org

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 want

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

[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

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

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

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 free non-free

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] 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

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 on