From 3f1f0a6602949ece70c035d13746cfa7210a43c6 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 17 May 2007 03:50:48 +0000 Subject: set an env var in u_main.tk on Mac OS X so that libquicktime can find its plugins when all the libs are embedded in the Pd.app svn path=/trunk/; revision=7678 --- .../patches/libquicktime_plugin_support-0.39.2.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 packages/patches/libquicktime_plugin_support-0.39.2.patch diff --git a/packages/patches/libquicktime_plugin_support-0.39.2.patch b/packages/patches/libquicktime_plugin_support-0.39.2.patch new file mode 100644 index 00000000..eb098cca --- /dev/null +++ b/packages/patches/libquicktime_plugin_support-0.39.2.patch @@ -0,0 +1,17 @@ +Index: u_main.tk +=================================================================== +RCS file: /cvsroot/pure-data/pd/src/u_main.tk,v +retrieving revision 1.17.2.10 +diff -u -w -r1.17.2.10 u_main.tk +--- u_main.tk 15 May 2007 04:58:58 -0000 1.17.2.10 ++++ u_main.tk 17 May 2007 03:48:19 -0000 +@@ -55,6 +55,9 @@ + global pd_guidir + global pd_tearoff + set pd_gui2 [string range $argv0 0 [expr [string last / $argv0 ] - 1]] ++# this is the embedded libquicktime can find its embedded plugins ++ puts stderr "Setting LIBQUICKTIME_PLUGIN_DIR: $pd_gui2/../../lib/libquicktime" ++ set env(LIBQUICKTIME_PLUGIN_DIR) $pd_gui2/../../lib/libquicktime + set pd_guidir $pd_gui2/.. + load $pd_guidir/bin/libPdTcl.dylib + set pd_tearoff 0 -- cgit v1.2.1