aboutsummaryrefslogtreecommitdiff
path: root/packages/patches
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-05-17 03:50:48 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-05-17 03:50:48 +0000
commit3f1f0a6602949ece70c035d13746cfa7210a43c6 (patch)
tree8e7f3fcf022c3115d513b69e10a110759c74e3a1 /packages/patches
parent786fceaa3845a1e90e3ba363c2c89f5c67a2669f (diff)
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
Diffstat (limited to 'packages/patches')
-rw-r--r--packages/patches/libquicktime_plugin_support-0.39.2.patch17
1 files changed, 17 insertions, 0 deletions
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