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
473 stars 46 forks source link

Lacks of libgpgme dependency declaration #160

Open FlachyJoe opened 1 month ago

FlachyJoe commented 1 month 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 1 month 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 1 month ago

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

saturneric commented 1 month 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 1 week ago

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

saturneric commented 1 week ago

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