From 57e45de95bbc91bd54eecff8410646675589c799 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Fri, 7 Aug 2009 18:16:58 +0000 Subject: Merge creation of Info.plist into update-version.pl. This fixes the static version info after branching (#2820503). svn-id: r43101 --- Makefile.common | 19 ------------------- dists/iphone/Info.plist | 30 ++++++++++++++++++++++++++++++ dists/macosx/Info.plist | 32 ++++++++++++++++++++++++++++++++ ports.mk | 4 ++-- tools/update-version.pl | 2 ++ 5 files changed, 66 insertions(+), 21 deletions(-) create mode 100644 dists/iphone/Info.plist create mode 100644 dists/macosx/Info.plist diff --git a/Makefile.common b/Makefile.common index 51261d65d9..caf5ba22fa 100644 --- a/Makefile.common +++ b/Makefile.common @@ -143,25 +143,6 @@ CXXFLAGS+= -DSCUMMVM_SVN_REVISION=\"$(VER_SVNREV)\" 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 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ScummVM + CFBundleIdentifier + org.scummvm.scummvm + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ScummVM + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleShortVersionString + 1.1.0svn + CFBundleVersion + svn + CFBundleIconFile + icon.png + UIPrerenderedIcon + + + 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 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleDisplayName + ScummVM + CFBundleExecutable + scummvm + CFBundleGetInfoString + 1.1.0svn, Copyright 2001-2008 The ScummVM team + CFBundleIconFile + scummvm.icns + CFBundleIdentifier + org.scummvm.scummvm + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ScummVM + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.1.0svn + CFBundleVersion + 1.1.0svn + NSPrincipalClass + NSApplication + NSHumanReadableCopyright + Copyright 2001-2008 The ScummVM team + + 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 ); -- cgit v1.2.3