added mac os x bundle build support based on patch #1995510,

modified copyright strings in plist and rc files
This commit is contained in:
Pawel Kolodziejski 2008-06-16 21:46:32 +00:00
parent 005aaf3550
commit 66cfc0cfaa
5 changed files with 42 additions and 10 deletions

View File

@ -90,9 +90,9 @@ endif
# Create the files that depend on the version
######################################################################
VERSION_FILES =
#$(srcdir)/dists/iphone/Info.plist \
#$(srcdir)/dists/macosx/Info.plist
VERSION_FILES = \
$(srcdir)/dists/macosx/Info.plist
#$(srcdir)/dists/iphone/Info.plist
VERSION = $(shell cat "${srcdir}/engine/internal_version.h" | cut -d\" -f2)
VER_MAJOR = $(shell echo $(VERSION) | cut -d. -f 1)

View File

@ -0,0 +1,32 @@
<?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>ScummVM</string>
<key>CFBundleExecutable</key>
<string>scummvm</string>
<key>CFBundleGetInfoString</key>
<string>@VERSION@</string>
<key>CFBundleIconFile</key>
<string>scummvm.icns</string>
<key>CFBundleIdentifier</key>
<string>org.scummvm.scummvm</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>ScummVM</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>@VERSION@</string>
<key>CFBundleVersion</key>
<string>@VERSION@</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHumanReadableCopyright</key>
<string>Copyrights information are in AUTHORS file</string>
</dict>
</plist>

View File

@ -28,7 +28,7 @@ BEGIN
VALUE "FileDescription", "http://www.scummvm.org/\0"
VALUE "FileVersion", "0.0.6svn\0"
VALUE "InternalName", "residual\0"
VALUE "LegalCopyright", "Copyright © 2003-2008 The ScummVM-Residual\0"
VALUE "LegalCopyright", "Copyrights information are in AUTHORS file\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "residual.exe\0"
VALUE "PrivateBuild", "\0"

View File

@ -28,7 +28,7 @@ BEGIN
VALUE "FileDescription", "http://www.scummvm.org/\0"
VALUE "FileVersion", "@VERSION@\0"
VALUE "InternalName", "residual\0"
VALUE "LegalCopyright", "Copyright © 2003-2008 The ScummVM-Residual\0"
VALUE "LegalCopyright", "Copyrights information are in AUTHORS file\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "residual.exe\0"
VALUE "PrivateBuild", "\0"

View File

@ -38,7 +38,7 @@ bundle: residual-static $(srcdir)/dists/macosx/Info.plist
echo "APPL????" > $(bundle_name)/Contents/PkgInfo
cp $(srcdir)/dists/macosx/Info.plist $(bundle_name)/Contents/
cp $(srcdir)/icons/residual.icns $(bundle_name)/Contents/Resources/
$(srcdir)/tools/credits.pl --rtf > $(bundle_name)/Contents/Resources/Credits.rtf
#$(srcdir)/tools/credits.pl --rtf > $(bundle_name)/Contents/Resources/Credits.rtf
chmod 644 $(bundle_name)/Contents/Resources/*
cp residual-static $(bundle_name)/Contents/MacOS/residual
chmod 755 $(bundle_name)/Contents/MacOS/residual
@ -118,10 +118,10 @@ osxsnap: bundle credits
cp $(srcdir)/README ./Residual-snapshot/Residual\ ReadMe
/Developer/Tools/SetFile -t ttro -c ttxt ./Residual-snapshot/*
/Developer/Tools/CpMac -r $(bundle_name) ./Residual-snapshot/
cp $(srcdir)/dists/macosx/DS_Store ./Residual-snapshot/.DS_Store
cp $(srcdir)/dists/macosx/background.jpg ./Residual-snapshot/background.jpg
/Developer/Tools/SetFile -a V ./Residual-snapshot/.DS_Store
/Developer/Tools/SetFile -a V ./Residual-snapshot/background.jpg
#cp $(srcdir)/dists/macosx/DS_Store ./Residual-snapshot/.DS_Store
#cp $(srcdir)/dists/macosx/background.jpg ./Residual-snapshot/background.jpg
#/Developer/Tools/SetFile -a V ./Residual-snapshot/.DS_Store
#/Developer/Tools/SetFile -a V ./Residual-snapshot/background.jpg
hdiutil create -ov -format UDZO -imagekey zlib-level=9 -fs HFS+ \
-srcfolder Residual-snapshot \
-volname "Residual snapshot" \