Review Request: Extends XdgDataDirs on Windows to search in paths registered by other installers

Kevin Krammer kevin.krammer at gmx.at
Thu Aug 19 11:51:56 CEST 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/5068/
-----------------------------------------------------------

Review request for kde-windows and KDE PIM.


Summary
-------

The basic idea is that on Windows it is likely to have different installation prefixes for each individually installed package, so make it possible for such installers to register their base path with Akonadi using the Windows Registry.

An app installer which includes Akonadi resources would create an entry (name being the app's name) on key HKEY_LOCAL_MACHINE\SOFTWARE\Akonadi\Akonadi\AgentProviders, using its installation prefix as the value.
E.g. installing application FooBar into c:\program files\foobar would result in a key/value pair like this
"FooBar" "c:\program files\foobar"

Next time Akonadi is looking for something through XdgDataDirs it will also look into c:\program files\foobar\share\akonadi\agents and c:\program files\foobar\bin


Diffs
-----

  /trunk/kdesupport/akonadi/libs/xdgbasedirs.cpp 1165400 

Diff: http://reviewboard.kde.org/r/5068/diff


Testing
-------


Thanks,

Kevin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-windows/attachments/20100819/8be87cc7/attachment.htm 


More information about the Kde-windows mailing list