Forward Error Correction (FEC) is an essential building block of any satellite or IP multicast based content distribution system. Our library is the fastest and most mature Java FEC library available. It features: * Fast multi-threaded I/O routines for encoding and decoding files * Native linux, solaris, and win32 accellerators with pure Java fallback * FEC codec plugin interface * Cryptograhic hashes can be used for checking file integrity Needed for various packages. It's in sunrise.
Created attachment 165733 [details] fec-1.0.3.ebuild
Ok I have a look at this package from sunrise, as I need it for frostwire and I noticed a few things. 1) You not build or install libfec8. 2) You patch the source to look for libfec8 in a location where it will not be (for multiple reasons). In fact it is probably better to not patch the code at all as the original code "looks" more correct.
(In reply to comment #2) > Ok I have a look at this package from sunrise, as I need it for frostwire and I > noticed a few things. > > 1) You not build or install libfec8. There is net-libs/fec for it. That lib installs the .so files like i do for all other libs too (/usr/lib/<libname>.so). > 2) You patch the source to look for libfec8 in a location where it will not be > (for multiple reasons). In fact it is probably better to not patch the code at > all as the original code "looks" more correct. > The code does not load the lib, neither in <workdir>/lib nor in /usr/lib, which is set as libdir in my test app (net-p2p/freenet). This patch does at least load the lib, also it only works on x86 and crashes badly on amd64.