Update of /cvsroot/pure-data/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17219
Modified Files: generate-libdir-metafile.sh Log Message: added -meta to the meta files per the PDDP standard
Index: generate-libdir-metafile.sh =================================================================== RCS file: /cvsroot/pure-data/scripts/generate-libdir-metafile.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** generate-libdir-metafile.sh 9 Dec 2005 06:52:40 -0000 1.2 --- generate-libdir-metafile.sh 28 Nov 2006 03:52:09 -0000 1.3 *************** *** 14,18 **** file_name="$1"; shift meta_type="$1"; shift ! echo "#X text 10 $Y ${meta_type}: $@;" >> "$file_name" ((Y=Y+20)) } --- 14,18 ---- file_name="$1"; shift meta_type="$1"; shift ! echo "#X text 10 $Y ${meta_type} $@;" >> "$file_name" ((Y=Y+20)) } *************** *** 33,47 **** BASE_DIR="$1"; shift LIBNAME="$1"; shift ! libdir_file_name="${BASE_DIR}/${LIBNAME}/${LIBNAME}.pd" # create pd file touch "${libdir_file_name}"
! # create .pd header with subpatch called "PDDP_META" echo "#N canvas 10 10 200 200 10;" >> "${libdir_file_name}" ! echo "#N canvas 20 20 420 300 PDDP_META 0;" >> "${libdir_file_name}" #N canvas 249 280 600 398 loc&precess 0;
# add required meta fields ! print_pd_text "${libdir_file_name}" PDDP_META "this is a prototype of a libdir meta file" print_pd_text "${libdir_file_name}" NAME ${LIBNAME}
--- 33,47 ---- BASE_DIR="$1"; shift LIBNAME="$1"; shift ! libdir_file_name="${BASE_DIR}/${LIBNAME}/${LIBNAME}-meta.pd" # create pd file touch "${libdir_file_name}"
! # create .pd header with subpatch called "META" echo "#N canvas 10 10 200 200 10;" >> "${libdir_file_name}" ! echo "#N canvas 20 20 420 300 META 0;" >> "${libdir_file_name}" #N canvas 249 280 600 398 loc&precess 0;
# add required meta fields ! print_pd_text "${libdir_file_name}" META "this is a prototype of a libdir meta file" print_pd_text "${libdir_file_name}" NAME ${LIBNAME}
*************** *** 72,80 **** ;; esac ! shift shift done
! echo "#X restore 10 10 pd PDDP_META;" >> "${libdir_file_name}"
--- 72,80 ---- ;; esac ! shift shift done
! echo "#X restore 10 10 pd META;" >> "${libdir_file_name}"