It’s not a release, but it’s available for your Nokia 770

Camel with the mmap patch and the latest tinymail on your Nokia 770.

Note to Ross: there’s also a version of the patch (in the tarball) that doesn’t yet include the mmap patch and that will update the Camel of your eds-dbus. What do I do to get this committed in your Subversion?

If you want to build it yourself:

~$ cd /scratchbox/users/$username/
$ svn co http://svn.o-hand.com/repos/eds-dbus/trunk eds-dbus-mmap
$ svn co https://svn.tinymail.org/svn/tinymail
$ cd eds-dbus-mmap; patch -p0 < eds-dbus-mmap-camel-update.diff
$ cp e-data-server-utils.c e-data-server-utils.h libedataserver/
$ /scratchbox/login
[sbox-SDK_ARMEL: ~] > cd eds-dbus-mmap
[sbox-SDK_ARMEL: ~] > ./autogen.sh --prefix=/opt/eds --with-soup=no \
	--enable-camel=yes --with-dbus=yes
[sbox-SDK_ARMEL: ~] > make && make install
[sbox-SDK_ARMEL: ~] > cd .. ; cd tinymail/trunk
[sbox-SDK_ARMEL: ~] > export PKG_CONFIG_PATH=/opt/eds/lib
[sbox-SDK_ARMEL: ~] > ./autogen.sh --prefix=/opt/tinymail --enable-gnome=no \
	--with-platform=maemo --with-html-component=none
[sbox-SDK_ARMEL: ~] > make && make install
[sbox-SDK_ARMEL: ~] > cd /opt
[sbox-SDK_ARMEL: ~] > tar zcvf tinymail-maemo.tar.gz eds/ tinymail/

On your Nokia 770 device:

- xterm
- sudo gainroot
- cd /opt
- tar zxvf /media/mmc1/tinymail-maemo.tar.gz
- exit
- Run your account-create script
- /opt/tinymail/bin/tinymail

Update: sadly there seems to be something unstable about using mmap() on the Nokia 770 itself (at this moment, the kernel often kills the process). In stead of the eds-dbus-mmap-camel-update.diff you can also use the eds-dbus-fread-camel-update.diff. Tinymail will then not use mmap(). In scratchbox, mmap(), however, does work correctly. I will check with Nokia what this mmap() issue is about. I’ve put an eds that doesn’t use mmap() online here. On your device untar it in /opt (overwriting the /opt/eds of tinymail-maemo.tar.gz).

This new eds is also (cause of other issues that I’ve found while I was developing the mmap() patch) improved a lot in terms of memory usage. Using this new eds, showing 14,500 headers is now possible on a Nokia 770 with tinymails demo-ui. With the mmap() patch working on the device, it will be possible to display much larger folders.

I might have put binaries online. But be advised to always build from source until I do a release. Whatever is in Subversion is always going to be much more stable than whatever alpha/beta or unofficial binary I make and put online.

Update: You can get a version of both in one tarball here.