Changeset 411 for trunk/Cocoa/F-Script Anywhere
- Timestamp:
- 02/24/08 11:11:01 (17 years ago)
- Location:
- trunk/Cocoa/F-Script Anywhere
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/F-Script Anywhere/Source/F-Script Anywhere.xcodeproj/project.pbxproj
r410 r411 50 50 E1EE9A270575769600F2D92C /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; 51 51 E1EE9A280575769600F2D92C /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F59279FB01FED0C901AEEC37 /* Carbon.framework */; }; 52 E1EE9A2C0575769600F2D92C /* LICENSE.rtf in Copy License */ = {isa = PBXBuildFile; fileRef = F5680F83020D369A01AEEC37 /* LICENSE.rtf */; };53 52 E1EE9A790575776300F2D92C /* FScript.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F5EFC2C3020A6C2601AEEDB1 /* FScript.framework */; }; 54 53 E1EE9A7A0575776700F2D92C /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; … … 75 74 }; 76 75 /* End PBXContainerItemProxy section */ 77 78 /* Begin PBXCopyFilesBuildPhase section */79 E1EE9A2B0575769600F2D92C /* Copy License */ = {80 isa = PBXCopyFilesBuildPhase;81 buildActionMask = 12;82 dstPath = "${DSTROOT}";83 dstSubfolderSpec = 0;84 files = (85 E1EE9A2C0575769600F2D92C /* LICENSE.rtf in Copy License */,86 );87 name = "Copy License";88 runOnlyForDeploymentPostprocessing = 0;89 };90 /* End PBXCopyFilesBuildPhase section */91 76 92 77 /* Begin PBXFileReference section */ … … 137 122 F5680F7B020D0D0401AEEC37 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/FSAInterpreterPanel.nib; sourceTree = "<group>"; }; 138 123 F5680F7F020D35ED01AEEC37 /* Read Me */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = "Read Me"; sourceTree = "<group>"; }; 139 F5680F83020D369A01AEEC37 /* LICENSE.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = LICENSE.rtf; path = ../LICENSE.rtf; sourceTree = SOURCE_ROOT; };124 F5680F83020D369A01AEEC37 /* LICENSE.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; path = LICENSE.rtf; sourceTree = "<group>"; }; 140 125 F5694E2702E96FFE01AEEDB1 /* Bullseye menu cursor.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = "Bullseye menu cursor.tiff"; sourceTree = "<group>"; }; 141 126 F574ADD5020AC10F01AEEDB1 /* NJRScrollView.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NJRScrollView.m; sourceTree = "<group>"; }; … … 403 388 E1EE9A260575769600F2D92C /* Frameworks */, 404 389 E1EE9A0F0575769600F2D92C /* Resources */, 405 E1EE9A2B0575769600F2D92C /* Copy License */,406 390 E18D02920D717AA600F7283F /* Copy FScript.framework */, 407 391 E1EE9A2D0575769600F2D92C /* Copy Documentation (install only) */, … … 525 509 runOnlyForDeploymentPostprocessing = 1; 526 510 shellPath = /bin/sh; 527 shellScript = "# Copy various README files into DSTROOT if building a root\n\n if [ z\"${DSTROOT}\" != z\"\" ] ; then\n rm -f \"${DSTROOT}/Read Me\"\n tr '\\n' '\\r' < \"Read Me\" > \"${DSTROOT}/Read Me\"\n cp \"Read Me.rsrc\" \"${DSTROOT}/Read Me/..namedfork/rsrc\"\n /Developer/Tools/SetFile -t 'ttro' -c 'ttxt' \"${DSTROOT}/Read Me\"\n \n # Create Darwin source directory\nmkdir \"${DSTROOT}/Darwin source\"\n \n # Fix permissions so ditto doesn't lock people out\n chmod -R a+rX,u+w \"${DSTROOT}\"\nfi";511 shellScript = "# Copy various README files into DSTROOT if building a root\n\n# Make tr ignorant and happy\nexport LANG=C\n\nif [ z\"${DSTROOT}\" != z\"\" ] ; then\n rm -f \"${DSTROOT}/Read Me\"\n tr '\\n' '\\r' < \"Read Me\" > \"${DSTROOT}/Read Me\"\n cp \"Read Me.rsrc\" \"${DSTROOT}/Read Me/..namedfork/rsrc\"\n /Developer/Tools/SetFile -t 'ttro' -c 'ttxt' \"${DSTROOT}/Read Me\"\n\n cp \"LICENSE.rtf\" \"${DSTROOT}\"\n\n # Create Darwin source directory\n # mkdir \"${DSTROOT}/Darwin source\"\n \n # Fix permissions so ditto doesn't lock people out\n chmod -R a+rX,u+w \"${DSTROOT}\"\nfi"; 528 512 }; 529 513 /* End PBXShellScriptBuildPhase section */ … … 667 651 GCC_WARN_UNKNOWN_PRAGMAS = NO; 668 652 INFOPLIST_FILE = "Bundle-Info.plist"; 669 INSTALL_PATH = "$(USER_LIBRARY_DIR)/Bundles";670 653 OTHER_CFLAGS = ""; 671 654 PRODUCT_NAME = "F-Script Anywhere"; 655 SKIP_INSTALL = YES; 672 656 }; 673 657 name = Development; … … 689 673 GCC_WARN_UNKNOWN_PRAGMAS = NO; 690 674 INFOPLIST_FILE = "Bundle-Info.plist"; 691 INSTALL_PATH = "$(USER_LIBRARY_DIR)/Bundles";692 675 OTHER_CFLAGS = "-DFSA_DEBUG=0"; 693 676 PRODUCT_NAME = "F-Script Anywhere"; 677 SKIP_INSTALL = YES; 694 678 }; 695 679 name = Deployment; … … 708 692 GCC_WARN_UNKNOWN_PRAGMAS = NO; 709 693 INFOPLIST_FILE = "Bundle Loader-Info.plist"; 710 INSTALL_PATH = "$(USER_LIBRARY_DIR)/Bundles";711 694 OPTIMIZATION_CFLAGS = "-O0"; 712 695 OTHER_CFLAGS = ""; … … 731 714 GCC_WARN_UNKNOWN_PRAGMAS = NO; 732 715 INFOPLIST_FILE = "Bundle Loader-Info.plist"; 733 INSTALL_PATH = "$(USER_LIBRARY_DIR)/Bundles";734 716 OTHER_CFLAGS = "-DFSA_DEBUG=0"; 735 717 PRODUCT_NAME = SCPatchLoader; -
trunk/Cocoa/F-Script Anywhere/package-FSA.sh
r7 r411 1 1 #!/bin/zsh 2 3 # stuff to do:4 # hdiutil create DiskImage.dmg -megabytes <size> -layout NONE5 # hdid -nomount DiskImage.dmg6 # sudo /sbin/newfs_hfs -w -v VolumeName -b 4096 /dev/disk27 # hdiutil eject /dev/disk28 9 # also check out 'build' on mosxland.sf.net10 2 11 3 set -x -v … … 15 7 16 8 cd "$PACKAGEDIR"/Source && \ 9 source VERSION.xcconfig && \ 17 10 find . -name \*~\* -exec rm -r '{}' \; && \ 18 VERSION= `cat VERSION`&& \19 DMG="$PRODUCT-$VERSION.dmg" VOL="$PRODUCT $VERSION" MOUNTPOINT="/Volumes/$VOL"&& \11 VERSION=${CURRENT_MARKETING_VERSION} && \ 12 DMG="$PRODUCT-$VERSION.dmg" VOL="$PRODUCT $VERSION" && \ 20 13 DSTROOT="$PACKAGEDIR/$VOL" && \ 21 sudo rm -fr "$DSTROOT" && \ 14 sudo rm -rf "$DSTROOT" && \ 15 sudo rm -rf build/ && \ 22 16 rm -rf build/ && \ 23 pbxbuild install "DSTROOT=$DSTROOT" && \ 24 ditto -rsrc "$PACKAGEDIR"/Source "$DSTROOT"/Source && \ 25 rm -rf "$DSTROOT"/Source/build && \ 17 xcodebuild -target "Application" -configuration Deployment "DSTROOT=$DSTROOT" DEPLOYMENT_LOCATION=YES install && \ 18 mkdir "$DSTROOT" && \ 19 # ditto -rsrc "$PACKAGEDIR"/Source "$DSTROOT"/Source && \ 20 # rm -rf "$DSTROOT"/Source/build && \ 26 21 find "$DSTROOT" -name ".svn" -exec sudo /bin/rm -rf "{}" \; ; \ 27 22 cd "$PACKAGEDIR" && \ 28 23 rm -f "$DMG" && \ 29 hdiutil create "$DMG" -megabytes 5 -ov -type UDIF && \ 30 DISK=`hdid -nomount "$DMG" | sed -ne ' /Apple_partition_scheme/ s|^/dev/\([^ ]*\).*$|\1|p'` && \ 31 newfs_hfs -v "$VOL" "/dev/r${DISK}s2" && \ 32 hdiutil eject "$DISK" && \ 33 hdid "$DMG" && \ 24 hdiutil create "$DMG" -megabytes 10 -ov -layout NONE -fs 'HFS+' -volname "$VOL" && \ 25 MOUNT=`hdiutil attach "$DMG"` && \ 26 DISK=`echo "$MOUNT" | sed -ne ' s|^/dev/\([^ ]*\).*$|\1|p'` && \ 27 MOUNTPOINT=`echo "$MOUNT" | sed -ne 's|^.*\(/Volumes/.*\)$|\1|p'` && \ 34 28 ditto -rsrc "$DSTROOT" "$MOUNTPOINT" && \ 35 chmod -R a+rX,u+w "$MOUNTPOINT" && \ 36 openUp "$MOUNTPOINT" && \ 37 # sleep 2 && \ 38 hdiutil eject $DISK && \ 39 # osascript -e "tell application \"Finder\" to eject disk \"$VOL\"" && \ 29 sudo chmod -R a+rX,u+w "$MOUNTPOINT" && \ 30 # openUp "$MOUNTPOINT" && \ 31 hdiutil detach $DISK && \ 40 32 hdiutil convert "$DMG" -format UDZO -imagekey zlib-level=9 -o "z$DMG" && \ 41 33 mv "z$DMG" "$DMG" && \ 34 hdiutil internet-enable "$DMG" && \ 42 35 scp "$DMG" ainaz:web/nriley/software/
Note:
See TracChangeset
for help on using the changeset viewer.