#1143171 libgpgmepp-dev: Should libgpgmepp-dev dependencies match pkg-config requirements?

Package:
libgpgmepp-dev
Source:
libgpgmepp-dev
Description:
C++ wrapper library for GPGME (development files)
Submitter:
Kangjia Huang
Date:
2026-08-01 10:59:03 UTC
Severity:
normal
#1143171#5
Date:
2026-07-31 07:33:11 UTC
From:
To:
Dear Maintainer,

I had a concern about the libgpgmepp-dev package's declared
dependencies. Specifically, I was developing a project where I needed
libgpgmepp, and thus wanted to pull in the necessary development headers
and library by installing libgpgmepp-dev. Critically, however, prior to
this, I had not yet installed packages for libgpgme or libgpg-error.

It seems like the libgpgmepp-dev package currently depends on both
libgpgmepp6t64 and libgpg-error-dev, thus also pulling in development
headers for libgpg-error. However, it would also appear that aside from
libgpg-error, the [pkg-config](https://github.com/gpg/gpgmepp/blob/6a99d7eef09aedd768356792f38aca2cc03659da/src/gpgmepp.pc.in#L8)
file for libgpgmepp has also always explicitly required the pkg-config
file for **libgpgme** to exist, which makes sense as libgpgmepp is a C++
wrapper on top of this library.

I am not sure if the ommittance of libgpgme-dev from libgpgmepp-dev's
dependencies is intentional, but I would have personally assumed that
installing libgpgmepp-dev would pull in all libraries and dependencies
necessary to develop with libgpgmepp, and especially since libgpgmepp's
dependency on libgpgme development files is a foundational aspect of the
library's very purpose, I was wondering if libgpgme-dev should also have
been added as a dependency to libgpgmepp-dev.

Please feel free to let me know what you think about this. It is very
plausible that this is not actually a bug, and that my understanding of
-dev packages in general is slightly flawed, but regardless, I would
certainly greatly appreciate it if you could help point me in the right
direction! :)

Thank you so much for your time and help.

#1143171#10
Date:
2026-08-01 10:56:26 UTC
From:
To:
Version: 2.0.0-3
[...]

This was fixed in Version 2.0.0-3

gpgmepp (2.0.0-3) unstable; urgency=medium

  * Team upload

  [ Alessandro Astone ]
  * d/control: libgpgmepp-dev depends on libgpgme-dev

  [ Jeremy Bícha ]
  * Update Standards Version to 4.7.4