[PD-cvs] packages/darwin_app embed-MacOSX-dependencies.sh, 1.2.2.1, 1.2.2.2

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


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

Modified Files:
      Tag: branch-v0-39-2-extended
	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.2.2.1
retrieving revision 1.2.2.2
diff -C2 -d -r1.2.2.1 -r1.2.2.2
*** embed-MacOSX-dependencies.sh	19 Apr 2007 04:30:47 -0000	1.2.2.1
--- embed-MacOSX-dependencies.sh	13 Jun 2007 02:19:17 -0000	1.2.2.2
***************
*** 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