kgpg requires depreciated gpgme-config script for cmake to find gpgme - causes FTBFS on Deabin sid and Ubuntu 23.04 -- No usable gpgme flavors found. CMake Error at cmake/FindGpgme.cmake:367 (message): Did not find GPGME Call Stack (most recent call first): CMakeLists.txt:61 (find_package) -- Configuring incomplete, errors occurred! See: https://salsa.debian.org/debian/gpgme/-/commit/fcd36b83bbe828726194e7b39203dcaaaa0af469 Quote: "The upstream buildsystem only installs gpgme-config if libgpg-error ships gpg-error-config. libgpg-error 1.46-1 does not." i.e. the combination of gpgme 1.18.0 built against the very latest libgpg-error 1.46 results in the gpgme-config script kgpg currently requires not being present, so kgpg fails to build. As gpgme-config script can no longer reliably be counted on to exist, the cmake/FindGpgme.cmake in kgpg source must be adapted so to not rely on this script.
Possibly fixable by borrowing the FindGpgme.cmake from Kalendar 22.11.80 https://invent.kde.org/pim/kalendar/-/blob/release/22.12/cmake/modules/FindGpgme.cmake
I've posted a patch for this from Andreas Metzler that recommends using pkg-config over at https://invent.kde.org/utilities/kgpg/-/merge_requests/18