[PD-cvs] packages/darwin_app Makefile, 1.6, 1.7 README, 1.2, 1.3 TODO, 1.4, 1.5 AppMain.tcl, 1.2, NONE Pd.term, 1.1, NONE pd-unix.info, 1.1, NONE

Hans-Christoph Steiner eighthave at users.sourceforge.net
Tue Apr 19 07:04:58 CEST 2005


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

Modified Files:
	Makefile README TODO 
Removed Files:
	AppMain.tcl Pd.term pd-unix.info 
Log Message:
builds into a prebuilt Pd.app, but I still don't have the build working with Tcl 8.4.9; removed some obsolete cruft from various other packaging attempts

--- AppMain.tcl DELETED ---

--- pd-unix.info DELETED ---

Index: README
===================================================================
RCS file: /cvsroot/pure-data/packages/darwin_app/README,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** README	7 Apr 2005 21:17:28 -0000	1.2
--- README	19 Apr 2005 05:04:56 -0000	1.3
***************
*** 1,2 ****
--- 1,15 ----
+ ==============================================================================
+  Patches
+ ==============================================================================
+ 
+ Since currently, only Miller has commit permissions to the 'pd' section of the
+ CVS, the fixes necessary for building the whole Pd.app are included in
+ 'packages/darwin_app/patches'.  The necessary patches are automatically applied
+ by 'packages/darwin_app/Makefile' before building the sources in 'pd/src'
+ 
+ 
+ ==============================================================================
+  Compiling Pd.app
+ ==============================================================================
  
  To compile a standalone Pd.app, you need this stuff:
***************
*** 8,12 ****
    1. download TclTkAquaStandalone-8.4.*.dmg from http://tcltkaqua.sourceforge.net/
    	  (I used 8.4.9)		  
!   2. mount the dmg
    3. the Makefile will find what it needs in the mounted .dmg
  
--- 21,26 ----
    1. download TclTkAquaStandalone-8.4.*.dmg from http://tcltkaqua.sourceforge.net/
    	  (I used 8.4.9)		  
!   2. mount the dmg manually or put TclTkAquaStandalone-8.4.*.dmg in
!   	  packages/darwin_app and it will be automatically mounted
    3. the Makefile will find what it needs in the mounted .dmg
  

Index: TODO
===================================================================
RCS file: /cvsroot/pure-data/packages/darwin_app/TODO,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** TODO	7 Apr 2005 21:17:28 -0000	1.4
--- TODO	19 Apr 2005 05:04:56 -0000	1.5
***************
*** 1,3 ****
--- 1,24 ----
  
+ - create old-style Help->Pure Documentation link on Help menu.  It should use a
+   symlink to the "doc" dir internal to that particular Pd.app.  The symlink is
+   named after the complete path to the "doc" dir, like:
+      /tmp/.Applications_Pd-0.38-4.app_Contents_Resources_doc
+ 
+ - make Help menu generator recursive
+ 
+ - check up on zexy in packages/darwin_app/Makefile and
+   externals/build/doc/makefile now that its been added to the build system
+ 
+ - follow AppMain.tcl instructions:
+   http://wiki.tcl.tk/12987
+ http://www.wordtech-software.com/tcl-bundle-tutorial.html
+ 
+ - try this for the Pref Pane:
+  kAEShowPreferences ::tk::mac::ShowPreferences
+ 
+ - research Tcl "auto_path"
+ 
+ - research Tk + "Custom MDEF" for menus
+ 
  - include auto-.pdrc script in package somewhere...
  
***************
*** 22,27 ****
    all help patches.
  
- - add file browser and cascasing menus to Help menu
- 
  - create --enable-cpu and --enable-arch in pd/src/configure.in
  
--- 43,46 ----

