unarr icon indicating copy to clipboard operation
unarr copied to clipboard

1.0.1: version problems.

Open leamas opened this issue 6 years ago • 4 comments

While version 1.0.1 is, well, 1.0.1 the CMakelists.txt file contains the definition

project(unarr VERSION 1.0.0 LANGUAGES C)

As a consequence, the pkgconfig file uses a 1.0.0 version and the library becomes libunarr.so.1.0.0.

Since the release is tagged, one idea could be to release a 1.0.2 fixing this?

leamas avatar Oct 10 '18 05:10 leamas

1.0.1 was just a minor bugfix for the pkgconfig file so I was reluctant to increase the soversion (as there were no changes to the actual library). In hindsight this was probably a bad idea and I should have kept the versions in sync no matter how trivial the changes.

If you need the versions to match, you can patch 1.0.1 into CMakelists.txt for now. I will fix the mismatch in the next version (either 1.0.2 or 1.1.0), so there won't be any conflict.

selmf avatar Oct 10 '18 08:10 selmf

OK, thanks, will patch.

That said, this does not change the soversion which still is 1 (i. e., soname = libunarr.so.1).

leamas avatar Oct 10 '18 10:10 leamas

1.0.1 was just a minor bugfix for the pkgconfig file so I was reluctant to increase the soversion (as there were no changes to the actual library).

I guess you mean "library version" instead of "soversion", because the SOVERSION is set to ${PROJECT_VERSION_MAJOR} and hence remains at 1, only the VERSION changes to 1.0.1 (because it uses ${PROJECT_VERSION}).

sebastic avatar Oct 10 '18 10:10 sebastic

Yes, the soversion should only change if there is api/abi breakage. Sorry for the confusion.

selmf avatar Oct 10 '18 16:10 selmf

Fixed in https://github.com/selmf/unarr/commit/ca745b72684e156c1e1b0445f36675527264746e

selmf avatar Sep 03 '23 16:09 selmf