[PROJ] PROJ 7.2.0RC1 and PROJ-data 1.3RC1
Kristian Evers
kristianevers at gmail.com
Mon Oct 26 05:59:16 PDT 2020
Bas,
Here’s an annotated version of me following the steps in your link:
1. Start with version information of ‘0:0:0’ for each libtool library.
Well, we start with 20.0.1
2. Update the version information only immediately before a public release of your software. More frequent updates are unnecessary, and only guarantee that the current interface number gets larger faster.
Did this.
3. If the library source code has changed at all since the last update, then increment revision (‘c:r:a’ becomes ‘c:r+1:a’).
The code has changed since the last update, so now we’re at 20.1.1
4. If any interfaces have been added, removed, or changed since the last update, increment current, and set revision to 0.
We’ve added new interfaces since the last version, so 21.0.1
5. If any interfaces have been added since the last public release, then increment age.
As stated above, new interfaces were added, so 21.0.2
6. If any interfaces have been removed or changed since the last public release, then set age to 0.
No removed or changed interfaces this time around.
I know I’ve mucked these numbers up several times before but this time around I am not convinced
it is the case. I am of course happy to be proven otherwise!
/Kristian
> On 26 Oct 2020, at 13:48, Sebastiaan Couwenberg <sebastic at xs4all.nl> wrote:
>
> On 10/26/20 1:34 PM, Kristian Evers wrote:
>> That’s weird, I’ve set them exactly the same in both CMake and autotools:
>> https://github.com/OSGeo/PROJ/commit/3bd548d816f141b617c7b3252e22b4f0b7fdd352 <https://github.com/OSGeo/PROJ/commit/3bd548d816f141b617c7b3252e22b4f0b7fdd352>
>>
>> Is this perhaps because PROJ_API_VERSION in CmakeLists.txt should be set to
>> current-age instead of just current?
>
> PROJ_API_VERSION is used to set the SOVERSION for CMake, so this must
> match the calculated SOVERSION (current - age) for Autotools.
>
> Since the intention is to bump the ABI, version-info should be 21:0:0.
>
> See the libtool manual for more information:
>
> https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
>
> Kind Regards,
>
> Bas
>
> --
> GPG Key ID: 4096R/6750F10AE88D4AF1
> Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
> _______________________________________________
> PROJ mailing list
> PROJ at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/proj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20201026/9dd6c872/attachment.html>
More information about the PROJ
mailing list