saturneric / GpgFrontend

A free, open-source, robust yet user-friendly, compact and cross-platform tool for OpenPGP encryption. It stands out as an exceptional GUI frontend for the modern GnuPG (gpg).
https://gpgfrontend.bktus.com
GNU General Public License v3.0
518 stars 51 forks source link

Lacks of libgpgme dependency declaration #160

Closed FlachyJoe closed 1 month ago

FlachyJoe commented 4 months ago

libgpgme is needed to compile else the following error occurs

/src/core/typedef/GpgTypedef.h:31:10: fatal error: gpgme.h: Aucun fichier ou dossier de ce type
   31 | #include <gpgme.h>
      |          ^~~~~~~~~
compilation terminated.
saturneric commented 4 months ago

On operating systems currently supported by GpgFrontend, gpgme can be installed via a package manager. Therefore, the build code for gpgme is not included in the project configuration of GpgFrontend.

FlachyJoe commented 4 months ago

Hi, cmake should check for the gpgme package before the build process.

saturneric commented 4 months ago

I've already introduced a cmake script to do this, but it doesn't work very well. However, due to the complexity of deploying the gpgme library on various platforms, I was hoping that the author of this script would continue to improve it. But my attempts to find any newer versions have failed so far.

Doujinx28 commented 3 months ago

Well, where it be that script ? Take your time, ofc.

saturneric commented 3 months ago

You can find it Here: https://github.com/saturneric/GpgFrontend/blob/main/cmake/FindGpgme.cmake