orhun / gpg-tui

Manage your GnuPG keys with ease! 🔐

Home Page:https://blog.orhun.dev/introducing-gpg-tui/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing gpgme, package has been renamed

danielschonfeld opened this issue · comments

Describe the bug

Missing gpgme

Additional context

I believe in modern distributions, the package has been renamed to python-gpg and with it the executable file. It's no longer called gpgme. Perhaps the requirements listed are old?

On Debian, this can be solved by installing libgpgme-dev from a package manager.

When running cargo install gpg-tui on MacOS, it also fails with a gpgme related error:

  sh: gpgme-config: command not found

I believe in modern distributions, the package has been renamed to python-gpg and with it the executable file. It's no longer called gpgme. Perhaps the requirements listed are old?

Good point. I actually mentioned "gpgme" as "gpgme" in the documentation because the name of the "gpgme" package might change depending on the distribution. But apparently I forgot to mention this.

When running cargo install gpg-tui on MacOS, it also fails with a gpgme related error:

  sh: gpgme-config: command not found

It mostly happens when development files for gpgme is not installed. See gpgme#building.

Unfortunately there's not much I can do about it since build.rs is ran during cargo install. Also I don't have the opportunity to test/reproduce it on MacOS.

Feel free to open a separate issue for tracking/solving the gpgme-build related problems.