diff options
author | dynaflash <[email protected]> | 2008-01-17 15:15:42 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2008-01-17 15:15:42 +0000 |
commit | b266f6c6fb837fb8f802f2de090a8c331021c6c3 (patch) | |
tree | b74f229c65a00938cda6100554c7445fb1430e52 | |
parent | 98d3cb4c680aca24e434384aff277bae9a16f660 (diff) |
MacGui: Remove the /macosx/localize.sh file from the make build process as it was messing up the sparkle updater and in the future we want to localize the nibs the correct way anyway so its not needed.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1208 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | Makefile | 4 | ||||
-rwxr-xr-x | macosx/localize.sh | 58 |
2 files changed, 2 insertions, 60 deletions
@@ -18,10 +18,10 @@ test: clean cli dev: clean internal
app:
- (./DownloadMacOsXContribBinaries.sh ; cd macosx ; xcodebuild -target libhb -target HandBrake -target HandBrakeCLI -configuration UB OTHER_CFLAGS_QUOTED_1="-DHB_VERSION=\\\"$(HB_VERSION)\\\" -DHB_BUILD=$(HB_BUILD) " build | sed '/^$$/d' ; cd .. ; ./macosx/localize.sh HandBrake.app $(HB_VERSION) $(HB_BUILD) UB )
+ (./DownloadMacOsXContribBinaries.sh ; cd macosx ; xcodebuild -target libhb -target HandBrake -target HandBrakeCLI -configuration UB OTHER_CFLAGS_QUOTED_1="-DHB_VERSION=\\\"$(HB_VERSION)\\\" -DHB_BUILD=$(HB_BUILD) " build | sed '/^$$/d' )
app-chunky:
- (./DownloadMacOsXContribBinaries.sh ; cd macosx ; xcodebuild -alltargets -configuration UB OTHER_CFLAGS_QUOTED_1="-DHB_VERSION=\\\"$(HB_VERSION)\\\" -DHB_BUILD=$(HB_BUILD) " build | sed '/^$$/d' ; cd .. ; ./macosx/localize.sh HandBrake.app $(HB_VERSION) $(HB_BUILD) UB )
+ (./DownloadMacOsXContribBinaries.sh ; cd macosx ; xcodebuild -alltargets -configuration UB OTHER_CFLAGS_QUOTED_1="-DHB_VERSION=\\\"$(HB_VERSION)\\\" -DHB_BUILD=$(HB_BUILD) " build | sed '/^$$/d' )
cli:
(./DownloadMacOsXContribBinaries.sh ; cd macosx ; xcodebuild -target libhb -target HandBrakeCLI -configuration UB OTHER_CFLAGS_QUOTED_1="-DHB_VERSION=\\\"$(HB_VERSION)\\\" -DHB_BUILD=$(HB_BUILD) " build | sed '/^$$/d' )
diff --git a/macosx/localize.sh b/macosx/localize.sh deleted file mode 100755 index 41bb6aaf6..000000000 --- a/macosx/localize.sh +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/sh -# This script localize the built application - cd macosx/i18n/ -export LNG=`ls *strings | sed 's/.strings//g' | sed 's/Localizable//g'` -cd ../../$1/Contents/Resources -for l in $LNG -do - cp -r English.lproj $l.lproj - cp ../../../macosx/i18n/$l.strings $l.lproj/Localizable.strings -done - -echo Generating Info.plist with correct version information -cd .. -echo "<?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>CFBundleDisplayName</key> - <string>HandBrake</string> - <key>CFBundleExecutable</key> - <string>HandBrake</string> - <key>CFBundleGetInfoString</key> - <string>0.9.1</string> - <key>CFBundleIconFile</key> - <string>HandBrake</string> - <key>CFBundleIdentifier</key> - <string>org.m0k.handbrake</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>HandBrake</string> - <key>CFBundlePackageType</key> - <string>APPL</string> - <key>CFBundleShortVersionString</key> - <string>$2</string> - <key>CFBundleSignature</key> - <string>HB##</string> - <key>CFBundleVersion</key> - <string>$3</string> - <key>NSHumanReadableCopyright</key> - <string>HandBrake Devs</string> - <key>NSMainNibFile</key> - <string>MainMenu</string> - <key>NSPrincipalClass</key> - <string>NSApplication</string> -</dict> -</plist>" > Info.plist - -if [ $4 == "DEV" ]; then -echo Installing libquicktime Plugins in the $1 Bundle -cd Resources -mkdir plugins -cd plugins -cp ../../../../contrib/lib/libquicktime/* . -fi - |