Increment libtool versioning to 5:0:3 in anticipation of 1.2.0 which will add interfaces. The motivation for this is to make the 1.1.1 release install a library which will be considered newer than 1.0.2.

Add a release-verify-soname-major check to verify that the soname major number is always 2 as part of the release-publish target.
Reviewed by: otaylor
This commit is contained in:
Carl Worth 2005-10-13 07:30:15 +00:00
parent cd859a23d0
commit d31d5db04f
3 changed files with 25 additions and 4 deletions

View file

@ -1,3 +1,16 @@
2005-10-13 Carl Worth <cworth@cworth.org>
Reviewed by: otaylor
* configure.in: Increment libtool versioning to 5:0:3 in
anticipation of 1.2.0 which will add interfaces. The motivation
for this is to make the 1.1.1 release install a library which will
be considered newer than 1.0.2.
* Makefile.am: Add a release-verify-soname-major check to verify
that the soname major number is always 2 as part of the
release-publish target.
2005-10-12 T Rowley <tim.rowley@gmail.com>
Reviewed by: cworth

View file

@ -62,6 +62,14 @@ $(developer_zip_file): install
zips: $(runtime_zip_file) $(developer_zip_file)
release-verify-soname-major:
@echo -n "Checking that the cairo soname major number is 2..."
@test "$(LT_CURRENT_MINUS_AGE)" = "2" \
|| (echo "Ouch." && echo "The soname major number is $(LT_CURRENT_MINUS_AGE) instead of 2." \
&& echo "The libtool shared library version numbers in configure.in must be incremented properly." \
&& false)
@echo "Good."
release-verify-even-micro:
@echo -n "Checking that $(VERSION) has an even micro component..."
@test "$(CAIRO_VERSION_MICRO)" = "`echo $(CAIRO_VERSION_MICRO)/2*2 | bc`" \
@ -89,7 +97,7 @@ release-remove-old:
release-cleanup-group-sticky:
find . -type f | xargs chmod g-s
release-check: release-verify-even-micro release-verify-newer release-remove-old release-cleanup-group-sticky distcheck
release-check: release-verify-soname-major release-verify-even-micro release-verify-newer release-remove-old release-cleanup-group-sticky distcheck
release-upload: release-check $(tar_file) $(sha1_file) $(gpg_file)
mkdir -p releases

View file

@ -19,16 +19,16 @@ dnl ===========================================================================
# libtool shared library version
# Increment if the interface has additions, changes, removals.
LT_CURRENT=4
LT_CURRENT=5
# Increment any time the source changes; set to
# 0 if you increment CURRENT
LT_REVISION=2
LT_REVISION=0
# Increment if any interfaces have been added; set to 0
# if any interfaces have been removed. removal has
# precedence over adding, so set to 0 if both happened.
LT_AGE=2
LT_AGE=3
dnl ===========================================================================