Hi all,
I wrote some shell scripts to find out which externals my patches need.
Download:
svn co https://devel.goto10.org/svn/maximus/pdpatchinfo
Example usage:
$ ./internals.sh ~/src/pd-0.41-4 >pd-0.41-4.txt $ ./objs.sh <~/maximus/2008/gg/spiral.pd | ./externals.sh pd-0.41-4.txt colorRGB expr gem2graphgrow gemhead gemwin graphgrow pix_snap2tex rotateXYZ scale scaleXYZ separator square translateXYZ $
Future usage:
$ ./objs.sh <~/maximus/2008/gg/spiral.pd | ./externals pd-0.41-4.txt | ./externals pd-0.41-4-bundled.txt | ./externals Gem.txt gem2graphgrow graphgrow $
Notes:
(1) ./internal.sh depends on the source code format (which is a bit fragile/hacky). (2) To get a list of objects defined by a library would require patching Pd to add printing to class_new() and class_addcreator(). (3) Haven't yet written the list of the externals "bundled with Pd".
This message brought to you by the characters "#X" and the number 247.
On Tue, Apr 8, 2008 at 9:26 AM, Claude Heiland-Allen claudiusmaximus@goto10.org wrote:
Hi all,
I wrote some shell scripts to find out which externals my patches need.
Great! I had been planning to whip up something like this for a while, but I'm glad you did it since I probably would have done something silly like tried to use Pd to process the files.
Thanks Luke