From: Ian Jackson Subject: [PATCH] library soname versions Date: Fri, 7 Dec 2007 14:05:09 +0000 Message-ID: <18265.21269.609018.357295@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ncq+WOLiwz" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org --ncq+WOLiwz Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit The attached patch: * Arranges for the sonames of libxenstore, libxc and libblktap to be set from a single place in Config.mk. * Bumps the soname major version number to 3.2 in preparation for 3.2 rc1 after which we do not expect to have ABI changes. I have not done anything about libaio, libfsimage and libflask. The former two are from important elsewhere and if we're lucky will have sane versioning upstream. libflask has a very small interface and I'm hoping that the XSM authors have been keeping some ABI discipline. Signed-off-by: Ian Jackson --ncq+WOLiwz Content-Type: text/plain Content-Description: coordinate and bump library sonames to 3.2 Content-Disposition: inline; filename="library-versions.patch" Content-Transfer-Encoding: 7bit diff -r c0f7ba3aa9b2 Config.mk --- a/Config.mk Fri Dec 07 12:48:36 2007 +0000 +++ b/Config.mk Fri Dec 07 13:32:18 2007 +0000 @@ -12,6 +12,9 @@ ifeq ($(XEN_TARGET_ARCH),x86_32) ifeq ($(XEN_TARGET_ARCH),x86_32) XEN_TARGET_X86_PAE ?= y endif + +LIBRARIES_VERSION_MAJOR = 3.2 +LIBRARIES_VERSION_MINOR = 0 CONFIG_$(XEN_OS) := y diff -r c0f7ba3aa9b2 tools/blktap/lib/Makefile --- a/tools/blktap/lib/Makefile Fri Dec 07 12:48:36 2007 +0000 +++ b/tools/blktap/lib/Makefile Fri Dec 07 13:32:18 2007 +0000 @@ -1,8 +1,8 @@ XEN_ROOT = ../../.. XEN_ROOT = ../../.. include $(XEN_ROOT)/tools/Rules.mk -MAJOR = 3.0 -MINOR = 0 +MAJOR = $(LIBRARIES_VERSION_MAJOR) +MINOR = $(LIBRARIES_VERSION_MINOR) SONAME = libblktap.so.$(MAJOR) BLKTAP_INSTALL_DIR = /usr/sbin diff -r c0f7ba3aa9b2 tools/libxc/Makefile --- a/tools/libxc/Makefile Fri Dec 07 12:48:36 2007 +0000 +++ b/tools/libxc/Makefile Fri Dec 07 13:32:18 2007 +0000 @@ -1,8 +1,8 @@ XEN_ROOT = ../.. XEN_ROOT = ../.. include $(XEN_ROOT)/tools/Rules.mk -MAJOR = 3.1 -MINOR = 0 +MAJOR = $(LIBRARIES_VERSION_MAJOR) +MINOR = $(LIBRARIES_VERSION_MINOR) CTRL_SRCS-y := CTRL_SRCS-y += xc_core.c diff -r c0f7ba3aa9b2 tools/xenstore/Makefile --- a/tools/xenstore/Makefile Fri Dec 07 12:48:36 2007 +0000 +++ b/tools/xenstore/Makefile Fri Dec 07 13:29:09 2007 +0000 @@ -2,8 +2,8 @@ include $(XEN_ROOT)/tools/Rules.mk include $(XEN_ROOT)/tools/Rules.mk XEN_LIBXC = $(XEN_ROOT)/tools/libxc -MAJOR = 3.0 -MINOR = 0 +MAJOR = $(LIBRARIES_VERSION_MAJOR) +MINOR = $(LIBRARIES_VERSION_MINOR) PROFILE=#-pg BASECFLAGS=-Werror --ncq+WOLiwz Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --ncq+WOLiwz--