]> granicus.if.org Git - handbrake/commitdiff
MacGui: Remove the /macosx/localize.sh file from the make build process as it was...
authordynaflash <dynaflashtech@gmail.com>
Thu, 17 Jan 2008 15:15:42 +0000 (15:15 +0000)
committerdynaflash <dynaflashtech@gmail.com>
Thu, 17 Jan 2008 15:15:42 +0000 (15:15 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1208 b64f7644-9d1e-0410-96f1-a4d463321fa5

Makefile
macosx/localize.sh [deleted file]

index 67e6ccebec93f52057f80c599e8b6d184e96fa98..e9400f96bfdee36acd03f0ccc74c48e32e42bb4b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,10 +18,10 @@ test:       clean cli
 dev:   clean internal\r
 \r
 app:\r
-       (./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 )\r
+       (./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'  )\r
 \r
 app-chunky:\r
-       (./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 )\r
+       (./DownloadMacOsXContribBinaries.sh ; cd macosx ; xcodebuild -alltargets -configuration UB  OTHER_CFLAGS_QUOTED_1="-DHB_VERSION=\\\"$(HB_VERSION)\\\" -DHB_BUILD=$(HB_BUILD) " build | sed '/^$$/d'  )\r
 \r
 cli:\r
        (./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' )\r
diff --git a/macosx/localize.sh b/macosx/localize.sh
deleted file mode 100755 (executable)
index 41bb6aa..0000000
+++ /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
-