Comment 7 for bug 316971

Revision history for this message
Yannick Defais (sevmek) wrote : Re: [Jaunty] Ekiga's non free codec support isn't available in multiverse

Hello,

I think there is no need to use the source from upstream, the source of OPAL in jaunty contains and build the videos codecs we need but erase them in the "rules" file (in debian repository) line 142:
        #remove non-free video codecs (if any)
 -rm debian/install/usr/lib/opal-*/codecs/video/h264*
 -rm debian/install/usr/lib/opal-*/codecs/video/h263-1998*
 -rm debian/install/usr/lib/opal-*/codecs/video/mpeg4*

The source of OPAL in Jaunty lack the audio codec iLBC, same file as above line 241:
 @@rm -rf ../tarballs/opal-$(UPVERSION).tmp/opal*/plugins/audio/iLBC
Thus the ILBC directory has to be patched using the upstream source.

I guess if we add the necessary dependancies during compilation of OPAL we will have all the codecs, then we could move them is several packages e.g. for H264 (line 142):
 #h264
 mkdir -p debian/$(PACKAGE)-plugins-h264/usr/lib/opal-3.6.1/codecs/video/
 -mv debian/install/usr/lib/opal-*/codecs/video/h264* debian/$(PACKAGE)-plugins-h264/usr/lib/opal-3.6.1/codecs/video/

The control file needs to change too, with things like:
debhelper, libpt2.6.1-dev, dpatch, doxygen, autotools-dev, pkg-config, libtheora-dev, libgsm1-dev, libspeex-dev, libspeexdsp-dev, libavcodec-unstripped-52-dev, libx264-65-dev

and new sections like e.g. for H264:

Package: libopal3.6.1-plugins-h264
Section: libs
Architecture: any
Depends: ${shlibs:Depends}, libopal3.6.1, libavcodec-unstripped-52, libx264-65
Description: H.264 video codec for Open Phone Abstraction Library - successor of OpenH323
 The OPAL project aims to create a full featured, interoperable, Open Source
 implementation of the H.323 and SIP protocols that can be used freely by
 everybody. These protocols are most used for Voice over IP (VoIP)
 conferencing.
 .
 This package contains OPAL support for the h264 video codec.
Homepage: http://www.opalvoip.org/

Well, I've no time to do this work unfortunately, in hope that helps.

Best regards,
Yannick