Update of /cvsroot/pure-data/packages/darwin_app In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20143
Modified Files: Makefile TODO Added Files: README Log Message: fixed makefile version bug; generalized Wish Shell.app location
--- NEW FILE: README ---
To compile a standalone Pd.app, you need this stuff:
Tcl/Tk Standalone .app
1. download TclTkAquaStandalone-8.?.?.dmg from http://tcltkaqua.sourceforge.net/ (I used 8.4.7) 2. mount the dmg 3. the Makefile will find what it needs in the mounted .dmg
JackOSX
1. download latest JackOSX from http://www.jackosx.com/download.html (I used version 0.4.1) 2. install the .pkg 3.
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/packages/darwin_app/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile 31 Aug 2004 23:18:10 -0000 1.3 --- Makefile 2 Sep 2004 17:46:51 -0000 1.4 *************** *** 8,12 **** INSTALL_PREFIX = $(PD_APP_CONTENTS)/Resources
! WISH_SHELL_CONTENTS = /Applications/Utilities/Wish\ Shell.app/Contents
PD_FILE_ROOT = $(DESTDIR)$(INSTALL_PREFIX)/lib/pd --- 8,17 ---- INSTALL_PREFIX = $(PD_APP_CONTENTS)/Resources
! # source for the Wish Shell.app used to build Pd ! # download TclTkAquaStandalone-8.?.?.dmg from http://tcltkaqua.sourceforge.net/ ! # and mount it. The files will be copied from the mounted .dmg image. ! #WISH_SHELL = /Applications/Utilities/Wish\ Shell.app ! WISH_SHELL = /Volumes/TclTkAquaStandalone-8.?.*/Wish\ Shell.app ! WISH_SHELL_CONTENTS = $(WISH_SHELL)/Contents
PD_FILE_ROOT = $(DESTDIR)$(INSTALL_PREFIX)/lib/pd *************** *** 24,28 ****
# release version for this distro ! PACKAGE_VERSION = beta3 PACKAGE_NAME = pd-$(PD_VERSION)-$(PACKAGE_VERSION) DMG_NAME = $(PACKAGE_NAME) --- 29,33 ----
# release version for this distro ! PACKAGE_VERSION = beta4 PACKAGE_NAME = pd-$(PD_VERSION)-$(PACKAGE_VERSION) DMG_NAME = $(PACKAGE_NAME) *************** *** 48,58 **** GEM_VERSION = $(shell grep "GEM_VERSION" ../../Gem/src/Base/GemVersion.h | cut -d '"' -f 2)
! MAXLIB_VERSION = $(shell grep "#define VERSION" ../../externals/maxlib/maxlib.c | cut -d '"' -f 2)
! OSC_VERSION = $(shell grep "#define VERSION" ../../externals/OSCx/OSC.c | cut -d '"' -f 2)
PDP_VERSION = $(shell grep PDP_VERSION= ../../externals/pdp/configure | cut -d '=' -f 2)
! PMPD_VERSION = $(shell grep "#define VERSION" ../../externals/pmpd/src/pmpd.c | cut -d '"' -f 2)
TOXY_MAJOR_VERSION = $(shell grep TOXY_VERSION ../../externals/miXed/toxy/build_counter | cut -d ' ' -f 3 | cut -d '"' -f 2) --- 53,63 ---- GEM_VERSION = $(shell grep "GEM_VERSION" ../../Gem/src/Base/GemVersion.h | cut -d '"' -f 2)
! MAXLIB_VERSION = $(shell grep "define VERSION" ../../externals/maxlib/maxlib.c | cut -d '"' -f 2)
! OSC_VERSION = $(shell grep "define VERSION" ../../externals/OSCx/OSC.c | cut -d '"' -f 2)
PDP_VERSION = $(shell grep PDP_VERSION= ../../externals/pdp/configure | cut -d '=' -f 2)
! PMPD_VERSION = $(shell grep "define VERSION" ../../externals/pmpd/src/pmpd.c | cut -d '"' -f 2)
TOXY_MAJOR_VERSION = $(shell grep TOXY_VERSION ../../externals/miXed/toxy/build_counter | cut -d ' ' -f 3 | cut -d '"' -f 2) *************** *** 64,68 ****
! darwin_app: darwin_app_wrapper darwin_app_core darwin_unix_pkg darwin_app_externals \ darwin_app_docs darwin_app_abstractions
--- 69,73 ----
! darwin_app: darwin_app_wrapper darwin_app_core darwin_app_externals \ darwin_app_docs darwin_app_abstractions
*************** *** 113,119 **** # Makefile:308: *** unterminated call to function `shell': missing `)'. Stop. # ! # echo "<li>maxlib: $(MAXLIB_VERSION)" >> $(README_FILE) ! # echo "<li>osc: $(OSC_VERSION)" >> $(README_FILE) ! # echo "<li>pmpd: $(PMPD_VERSION)" >> $(README_FILE) echo "<li>pd-abstractions: `date +20%y.%m.%d`" >> $(README_FILE) echo "<li>pd-doc: `date +20%y.%m.%d`" >> $(README_FILE) --- 118,124 ---- # Makefile:308: *** unterminated call to function `shell': missing `)'. Stop. # ! echo "<li>maxlib: $(MAXLIB_VERSION)" >> $(README_FILE) ! echo "<li>osc: $(OSC_VERSION)" >> $(README_FILE) ! echo "<li>pmpd: $(PMPD_VERSION)" >> $(README_FILE) echo "<li>pd-abstractions: `date +20%y.%m.%d`" >> $(README_FILE) echo "<li>pd-doc: `date +20%y.%m.%d`" >> $(README_FILE) *************** *** 134,150 **** install -d "$(DESTDIR)$(PD_APP_CONTENTS)/MacOS" install -m0755 -p \ ! /Applications/Utilities/Wish\ Shell.app/Contents/MacOS/Wish\ Shell \ "$(DESTDIR)$(PD_APP_CONTENTS)/MacOS" install -d "$(DESTDIR)$(PD_APP_CONTENTS)/Resources" install -m0644 -p \ ! /Applications/Utilities/Wish\ Shell.app/Contents/Resources/Wish\ Shell.rsrc \ "$(DESTDIR)$(PD_APP_CONTENTS)/Resources" # install -d "$(DESTDIR)$(PD_APP_CONTENTS)/Frameworks" ! cp -Rp \ ! /Applications/Utilities/Wish\ Shell.app/Contents/Frameworks \ ! "$(DESTDIR)$(PD_APP_CONTENTS)" ! cp -Rp \ ! /Applications/Utilities/Wish\ Shell.app/Contents/Frameworks \ ! "$(DESTDIR)$(PD_APP_CONTENTS)/Resources"
# install -d "$(DESTDIR)$(PD_APP_CONTENTS)/Frameworks" \ --- 139,151 ---- install -d "$(DESTDIR)$(PD_APP_CONTENTS)/MacOS" install -m0755 -p \ ! $(WISH_SHELL_CONTENTS)/MacOS/Wish\ Shell \ "$(DESTDIR)$(PD_APP_CONTENTS)/MacOS" install -d "$(DESTDIR)$(PD_APP_CONTENTS)/Resources" install -m0644 -p \ ! $(WISH_SHELL_CONTENTS)/Resources/Wish\ Shell.rsrc \ "$(DESTDIR)$(PD_APP_CONTENTS)/Resources" # install -d "$(DESTDIR)$(PD_APP_CONTENTS)/Frameworks" ! cp -Rp $(WISH_SHELL_CONTENTS)/Frameworks "$(DESTDIR)$(PD_APP_CONTENTS)" ! cp -Rp $(WISH_SHELL_CONTENTS)/Frameworks "$(DESTDIR)$(PD_APP_CONTENTS)/Resources"
# install -d "$(DESTDIR)$(PD_APP_CONTENTS)/Frameworks" \ *************** *** 162,179 ****
- # INSTALL_PREFIX=$(INSTALL_PREFIX) is for pd-MSP 0.37.1 - # prefix=$(INSTALL_PREFIX) is for pd-CVS 0.37 darwin_app_core: # apply some patches ! cd ../../pd/src/ && patch -p0<../../packages/darwin_app/patches/socket.patch cd ../../pd/src/ && patch -p0<../../packages/darwin_app/patches/makefile.in.patch cd ../../pd/src/ && patch -p0<../../packages/darwin_app/patches/u_main.tk.patch cd ../../pd/src/ && patch -p0<../../packages/darwin_app/patches/configure.jackosx.patch ! cd ../../pd/src/ && patch -p0<../../packages/darwin_app/patches/s_audio_jack.patch # pd core cd ../../pd/src/ && ./configure --enable-jack &&\ make install \ DESTDIR=../../packages/darwin_app/$(DESTDIR) \ ! INSTALL_PREFIX=$(INSTALL_PREFIX)
darwin_app_docs: --- 163,184 ----
darwin_app_core: # apply some patches ! # with CVS version, next line causes: s_inter.c:645: error: parse error before "if" ! # cd ../../pd/src/ && patch -p0<../../packages/darwin_app/patches/socket.patch cd ../../pd/src/ && patch -p0<../../packages/darwin_app/patches/makefile.in.patch cd ../../pd/src/ && patch -p0<../../packages/darwin_app/patches/u_main.tk.patch cd ../../pd/src/ && patch -p0<../../packages/darwin_app/patches/configure.jackosx.patch ! # this patch isn't applied properly, so pd doesn't compile ! # cd ../../pd/src/ && patch -p0<../../packages/darwin_app/patches/s_audio_jack.patch # pd core cd ../../pd/src/ && ./configure --enable-jack &&\ make install \ DESTDIR=../../packages/darwin_app/$(DESTDIR) \ ! prefix=$(INSTALL_PREFIX) ! # The last line above needs to be changed based on which version ! # of the pd core source you are compiling: ! # INSTALL_PREFIX=$(INSTALL_PREFIX) is for pd-MSP 0.37.1 ! # prefix=$(INSTALL_PREFIX) is for pd-CVS 0.37
darwin_app_docs: *************** *** 211,215 **** #---------------------------------------------------------------------------- # FLEXT - cd ../../externals/grill/build/darwin && make install -d $(HELP_DIR)/tutorials --- 216,219 ----
Index: TODO =================================================================== RCS file: /cvsroot/pure-data/packages/darwin_app/TODO,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TODO 14 Aug 2004 15:22:18 -0000 1.1 --- TODO 2 Sep 2004 17:46:51 -0000 1.2 *************** *** 1,9 ****
! - change s_inter.c to use /Applications/Pd.app/Contents/MacOS/Wish\ Shell
! - AppMain.tcl: ! http://www.wordtech-software.com/tcl-bundle-tutorial.html ! http://wiki.tcl.tk/tclhttpd/3214 ! check WaveSurfer
- include auto-.pdrc script in package somewhere... --- 1,6 ----
! - fix socket.patch and s_audio_jack.patch
! - add context to all patches
- include auto-.pdrc script in package somewhere...