aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-05-11 14:27:28 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-05-11 14:27:28 +0000
commit4af4cb6b21a54dcc45b9c361be977d0c8339ab9d (patch)
tree407acfb8f6ebe0d8113908d4c8ec83a27cd7e24c /packages
parent42ae63a25ca45c613277315973dee6377fa6ba9c (diff)
fixed up Info.plist versioning following Marius' research:
http://lists.puredata.info/pipermail/pd-list/2008-02/059627.html and this blog post: http://www.dribin.org/dave/blog/archives/2006/08/02/versioning_os_x_apps/ svn path=/trunk/; revision=9782
Diffstat (limited to 'packages')
-rw-r--r--packages/darwin_app/Info.plist.in6
-rw-r--r--packages/darwin_app/Makefile4
2 files changed, 7 insertions, 3 deletions
diff --git a/packages/darwin_app/Info.plist.in b/packages/darwin_app/Info.plist.in
index 6c4d9a69..2d1a877d 100644
--- a/packages/darwin_app/Info.plist.in
+++ b/packages/darwin_app/Info.plist.in
@@ -29,11 +29,13 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
- <string>????</string>
+ <string>PdPd</string>
<key>CFBundleIconFile</key>
<string>pd.icns</string>
+ <key>CFBundleShortVersionString</key>
+ <string>CFBUNDLESHORTVERSIONSTRING</string>
<key>CFBundleVersion</key>
- <string>PD_VERSION</string>
+ <string>CFBUNDLEVERSION</string>
<key>LSUIPresentationMode</key>
<integer>0</integer>
<key>LSUIElement</key>
diff --git a/packages/darwin_app/Makefile b/packages/darwin_app/Makefile
index 84a86e25..86224788 100644
--- a/packages/darwin_app/Makefile
+++ b/packages/darwin_app/Makefile
@@ -156,10 +156,12 @@ darwin_app_devel_wrapper: Info.plist
#------------------------------------------------------------------------------#
# generate Info.plist using PD_APP_NAME and PD_VERSION
+Info.plist: CFBUNDLEVERSION_DATE := $(shell date +%Y.%m.%d)
Info.plist: Info.plist.in
cat Info.plist.in | \
sed 's/PD_APP_NAME/$(PD_APP_NAME)/' | \
- sed 's/PD_VERSION/$(PD_VERSION)/' > \
+ sed 's/CFBUNDLESHORTVERSIONSTRING/$(PD_MAJOR_VERSION).$(PD_MINOR_VERSION).$(PD_BUGFIX_VERSION)/' | \
+ sed 's/CFBUNDLEVERSION/$(CFBUNDLEVERSION_DATE)/' > \
Info.plist
# tigital's Gem window focus black magic