libpri1, libpri1.2, SONAMES etc.

Faidon Liambotis paravoid at debian.org
Sun Jul 22 06:47:53 UTC 2007


Faidon Liambotis wrote:
> libpri 1.4:
>    SONAME: 1.4
>    -dev package name: libpri1.4-dev
>      i.e. contains: /usr/lib/libpri.1.4
> libpri 1.2:
>    package name: libpri1.2
>    -dev package name: libpri1.2-dev
>    SONAME: 1.2
>      i.e. contains: /usr/lib/libpri.1.2
I began implementing this almost according to plan. The following 
changes/problems occured:
a) libpri.so.1 is useless, therefore dropped
b) the sources are libpri and libpri1.2. The second one is providing 
libpri1.2-dev, but what about the first one? Should it provide 
libpri1.4-dev? What is going to be with libpri 1.6?

I haven't commited anything wrt to the SONAME change since it's still in 
flux and there isn't a consensus yet (and branches in SVN suck).

But that's not why I'm mailing again.

I just did a quick diff between libpri1.2/trunk/libpri.h and 
libpri/trunk/libpri.h and the changes seem to be compatible.

Has anyone tried running Asterisk 1.2 with libpri 1.4?

I also diffed libpri1.2 + bristuff and libpri1.4 + bristuff and they are 
  identical, besides the Digium changes.

If that's the case, and we are going forward with bristuffed Asterisk 
1.4, we should drop libpri1.2 completely.

Fixing the SONAME in 1.4 should be done IMHO and we could just have 
libpri1.4 Provides libpri1.2. Old packages should work, while new 
packages (which may use pri_keypad_facility, the new function) will 
depend on libpri1.4.

Can someone test it?

Regards,
Faidon



More information about the Pkg-voip-maintainers mailing list