Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440100 - net-misc/asterisk-g72x ebuild submission
Summary: net-misc/asterisk-g72x ebuild submission
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Jaco Kroon
URL: http://asterisk.hosting.lv/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-29 09:10 UTC by Jaco Kroon
Modified: 2020-01-18 14:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
asterisk-g72x-1.1.ebuild (asterisk-g72x-1.1.ebuild,553 bytes, text/plain)
2012-10-29 09:11 UTC, Jaco Kroon
Details
files/configure-ipp7.1.patch (configure-ipp7.1.patch,2.12 KB, patch)
2012-10-29 09:12 UTC, Jaco Kroon
Details | Diff
asterisk-g72x-1.1.ebuild (asterisk-g72x-1.1.ebuild,611 bytes, text/plain)
2012-12-04 10:02 UTC, Jaco Kroon
Details
net-misc/asterisk-g72x-1.3.ebuild (asterisk-g72x-1.3.ebuild,516 bytes, text/plain)
2017-03-14 12:43 UTC, Jaco Kroon
Details
asterisk-g72x-1.4.ebuild (asterisk-g72x-1.4.ebuild,534 bytes, text/plain)
2017-12-11 12:12 UTC, Jaco Kroon
Details
asterisk-g72x-1.4.ebuild (asterisk-g72x-1.4.ebuild,541 bytes, text/plain)
2017-12-11 12:24 UTC, Jaco Kroon
Details
asterisk-g72x-1.3.ebuild (asterisk-g72x-1.3.ebuild,539 bytes, text/plain)
2017-12-11 12:25 UTC, Jaco Kroon
Details
asterisk-g72x-1.3.ebuild (asterisk-g72x-1.3.ebuild,546 bytes, text/plain)
2018-06-14 11:23 UTC, Tony Vroon (RETIRED)
Details
asterisk-g72x-1.4.ebuild (asterisk-g72x-1.4.ebuild,546 bytes, text/plain)
2018-06-14 11:23 UTC, Tony Vroon (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaco Kroon 2012-10-29 09:10:42 UTC
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
Comment 1 Jaco Kroon 2012-10-29 09:11:49 UTC
Created attachment 327666 [details]
asterisk-g72x-1.1.ebuild
Comment 2 Jaco Kroon 2012-10-29 09:12:12 UTC
Created attachment 327668 [details, diff]
files/configure-ipp7.1.patch
Comment 3 Agostino Sarubbo gentoo-dev 2012-10-29 09:22:35 UTC
eautoreconf must be in src_prepare
Comment 4 Jaco Kroon 2012-10-29 11:39:02 UTC
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 ...
Comment 5 Jaco Kroon 2012-12-04 10:02:27 UTC
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.
Comment 6 Jaco Kroon 2017-03-14 12:43:56 UTC
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.
Comment 7 Jaco Kroon 2017-12-11 12:12:42 UTC
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.
Comment 8 Jaco Kroon 2017-12-11 12:24:26 UTC
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.
Comment 9 Jaco Kroon 2017-12-11 12:25:23 UTC
Created attachment 509342 [details]
asterisk-g72x-1.3.ebuild
Comment 10 Tony Vroon (RETIRED) gentoo-dev 2018-06-14 11:23:20 UTC
Created attachment 535860 [details]
asterisk-g72x-1.3.ebuild

EAPI/eclass bump.
Comment 11 Tony Vroon (RETIRED) gentoo-dev 2018-06-14 11:23:49 UTC
Created attachment 535862 [details]
asterisk-g72x-1.4.ebuild

EAPI/eclass bump.
Comment 12 Tony Vroon (RETIRED) gentoo-dev 2018-06-14 11:24:29 UTC
Can't seem to get this to build right now:
codec_g72x.c:218:20: error: too few arguments to function ‘initBcg729EncoderChannel’
Comment 13 Jaco Kroon 2020-01-18 14:31:11 UTC
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.