source: trunk/ICeCoffEE/package-ICeCoffEE.sh@ 292

Last change on this file since 292 was 216, checked in by Nicholas Riley, 18 years ago

VERSION: Starting with 1.4.3d1.

APE.icns: Generic APE icon (not sure whether we care).

SmartCrashReportsAPI.[ho]: SCR 1.1.

ICeCoffEEWebKit.m: -elementAtPoint: isn't in current
development WebKit; switch to the version in WebHTMLView.

Info-APE Module.plist: Update version to 1.4.3d1.

ICeCoffEE.xcodeproj: Xcode 2 version of project, required fixing
script which copies the APE bundle into the installer. We're still
building for 10.3.9 and later on PowerPC only for this release.

English.lproj/APEInfo.rtfd: Small clarifications, update release notes
and version information.

English.lproj/InfoPlist.strings: Update version to 1.4.3d1.

ICeCoffEEShared.h: Use varargs macros to finally fix the stupid
warnings when ICCF_DEBUG is 0.

ICeCoffEE APE.xcode: Removed.

ICeCoffEETerminal.m: Fixes crash on clicking disabled close/minimize
widgets in Open dialog (invalid super method call) by implementing
overridden methods in the faked superclass.

ape_install: APE 1.5.1.

Info-APEManagerPrefPane.plist: Update version number.

APEMain.m: Implement SCR. Fix a comment typo. Remove some useless
uses of the comma operator so the new warning-less ICapeprintf works.

package-ICeCoffEE.sh: Use new xcodebuild syntax and build layout.
Remove a useless use of the semicolon. Nuke localizations on
development builds.

File size: 1.4 KB
Line 
1#!/bin/sh
2
3set -x -v
4
5PACKAGEDIR="$PWD"
6PRODUCT="ICeCoffEE"
7
8cd "$PRODUCT" && \
9find . -name \*~ -exec rm '{}' \; && \
10VERSION=`cat VERSION` && \
11DMG="$PRODUCT-$VERSION.dmg" VOL="$PRODUCT $VERSION" && \
12DSTROOT="$PACKAGEDIR/$VOL" && \
13sudo rm -rf "$DSTROOT" && \
14sudo rm -rf build/ && \
15rm -rf build/ && \
16xcodebuild -target "ICeCoffEE Installer" -configuration Deployment "DSTROOT=$DSTROOT" DEPLOYMENT_LOCATION=YES install && \
17mkdir "$DSTROOT" && \
18mv "build/Deployment/$PRODUCT Installer.app" "$DSTROOT/$PRODUCT $VERSION Installer.app" && \
19sudo rm -rf build/ && \
20find "$DSTROOT" -name ".svn" -type d -exec sudo /bin/rm -rf "{}" \;
21# uncomment to include localizations
22find "$DSTROOT" -name \*.lproj -type d -and -not -name English.lproj -exec sudo rm -rf "{}" \;
23cd "$PACKAGEDIR" && \
24rm -f "$DMG" && \
25hdiutil create "$DMG" -megabytes 5 -ov -layout NONE -fs 'HFS+' -volname "$VOL" && \
26MOUNT=`hdiutil attach "$DMG"` && \
27DISK=`echo "$MOUNT" | sed -ne ' s|^/dev/\([^ ]*\).*$|\1|p'` && \
28MOUNTPOINT=`echo "$MOUNT" | sed -ne 's|^.*\(/Volumes/.*\)$|\1|p'` && \
29ditto -rsrc "$DSTROOT" "$MOUNTPOINT" && \
30sudo chmod -R a+rX,u+w "$MOUNTPOINT" && \
31# openUp "$MOUNTPOINT" && \
32hdiutil detach $DISK && \
33hdiutil resize -sectors min "$DMG" && \
34hdiutil convert "$DMG" -format UDZO -imagekey zlib-level=9 -o "z$DMG" && \
35mv "z$DMG" "$DMG" && \
36hdiutil internet-enable "$DMG" && \
37# scp "$DMG" ainaz:web/nriley/software/
38:
Note: See TracBrowser for help on using the repository browser.