Patchwork [v5] Release 0.11.0

login
register
mail settings
Submitter Alon Levy
Date June 12, 2012, 2:27 p.m.
Message ID <1339511246-13766-1-git-send-email-alevy@redhat.com>
Download mbox | patch
Permalink /patch/164424/
State New
Headers show

Comments

Alon Levy - June 12, 2012, 2:27 p.m.
Current bumped and age bumped for new intefaces only (no backward
incompatible changes).

New libtool version is 2.0.1, using --version-info instead of
--version-name. Doing the version change and --version-name to
--version-info change here to avoid changing the libtool version twice.

Added interfaces:
    spice_server_set_name
    spice_server_set_uuid
    spice_server_set_listen_socket_fd
    spice_server_is_server_mouse

New library name in linux:
    libspice-server.so.1.1.0
Old:
    libspice-server.so.1.0.2
---
v4->v5:
 no libtool docs, merge patches, library name suffix is 1.1.0


 NEWS               |   33 +++++++++++++++++++++++++++++++++
 configure.ac       |   24 +++++++++++++++++++++---
 server/Makefile.am |    2 +-
 3 files changed, 55 insertions(+), 4 deletions(-)
Marc-André Lureau - June 12, 2012, 2:44 p.m.
ack

On Tue, Jun 12, 2012 at 4:27 PM, Alon Levy <alevy@redhat.com> wrote:
> Current bumped and age bumped for new intefaces only (no backward
> incompatible changes).
>
> New libtool version is 2.0.1, using --version-info instead of
> --version-name. Doing the version change and --version-name to
> --version-info change here to avoid changing the libtool version twice.
>
> Added interfaces:
>    spice_server_set_name
>    spice_server_set_uuid
>    spice_server_set_listen_socket_fd
>    spice_server_is_server_mouse
>
> New library name in linux:
>    libspice-server.so.1.1.0
> Old:
>    libspice-server.so.1.0.2
> ---
> v4->v5:
>  no libtool docs, merge patches, library name suffix is 1.1.0
>
>
>  NEWS               |   33 +++++++++++++++++++++++++++++++++
>  configure.ac       |   24 +++++++++++++++++++++---
>  server/Makefile.am |    2 +-
>  3 files changed, 55 insertions(+), 4 deletions(-)
>
> diff --git a/NEWS b/NEWS
> index 2deba57..68369af 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -1,3 +1,36 @@
> +Major changes in 0.11.0:
> +========================
> +* !Development Release!
> +* 8817549..d905a1f
> +* now using git submodules: spice-common and spice-protocol.
> +* New spice protocol messages: (changes in spice-protocol, here for reference)
> + * SPICE_MSG_MAIN_NAME, SPICE_MSG_MAIN_UUID
> + * SPICE_MSG_DISPLAY_STREAM_DATA_SIZED
> +* New corresponding caps: (changes in spice-protocol, here for reference)
> + * SPICE_MAIN_CAP_NAME_AND_UUID
> + * SPICE_DISPLAY_CAP_SIZED_STREAM.
> +* Send name & uuid to capable clients
> +* add support for frames of different sizes RHBZ #813826
> +* server:
> + * support a pre-opened file descriptor
> + * Solaris support. Now using poll instead of epoll.
> + * Support IPV6 addresses in channel events RHBZ #788444
> + * other fixed RHBZ#: 787669, 787678, 819484
> +* spicec
> + * alsa: use "default" instead of "hw:0,0"
> + * volume keys support RHBZ #552539
> + * other fixed RHBZ#: 78655, 804561, 641828
> +* solaris, mingw & windows, 32 bit fixes.
> +* enable server only build.
> +* GNULIB manywarnings.m4 & warnings.m4 module added.
> +* Many more bug fixes & code cleanups.
> +* spice-protocol no longer external.
> +* new server functions:
> + + spice_server_set_name
> + + spice_server_set_uuid
> + + spice_server_set_listen_socket_fd
> + + spice_server_is_server_mouse
> +
>  Major changes in 0.10.1:
>  ========================
>  * Mini header support
> diff --git a/configure.ac b/configure.ac
> index 66f9d12..aee2975 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1,8 +1,26 @@
>  AC_PREREQ([2.57])
>
> +# Making releases:
> +# 1. Increment SPICE_MICRO if no interface change has been done
> +# 2. Increment SPICE_MINOR and zero SPICE_MICRO if new interfaces have been added,
> +#    no changes to existing interfaces.
> +# 3. Increment SPICE_MAJOR and zero both SPICE_MINOR and SPICE_MICRO if non
> +#    backward compatible changes (interface changed or removed).
> +#
> +# Then change the libtool versions according to libtool manual:
> +#  http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
> +
>  m4_define([SPICE_MAJOR], 0)
> -m4_define([SPICE_MINOR], 10)
> -m4_define([SPICE_MICRO], 1)
> +m4_define([SPICE_MINOR], 11)
> +m4_define([SPICE_MICRO], 0)
> +m4_define([SPICE_CURRENT], [2])
> +m4_define([SPICE_REVISION], [0])
> +m4_define([SPICE_AGE], [1])
> +
> +# Note on the library name on linux (SONAME) produced by libtool (for reference, gleaned
> +# from looking at libtool 2.4.2)
> +#
> +#  libspice-servver.so.current-age.age.revision
>
>  AC_INIT(spice, [SPICE_MAJOR.SPICE_MINOR.SPICE_MICRO], [], spice)
>
> @@ -33,7 +51,7 @@ AC_FUNC_ALLOCA
>
>  AC_DEFINE([__STDC_FORMAT_MACROS],[],[Force definition of format macros for C++])
>
> -SPICE_LT_VERSION=m4_format("%d:%d:%d", 1, 0, 2)
> +SPICE_LT_VERSION=m4_format("%d:%d:%d", SPICE_CURRENT, SPICE_REVISION, SPICE_AGE)
>  AC_SUBST(SPICE_LT_VERSION)
>
>  # Check for the CPU we are using
> diff --git a/server/Makefile.am b/server/Makefile.am
> index 97e7dfe..47b3c10 100644
> --- a/server/Makefile.am
> +++ b/server/Makefile.am
> @@ -17,7 +17,7 @@ AM_CPPFLAGS =                                 \
>  lib_LTLIBRARIES = libspice-server.la
>
>  libspice_server_la_LDFLAGS =                   \
> -       -version-number $(SPICE_LT_VERSION)     \
> +       -version-info $(SPICE_LT_VERSION)       \
>        -no-undefined                           \
>        $(NULL)
>
> --
> 1.7.10.1
>
>

