Web lists-archives.com

Re: KDE_APPLICATIONS_VERSION_MAJOR as SOVERSION




El dimecres, 16 de novembre de 2016, a les 11:29:40 CET, Elvis Angelaccio va 
escriure:
> 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

How does it solve the problem Jonathan mentioned?

Cheers,
  Albert

> 
> > Jonathan
> 
> Cheers
> Elvis