[PD] shell scripts to tell which externals are used by patches

Claude Heiland-Allen claudiusmaximus at goto10.org
Tue Apr 8 18:26:53 CEST 2008


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.


Claude
-- 
http://claudiusmaximus.goto10.org




More information about the Pd-list mailing list