Update of /cvsroot/pure-data/packages/darwin_app In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27207
Modified Files: Makefile Log Message: moved dmg code from branch-v0-39-2-extended, the disk image icon works, but not the background...
Index: Makefile =================================================================== RCS file: /cvsroot/pure-data/packages/darwin_app/Makefile,v retrieving revision 1.75 retrieving revision 1.76 diff -C2 -d -r1.75 -r1.76 *** Makefile 29 Aug 2007 15:31:31 -0000 1.75 --- Makefile 20 Oct 2007 23:57:46 -0000 1.76 *************** *** 259,270 **** hdiutil attach build.dmg install -p $(manualsdir)/Pd/ReadMe.html "/Volumes/$(VOLUME_NAME)" - install -d "/Volumes/$(VOLUME_NAME)/.imagefolder" # add link to /Applications for easy install ln -s /Applications /Volumes/$(VOLUME_NAME)/Applications ! # background image will only show when the disk image is called "$(VOLUME_NAME) ! # the background image needs to be added to the .DS_Store to work ! install -p background.png "/Volumes/$(VOLUME_NAME)/.imagefolder/" install -p DS_Store "/Volumes/$(VOLUME_NAME)/.DS_Store" install -p VolumeIcon.icns "/Volumes/$(VOLUME_NAME)/.VolumeIcon.icns" chmod -R a-w "/Volumes/$(VOLUME_NAME)/$(PD_APP_NAME).app/Contents/Resources/doc" hdiutil detach `mount | grep $(VOLUME_NAME) | cut -d ' ' -f 1` --- 259,276 ---- hdiutil attach build.dmg install -p $(manualsdir)/Pd/ReadMe.html "/Volumes/$(VOLUME_NAME)" # add link to /Applications for easy install ln -s /Applications /Volumes/$(VOLUME_NAME)/Applications ! # Install to .background for easier manual DS_Store makeing ! install -d "/Volumes/$(VOLUME_NAME)/.background" ! # The full path to the background image needs to be added to .DS_Store to work ! # Hence the background image will only show when the disk image is called ! # "$(VOLUME_NAME)=Pd-extended - that is what the current DS_Store uses. ! # To create the DS_Store file one must... search the net. ! install -p background.png "/Volumes/$(VOLUME_NAME)/.background/" install -p DS_Store "/Volumes/$(VOLUME_NAME)/.DS_Store" install -p VolumeIcon.icns "/Volumes/$(VOLUME_NAME)/.VolumeIcon.icns" + # To enable the local image icon + /Developer/Tools/SetFile -a C /Volumes/$(VOLUME_NAME)/.VolumeIcon.icns \ + /Volumes/$(VOLUME_NAME) chmod -R a-w "/Volumes/$(VOLUME_NAME)/$(PD_APP_NAME).app/Contents/Resources/doc" hdiutil detach `mount | grep $(VOLUME_NAME) | cut -d ' ' -f 1`