[Kde-pim] Using Akonadi on other platforms than KDE

Kevin Krammer kevin.krammer at gmx.at
Mon Sep 6 16:23:41 BST 2010


On Monday, 2010-09-06, Gregory Schlomoff wrote:
> > It supports other databases including sqlite and postgres - mysql is the
> > most
> > widely used one.
> 
> Does it really supports sqlite? From what I've read, it seemed more like a
> goal than an actual feature. But that would be very good news, I'm a little
> bit concerned by having to run a whole MySQL server for my app.

I think that's the default for mobile, but I haven't had any problems with 
mysql yet, not even on Windows.

> > > or even on the fact that an instance of Akonadi server is running on
> > > the machine.
> > 
> > Running Akonadi server on a remote machine has been considered (for cases
> > like
> > thin clients) but is not currently a priority for the project, so to make
> > this
> > happen you would need to tweak connection settings (Akonadi's mysql is
> > currently setup to connect using only a local socket) and make sure the
> > security settings meet the needs of a remote client(s).
> 
> I haven't been clear here. What I meant was not "Akonadi may be running on
> a remote machine" but instead "We can't assume Akonadi server is available
> on the machine, like it is on KDE. We need to ship and manage our instance
> of Akonadi server so that our app works out of the box on Windows, Mac,
> and Linux"

That shouldn't be a problem

One in-house app I am working on is using Akonadi and KDE libraries based 
resources and client.

My Windows installer is currently not using any profiles yet, I picked all 
required dependencies manually. The installer size, containing MySQL, Qt, 
Akonadi, KDE libraries, two resources and the application, is currently only 
36MB, with everything other than MySQL built with full debug symbols.

Since the application is a KDE application, it takes care of starting the D-
Bus session bus, the Akonadi client libraries take care of starting Akonadi, 
which takes care of starting the configured resources.

So the only thing I had to add to the application was support for shutting 
Akonadi down on application exit (which is a one-liner).

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20100906/1854655f/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list