Patch

diff --git a/NEWS b/NEWS
index 2deba57..68369af 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,36 @@ 
+Major changes in 0.11.0:
+========================
+* !Development Release!
+* 8817549..d905a1f
+* now using git submodules: spice-common and spice-protocol.
+* New spice protocol messages: (changes in spice-protocol, here for reference)
+ * SPICE_MSG_MAIN_NAME, SPICE_MSG_MAIN_UUID
+ * SPICE_MSG_DISPLAY_STREAM_DATA_SIZED
+* New corresponding caps: (changes in spice-protocol, here for reference)
+ * SPICE_MAIN_CAP_NAME_AND_UUID
+ * SPICE_DISPLAY_CAP_SIZED_STREAM.
+* Send name & uuid to capable clients
+* add support for frames of different sizes RHBZ #813826
+* server:
+ * support a pre-opened file descriptor
+ * Solaris support. Now using poll instead of epoll.
+ * Support IPV6 addresses in channel events RHBZ #788444
+ * other fixed RHBZ#: 787669, 787678, 819484
+* spicec
+ * alsa: use "default" instead of "hw:0,0"
+ * volume keys support RHBZ #552539
+ * other fixed RHBZ#: 78655, 804561, 641828
+* solaris, mingw & windows, 32 bit fixes.
+* enable server only build.
+* GNULIB manywarnings.m4 & warnings.m4 module added.
+* Many more bug fixes & code cleanups.
+* spice-protocol no longer external.
+* new server functions:
+ + spice_server_set_name
+ + spice_server_set_uuid
+ + spice_server_set_listen_socket_fd
+ + spice_server_is_server_mouse
+
 Major changes in 0.10.1:
 ========================
 * Mini header support
diff --git a/configure.ac b/configure.ac
index 66f9d12..aee2975 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,8 +1,26 @@ 
 AC_PREREQ([2.57])
 
+# Making releases:
+# 1. Increment SPICE_MICRO if no interface change has been done
+# 2. Increment SPICE_MINOR and zero SPICE_MICRO if new interfaces have been added,
+#    no changes to existing interfaces.
+# 3. Increment SPICE_MAJOR and zero both SPICE_MINOR and SPICE_MICRO if non
+#    backward compatible changes (interface changed or removed).
+#
+# Then change the libtool versions according to libtool manual:
+#  http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
+
 m4_define([SPICE_MAJOR], 0)
-m4_define([SPICE_MINOR], 10)
-m4_define([SPICE_MICRO], 1)
+m4_define([SPICE_MINOR], 11)
+m4_define([SPICE_MICRO], 0)
+m4_define([SPICE_CURRENT], [2])
+m4_define([SPICE_REVISION], [0])
+m4_define([SPICE_AGE], [1])
+
+# Note on the library name on linux (SONAME) produced by libtool (for reference, gleaned
+# from looking at libtool 2.4.2)
+#
+#  libspice-servver.so.current-age.age.revision
 
 AC_INIT(spice, [SPICE_MAJOR.SPICE_MINOR.SPICE_MICRO], [], spice)
 
@@ -33,7 +51,7 @@  AC_FUNC_ALLOCA
 
 AC_DEFINE([__STDC_FORMAT_MACROS],[],[Force definition of format macros for C++])
 
-SPICE_LT_VERSION=m4_format("%d:%d:%d", 1, 0, 2)
+SPICE_LT_VERSION=m4_format("%d:%d:%d", SPICE_CURRENT, SPICE_REVISION, SPICE_AGE)
 AC_SUBST(SPICE_LT_VERSION)
 
 # Check for the CPU we are using
diff --git a/server/Makefile.am b/server/Makefile.am
index 97e7dfe..47b3c10 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -17,7 +17,7 @@  AM_CPPFLAGS =					\
 lib_LTLIBRARIES = libspice-server.la
 
 libspice_server_la_LDFLAGS =			\
-	-version-number $(SPICE_LT_VERSION)	\
+	-version-info $(SPICE_LT_VERSION)	\
 	-no-undefined				\
 	$(NULL)