Move Info.plist out of app-skeleton, to be autogenerated to include

package name.  Add config.make.in for the same reason.

Subversion-branch: /launcher
Subversion-revision: 1780
This commit is contained in:
Simon Howard 2010-01-04 19:33:10 +00:00
parent f19654488d
commit 7e5a345f42
4 changed files with 45 additions and 3 deletions

View file

@ -22,6 +22,7 @@ $(STAGING_DIR): launcher
rm -rf $(STAGING_DIR) rm -rf $(STAGING_DIR)
mkdir $(STAGING_DIR) mkdir $(STAGING_DIR)
cp -R app-skeleton "$(APP_DIR)" cp -R app-skeleton "$(APP_DIR)"
cp Info.plist "$(APP_DIR)/Contents/"
cp launcher "$(APP_DIR)/Contents/MacOS/" cp launcher "$(APP_DIR)/Contents/MacOS/"
# TODO: copy Doom and setup binaries into app dir # TODO: copy Doom and setup binaries into app dir
# TODO: copy other documentation into staging dir # TODO: copy other documentation into staging dir

View file

@ -1,21 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?> <?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"> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!-- This is a temporary Info.plist file that will be removed.
It will eventually be generated by configure. -->
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>English</string> <string>English</string>
<key>CFBundleDisplayName</key> <key>CFBundleDisplayName</key>
<string>Chocolate Doom</string> <string>Cocoa Doom</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>launcher</string> <string>launcher</string>
<key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key>
<string>Chocolate Doom 1.2.1</string> <string>Cocoa Doom 1.2.1</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>chocolate-doom.icns</string> <string>chocolate-doom.icns</string>
<key>CFBundleInfoDictionaryVersion</key> <key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string> <string>6.0</string>
<key>CFBundleName</key> <key>CFBundleName</key>
<string>ChocolateDoom</string> <string>Cocoa Doom</string>
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>

30
Info.plist.in Executable file
View file

@ -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>English</string>
<key>CFBundleDisplayName</key>
<string>@PACKAGE_NAME@</string>
<key>CFBundleExecutable</key>
<string>launcher</string>
<key>CFBundleGetInfoString</key>
<string>@PACKAGE_STRING@</string>
<key>CFBundleIconFile</key>
<string>chocolate-doom.icns</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>@PACKAGE_NAME@</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>@PACKAGE_VERSION@</string>
<key>CFBundleVersion</key>
<string>@PACKAGE_VERSION@</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSMainNibFile</key>
<string>launcher</string>
</dict>
</plist>

9
config.make.in Normal file
View file

@ -0,0 +1,9 @@
# File included by the main makefile that contains details
# about the package name, generated by configure.
PACKAGE = @PACKAGE@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@