Yes, true. Still to me having a meaningful version number in the actual library files does provide value.<div><br></div><div>Also the manual does suggest that a -version-info is provided if we want to use libtool's versioning system, </div>
<div>albeit they discourage the direct relation to the actual package version name.</div><div><br></div><div><div><a href="http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html#Updating-version-info">http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html#Updating-version-info</a></div>
<div><br></div><div>Perhaps we should consider adding a WAYLAND_API_VERSION and have that be inserted into the file name, how does</div><div>that sound?</div><div><br></div><div>-m</div><div><br></div><div><br><br><div class="gmail_quote">
On Thu, Nov 8, 2012 at 8:24 AM, Kristian Høgsberg <span dir="ltr"><<a href="mailto:hoegsberg@gmail.com" target="_blank">hoegsberg@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Tue, Nov 06, 2012 at 03:57:47PM -0800, Mikko Levonmaa wrote:<br>
> Adds the wayland version information to the shared libraries.<br>
> libwayland-server.so.0.0.0 -> libwayland-server.so.1.0.0<br>
<br>
</div>The libtool versioning is different from the pacakge version number.<br>
See:<br>
<br>
<a href="http://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html" target="_blank">http://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html</a><br>
<br>
Kristian<br>
<div><br>
> Signed-off-by: Mikko Levonmaa <<a href="mailto:mikko.levonmaa@gmail.com" target="_blank">mikko.levonmaa@gmail.com</a>><br>
> ---<br>
>  src/Makefile.am |    2 ++<br>
>  1 files changed, 2 insertions(+), 0 deletions(-)<br>
><br>
> diff --git a/src/Makefile.am b/src/Makefile.am<br>
> index f93954e..0a799f3 100644<br>
> --- a/src/Makefile.am<br>
> +++ b/src/Makefile.am<br>
> @@ -19,6 +19,7 @@ libwayland_util_la_SOURCES =                        \<br>
>       wayland-private.h<br>
><br>
>  libwayland_server_la_LIBADD = $(FFI_LIBS) <a href="http://libwayland-util.la" target="_blank">libwayland-util.la</a> -lrt -lm<br>
> +libwayland_server_la_LDFLAGS   = -version-info @WAYLAND_VERSION_MAJOR@:@WAYLAND_VERSION_MINOR@:@WAYLAND_VERSION_MICRO@<br>
>  libwayland_server_la_SOURCES =                       \<br>
>       wayland-protocol.c                      \<br>
>       wayland-server.c                        \<br>
> @@ -27,6 +28,7 @@ libwayland_server_la_SOURCES =                      \<br>
>       event-loop.c<br>
><br>
>  libwayland_client_la_LIBADD = $(FFI_LIBS) <a href="http://libwayland-util.la" target="_blank">libwayland-util.la</a> -lrt -lm<br>
> +libwayland_client_la_LDFLAGS   = -version-info @WAYLAND_VERSION_MAJOR@:@WAYLAND_VERSION_MINOR@:@WAYLAND_VERSION_MICRO@<br>
>  libwayland_client_la_SOURCES =                       \<br>
>       wayland-protocol.c                      \<br>
>       wayland-client.c<br>
> --<br>
> 1.7.4.1<br>
><br>
</div>> _______________________________________________<br>
> wayland-devel mailing list<br>
> <a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</blockquote></div><br>
</div></div>