Alternate G.729 implementation and G.723 implementation. Depends on masked IPP dependencies at this stage, and also generates a few QA warnings. Need help on fixing those. This isn't usable for commercial purposes according to Digium, however, some others may find this useful. Also, patents don't hold in all parts of the world, so may not even be a problem for everyone. Current QA issues. * QA Warning: running libtoolize in configure phase * QA Warning: running aclocal in configure phase * QA Warning: running autoconf in configure phase * QA Warning: running autoheader in configure phase * QA Warning: running automake in configure phase Reproducible: Always
Created attachment 327666 [details] asterisk-g72x-1.1.ebuild
Created attachment 327668 [details, diff] files/configure-ipp7.1.patch
eautoreconf must be in src_prepare
Something like this: src_prepare() { default_src_prepare eautoreconf } But this causes the PATCHES variable to not function properly ... ? As in the whole reason for the patch is to patch configure.ac, and with this it fails again ...
Created attachment 331392 [details] asterisk-g72x-1.1.ebuild Ok, this fixes the QA warnings, by adding a src_prepare function that first calls the default_src_prepare, then the base_src_prepare functions before triggering eautoreconf. Other than that it seems to work well.
Created attachment 467012 [details] net-misc/asterisk-g72x-1.3.ebuild http://www.sipro.com/G729.html I suspect that announcement is a potential go-ahead and merge this. Uploading ebuild for version 1.3 (no additional files required - the ebuild now uses gcc instead of ipp - if someone else would like to fix that - be my guest). 1.4 has been released, but it looks like it is specific to asterisk 13 (just had a very quick look at the header files for ast13 and it defines the missing stuff, which the asterisk 11 headers does not). We've been using 1.3 ebuild in test and developer environments for a while now. Unfortunately as much as I'd like to migrate to ast 13 it's probably not going to happen too quickly.
Created attachment 509338 [details] asterisk-g72x-1.4.ebuild This can be bumped to 1.4 by simple ebuild rename, the newly attached version however adds the dependency on asterisk itself which was actually missing. Versions 1.4.1 and 1.4.2 fails due to a problem with the media-plugins/mediastreamer-bcg729 package. So when mediastreamer gets updated we can bump this to 1.4.2.
Created attachment 509340 [details] asterisk-g72x-1.4.ebuild asterisk-g72x-1.4 is asterisk 13 specific. asterisk-g72x-1.3 is asterisk 11 specific.
Created attachment 509342 [details] asterisk-g72x-1.3.ebuild
Created attachment 535860 [details] asterisk-g72x-1.3.ebuild EAPI/eclass bump.
Created attachment 535862 [details] asterisk-g72x-1.4.ebuild EAPI/eclass bump.
Can't seem to get this to build right now: codec_g72x.c:218:20: error: too few arguments to function ‘initBcg729EncoderChannel’
Due to mediastreamer-bcg729 being dropped we will no longer be able to merge this. Plus I've encountered *decode* inifinite loop issues with this, resulting in asterisk deadlocks, based on those two reasons, discarding.