[vorbis-dev] Patches and questions for spec files

Chris Cheney ccheney at cheney.cx
Mon Jul 15 10:00:02 PDT 2002



On Mon, Jul 15, 2002 at 03:10:28AM -0700, Adrien Beau wrote:
-snip-
> c) libvorbis: I added a check to configure.in to detect a new function in
> the final libogg version, so that it complains if you don't have libogg 
> 1.0 installed.
> I did the same trick as for libogg wrt upgrades.  There's only one 
> problem.  The so version on vorbisfile and vorbisenc has jumped from 
> libvorbis*.so.0 to 2 and 3, apparently.  If this is genuinely necessary, I 
> guess you should leave it as it is, but if it's not really necessary, and 
> you could also get by by only changing the second so number.
> 
> The reason I'm saying this is because on a standard redhat system (with or 
> without ximian), a few packages REQUIRE libvorbisfile.so.0 and 
> libvorbisenc.so.0, and thus at this point users having those packages are 
> unable to upgrade to the new 1.0 release without problems.
> Packages in question are, among others, SDL, sox, tuxracer, xmms, and a 
> few more.
> Some of these are very common, so if you can, please consider the question 
> if this new libtool version is really needed in this form.
> 
> I repeat : if it is not necessary, I would advise you to revert the first 
> version number to 0 so that an upgrade to the new 1.0 release version is 
> not too painful on your users ;)
> 
> Of course, if it is really necessary (i don't know the specifics), then 
> leave it as is.  If not, please change it before doing the release :)
-snip-

The so version jump is due to how libtool works, but the version bump
itself as I understand it was required due to changes in vorbis.  To
understand how libtool versions libs you can think of it like this:

libfoo.so.x.y.z

CURRENT
REVISION
AGE

o libfoo.so.CURRENT-AGE.AGE.REVISION

release 1.0.0

2:0:2 so libvorbis.so.0.2.0
2:0:0 so libvorbisenc.so.2.0.0
3:0:0 so libvorbisfile.so.3.0.0

release 1.0rc3

1:0:1 so libvorbis.so.0.1.0
1:0:1 so libvorbisenc.0.1.0
2:0:2 so libvorbisfile.0.2.0

ee http://www.gnu.org/software/libtool/manual.html#Libtool%20versioning
for a more in depth explanation.

Chris Cheney
Debian Developer

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list