Mailody meets Akonadi

A few days back Frode M. Døving decided that Mailody should start working in KDE4. We discussed the current problems and decided that it was best to stop our home brew backend based on sqlite3. The model/view/delegate/proxy had several problems so it could not show the messages. As I failed to fix it after a few days of hacking I gave up.

After the discussion and after talking to Till, we decided to go for Akonadi, It ships with a ready to use model and threading proxy, so that problem would be solved easily. And Akonadi is more or less ready to be used on a larger scale.

I started with making me a lot less popular with the packagers by copying akonadi and parts of libkdepim to mailody. We don’t wat to depend on kdepim (which won’t get released anyway), so that means we need a copy. I hope they find a way to ship Mailody ;-)

Frode started with integrating the Akonadi model within Mailody and the first steps are made, see the screenie. You can see the akonadi resources and see the messages stored in one of the resources. The mails are imported from a maildir, we need to write our own imaplib2akonadi interface later. Click for a better a view.

[img_assist|nid=185|title=Akonadi meets Mailody|desc=|link=node|align=center|width=400|height=300]

There is still a lot to do, but at least we started hacking again.

5 Comments

  1. wow, this sounds good :)
    so, maybe mailody will be ready for kde4 before kdepim ??
    (I recently decided not to go for kde4 until there is at least a decent imap-capable MUA available …)

  2. This is great news, Tom, and exactly what we hoped would happen when we started the Akonadi project 2 years ago. Rock on!

  3. The server does not have a kde dependency, but there is a kde-specific client side access library, libakonadi, which currently has some kdepim dependencies. Those will very probably be moved to kdepimlibs, to make the lives of those interfacing with akonadi from within KDE apps (such as mailody or the plasmoids) easier.

  4. I thought there will be no need for a KDE dependency when Akonadi is used? AfaikAkonadi was designed to be used by other projects as well. The concept pages even talk about the possible integration of Akonadi with Gnome’s Evolution – with that in mind it should be easy to develop Mailody without any KDEPIM dependency.

  5. But Akonadi is not yet finished, so it lives in kdepim for now, whenever it moves to kdepimlibs it will be as you describe.