Hello,
I'm currently trying to study if it's possible to remove the bundled
agg library and use the one available in Debian instead.

Currently (and sadly) we have only a -dev package (that contains only
the development stuff) and not a real shared library to link against.

If it will be available, do you think it would be possible to link the
mpl source code against that one?

As of now, I was only able to force to use the system headers file with:

--- matplotlib-0.98.3.orig/setupext.py  2008-08-22 00:12:08.622829529 +0200
+++ matplotlib-0.98.3/setupext.py       2008-08-22 00:12:20.759521159 +0200
@@ -585,7 +585,7 @@
     # before adding the freetype flags since -z comes later
     add_base_flags(module)
     add_numpy_flags(module)
-    module.include_dirs.extend(['src', '%s/include'%AGG_VERSION, '.'])
+    module.include_dirs.extend(['src', '/usr/include/agg2/', '.'])

     # put these later for correct link order
     module.libraries.extend(std_libs)

Thanks in advance,
Sandro

-- 
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

-------------------------------------------------------------------------
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