On Friday 21 June 2013 12:06:52 Thomas Lübking wrote: > On Freitag, 21. Juni 2013 11:10:49 CEST, Pali Rohár wrote: > > With isValid() I mean if all required > > programs/libraries/other dependences for plugin are > > installed. > > Package resolution is a distro job (in the linux/bsd world) > ie. a *plugin* that requires akonadi should simply not be > installed when akonadi is not. Overmore, if a plugin links an > unresolvable library, it will not reply "false" but simply > crash trojita on load (resp. the pluginloader is smart enough > to notice that this plugin has unresolved symbols and > dismisses it) > > For the windows world (ie. unreasonable distribution system) > only unresolvable runtime dependencies (subprocesses or > dlopen libs) could be catched this way. > > No idea whether that's reasonable - personally I don't care > about Trojitá on windows the least ;-P > > Cheers, > Thomas
With akonadi I mean: There are akonadi client libraries and akonadi server (process). You need to have akonadi client libraries installed with KDE, but if you are not using akonadi, you can remove or disable akonadi server. So if addressbook plugin using client/server model (not only akonadi!), it can check if server is installed and enabled in isValid() method. -- Pali Rohár [email protected]
signature.asc
Description: This is a digitally signed message part.
