Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

OpenAL & freealut Library Versioning: msg#00062

lib.openal.devel

Subject: OpenAL & freealut Library Versioning

Hi,

I'm a member of the Debian Games Team, and we're currently taking over
maintenance of the OpenAL package in Debian. We are preparing an upload
of the latest OpenAL and freealut releases.

One remaining problem is related to library versioning. Neither version
0.0.8 nor CVS HEAD do specify version information when building with
libtool. This is a big problem when packaging a library because
applications linked against an older version of the library will break
if new, backwards-incompatible versions are installed. In Debian, we
really want to ensure smooth upgrades between both libopenal itself as
well as depending packages. The only way to do this is to introduce
proper library versioning.

In order to avoid breakage, SONAMEs are used in the Linux world. These
are handled automatically by libtool, as described here[0]. Note that
libtool introduces an own versioning scheme in order to provide a
portable method of defining library versioning, so that you as developer
don't have to care about SONAMEs at all if libtool versioning is used
correctly. I'm not sure how libtool implements this on Windows, but I
assume that -version-info does nothing there.

This way, if a new version, which is backwards-incompatible will receive
a new SONAME (at least on all platforms which do support such a mechanism),
and thus applications linked against an older version will still be able to
use the old version. Both versions of a library can coexist peacefully.

The attached patches add support for library versioning to OpenAL and
freealut. Note that to actually work, the LT_CURRENT, LT_REVISION and
LT_AGE variables will need to be updated when necessary. For information
on when these need to be changed, see [0]. The patches are against
versions 0.0.8 and 1.0.1 of OpenAL and freealut respectively.

We would really appreciate if you could apply those patches upstream and
keep adjusting the library version-info as necessary.

For the time being, I suggest that OpenAL starts with a SONAME of
libopenal.so.1. That way we can transition smoothly from our current
OpenAL in Debian, which doesn't have library versioning at all and thus
ends up with a (default) SONAME of libopenal.so.0.

The included patches already set LT_CURRENT=1 for OpenAL, which will
result in the correct SONAME. LT_CURRENT is set to 0 for freealut, but you may
want to increment it if there are already versions with SONAME libalut.so.0 or
libalut.so.1 for other distributions.

For the Debian Games Team,
Thierry Reding

[0]: http://sources.redhat.com/autobook/autobook/autobook_91.html

Attachment: autoconf-libtool.diff
Description: Text document

Attachment: autoconf-libtool.diff
Description: Text document

Attachment: signature.asc
Description: Digital signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe