(→SASL support) |
(→SASL support) |
||
| Line 59: | Line 59: | ||
*[http://kb.mozillazine.org/Profile_folder Mozilla profile directories] | *[http://kb.mozillazine.org/Profile_folder Mozilla profile directories] | ||
===SASL support=== | ===SASL support=== | ||
| + | {{Note|SASL should be available '''before''' building kdepimlibs. When you build kdepimlibs, it should display message like "SASL Found" during configure stage.}} | ||
| + | ====Build SASL by hand==== | ||
[http://asg.web.cmu.edu/sasl/ Cyrus SASL] is used on Windows for SSL/TLS, so we use the same source code plus wrapper functions that are a part of the Cyrus distribution (the result is a native Windows library, do not confuse with Cygwin!). | [http://asg.web.cmu.edu/sasl/ Cyrus SASL] is used on Windows for SSL/TLS, so we use the same source code plus wrapper functions that are a part of the Cyrus distribution (the result is a native Windows library, do not confuse with Cygwin!). | ||
| Line 72: | Line 74: | ||
*[http://negotiateauth.mozdev.org/ Negotiateauth] Mozilla plugin and [http://sourceforge.net/projects/modauthkerb/ Mod_auth_kerb] Apache module for Kerberos support. | *[http://negotiateauth.mozdev.org/ Negotiateauth] Mozilla plugin and [http://sourceforge.net/projects/modauthkerb/ Mod_auth_kerb] Apache module for Kerberos support. | ||
*[http://mailman.mit.edu/pipermail/kerberos/2004-April/005152.html this] [http://mailman.mit.edu/pipermail/kerberos/2004-April/005155.html thread] | *[http://mailman.mit.edu/pipermail/kerberos/2004-April/005152.html this] [http://mailman.mit.edu/pipermail/kerberos/2004-April/005155.html thread] | ||
| + | <nowiki>Insert non-formatted text here</nowiki> | ||
| + | |||
| + | ====Download SASL for mingw and msvc==== | ||
| + | Download SASL library and plugins for mingw and msvc. Here's link, this time uploaded to the wiki (TODO move it to the public): https://kowi-intern.intevation.de/KoWi-P-Status/ChangesSinceLastDrop?action=AttachFile&do=get&target=cyrus-sasl2.zip. The archive provides directory structure, so you'll know where to unpack these files. | ||
== Notes == | == Notes == | ||
This page covers topics related to the MS Windows port of the KDE PIM suite.
Contents |
emerge kdepimlibs- that will also build qt, kdesupport (part of it), soprano, strigi, kdelibs, kdebase
emerge libassuan- this is an optional dependency of kdepim
emerge kdepim
It is to be expected, that the maildir implementation in kmail does not work on Windows' file system, since it uses the ":" (forbidden on windows) character in file names. It also relies (as does maildir in general) on the atomicity of making a hardlink and then unlinking the original, to implement an atomic move. The implementation used by akonadi (kdepim/maildir) relies on QFile in that regard, but it's unclear if rename is atomic on all platforms.
| Note |
|---|
| jstaniek 22:01, 14 January 2008 (CET): TortoiseSVN is GPLed SVN client which is nicely integrated with Windows Explorer. Perhaps we can use its source code as a reference... |
Introduction: We can detect whether KMail is the default e-mail client. If set as default, KMail should act as a default mailer, and thus be invoked automatically for actions like RMB "Send To -> E-mail Recipient". This shall be also reused by others for KOrganizer and Konqueror. The solution is relatively simple modifications to the Windows Registry. See Mozilla's solution.
First, we can use HKLM node for system-global settings or HKCU node for current-user-only settings. If the attempt to set the value in HKLM fails, usually because of unsufficient permissions, HKCU should be used. As expected, HKCU has overrides HKLM settings. See KB297878. Below we'll use HKCU.
From the KB: After updating the registry keys, the application broadcasts the WM_SETTINGCHANGE message with wParam = 0 and lParam pointing to the null-terminated string "Software\Clients\StartMenuInternet" to notify the operating system that the default client has changed.
Support drag&drop from/to composer and from received mails into the file system (Windows Explorer and the Desktop)
Support pasting files copied (in Windows Explorer or the Desktop) as attachments.
| Note |
|---|
| SASL should be available before building kdepimlibs. When you build kdepimlibs, it should display message like "SASL Found" during configure stage. |
Cyrus SASL is used on Windows for SSL/TLS, so we use the same source code plus wrapper functions that are a part of the Cyrus distribution (the result is a native Windows library, do not confuse with Cygwin!).
Two Mozilla's patches have to be applied for msvc.
Cyrus SASL functionality is based on plugins. For KDEpimlibs we have set the paths for plugins and configuration to KDEROOT/lib/sasl2/ and KDEROOT/share/config/sasl2/, respectively. The configuration capatibilities are apparently not used for now. (jstaniek February 3 2008)
The following parts of KDEpimlibs depend on sasl2: kldap, kioslave/{sieve|imap4|smtp|pop3}.
Limitations: Currently all plugins but KerberosV4 (kerberos4.c) and PASSDSS (passdss.c) can be built on Windows. (more info)
See also:
Insert non-formatted text here
Download SASL library and plugins for mingw and msvc. Here's link, this time uploaded to the wiki (TODO move it to the public): https://kowi-intern.intevation.de/KoWi-P-Status/ChangesSinceLastDrop?action=AttachFile&do=get&target=cyrus-sasl2.zip. The archive provides directory structure, so you'll know where to unpack these files.