Page 1 of 1

SONAME bump in 6.8.8-2 release?

Posted: 2014-01-15T03:43:23-07:00
by laurent_csw
Hello,

I'm maintaining the ImageMagick package as part of the OpenCSW project for Solaris.
I've noticed the latest update, 6.8.8-2, has bumped the soname number by one:

Code: Select all

$ diff  ImageMagick-6.8.8-1/version.sh ImageMagick-6.8.8-2/version.sh
16c16
< PACKAGE_RELEASE="1"
---
> PACKAGE_RELEASE="2"
42c42
< MAGICK_LIBRARY_CURRENT=1
---
> MAGICK_LIBRARY_CURRENT=2
As this is a very inconvenient change for all dependencies on those libraries, and a bit surprising for such a minor update, I would like to make sure that this was by design?

Thanks in advance,

Laurent

Re: SONAME bump in 6.8.8-2 release?

Posted: 2014-01-15T04:12:04-07:00
by magick
We changed a method signature from float to double to provide for more precision which required an SO bump. Technically it did not require a version bump since it was a private method in magick/fx-private.h, however, there is some small possibility that someone somewhere was using the private method FxEvaluateExpression() and without the version bump, bad things could happen.

Re: SONAME bump in 6.8.8-2 release?

Posted: 2014-01-15T06:06:08-07:00
by laurent_csw
Okay, thanks for the explanation :-)

So technically, I could assume the risk of keeping it at the current soname number until 7 is released.

Laurent

Re: SONAME bump in 6.8.8-2 release?

Posted: 2014-01-15T06:15:12-07:00
by magick
Correct. A SO bump is not necessary for a method signature change in a private header, however, as a courtesy to the user community we made the bump. ImageMagick version 7 avoid these problems by declaring methods public or private with GCC attributes.