--- Pd.term DELETED ---

Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/packages/darwin_app/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** Makefile	7 Apr 2005 21:17:28 -0000	1.6
--- Makefile	19 Apr 2005 05:04:56 -0000	1.7
***************
*** 75,80 ****
  
  darwin_app: darwin_app_wrapper darwin_patch_pd darwin_app_core \
! 	darwin_app_externals darwin_app_docs darwin_app_abstractions
  
  
  darwin_app_license:
--- 75,82 ----
  
  darwin_app: darwin_app_wrapper darwin_patch_pd darwin_app_core \
! 	 darwin_app_docs darwin_app_externals darwin_app_abstractions
  
+ darwin_prebuilt_app: darwin_app_externals darwin_app_docs \
+ 	 darwin_app_abstractions darwin_app_doc_format
  
  darwin_app_license:
***************
*** 138,146 ****
  	echo "</body></html>" >> $(README_FILE)
  
- darwin_mount_tcltk:
- # it should automatically mount the most recent TclTkStandalone here	
  
  darwin_app_wrapper:
! 	hdiutil mount $(TCLTK).dmg
  # copy Wish Shell.app from default install location
  # note: use the "standalone" Wish shell to make a "standalone" pd app
--- 140,148 ----
  	echo "</body></html>" >> $(README_FILE)
  
  
+ # check here for a reference on how to do this:
+ # http://cvs.sourceforge.net/viewcvs.py/tkcvs/tkcvs-proj/PackApp?rev=1.4
  darwin_app_wrapper:
! 	-hdiutil mount $(TCLTK).dmg
  # copy Wish Shell.app from default install location
  # note: use the "standalone" Wish shell to make a "standalone" pd app
***************
*** 163,171 ****
  	install -m0644 -p Info.plist "$(DESTDIR)$(PD_APP_CONTENTS)"
  	install -m0644 -p *.icns  "$(DESTDIR)$(PD_APP_CONTENTS)/Resources"
- # pd/src/u_main.tk now acts as the AppMain.tcl
- #	install -m0644 -p AppMain.tcl "$(DESTDIR)$(PD_APP_CONTENTS)/Resources/Scripts"
  # rename the Wish Shell executable to "Pd"
  	mv "$(DESTDIR)$(PD_APP_CONTENTS)/MacOS/Wish Shell" "$(DESTDIR)$(PD_APP_CONTENTS)/MacOS/Pd"
! 	diskutil eject /Volumes/$(TCLTK)
  
  darwin_patch_pd:
--- 165,171 ----
  	install -m0644 -p Info.plist "$(DESTDIR)$(PD_APP_CONTENTS)"
  	install -m0644 -p *.icns  "$(DESTDIR)$(PD_APP_CONTENTS)/Resources"
  # rename the Wish Shell executable to "Pd"
  	mv "$(DESTDIR)$(PD_APP_CONTENTS)/MacOS/Wish Shell" "$(DESTDIR)$(PD_APP_CONTENTS)/MacOS/Pd"
! #	diskutil eject /Volumes/$(TCLTK)
  
  darwin_patch_pd:
***************
*** 174,183 ****
  #	cd ../../pd/src/ && patch -p0 < ../../packages/darwin_app/patches/u_main.tk.patch
  	cd ../../pd/src/ && patch -p0 < ../../packages/darwin_app/patches/darwin_build-0.38.patch
  
! darwin_app_core:
  # pd core
! 	cd ../../pd/src/ && \
! 		./configure --enable-jack --prefix=$(INSTALL_PREFIX) && make
! 	cp -R -p ../../pd/bin ../../pd/doc ../../pd/extra ../../pd/man  \
  		$(PD_FILE_ROOT)
  # AppMain.tcl
--- 174,186 ----
  #	cd ../../pd/src/ && patch -p0 < ../../packages/darwin_app/patches/u_main.tk.patch
  	cd ../../pd/src/ && patch -p0 < ../../packages/darwin_app/patches/darwin_build-0.38.patch
+ 	rm ../../pd/src/configure  ../../pd/src/makefile
+ 	cd  ../../pd/src/ && autoconf
  
