Bug 397494 - Make gpgmepp available on MSVC build too
Summary: Make gpgmepp available on MSVC build too
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Craft
Classification: Developer tools
Component: Blueprints (show other bugs)
Version: unspecified
Platform: unspecified Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-15 18:40 UTC by NSLW
Modified: 2020-06-14 15:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.