[PD-cvs] packages/darwin_app embed-MacOSX-dependencies.sh,1.3,1.4

Hans-Christoph Steiner eighthave at users.sourceforge.net
Wed Jun 13 04:26:34 CEST 2007


Update of /cvsroot/pure-data/packages/darwin_app
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4211

Modified Files:
	embed-MacOSX-dependencies.sh 
Log Message:
fixed the embedding of libquicktime plugins, I think I actually got it working now

Index: embed-MacOSX-dependencies.sh
===================================================================
RCS file: /cvsroot/pure-data/packages/darwin_app/embed-MacOSX-dependencies.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** embed-MacOSX-dependencies.sh	19 Apr 2007 04:29:43 -0000	1.3
--- embed-MacOSX-dependencies.sh	13 Jun 2007 02:26:32 -0000	1.4
***************
*** 39,42 ****
--- 39,61 ----
  done
  
+ for so in $PD_APP_LIB/*/*.so; do
+ 	LIBS=`otool -L $so | sed -n 's|.*/sw/lib/\(.*\.dylib\).*|\1|p'`
+ 	if [ "x$LIBS" != "x" ]; then
+ 		echo "`echo $dylib | sed 's|.*/\(.*\.dylib\)|\1|'` is using:"
+ 		for lib in $LIBS; do
+ 			echo -e "\t$lib"
+ 			new_lib=`echo $lib | sed 's|.*/\(.*\.dylib\)|\1|'`
+ 			if [ -e  $PD_APP_LIB/$new_lib ]; then
+ 				echo "$PD_APP_LIB/$new_lib already exists, skipping copy."
+ 			else
+ 				install -vp /sw/lib/$lib $PD_APP_LIB
+ 			fi
+ 			# @executable_path starts from Contents/Resources/bin/pd
+ 			install_name_tool -change /sw/lib/$lib @executable_path/../../$LIB_DIR/$new_lib $so
+ 		done
+ 		echo " "
+ 	fi
+ done
+ 
  for dylib in $PD_APP_LIB/*.dylib; do
  	LIBS=`otool -L $dylib | sed -n 's|.*/sw/lib/\(.*\.dylib\).*|\1|p'`





More information about the Pd-cvs mailing list