libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool-next-version: new program


From: Vincent Lefevre
Subject: Re: libtool-next-version: new program
Date: Mon, 13 May 2019 00:39:58 +0200
User-agent: Mutt/1.11.4+184 (e1bc4339) vl-117499 (2019-04-23)

On 2019-05-12 16:12:47 +0200, Bruno Haible wrote:
> Bumping the libtool version of a shared library according to
> <https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html>
> seems to be harder than expected: Both the gettext-0.19.8 and gettext-0.20
> release suffer from a wrongly computed triple (mistakes done by different
> maintainers!).

In GNU MPFR, we have a comment giving the form of the triple for each
MPFR version:

#         MPFR     -version-info
#        2.1.x      -
#        2.2.x    1:x:0
#        2.3.x    2:x:1
#        2.4.x    3:x:2
#        3.0.x    4:x:0
#        3.1.x    5:x:1
#        4.0.x    6:x:0
libmpfr_la_LDFLAGS = $(MPFR_LDFLAGS) $(LIBMPFR_LDFLAGS) -version-info 6:0:0

and I've written a Perl script tools/ck-version-info that parses this
comment and checks that the values changes in a way that is consistent
with the libtool rules and that the -version-info value corresponds to
the form associated with the MPFR version. This script is run by
"make dist" via a dist-hook, so that before a release, one ensures
consistency and one keeps a trace of the history.

-- 
Vincent Lefèvre <address@hidden> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]