summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-07-11 00:35:21 -0700
committerKeith Packard <keithp@keithp.com>2012-07-11 00:35:21 -0700
commit675ccd41e3b668cd4e1d2dd282dd317a00d00151 (patch)
tree7d2ce8e7b276b466b06952e44b4ed1c75c9ca72a
parent46407f7f3e4d2b6e74b3a2e90b38736a792cfc54 (diff)
Get AltOS version numbers into Mac 'about' dialog
Generate Info.plist from Info.plist.in to correctly set the VERSION information. This also changes some strings around to make them look better Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--altosui/Info.plist.in (renamed from altosui/AltosUI.app/Contents/Info.plist)10
-rw-r--r--altosui/Makefile.am4
-rw-r--r--configure.ac1
3 files changed, 10 insertions, 5 deletions
diff --git a/altosui/AltosUI.app/Contents/Info.plist b/altosui/Info.plist.in
index 60842804..46dea171 100644
--- a/altosui/AltosUI.app/Contents/Info.plist
+++ b/altosui/Info.plist.in
@@ -3,9 +3,9 @@
<plist version="0.9">
<dict>
<key>CFBundleName</key>
- <string>altosui</string>
+ <string>AltosUI</string>
<key>CFBundleVersion</key>
- <string>100.0</string>
+ <string>@VERSION@</string>
<key>CFBundleAllowMixedLocalizations</key>
<string>true</string>
<key>CFBundleExecutable</key>
@@ -14,10 +14,12 @@
<string>English</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
+ <key>CFBundleIdentifier</key>
+ <string>org.altusmetrum.altosui</string>
<key>CFBundleSignature</key>
- <string>????</string>
+ <string>Altu</string>
<key>CFBundleGetInfoString</key>
- <string>AltOS UI version 0.7</string>
+ <string>AltOS UI version @VERSION@</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleIconFile</key>
diff --git a/altosui/Makefile.am b/altosui/Makefile.am
index feda00c7..b22405aa 100644
--- a/altosui/Makefile.am
+++ b/altosui/Makefile.am
@@ -165,7 +165,8 @@ FAT_FILES=$(FATJAR) $(ALTOSLIB_CLASS) $(FREETTS_CLASS) $(JFREECHART_CLASS) $(JCO
LINUX_FILES=$(FAT_FILES) libaltos.so $(FIRMWARE) $(DOC)
LINUX_EXTRA=altosui-fat
-MACOSX_FILES=$(FAT_FILES) libaltos.dylib
+MACOSX_INFO_PLIST=Info.plist
+MACOSX_FILES=$(FAT_FILES) libaltos.dylib $(MACOSX_INFO_PLIST)
MACOSX_EXTRA=$(FIRMWARE)
WINDOWS_FILES=$(FAT_FILES) altos.dll altos64.dll $(top_srcdir)/telemetrum.inf $(WINDOWS_ICON)
@@ -311,6 +312,7 @@ $(MACOSX_DIST): $(MACOSX_FILES) $(MACOSX_EXTRA)
-rm -rf macosx
mkdir macosx
cp -a AltosUI.app macosx/
+ cp -p Info.plist macosx/AltosUI.app/Contents
mkdir -p macosx/AltOS macosx/AltosUI.app/Contents/Resources/Java
cp -p $(FATJAR) macosx/AltosUI.app/Contents/Resources/Java/altosui.jar
cp -p libaltos.dylib macosx/AltosUI.app/Contents/Resources/Java
diff --git a/configure.ac b/configure.ac
index a3004811..e78f5873 100644
--- a/configure.ac
+++ b/configure.ac
@@ -141,6 +141,7 @@ Makefile
altoslib/Makefile
altosui/Makefile
altosui/AltosVersion.java
+altosui/Info.plist
altosui/libaltos/Makefile
altosdroid/Makefile
altosdroid/local.properties