Revision: 9782 http://pure-data.svn.sourceforge.net/pure-data/?rev=9782&view=rev Author: eighthave Date: 2008-05-11 07:27:28 -0700 (Sun, 11 May 2008)
Log Message: ----------- 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/
Modified Paths: -------------- trunk/packages/darwin_app/Info.plist.in trunk/packages/darwin_app/Makefile
Modified: trunk/packages/darwin_app/Info.plist.in =================================================================== --- trunk/packages/darwin_app/Info.plist.in 2008-05-11 13:26:23 UTC (rev 9781) +++ trunk/packages/darwin_app/Info.plist.in 2008-05-11 14:27:28 UTC (rev 9782) @@ -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>
Modified: trunk/packages/darwin_app/Makefile =================================================================== --- trunk/packages/darwin_app/Makefile 2008-05-11 13:26:23 UTC (rev 9781) +++ trunk/packages/darwin_app/Makefile 2008-05-11 14:27:28 UTC (rev 9782) @@ -156,10 +156,12 @@
#------------------------------------------------------------------------------# # 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
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.