Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2009 20:26:56 +0400
From:      Alexander Churanov <alexanderchuranov@gmail.com>
To:        ports@freebsd.org
Subject:   devel/boost: what's proper shared library version?
Message-ID:  <3cb459ed0905130926n32def691ycecd043f70e522fc@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi folks!

I'm currently working on boost-1.39 port.
The wiki http://wiki.freebsd.org/BoostPortingProject reflects most
recent project status.
And there is a question: what is the proper value for shared libraries
installed by boost?

As I can see from CVS, devel/boost started setting shared library
version explicitly since 1.32.
It was 2 for 1.32, then 3 for 1.33, then remained 3 till 1.35.
When updating to 1.37 I've changed it to 4, just made +1.

Now It's not clear what version should be used for 1.39.
Boost.org provides no binary compatibility between versions of their libraries.
It seems the best solution is to modify shared libraries version on
each version update from boost.

The choices are:
1) Just increment number further. It would be 5 for 1.39
2) Use what's boost installer provides (currently so.1.39.0)
3) Use own numbering system, linked to version of boost. For example: so.1390

I don't like option (1), because *so version is not related to version
of libraries.
For the (2) I've heard that on FreeBSD version must be a single number.
I've never seen versions like 1390, as suggested in option (3).

What approach to follow?

Sincerely,
Alexander Churanov,
maintainer of devel/boost



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3cb459ed0905130926n32def691ycecd043f70e522fc>