Home GnuPG
Diffusion GPGME bf9aa0ccf7b0

qt, cpp: Fix versioning in cmake config and header
bf9aa0ccf7b0Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

qt, cpp: Fix versioning in cmake config and header

* configure.ac (VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO): New
subst variables for the version header.
* lang/cpp/src/GpgmeppConfigVersion.cmake.in,
lang/cpp/src/gpgmepp_version.h.in,
lang/qt/src/QGpgmeConfigVersion.cmake.in,
lang/qt/src/qgpgme_version.h.in: Use new variables.

Using the LT_* variables was just wrong. Reporting the
package version also makes more sense then the library version.
Having different versions might make ABI breaks more visible
by increasing the major version number, but to have different
versions in the same package is too confusing imo and gpgme
uses a versioning that is unrelated to the library version number.

Details

Provenance
aheineckeAuthored on Nov 2 2016, 2:43 PM
Parents
rMb5c4d56cfdca: qt: Install cmake config into qgpgme subdir
Branches
Unknown
Tags
Unknown

Event Timeline

Andre Heinecke <aheinecke@intevation.de> committed rMbf9aa0ccf7b0: qt, cpp: Fix versioning in cmake config and header (authored by Andre Heinecke <aheinecke@intevation.de>).Nov 2 2016, 2:43 PM