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

Gregory Schlomoff gregory.schlomoff at gmail.com
Tue Sep 7 04:41:29 BST 2010


Thanks, things are much clearer now.

I was wrongly assuming that one couldn't run a KDE application without the
whole KDE desktop environment running, thus the supposed need to port KDE
libraries to remove dependencies on KDE.

So I'm going to follow the path Kevin suggested, and ship my app with the
needed KDE libraries, as I'm doing with the Qt libraries, thus removing the
need to fork / port anything.

Thanks again for taking the time to help me understanding this.

Cheers,

Greg


2010/9/6 Kevin Krammer <kevin.krammer at gmx.at>

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