Web lists-archives.com

Re: KDE_APPLICATIONS_VERSION_MAJOR as SOVERSION




On Wed, Nov 16, 2016 at 11:11 AM, Jonathan Riddell <jr@xxxxxxxxxxxx> wrote:
> 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?

There is a fancy function in ecm that should solve this issue:
https://api.kde.org/ecm/module/ECMSetupVersion.html

>
> Jonathan

Cheers
Elvis