[PD-cvs] packages/darwin_app Info.plist.in, NONE, 1.1 Makefile, 1.20, 1.21 TODO, 1.11, 1.12 Info.plist, 1.1, NONE

Hans-Christoph Steiner eighthave at users.sourceforge.net
Wed Nov 23 07:47:02 CET 2005


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

Modified Files:
	Makefile TODO 
Added Files:
	Info.plist.in 
Removed Files:
	Info.plist 
Log Message:
added target to compile Info.plist and used the common $(PACKAGE_NAME) instead of local variables

--- NEW FILE: Info.plist.in ---
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>CFBundleDevelopmentRegion</key>
	<string>English</string>
	<key>CFBundleDocumentTypes</key>
	<array>
		<dict>
			<key>CFBundleTypeExtensions</key>
			<array>
				<string>PD_APP_NAME</string>
			</array>
			<key>CFBundleTypeIconFile</key>
			<string>pd-file.icns</string>
			<key>CFBundleTypeName</key>
			<string>Pure Data Patch</string>
			<key>CFBundleTypeRole</key>
			<string>Editor</string>
		</dict>
	</array>
	<key>CFBundleExecutable</key>
	<string>Pd</string>
	<key>CFBundleIdentifier</key>
	<string>org.puredata.pd</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundlePackageType</key>
	<string>APPL</string>
	<key>CFBundleSignature</key>
	<string>????</string>
	<key>CFBundleIconFile</key>
	<string>pd.icns</string>
	<key>CFBundleVersion</key>
	<string>PD_VERSION</string>
</dict>
</plist>

Index: Makefile
===================================================================
RCS file: /cvsroot/pure-data/packages/darwin_app/Makefile,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** Makefile	22 Nov 2005 21:38:20 -0000	1.20
--- Makefile	23 Nov 2005 06:46:59 -0000	1.21
***************
*** 7,11 ****
  CWD := $(shell pwd)
  BUILD_BASE = $(CWD)/build
! PD_APP_NAME = Pd
  PD_APP_CONTENTS = $(BUILD_BASE)/$(PD_APP_NAME).app/Contents
  INSTALL_PREFIX = $(PD_APP_CONTENTS)/Resources
--- 7,11 ----
  CWD := $(shell pwd)
  BUILD_BASE = $(CWD)/build
! PD_APP_NAME = $(PACKAGE_NAME)
  PD_APP_CONTENTS = $(BUILD_BASE)/$(PD_APP_NAME).app/Contents
  INSTALL_PREFIX = $(PD_APP_CONTENTS)/Resources
***************
*** 50,54 ****
  # 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:
  	test -d /Volumes/$(TCLTK) || hdiutil mount $(TCLTK).dmg
  # copy Wish Shell.app from default install location
--- 50,54 ----
  # 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: Info.plist
  	test -d /Volumes/$(TCLTK) || hdiutil mount $(TCLTK).dmg
  # copy Wish Shell.app from default install location
***************
*** 76,80 ****
  # generate Info.plist using PD_APP_NAME and PD_VERSION
  Info.plist: Info.plist.in 
! 
  
  # tigital's Gem window focus black magic
--- 76,83 ----
  # 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
***************
*** 287,293 ****
  		chmod a+w $(APPLICATIONS_DEST)/serendipd/*shared_patch.pd
  
  dmg: darwin_app_perms
  	install -d "$(CWD)/$(DMG_NAME)"
! 	cd $(BUILD_BASE) && mv $(PD_APP_NAME).app "$(CWD)/$(DMG_NAME)/$(DMG_NAME).app"
  #	install -p -m0444 $(MANUALS_DEST)/$(PD_NAME)/PD\ LICENSE.txt \
  #		$(MANUALS_DEST)/*.html "$(CWD)/$(DMG_NAME)"
--- 290,297 ----
  		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)/"
  #	install -p -m0444 $(MANUALS_DEST)/$(PD_NAME)/PD\ LICENSE.txt \
  #		$(MANUALS_DEST)/*.html "$(CWD)/$(DMG_NAME)"
***************
*** 296,304 ****
  
  
! clean: darwin_app_clean darwin_app_externals_standard_clean darwin_pd_clean
! clean: darwin_app_externals_gem_clean darwin_app_externals_flext_clean
  
- darwin_pd_clean:
- 	cd $(PD_SRC)/src/ && make clean
  
  darwin_app_clean:
--- 300,308 ----
  
  
! 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_app_clean:
***************
*** 307,313 ****
  		$(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:
--- 311,315 ----
  		$(UNIX_PACKAGE_NAME).pkg  "$(DMG_NAME).dmg"
  
! 
  
  darwin_app_externals_gem_clean:
***************
*** 330,333 ****
--- 332,345 ----
  #==============================================================================#
  
+ 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 " "

--- Info.plist DELETED ---

Index: TODO
===================================================================
RCS file: /cvsroot/pure-data/packages/darwin_app/TODO,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** TODO	21 Nov 2005 23:01:18 -0000	1.11
--- TODO	23 Nov 2005 06:47:00 -0000	1.12
***************
*** 1,3 ****
--- 1,7 ----
  
+ - 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
  





More information about the Pd-cvs mailing list