! darwin_app_core: darwin_app_wrapper
  # pd core
! #	cd ../../pd/src/ && \
! #		./configure --enable-jack --prefix=$(INSTALL_PREFIX) && make
! 	cd ../../pd/src/ && ./configure --enable-jack && make
! 	cp -Rp ../../pd/bin ../../pd/doc ../../pd/extra ../../pd/man  \
  		$(PD_FILE_ROOT)
  # AppMain.tcl
***************
*** 188,193 ****
  	install -m0444 ../../pd/src/*.h $(PD_FILE_ROOT)/include
  
! darwin_app_docs:
  #----------------------------------------------------------------------------
  # set the font to 10pt on all help patches
  	cd $(HELP_DIR) && \
--- 191,199 ----
  	install -m0444 ../../pd/src/*.h $(PD_FILE_ROOT)/include
  
! darwin_app_doc_format:
  #----------------------------------------------------------------------------
+ # clean out cruft files
+ 	-find $(PD_FILE_ROOT) -name .DS_Store -delete
+ 	-rm -Rf `find $(PD_FILE_ROOT) -name CVS`
  # set the font to 10pt on all help patches
  	cd $(HELP_DIR) && \
***************
*** 195,199 ****
  # the BSD/Darwin version of sed must create a backup file when doing 
  # in-place replacement, so delete the unneeded backup files
! 	rm */*.pd.bak
  #----------------------------------------------------------------------------
  # DOC
--- 201,209 ----
  # the BSD/Darwin version of sed must create a backup file when doing 
  # in-place replacement, so delete the unneeded backup files
! 	-rm */*.pd.bak
! # run script to move help-*.pd files to *-help.pd according to the standard
! 	../../scripts/convert-help-to-standard.sh
! 
! darwin_app_docs:
  #----------------------------------------------------------------------------
  # DOC
***************
*** 218,228 ****
  # ABSTRACTIONS
  	install -d $(ABSTRACTIONS_DIR)
! 	install -p -m0644	../../externals/creb/abs/*.pd $(ABSTRACTIONS_DIR)
! 	cd $(ABSTRACTIONS_DIR) && rm count.pd
  	install -d $(ABSTRACTIONS_DIR)/creb
  	install -p -m0444	../../externals/creb/doc/examples/*.* $(ABSTRACTIONS_DIR)/creb
  #	cp -Rf footils timestretch vadsr~  $(ABSTRACTIONS_DIR)
  
! darwin_app_externals: darwin_app_externals_standard darwin_app_externals_c++ darwin_app_externals_gem
  #darwin_app_externals: darwin_app_externals_flext darwin_app_externals_standard darwin_app_externals_c++ darwin_app_externals_gem
  
--- 228,240 ----
  # ABSTRACTIONS
  	install -d $(ABSTRACTIONS_DIR)
! # creb
! 	install -p -m0444	../../externals/creb/abs/*.pd $(ABSTRACTIONS_DIR)
! 	cd $(ABSTRACTIONS_DIR) && rm -f count.pd
  	install -d $(ABSTRACTIONS_DIR)/creb
  	install -p -m0444	../../externals/creb/doc/examples/*.* $(ABSTRACTIONS_DIR)/creb
+ 
  #	cp -Rf footils timestretch vadsr~  $(ABSTRACTIONS_DIR)
  
! darwin_app_externals: darwin_app_externals_standard darwin_app_externals_c++
  #darwin_app_externals: darwin_app_externals_flext darwin_app_externals_standard darwin_app_externals_c++ darwin_app_externals_gem
  
***************
*** 324,341 ****
  #----------------------------------------------------------------------------
  # hcs
  	cd ../../externals/hcs/hid && make
  	install -p -m0444 ../../externals/hcs/hid/hid.pd_darwin $(EXTERNALS_DIR)
! 	install -p -m0444 ../../externals/hcs/hid/ev*-list.pd $(HELP_DIR)/5.reference
! 	install -p -m0444 ../../externals/hcs/hid/*-help.pd $(HELP_DIR)/5.reference
  #----------------------------------------------------------------------------
  # miXed
  	cd ../../externals/miXed/toxy && make
  	cd ../../externals/miXed/cyclone && make
! 	install -d -m755 $(EXTERNALS_DIR)/cyclone
! 	install -p -m444 ../../externals/miXed/bin/*.pd_darwin $(EXTERNALS_DIR)/cyclone
! 	sudo install -p -m555 ../../externals/miXed/bin/cyclist $(PD_FILE_ROOT)/bin
  	install -p -m0444 ../../externals/miXed/test/*/*.*    \
