As you sort of allude to, Agg is so heavily templatized that there's little 
benefit to linking against a shared library (little disk space savings, for 
instance).

However, there are some .cpp (i.e. non-header files) that need to be compiled 
and linked.  If Debian doesn't include a shared library, how would we link to 
those?

You can see what .cpp files we need (we don't need all of them) by looking at 
build_agg in setupext.py

Assuming you can get this to work with Debian's packages, I think the cleanest 
way to find and link to it is by using pkg-config.  Does the Agg Debian package 
provide a pkg-config .pc file?  There is code in setupext to do pkg-config 
lookups -- we could try that first, and if that fails, fall back on out 
included copy of Agg.

What we would want to avoid, of course, is including the system Agg and linking 
against the local Agg as your patch appears to do.  That could be a problem, 
especially wrt any Debian-specific patches added in the future.

Sorry I can't help more now (I'm away from the office), but let me know how far 
you get with this info and if you run up against something else.

Cheers,
Mike

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to