Bug#792303: asterisk-modules: new upload has undesireable depends
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Wed Nov 11 11:36:17 UTC 2015
On Wed, Nov 11, 2015 at 08:36:51AM +0200, Tzafrir Cohen wrote:
> On Sun, Nov 08, 2015 at 05:21:17PM -0500, James Cloos wrote:
> > >>>>> "TC" == Tzafrir Cohen <tzafrir at cohens.org.il> writes:
> >
> > TC> res_rtp_asterisk and the pjsip modules link with pjproject
> > TC> libraries. I guess further symbols diet may be needed.
> >
> > Perhaps pjproject needs a x vs nox split?
>
> Maybe. Not sure this is the right split.
>
> A few more details.
>
> The pkgconfig file:
>
> ###########################################
> prefix=/usr
> exec_prefix=${prefix}
> libdir=/usr/lib/x86_64-linux-gnu
> includedir=/usr/include
>
> Name: libpjproject
> Description: Multimedia communication library
> URL: http://www.pjsip.org
> Version: 2.4.5
> Libs: -L${libdir} -lpjsua2 -lstdc++ -lpjsua -lpjsip-ua -lpjsip-simple
> -lpjsip -lpjmedia-codec -lpjmedia -lpjmedia-videodev -lpjmedia-audiodev
> -lpjmedia -lpjnath -lpjlib-util -lsrtp -lpj -lm -lrt -lpthread
> -lopencore-amrnb
> Cflags: -I${includedir} -I/usr/include -DPJ_AUTOCONF=1
> -DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1
> ###########################################
>
>
> Below are the actual external dependenciesof various libraries.
> Note, however, that all of them depend on libpjlib-utils2, which has
> many external dependencies. I suspect that the dependency on X comes
> from libsld2, which is pulled by the utils library.
>
> I'll try to see if there are some unused libraries in the utils, but I'm
> not optimitic. Having a separate nox build is not something I want. I do
Not as bad as I thought. libSDL's dependencies in the util libraries
aree unused: checking for "dpkg-shlibdeps: warning: package could avoid
a useless dependency if FOO was not linked against BAR (it uses none of the
library's symbols)" (see below).
I'll try to do something, but if someone beats me to it, it would be
nice.
$ awk '/useless/{print $10,$15}' ../pjproject_2.4.5~dfsg-1_amd64.build | sed -e 's|.*/||'
libpjlib-util.so.2 libv4l2.so.0
libpjlib-util.so.2 libswscale-ffmpeg.so.3
libpjlib-util.so.2 libavformat-ffmpeg.so.56
libpjlib-util.so.2 libopencore-amrnb.so.0
libpjlib-util.so.2 libSDL2-2.0.so.0
libpjlib-util.so.2 libavutil-ffmpeg.so.54
libpjlib-util.so.2 libavcodec-ffmpeg.so.56
libpjmedia-audiodev.so.2 libpthread.so.0
libpjmedia-audiodev.so.2 libm.so.6
libpjmedia-audiodev.so.2 libopencore-amrnb.so.0
libpjmedia-audiodev.so.2 libavutil-ffmpeg.so.54
libpjmedia-audiodev.so.2 libavcodec-ffmpeg.so.56
libpjmedia-audiodev.so.2 librt.so.1
libpjmedia-audiodev.so.2 libsrtp.so.0
libpjmedia-audiodev.so.2 libavformat-ffmpeg.so.56
libpjmedia-audiodev.so.2 libswscale-ffmpeg.so.3
libpjmedia-audiodev.so.2 libSDL2-2.0.so.0
libpjmedia-audiodev.so.2 libv4l2.so.0
libpjmedia-codec.so.2 libm.so.6
libpjmedia-codec.so.2 libavformat-ffmpeg.so.56
libpjmedia-codec.so.2 libSDL2-2.0.so.0
libpjmedia-codec.so.2 libswscale-ffmpeg.so.3
libpjmedia-codec.so.2 libpthread.so.0
libpjmedia-codec.so.2 libsrtp.so.0
libpjmedia-codec.so.2 libv4l2.so.0
libpjmedia-codec.so.2 librt.so.1
libpjmedia-videodev.so.2 libsrtp.so.0
libpjmedia-videodev.so.2 libavutil-ffmpeg.so.54
libpjmedia-videodev.so.2 libopencore-amrnb.so.0
libpjmedia-videodev.so.2 libswscale-ffmpeg.so.3
libpjmedia-videodev.so.2 libavformat-ffmpeg.so.56
libpjmedia-videodev.so.2 libavcodec-ffmpeg.so.56
libpjmedia-videodev.so.2 libm.so.6
libpjmedia-videodev.so.2 librt.so.1
libpjmedia.so.2 libv4l2.so.0
libpjmedia.so.2 libopencore-amrnb.so.0
libpjmedia.so.2 libpthread.so.0
libpjmedia.so.2 librt.so.1
libpjmedia.so.2 libSDL2-2.0.so.0
libpjmedia.so.2 libavcodec-ffmpeg.so.56
libpjnath.so.2 libswscale-ffmpeg.so.3
libpjnath.so.2 libSDL2-2.0.so.0
libpjnath.so.2 libavcodec-ffmpeg.so.56
libpjnath.so.2 libv4l2.so.0
libpjnath.so.2 libavutil-ffmpeg.so.54
libpjnath.so.2 libopencore-amrnb.so.0
libpjnath.so.2 libavformat-ffmpeg.so.56
libpjnath.so.2 libopencore-amrwb.so.0
libpjsip-simple.so.2 libm.so.6
libpjsip-simple.so.2 libpthread.so.0
libpjsip-simple.so.2 libsrtp.so.0
libpjsip-simple.so.2 libopencore-amrnb.so.0
libpjsip-simple.so.2 librt.so.1
libpjsip-ua.so.2 librt.so.1
libpjsip-ua.so.2 libm.so.6
libpjsip-ua.so.2 libopencore-amrnb.so.0
libpjsip-ua.so.2 libpthread.so.0
libpjsip-ua.so.2 libsrtp.so.0
libpjsip.so.2 libpthread.so.0
libpjsip.so.2 libopencore-amrnb.so.0
libpjsip.so.2 libm.so.6
libpjsip.so.2 librt.so.1
libpjsip.so.2 libsrtp.so.0
libpjsua.so.2 librt.so.1
libpjsua.so.2 libopencore-amrnb.so.0
libpjsua.so.2 libsrtp.so.0
libpjsua.so.2 libpthread.so.0
libpjsua.so.2 libm.so.6
libpjsua2.so.2v5 librt.so.1
libpjsua2.so.2v5 libpjsip-ua.so.2
libpjsua2.so.2v5 libpjnath.so.2
libpjsua2.so.2v5 libsrtp.so.0
libpjsua2.so.2v5 libpthread.so.0
libpjsua2.so.2v5 libopencore-amrnb.so.0
libpjsua2.so.2v5 libpjmedia-codec.so.2
libpj.so.2 libopencore-amrnb.so.0
_pjsua.x86_64-linux-gnu.so libpjsip-simple.so.2
_pjsua.x86_64-linux-gnu.so libpjnath.so.2
_pjsua.x86_64-linux-gnu.so libpjmedia.so.2
_pjsua.x86_64-linux-gnu.so libm.so.6
_pjsua.x86_64-linux-gnu.so libpjsip-ua.so.2
_pjsua.x86_64-linux-gnu.so libpjmedia-videodev.so.2
_pjsua.x86_64-linux-gnu.so libpthread.so.0
_pjsua.x86_64-linux-gnu.so libopencore-amrnb.so.0
_pjsua.x86_64-linux-gnu.so libpjmedia-audiodev.so.2
_pjsua.x86_64-linux-gnu.so libsrtp.so.0
_pjsua.x86_64-linux-gnu.so libpjlib-util.so.2
_pjsua.x86_64-linux-gnu.so librt.so.1
_pjsua.x86_64-linux-gnu.so libpjmedia-codec.so.2
(The last one is from the python interface package)
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com
More information about the Pkg-voip-maintainers
mailing list