[PD-cvs] packages/darwin_app embed-MacOSX-dependencies.sh, 1.1, 1.2 TODO, 1.16, 1.17

Hans-Christoph Steiner eighthave at users.sourceforge.net
Mon Jan 16 05:33:06 CET 2006


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

Modified Files:
	embed-MacOSX-dependencies.sh TODO 
Log Message:
fixed bug in library copy where it would copy over libs that had already been copied.  Then the newly copied lib would have the only library paths in it rather than the adjusted ones.

Index: embed-MacOSX-dependencies.sh
===================================================================
RCS file: /cvsroot/pure-data/packages/darwin_app/embed-MacOSX-dependencies.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** embed-MacOSX-dependencies.sh	16 Dec 2005 18:38:11 -0000	1.1
--- embed-MacOSX-dependencies.sh	16 Jan 2006 04:33:04 -0000	1.2
***************
*** 44,48 ****
  		for lib in $LIBS; do
  			echo -e "\t$lib"
! 			install -p /sw/lib/$lib $PD_APP_LIB
  			# @executable_path starts from Contents/Resources/bin/pd
  			install_name_tool -id @executable_path/../../$LIB_DIR/$lib $PD_APP_LIB/$lib
--- 44,52 ----
  		for lib in $LIBS; do
  			echo -e "\t$lib"
! 			if [ -e  $PD_APP_LIB/$lib ]; then
! 				echo "$PD_APP_LIB/$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 -id @executable_path/../../$LIB_DIR/$lib $PD_APP_LIB/$lib

Index: TODO
===================================================================
RCS file: /cvsroot/pure-data/packages/darwin_app/TODO,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** TODO	16 Dec 2005 18:38:11 -0000	1.16
--- TODO	16 Jan 2006 04:33:04 -0000	1.17
***************
*** 1,27 ****
  
! - check out using TclTkBI package for all of the tcl deps.  It should have all
!   of the binaries necessary for extensions/gui/ix
! 
!      - research Tcl "auto_path"
! 
! 
! - make Pd open a new window when its launched to workaround the bug where the
!   menus don't work until a window is opened.
! 
  
! - otool dylib help: http://qin.laya.com/tech_coding_help/dylib_linking.html
  
-   http://doc.trolltech.com/qq/qq09-mac-deployment.html
  
! 	 Now that we have copied the Qt library into the bundle, we must update
! 	 both the library and the executable so that they know where they can be
! 	 found. This is where the install_name_tool command-line tool comes in
! 	 handy. For the Qt library:
  
!     install_name_tool \
!         -id @executable_path/../Frameworks/libqt.3.dylib \
!         demo.app/Contents/Frameworks/libqt.3.dylib
!     
!     otool -L oggcast~.pd_darwin | grep /sw/ | sed -n 's|.*/sw/lib/\(.*\.dylib\).*|\1|p'
  
  
--- 1,14 ----
  
! - OSC did not get included
  
! - check out embed-MacOSX-dependencies.sh script.  There seems to be a bug
!   where the deps in lib/libogg.dylib don't get switched from /sw/lib to
!   @executable_path/blah/blah
  
  
! - check out using TclTkBI package for all of the tcl deps.  It should have all
!   of the binaries necessary for extensions/gui/ix
  
!      - research Tcl "auto_path"
  
  
***************
*** 32,36 ****
  
  
! - review permissions so that you can build on top on existing builds (its the Frameworks)
  
  
--- 19,24 ----
  
  
! - review permissions so that you can build on top on existing builds (its the
!   Frameworks, just chmod -R +w after installingx)
  
  
***************
*** 40,55 ****
  
  
- - Pd should then test to see if Jack is available before switching to it,
-   otherwise it'll just crash.  Here's apple's method of testing:
- 
-   http://developer.apple.com/documentation/mac/runtimehtml/RTArch-43.html
- 
- 
  - try this for the Pref Pane:
   kAEShowPreferences ::tk::mac::ShowPreferences
  
  
- - research Tk + "Custom MDEF" for menus
- 
  
  - create Tcl script called from Prefs that creates links for the standard unix
--- 28,35 ----
***************
*** 57,60 ****
--- 37,41 ----
  
  - redo menu system
+   	   	 - research Tk + "Custom MDEF" for menus
    		 - the menus are the same for all windows
  		 - instead of hiding menus, grey-out/disable menu items on Pd window
***************
*** 75,82 ****
  
  
! - instead of shipping Pd.app with a org.puredata.pd.plist, make a script that
!   uses the "defaults" command to add the desired prefs to any existing
!   file. (its a good idea, but unforunately, the key names prevent that from
!   working, i.e. loadlib1, loadlib2, etc)
  
  
--- 56,63 ----
  
  
! - Pd should then test to see if Jack is available before switching to it,
!   otherwise it'll just crash.  Here's apple's method of testing:
! 
!   http://developer.apple.com/documentation/mac/runtimehtml/RTArch-43.html
  
  
***************
*** 86,87 ****
--- 67,73 ----
  - make a web page that has stuff that can't be included due to license issues:
    (percolate)
+ 
+ - instead of shipping Pd.app with a org.puredata.pd.plist, make a script that
+   uses the "defaults" command to add the desired prefs to any existing
+   file. (its a good idea, but unforunately, the key names prevent that from
+   working, i.e. loadlib1, loadlib2, etc)





More information about the Pd-cvs mailing list