diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/darwin_app/Info.plist.in (renamed from packages/darwin_app/Info.plist) | 6 | ||||
-rw-r--r-- | packages/darwin_app/Makefile | 34 | ||||
-rw-r--r-- | packages/darwin_app/TODO | 4 |
3 files changed, 30 insertions, 14 deletions
diff --git a/packages/darwin_app/Info.plist b/packages/darwin_app/Info.plist.in index f62d6ba2..d2a4201a 100644 --- a/packages/darwin_app/Info.plist +++ b/packages/darwin_app/Info.plist.in @@ -9,7 +9,7 @@ <dict> <key>CFBundleTypeExtensions</key> <array> - <string>pd</string> + <string>PD_APP_NAME</string> </array> <key>CFBundleTypeIconFile</key> <string>pd-file.icns</string> @@ -22,7 +22,7 @@ <key>CFBundleExecutable</key> <string>Pd</string> <key>CFBundleIdentifier</key> - <string>org.puredata</string> + <string>org.puredata.pd</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundlePackageType</key> @@ -32,6 +32,6 @@ <key>CFBundleIconFile</key> <string>pd.icns</string> <key>CFBundleVersion</key> - <string>0.37-CVS</string> + <string>PD_VERSION</string> </dict> </plist> diff --git a/packages/darwin_app/Makefile b/packages/darwin_app/Makefile index 797f3d3a..9ba57465 100644 --- a/packages/darwin_app/Makefile +++ b/packages/darwin_app/Makefile @@ -6,7 +6,7 @@ MAKE=MACOSX_DEPLOYMENT_TARGET=10.3 make CWD := $(shell pwd) BUILD_BASE = $(CWD)/build -PD_APP_NAME = Pd +PD_APP_NAME = $(PACKAGE_NAME) PD_APP_CONTENTS = $(BUILD_BASE)/$(PD_APP_NAME).app/Contents INSTALL_PREFIX = $(PD_APP_CONTENTS)/Resources @@ -49,7 +49,7 @@ extended_app_install: extended_install darwin_app_noncvs darwin_app_doc_format #------------------------------------------------------------------------------# # 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: +darwin_app_wrapper: Info.plist test -d /Volumes/$(TCLTK) || hdiutil mount $(TCLTK).dmg # copy Wish Shell.app from default install location # note: use the "standalone" Wish shell to make a "standalone" pd app @@ -75,7 +75,10 @@ darwin_app_wrapper: #------------------------------------------------------------------------------# # generate Info.plist using PD_APP_NAME and PD_VERSION Info.plist: Info.plist.in - + cat Info.plist.in | \ + sed 's/PD_APP_NAME/$(PD_APP_NAME)/' | \ + sed 's/PD_VERSION/$(PD_VERSION)-$(PACKAGE_VERSION)/' > \ + Info.plist # tigital's Gem window focus black magic rez_install: @@ -286,29 +289,28 @@ darwin_app_perms: test -d $(APPLICATIONS_DEST)/serendipd && \ chmod a+w $(APPLICATIONS_DEST)/serendipd/*shared_patch.pd +DMG_NAME = $(PACKAGE_NAME) dmg: darwin_app_perms install -d "$(CWD)/$(DMG_NAME)" - cd $(BUILD_BASE) && mv $(PD_APP_NAME).app "$(CWD)/$(DMG_NAME)/$(DMG_NAME).app" + cd $(BUILD_BASE) && mv $(PD_APP_NAME).app "$(CWD)/$(DMG_NAME)/" # install -p -m0444 $(MANUALS_DEST)/$(PD_NAME)/PD\ LICENSE.txt \ # $(MANUALS_DEST)/*.html "$(CWD)/$(DMG_NAME)" install -p -m0444 org.puredata.pd.plist "$(CWD)/$(DMG_NAME)" cd $(CWD) && /bin/sh mkdmg "$(DMG_NAME)" -clean: darwin_app_clean darwin_app_externals_standard_clean darwin_pd_clean -clean: darwin_app_externals_gem_clean darwin_app_externals_flext_clean +clean: darwin_app_clean darwin_app_externals_standard_clean \ + darwin_app_externals_gem_clean darwin_app_externals_flext_clean \ + cd $(PACKAGES_SRC) && make clean + -rm Info.plist -darwin_pd_clean: - cd $(PD_SRC)/src/ && make clean darwin_app_clean: -sudo rm -Rf -- $(BUILD_BASE) "$(DMG_NAME)" -rm -f -- *~ 1 $(README_FILE) $(WELCOME_FILE) $(LICENSE_FILE) \ $(UNIX_PACKAGE_NAME).pkg "$(DMG_NAME).dmg" -darwin_app_externals_standard_clean: - cd $(EXTERNALS_SRC)/build/darwin && make clean - cd $(EXTERNALS_SRC)/hcs/hid && make clean + darwin_app_externals_gem_clean: cd $(GEM_SRC)/Gem && xcodebuild clean @@ -329,6 +331,16 @@ darwin_app_externals_flext_clean: # #==============================================================================# +darwin_app_externals_standard_clean: + @echo " " + @echo "Deprecated!!" + @echo "cd $(PACKAGES_SRC) && make externals_clean" + +darwin_pd_clean: + @echo " " + @echo "Deprecated!!" + @echo "cd $(PACKAGES_SRC) && make pd_clean" + darwin_app_externals: @echo " " @echo "Deprecated!!" diff --git a/packages/darwin_app/TODO b/packages/darwin_app/TODO index 9471abaa..a64c8665 100644 --- a/packages/darwin_app/TODO +++ b/packages/darwin_app/TODO @@ -1,4 +1,8 @@ +- somehow 3.audio.examples and fiddle~, bonk~, etc. didn't get installed + +- in post-clean, rm *.bak + - make Info.plist.in template and have the Makefile create Info.plist - check to make sure that Rez mac.r is working in Makefile |