aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Heider2009-08-07 18:16:58 +0000
committerAndre Heider2009-08-07 18:16:58 +0000
commit57e45de95bbc91bd54eecff8410646675589c799 (patch)
treec836c1747601b71b8ce0002e86c8463c76fd2002
parent08b650c1a6fbcb5070090a1e14ba72b3e177efda (diff)
downloadscummvm-rg350-57e45de95bbc91bd54eecff8410646675589c799.tar.gz
scummvm-rg350-57e45de95bbc91bd54eecff8410646675589c799.tar.bz2
scummvm-rg350-57e45de95bbc91bd54eecff8410646675589c799.zip
Merge creation of Info.plist into update-version.pl.
This fixes the static version info after branching (#2820503). svn-id: r43101
-rw-r--r--Makefile.common19
-rw-r--r--dists/iphone/Info.plist30
-rw-r--r--dists/macosx/Info.plist32
-rw-r--r--ports.mk4
-rwxr-xr-xtools/update-version.pl2
5 files changed, 66 insertions, 21 deletions
diff --git a/Makefile.common b/Makefile.common
index 51261d65d9..caf5ba22fa 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -144,25 +144,6 @@ endif
######################################################################
-# Create the files that depend on the version
-######################################################################
-
-VERSION_FILES = \
- $(srcdir)/dists/iphone/Info.plist \
- $(srcdir)/dists/macosx/Info.plist
-
-$(VERSION_FILES): %: %.in
- @echo "Creating $@"
- @cat $< | sed \
- -e "s/@VER_MAJOR@/$(VER_MAJOR)/g" \
- -e "s/@VER_MINOR@/$(VER_MINOR)/g" \
- -e "s/@VER_PATCH@/$(VER_PATCH)/g" \
- -e "s/@VER_EXTRA@/$(VER_EXTRA)/g" \
- -e "s/@VERSION@/$(VERSION)/g" \
- > $@
-
-
-######################################################################
# Distribution settings
######################################################################
diff --git a/dists/iphone/Info.plist b/dists/iphone/Info.plist
new file mode 100644
index 0000000000..1a0a8bf0b6
--- /dev/null
+++ b/dists/iphone/Info.plist
@@ -0,0 +1,30 @@
+<?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>en</string>
+ <key>CFBundleExecutable</key>
+ <string>ScummVM</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>1.0.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.1.0svn</string>
+ <key>CFBundleVersion</key>
+ <string>svn</string>
+ <key>CFBundleIconFile</key>
+ <string>icon.png</string>
+ <key>UIPrerenderedIcon</key>
+ <true/>
+</dict>
+</plist>
diff --git a/dists/macosx/Info.plist b/dists/macosx/Info.plist
new file mode 100644
index 0000000000..5600084eae
--- /dev/null
+++ b/dists/macosx/Info.plist
@@ -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>1.1.0svn, Copyright 2001-2008 The ScummVM team</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>1.1.0svn</string>
+ <key>CFBundleVersion</key>
+ <string>1.1.0svn</string>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+ <key>NSHumanReadableCopyright</key>
+ <string>Copyright 2001-2008 The ScummVM team</string>
+</dict>
+</plist>
diff --git a/ports.mk b/ports.mk
index 7000ae75ce..6fc2796cc8 100644
--- a/ports.mk
+++ b/ports.mk
@@ -42,7 +42,7 @@ deb:
# Special target to create a application wrapper for Mac OS X
bundle_name = ScummVM.app
-bundle: scummvm-static $(srcdir)/dists/macosx/Info.plist
+bundle: scummvm-static
mkdir -p $(bundle_name)/Contents/MacOS
mkdir -p $(bundle_name)/Contents/Resources
echo "APPL????" > $(bundle_name)/Contents/PkgInfo
@@ -57,7 +57,7 @@ bundle: scummvm-static $(srcdir)/dists/macosx/Info.plist
chmod 755 $(bundle_name)/Contents/MacOS/scummvm
$(STRIP) $(bundle_name)/Contents/MacOS/scummvm
-iphonebundle: iphone $(srcdir)/dists/iphone/Info.plist
+iphonebundle: iphone
mkdir -p $(bundle_name)
cp $(srcdir)/dists/iphone/Info.plist $(bundle_name)/
cp $(DIST_FILES_DOCS) $(bundle_name)/
diff --git a/tools/update-version.pl b/tools/update-version.pl
index ec0249c872..406f8bf045 100755
--- a/tools/update-version.pl
+++ b/tools/update-version.pl
@@ -35,6 +35,8 @@ my @subs_files = qw(
dists/redhat/scummvm.spec
dists/scummvm.rc
dists/slackware/scummvm.SlackBuild
+ dists/macosx/Info.plist
+ dists/iphone/Info.plist
dists/wii/meta.xml
backends/platform/psp/README.PSP
);