Alan:

> Sriram Natarajan wrote:
>> Hi
>>  Has any one considered compiling some of the open source CPU intensive
>> applications with MediaLib ?  I am evaluating on the benefits of
>> compiling PHP's GD library with this tool and I want to know if any one
>> has done this before and is this approach going to be accepted within
>> Open Solaris SFW build system ?

Note that mediaLib is dual-licensed under the CDDL and the LGPL, so it
is normally possible to get mediaLib changes accepted upstream into
GPL'ed programs:

    http://projectkenai.com/projects/openmlib

I believe GTK+ is the only free software module that I know of which
uses mediaLib.

>> http://www.sun.com/processors/vis/mlibfiles.html
> 
> GTK has used medialib for a while for image scaling and similar operations.
> I've cc'ed Brian Cameron who did a lot of that work and would be able to
> best explain the benefits they saw.

Are there any specific questions?

> However, all the applications linked with it have had to make sure that
> usage is optional (i.e. dlopen() not direct link) since there's not
> enough room on the OpenSolaris LiveCD's for the very large size of the
> MediaLib libraries in all their CPU-specific variations.

I think this is only true if the program which uses mediaLib is also on
the LiveCD (as is the case with GTK+).  If the program using mediaLib is
not on the LiveCD, then it should be fine to just require the mediaLib
packages so they get downloaded and installed as dependencies when you
use the package manager to install the program which uses it.

Brian


Reply via email to