Bug#424050: Proposed solution

Faidon Liambotis paravoid at debian.org
Wed May 30 08:20:48 UTC 2007


package libopenh323-1.18.0
tag 424049 + patch
package libpt-1.10.0
tag 424050 + patch
thanks control

[3rd mail against the same package with patches attached in a row!]

As I stated before, the major blocker in removing the conflicts between 
different versions of libpt/libopenh323 is the /usr/lib/pwlib/ (and its 
respective /usr/lib/debug one) directory, which is present in both 
libraries and is common between different versions.

Attached you will find two patches -one for each library- in which I 
attempt to resolve this by placing the pwlib plugins and H.323 codecs in

  /usr/lib/pwlib/${PWLIB_VERSION}/foo/bar
(e.g. /usr/lib/pwlib/1.10.2/codecs/audio)
instead of
  /usr/lib/pwlib/foo/bar

This is a bit suboptimal, because we can have the same SONAME but a 
different minor or build version which will result in tightened 
dependencies for no reason. This is not however such a big deal and it's 
certainly better than the current situation.

As always, I'm including patches for "configure" along with configure.ac 
to avoid an unnecessary build-dependency on autoconf.

Please not that the patches are only build-tested for the moment. 
Feedback is welcome!
Also please not that the patches do not include the removal of 
Conflicts/Replaces from debian/control, this has to be done by the 
maintainer(s).

Please apply. Having multiple versions of the same library installed and 
happily coexist is standard procedure in Debian and for a good reason.

Best regards,
Faidon

P.S. On a side note, the whole mess with 
LIBH323COMPAT/LIBPTCOMPAT{1,2,3} should really be resolved. Libraries 
have SONAMEs that indicate their ABI, that's all that matters.
We shouldn't care about the "build number" or the minor revision that 
didn't break the ABI and we certainly shouldn't create useless symlinks. 
Look e.g. at libpcap0.8, which has a 0.8 soname but its version is 0.9.5 
-- there was a discussion on debian-devel some time ago about this.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pwlib-versioned-plugins
Url: http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20070530/68b8b1ca/attachment-0006.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: openh323-versioned-pwlib-plugins
Url: http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20070530/68b8b1ca/attachment-0007.txt 


More information about the Pkg-voip-maintainers mailing list