From f912df269189d7c0fb09163fc8520b5f890e6347 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Tue, 15 Feb 2011 14:51:05 +0000 Subject: [PATCH] Release preparations - set/fix libtool version offsets where the major version bumps up. --- org.glite.jobid.api-c/Makefile | 4 ++-- org.glite.lb.client/Makefile | 4 ++-- org.glite.lb.common/Makefile | 2 +- org.glite.lbjp-common.db/Makefile | 2 +- org.glite.lbjp-common.gsoap-plugin/Makefile | 5 ++--- org.glite.lbjp-common.gss/Makefile | 5 ++--- 6 files changed, 10 insertions(+), 12 deletions(-) diff --git a/org.glite.jobid.api-c/Makefile b/org.glite.jobid.api-c/Makefile index 6a06d63..faaa4a3 100644 --- a/org.glite.jobid.api-c/Makefile +++ b/org.glite.jobid.api-c/Makefile @@ -51,8 +51,8 @@ compile all: ${LIB} # where offset is a sum of maximal released minor's of all previous major's # -# counted minors: N/A -offset=-1 +# counted minors: 1.0 +offset=0 version_info:=-version-info ${shell \ perl -e '$$,=":"; @F=split /\./,"${version}"; print $$F[0]+$$F[1]+${offset},$$F[2],$$F[1]' } diff --git a/org.glite.lb.client/Makefile b/org.glite.lb.client/Makefile index 2dd1577..3955278 100644 --- a/org.glite.lb.client/Makefile +++ b/org.glite.lb.client/Makefile @@ -180,8 +180,8 @@ PLUS_EXTRA_LIB:=-lglite_jobid # version_info=-version-info `echo ${version} | cut -d. -f1,2 | tr . :` -# counted minor versions: -offset=0 +# counted minor versions: 1.0, 2.3, 3.2, 4.1 +offset=6 version_info:=-version-info ${shell \ perl -e '$$,=":"; @F=split "\\.","${version}"; print $$F[0]+$$F[1]+${offset},$$F[2],$$F[1]' } diff --git a/org.glite.lb.common/Makefile b/org.glite.lb.common/Makefile index 69b6c55..46f7d09 100644 --- a/org.glite.lb.common/Makefile +++ b/org.glite.lb.common/Makefile @@ -140,7 +140,7 @@ all compile: generate ${lib_LTLIBRARIES} ${lib_LIBRARIES} # # counted minors: 1.1, 2.0, 3.1, 4.0, 5.1, 6.1, 7.1 -offset=2 +offset=5 version_info:=-version-info ${shell \ perl -e '$$,=":"; @F=split "\\.","${version}"; print $$F[0]+$$F[1]+${offset},$$F[2],$$F[1]' } diff --git a/org.glite.lbjp-common.db/Makefile b/org.glite.lbjp-common.db/Makefile index 1d9b3ee..cb2374b 100644 --- a/org.glite.lbjp-common.db/Makefile +++ b/org.glite.lbjp-common.db/Makefile @@ -86,7 +86,7 @@ LTESTOBJS:=${TESTOBJS:.o=.lo} # where offset is a sum of maximal released minor's of all previous major's # -# counted minors: 1.0 +# counted minors: 1.0, 2.0 offset=0 version_info:=-version-info ${shell \ diff --git a/org.glite.lbjp-common.gsoap-plugin/Makefile b/org.glite.lbjp-common.gsoap-plugin/Makefile index 49dd394..7178a3b 100644 --- a/org.glite.lbjp-common.gsoap-plugin/Makefile +++ b/org.glite.lbjp-common.gsoap-plugin/Makefile @@ -37,9 +37,8 @@ CC=gcc # where offset is a sum of maximal released minor's of all previous major's # -# counted minors: 1.5 -# TODO: bump offset to 5 on next major change -offset=-1 +# counted minors: 1.5, 2.1 +offset=6 version_info:=-version-info ${shell \ perl -e '$$,=":"; @F=split "\\.","${version}"; print $$F[0]+$$F[1]+${offset},$$F[2],$$F[1]' } diff --git a/org.glite.lbjp-common.gss/Makefile b/org.glite.lbjp-common.gss/Makefile index 612b573..dee08e4 100644 --- a/org.glite.lbjp-common.gss/Makefile +++ b/org.glite.lbjp-common.gss/Makefile @@ -28,9 +28,8 @@ version=${module.version} # where offset is a sum of maximal released minor's of all previous major's # -# counted minors: gsoap-plugin 1.5 -# TODO: bump offset to 5 on next major change -offset=-1 +# counted minors: gsoap-plugin 1.5, gss 2.1 +offset=6 version_info:=-version-info ${shell \ perl -e '$$,=":"; @F=split "\\.","${version}"; print $$F[0]+$$F[1]+${offset},$$F[2],$$F[1]' } -- 1.8.2.3