On Sat, 2 Jun 2012 13:21:23 +0100 Mick <[email protected]> said:

> On Friday 01 Jun 2012 15:23:38 Jeff Hoogland wrote:
> > evas_generic_loaders did the trick.
> 
> Hmm ... how do I do this in Gentoo?
> 
> Do I have to edit the ebuild?  I can see this in 
> /var/lib/layman/enlightenment/media-libs/evas/evas-9999.ebuild
> 
>  --enable-image-loader-generic \
> 
> but nothing about evas_generic_loaders.

that is juts the generic loader module. its called "generic" because it doesn't
load any specific format at all. ALL it does is execute a command, and IF that
executable is there, then it works. the executable is passed some options on
the cmdline (filename etc.) and evas expects some output on stdout (which may
also indicate a file to mmap or shm segment to mmap to get raw rgba pixel
data).

the point here is that all loading is farmed off to a slave process that
is dumbly executed each time an image needs loading. the binaries are
PREFIX/lib/evas/utils/evas_image_loader* (PREFIX being wherever your evas is
installed, eg /usr/local). these loader processes can be GPL and not affect the
license of libraries and applications that use evas because evas isn't a
derivative work - these can be dropped into that directory (or removed) at any
time and are developed in isolation to evas. it also mean they can crash all
they want and be unstable, and the app using evas is unaffected other than not
being able to load that image, unload loader modules that, if unstable, cause
the whole app to crash.

so to make USE of the generic loader module you need some generic loader
binaries. we released those already separately and they are in svn -
evas_generic_loaders. they provide loaders for raw, xcf, ps, pdf, as well as a
chunk of movie files (mov, avi, etc.)

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to