DevHeads.net

KDE_APPLICATIONS_VERSION_MAJOR as SOVERSION

cantor and kaccounts-integration use KDE_APPLICATIONS_VERSION_MAJOR as
the SOVERSION to their libraries. This is strange because it's a
variable which only changes every few releases when the year changes.
SOVERSIONS should change every time there's binary incompatibility,
which if you're unsure can just be every release (marble does this) or
you can not use an SOVERSION and put the library in a sub directory
and call it a private library.

Is a new variable needed? KDE_APPLICATIONS_SOVERSION which gets
changed every release?

Jonathan

Comments

Re: KDE_APPLICATIONS_VERSION_MAJOR as SOVERSION

By Elvis Angelaccio at 11/16/2016 - 06:29

On Wed, Nov 16, 2016 at 11:11 AM, Jonathan Riddell < ... at jriddell dot org> wrote:
There is a fancy function in ecm that should solve this issue:
<a href="https://api.kde.org/ecm/module/ECMSetupVersion.html" title="https://api.kde.org/ecm/module/ECMSetupVersion.html">https://api.kde.org/ecm/module/ECMSetupVersion.html</a>

Cheers
Elvis

Re: KDE_APPLICATIONS_VERSION_MAJOR as SOVERSION

By Albert Astals Cid at 11/16/2016 - 18:01

El dimecres, 16 de novembre de 2016, a les 11:29:40 CET, Elvis Angelaccio va
escriure:
How does it solve the problem Jonathan mentioned?

Cheers,
Albert