Re: Fwd: akonadi 4 & 5 not coinstallable !

Daniel Vrátil <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Organization KDE
Message-ID <10292915.QxgY4ejpJv@odin>
On Thursday, November 26, 2015 11:10:12 PM CET René J.V. Bertin wrote:
> On Thursday November 26 2015 22:07:50 Daniel Vrátil wrote:
> > On Thursday, November 26, 2015 8:16:45 PM CET René J.V. Bertin wrote:
> > 
> > Yes, they are not (on purpose).
> 
> Dang :)
> 
> > The major conflict is absolute incompatibility in the protocol. There is
> > no
> > way KDE4 clients can talk to Akonadi "5" server and vice versa. There was
> > also a major change in the DBus interface and some small changes in the
> > database schema.
> 
> Wouldn't that have justified changing names all over, so that compatibility
> questions wouldn't have come up (or less likely so)?

Not really. We just percieve it as an update. You don't have kate5.2, kate5.3 
etc. just so that you can coinstall two updates...

> > If a distribution is shipping KDE PIM >= 15.08 (i.e. KF5-based PIM), and
> > only needs some of the "other" libraries from kdepimlibs4 (like KAbc,
> > KMime, KCalCore, .....), it is possible to just patch the Akonadi client
> > libraries out from kdpeimlibs4. If the Akonadi client libraries are
> > required, then it is still possible to only compile the shared library
> > from "Akonadi 4" (which is co-installable with the shared library from
> > "Akonadi 5") and omit all the non- coinstallable binaries.
> 
> To be very honest, I was planning to move KDE PIM over last. It's intricate
> (and frankly, fragile) enough to prefer not to meddle with it. But things
> like Digikam and other kdepimlibs(4) dependents I might have were likely to
> migrate much sooner ... apparently that's going to be an issue :-/

Does Digikam actually need Akonadi? If it only needs some of the kdepimlibs, 
that can be worked around (by either patching Akonadi from kdepimlibs, or 
patching Akonadi server from akonadi so that only the shared library is 
compiled).

> > No idea how this works on OS X. As long as you are able to separate DBus
> > sessions, $XDG_HOME_CONFIG and $XDG_HOME_DATA for each instance, then you
> > can theoretically run "Akonadi 4" and "Akonadi 5" at the same time.
> 
> That's not the goal. As long as alternating different versions doesn't mess
> up the database I could conceive testing a v5 set-up, but my main concern
> for now is to be able to build things (while preparing MacPorts packaging
> stuff).

In pure theory you can alternate "Akonadi 4" and "Akonadi 5" on top of the 
same database. In practice you don't want to do it.

> > The performance gain and memory usage optimizations alone were absolutely
> > worth it, not mentioning the improved maintainability and robustness of
> > the
> > entire thing. To me this is a price worth paying.....
> 
> That's good news, but again, I don't really understand the interest of
> having kept the same names. That cannot have made things easier for you
> during development either!

Even if we make it co-installable, people will get the impression that they 
can run both at the same time - which they can't - and would mess up they data 
and spam us with bug reports about it. "Akonadi 5" is a natural upgrade of 
"Akonadi 4", there should not be a need to have both (yes, we unfortunately 
underestimated the amount of 3rd party apps directly or indirectly depending 
on Akonadi).

I switched to v5 immediatelly after we did the basic v4->v5 port and used it 
since, I never ran v4 with v5 in parallel as "development" version.

Dan

> 
> R.


-- 
Daniel Vrátil
www.dvratil.cz | [email protected]
IRC: dvratil on Freenode (#kde, #kontact, #akonadi, #fedora-kde)

_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCAAGBQJWWAe9AAoJEE1pVXrssTaDXfgP/0ZOYAMfsUHi3WDx1hTzROvi
/qKbs4UGWmwMYU7E1xGqBVaSGWt3w1OpSgQ+YALwPlwVOMjQ9mjtkQw3UVhD1jr5
p9HdCu1pstkW5vC10JjQw4tuEATb9OIWsaNtGPYswMafxVTIG+o5rN3oeFhhC/Jn
769mWqYWcWNajwQi7qXhDPvLHZ3MQNCHquQG36U/N7VfAAoPhRhCUemaewqdBIEr
6YJSLPfjbUsRD3z8a2lokpdMSN8TYnRTaAA9n/t+r/qZaY+otWsKEM/EHhKLwFgM
PMTXsI7XQ/Y5jm1z0suBBcMbniTR+dO1WNrFuHtv83K3+kcQB3kEvFtwcuTxtRLu
L7lC6TjNJ+ekm76gAtSJ1CtQZrEoLTHZ6sYmycpyiPBlpRjMzhbLTfUhD1EFKOsy
VBAWPIqyzsL8h9oEarRTTfohNIrfH3jo8oDczaxcHvyClj7blMnJD0WYwyItfIDN
IMV5j4rCWmEp/wUGS+PCTe599CgiKRitarRp19FmaGwYWS45el9NckQ0lUjtBvKa
I/+3hXC0BEkCLD58lQeVM9rJEppszB6IHXZvqTGzrXsoyq9ukSJDXhL6x8NRgvpC
8zOVqJrC+2cZzpnmn7V+kQ70dcul+i/y/ByipQ5yNcA4IwGUTr/RJ+1wCjkosW35
C6AltOVrXb4acSdhleVP
=rPJh
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.