- 		../../externals/miXed/doc/*/*/*.*   \
  		$(HELP_DIR)/5.reference/cyclone
  #----------------------------------------------------------------------------
  # OSC
--- 336,366 ----
  #----------------------------------------------------------------------------
  # hcs
+ 	install -p -m0444 $(shell ls -1 ../../externals/hcs/*.pd | \
+ 			 grep -v '\-help.pd') $(EXTERNALS_DIR)
+ # hid
  	cd ../../externals/hcs/hid && make
  	install -p -m0444 ../../externals/hcs/hid/hid.pd_darwin $(EXTERNALS_DIR)
! 	install -p -m0444 $(shell ls -1 ../../externals/hcs/hid/*.pd | \
! 			 grep -v '\-help.pd'| grep -v '\-list.pd') $(EXTERNALS_DIR)
! # pan
! 	install -p -m0444 $(shell ls -1 ../../externals/hcs/pan/*.pd | \
! 			 grep -v '\-help.pd') $(EXTERNALS_DIR)
! #----------------------------------------------------------------------------
! # IEMlib
! 	cp -Rp ../../externals/iemlib/iemabs $(EXTERNALS_DIR)
! 	install -d -m0755 $(HELP_DIR)/5.reference/iemabs
! 	mv  $(EXTERNALS_DIR)/iemabs/help-*.pd $(HELP_DIR)/5.reference/iemabs
  #----------------------------------------------------------------------------
  # miXed
  	cd ../../externals/miXed/toxy && make
  	cd ../../externals/miXed/cyclone && make
! 	install -d -m755 $(EXTERNALS_DIR)
! 	install -p -m444 ../../externals/miXed/bin/*.pd_darwin $(EXTERNALS_DIR)
! 	install -p -m555 ../../externals/miXed/bin/cyclist $(PD_FILE_ROOT)/bin
! 	install -d -m755 $(HELP_DIR)/5.reference/cyclone
  	install -p -m0444 ../../externals/miXed/test/*/*.*    \
  		$(HELP_DIR)/5.reference/cyclone
+ 	install -p -m0444 ../../externals/miXed/doc/*/*/*.*  \
+ 		$(HELP_DIR)/5.reference
  #----------------------------------------------------------------------------
  # OSC
***************
*** 344,350 ****
  	install -p -m0444 ../../externals/OSCx/src/*.pd_darwin $(EXTERNALS_DIR)
  #----------------------------------------------------------------------------
! # PDP
! 	cd ../../externals/pdp && ./configure && make
! 	install -p -m0444 ../../externals/pdp/*.pd_darwin $(EXTERNALS_DIR)
  	install -p -m0444 ../../externals/pdp/doc/objects/*.* $(HELP_DIR)/5.reference
  	install -d $(HELP_DIR)/pdp/introduction
--- 369,375 ----
  	install -p -m0444 ../../externals/OSCx/src/*.pd_darwin $(EXTERNALS_DIR)
  #----------------------------------------------------------------------------
! # PdP
! #	cd ../../externals/pdp && ./configure && make
! #	install -p -m0444 ../../externals/pdp/*.pd_darwin $(EXTERNALS_DIR)
  	install -p -m0444 ../../externals/pdp/doc/objects/*.* $(HELP_DIR)/5.reference
  	install -d $(HELP_DIR)/pdp/introduction
***************
*** 353,363 ****
  	install -p -m0444 ../../externals/pdp/doc/examples/*.* $(HELP_DIR)/pdp/examples
  	install -p -m0444 ../../externals/pdp/doc/reference.txt $(HELP_DIR)/pdp
! #----------------------------------------------------------------------------
! # PMPD
! 	cd ../../externals/pmpd/src && make pd_darwin
! 	install -p -m0444 ../../externals/pmpd/src/*.pd_darwin $(EXTERNALS_DIR)
! 	install -p -m0444 ../../externals/pmpd/help/*.pd $(HELP_DIR)/5.reference
! 	install -d $(HELP_DIR)/pmpd
! 	install -p -m0444 ../../externals/pmpd/exemples/*.pd $(HELP_DIR)/pmpd
  #----------------------------------------------------------------------------
  # unauthorized
--- 378,382 ----
  	install -p -m0444 ../../externals/pdp/doc/examples/*.* $(HELP_DIR)/pdp/examples
  	install -p -m0444 ../../externals/pdp/doc/reference.txt $(HELP_DIR)/pdp
! # libs for PdP
  #----------------------------------------------------------------------------
  # unauthorized
***************
*** 369,378 ****
  	cp -Rfp ../../externals/unauthorized/blinkenlights/blm  $(HELP_DIR)/5.reference
  #----------------------------------------------------------------------------
! # zexy
! 	cd ../../externals/zexy/src && make -f makefile.darwin
! 	install -p -m0444 ../../externals/zexy/src/*.pd_darwin $(EXTERNALS_DIR)
  	install -p -m0444 ../../externals/zexy/zexy.pd  $(HELP_DIR)/5.reference
  	install -d $(HELP_DIR)/help-zexy
  	install -p -m0444 ../../externals/zexy/examples/*.* $(HELP_DIR)/help-zexy
  
  
--- 388,404 ----
  	cp -Rfp ../../externals/unauthorized/blinkenlights/blm  $(HELP_DIR)/5.reference
  #----------------------------------------------------------------------------
! # zexy 
! # new build system doesn't work with CVS layout, and most of zexy is
! # included in the extrnals build system now anyway
! #	cd ../../externals/zexy/src && autoconf && ./configure && make
! 	-install -p -m0444 ../../externals/zexy/src/*.pd_darwin $(EXTERNALS_DIR)
! 	install -p -m0444 \
! 		$(shell ls -1 ../../externals/zexy/abs/*.pd | \
! 			grep -v '-help.pd' | sed 's/\([&<>|~]\)/\\\1/g') \
! 		$(EXTERNALS_DIR)
  	install -p -m0444 ../../externals/zexy/zexy.pd  $(HELP_DIR)/5.reference
  	install -d $(HELP_DIR)/help-zexy
  	install -p -m0444 ../../externals/zexy/examples/*.* $(HELP_DIR)/help-zexy
+ 	install -p -m0444	../../externals/zexy/abs/*-help.pd $(HELP_DIR)/5.reference
  
  
***************
*** 447,450 ****
--- 473,479 ----
  #	echo "</body></html>" >> $(WELCOME_FILE)
  
+ darwin_app_perms:
+ 	chmod a-x $(HELP_DIR)/*/*.pd $(HELP_DIR)/*/*/*.pd $(HELP_DIR)/*/*/*/*.pd
+ 	chmod -R a-w $(HELP_DIR)
  
  dmg: darwin_app_readme darwin_unix_pkg_welcome darwin_app_license
***************
*** 458,462 ****
  
  
! clean: darwin_app_clean darwin_unpatch_pd
  
  
--- 487,491 ----
  
  
! clean: darwin_app_clean
  
  





More information about the Pd-cvs mailing list