Le 15/02/2022 à 22:58, Sebastiaan Couwenberg a écrit :
On 2/15/22 22:42, Even Rouault wrote:
technically as we didn't break any API or ABI compared to 8.2.1, I believe we could have treated that as a feature release w.r.t libtool like version numbers, hence with:

set(PROJ_LIBTOOL_CURRENT    25)
set(PROJ_LIBTOOL_REVISION   0)
set(PROJ_LIBTOOL_AGE        3)

keeping the same SONAME at 25 -3 = 22

(if we exclude the removal of autoconf, this is closer to being a 8.3.0 than a 9.0.0)

Since libtool isn't used any more, you don't need to match it for the CMake build. Just make sure to never decrement from SOVERSION (was 22 in 8.2.1) and increment it when breaking the ABI.

I suggest renameing PROJ_LIBTOOL_CURRENT to PROJ_SOVERSION and drop the other two.
Just noting that if we would have only one number, the generated file would be libproj.so.PROJ_SOVERSION, compared to libproj.so.X.Y..Z currently, and thus we'd loose the ability to have several versions installed in the same directory.

Kind Regards,

Bas

--
http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
PROJ mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/proj

Reply via email to