[flext] autotools builders - py/ext
dmotd
inaudible at simplesuperlativ.es
Fri Mar 25 15:35:25 CET 2011
attached is a patch (svn diff) to add autotools support for py/pyext..
it's a revised, edited and ammended version of the script set from pool,
which adds install directives for data/documentation and makes a few
changes to the configuration flags.
the relevant flags are follows:
---
--enable-flext-host host environment for flext [default=pd]
--with-pd-headers path to pd headers
--with-pd-libdir pd external install search path [typically
PDPATH/extra]
--with-max-headers path to max SDK headers
--with-max-initdir install path for max init files
--with-max-helpdir install path for max help files
--with-max-libdir install path for max objects and libraries
--with-flext-headers path to the flext headers
[default=PREFIX/include/flext]
--with-flext-libs path to the flext libraries [default=PREFIX/lib]
--with-numarray-headers path to the numarray headers
--with-numeric-headers path to the numeric headers
--with-numpy-headers path to the numpy headers
--enable-gil use thread-safe GIL functionality [for >=
python2.3]
[default=no]
--enable-inofficial use inofficial pure data functionality
[default=no]
---
i've tried to make some of the labels a little less ambiguous, separated
max and pd flags, and removed the need for --libdir as an install
location (--libdir is not very flexible with autotools when installing
to non-standard locations, in fact libtool itself is a bit strict with a
lot of things and doesn't have much builtin scope for plugin
architectures - read headaches).
in terms of internals, it should detect python and its headers, detect
the installed buffer support - for numpy it should find its include
path, numarray will do a dumb guess and numeric - well numeric doesn't
seem to be setup in pybuffer.cpp (is that a mistake?). there are
safeguards/warnings and all that other necessary autostuff.
i've tested this on a couple of linux machines and nothing else, but it
should be ready for other platforms.
i look forward to test results/changes and if things seem positive i'll
start work on the other libs in the grrrr set and beyond that make a
template for other projects using flext. hopefully this will be enough
to get flext libs packaged up in some of the popular linux distros (i
work with archlinux here and maintain pd packages for it so that'll be a
given).
cheers,
dmotd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: py-autotools-r3745.patch
Type: text/x-patch
Size: 14978 bytes
Desc: not available
URL: <http://grrrr.org/pipermail/flext/attachments/20110326/a956fdd8/attachment.bin>
More information about the flext
mailing list