Debian package
Cristian Ionescu-Idbohrn
cristian.ionescu-idbohrn at axis.com
Thu Feb 21 03:13:33 PST 2013
On Thu, 21 Feb 2013, Jef Driesen wrote:
> >
> > So we are calling v0.3 libdivecomputer1?
>
> How about using the libtool "-release 0.x" option? If I interpret the libtool
> documentation correctly, then the soname will become "libdivecomputer-0.x.so".
> Thus each release will get a different soname. The distro package can be named
> similarly. The libtool documentation even says: "In general, you should only
> use -release for package-internal libraries or for ones whose interfaces
> change very frequently." So I think this applies to libdivecomputer.
That may work. But don't take my word for it. I'm just an amateur :)
> When we eventually arrive at v1.0, we can drop the -release option again and
> switch back to using the -version-info option. I realize the soname would
> again become libdivecomputer.so.0, but I assume that by that time all the
> current v0.x releases are likely obsolete and unmaintained. If not, we can
> always start with libdivecomputer.so.1 instead.
So, let's see what we have:
libdivecomputer0:
/usr/lib/x86_64-linux-gnu/libdivecomputer.so.0
/usr/lib/x86_64-linux-gnu/libdivecomputer.so.0.0.0
and compare for example to:
libgstreamer0.10-0:
/usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0
/usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0.30.0
Cheers,
--
Cristian
More information about the subsurface
mailing list