[Kde-pim] Re: Building Akonadi resources outside kdepim-runtime no longer works

Kevin Krammer kevin.krammer at gmx.at
Tue Dec 28 17:04:28 GMT 2010


Hi David,

On Tuesday, 2010-12-28, David Jarvie wrote:
> Before kdepim and kdepim-runtime were split into separate git modules, it
> was possible to build KAlarm with its own Akonadi resource, whose code is
> in the kalarm directory. This no longer works, since there is no fixed
> path relationship between the kdepim and kdepim-runtime source
> directories.

Right, kdepim-runtime was meant to be stand alone even then but only the 
ability to build it without the rest of kdepim was actually checked.

> I'd prefer to keep the code in kdepim/kalarm at least until it is all
> tested much better, but kdepim-runtime doesn't install headers, so it
> isn't obviously feasible. Is there any way to allow KAlarm resources to be
> built other than to move the code into kdepim-runtime? If this IS
> necessary, how can code be moved between the two git modules?
> 
> Is there a long term aim to allow custom resources to be developed outside
> kdepim-runtime? The same problem as described above could easily arise for
> other applications in the future which are not part of kdepim, but which
> need their own resource types, possibly modifications of the existing
> kdepim-runtime resources.

Resources can be done without any dependency on kdepim or kdepim-runtime, e.g. 
resources in extragear/playground

The problem here is that the kalarm resource is using classes of the 
singlefile/ical resources which were not (yet?) intended to be public API, 
just convenience for sharing code between kdepim resources.

Some of this code is not even "good" as in could probably be done a lot better 
but nobody had had time to look into that yet.

I don't have a recommendation for or against copying the necessary classes to 
KAlarm vs. moving your resource into kdepim-runtime (or a branch of it).
No idea whether that (move) is possible with git.

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/20101228/648af2fb/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