Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238020 - New package: dev-java/fec
Summary: New package: dev-java/fec
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Thomas Sachau
URL: http://www.onionnetworks.com/developers/
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 128783 231438 238036
  Show dependency tree
 
Reported: 2008-09-18 14:35 UTC by Santiago M. Mola (RETIRED)
Modified: 2009-01-25 23:54 UTC (History)
1 user (show)

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


Attachments
fec-1.0.3.ebuild (fec-1.0.3.ebuild,1.12 KB, text/plain)
2008-09-18 17:19 UTC, Thomas Sachau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Santiago M. Mola (RETIRED) gentoo-dev 2008-09-18 14:35:29 UTC
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.
Comment 1 Thomas Sachau gentoo-dev 2008-09-18 17:19:54 UTC
Created attachment 165733 [details]
fec-1.0.3.ebuild
Comment 2 Alistair Bush (RETIRED) gentoo-dev 2008-12-26 03:48:26 UTC
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.
Comment 3 Thomas Sachau gentoo-dev 2008-12-26 13:49:07 UTC
(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.