Bug 397494

Summary: Make gpgmepp available on MSVC build too
Product: [Developer tools] Craft Reporter: NSLW <lukasz.wojnilowicz>
Component: BlueprintsAssignee: Hannah von Reth <vonreth>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: kde-windows
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description NSLW 2018-08-15 18:40:12 UTC
Why is libgpgmepp.dll.a not available under MSVC?

Installing script under "libs/_msvc/gpgme/gpgme.py" adds following line:

self.addCachedAutotoolsBuild("libs/_autotools/gpgme")

and during autotools build libgpgmepp.dll.a is produced.


If it's not a simple error then why not use patches from LibreOffice

https://gerrit.libreoffice.org/gitweb?p=core.git;a=tree;f=external/gpgmepp;h=b09c319a4d5e973f1f114f806b46d30f5351a234;hb=HEAD

They report building gpgmepp under MSVC successfuly

https://wiki.documentfoundation.org/Development/msvc-x86_64#gpgmepp
Comment 1 Hannah von Reth 2018-08-16 06:44:47 UTC
We currently compile all gpg libraries with mingw and offer them for msvc.
This work great for C libraries but is impossible for C++ libraries, that's why we don't offer libgpgmepp for msvc.

Gpgme was previously a KDE project and had a CMake build system, but it was upstreamed and since than is not buildable with msvc.

The correct way to solve this issue would be to provide a upstreamable patch that provides a CMake build system for the C++ parts.