Bug 197458

Summary: GPGME++ doesn't work with GPGME 1.2.0
Product: [Applications] kdepimlibs Reporter: Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA>
Component: gpgme++Assignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 4.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: kdepimlibs-4.2.4-gpgme-1.2.0.patch

Description Arfrever Frehtes Taifersar Arahesis 2009-06-22 06:37:01 UTC
Version:            (using KDE 4.2.4)
OS:                Linux
Installed from:    Gentoo Packages

GPGME++ doesn't work with GPGME 1.2.0. This problem can be reproduced e.g. by not working signing of e-mails in KMail.

GPGME++ should call gpgme_check_version() before using gpgme_new().

The NEWS file from GPGME 1.2.0 contains:
 * gpgme_new will fail if gpgme_check_version was not called, or
   a selftest failed (for example, if -mms-bitfields was not
   used on MingW32 targets).
Comment 1 Arfrever Frehtes Taifersar Arahesis 2009-06-22 06:38:41 UTC
Created attachment 34725 [details]
kdepimlibs-4.2.4-gpgme-1.2.0.patch

This patch fixes this bug for 4.2.4. It probably also works for trunk.
Comment 2 Thomas McGuire 2009-06-22 10:52:16 UTC
Known bug, see bug 195905, comment 7. I'll merge the patch there into all branches on Wednesday.

*** This bug has been marked as a duplicate of bug 195905 ***