# # # rename "res/osx/guitone.icns" # to "res/osx/Resources/guitone.icns" # # add_file "res/osx/Info.plist.in" # content [aa1e6bdaf5d5eb91ef6381aecf3b6771f84f2927] # # add_file "res/osx/Resources/monotone-db.icns" # content [ce973c73883a09ac8b8e2d198e79d5458f7ed7f5] # # patch ".mtn-ignore" # from [c42106818e0f916bbdb0b44ecb5d942ac9d2f45b] # to [d5ff9346087778432e9beb954585d63c99769142] # # patch "guitone.pro" # from [9a2e3f12a1841e5e5555beb00af2bf509968b347] # to [ed7cd2d7b369b4fe918668e2d94b57090c962c8b] # # patch "res/osx/README" # from [6fd3c254ceb688d59ae6ab8e35093f1071c8739d] # to [4d38583d705ebe67df017d73d4a2ceba0472b9f3] # # set "res/osx/Resources/monotone-db.icns" # attr "mtn:manual_merge" # value "true" # ============================================================ --- res/osx/Info.plist.in aa1e6bdaf5d5eb91ef6381aecf3b6771f84f2927 +++ res/osx/Info.plist.in aa1e6bdaf5d5eb91ef6381aecf3b6771f84f2927 @@ -0,0 +1,50 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + guitone + CFBundleGetInfoString + guitone - a monotone frontend - (c) Thomas Keller 2006-2007 + CFBundleIconFile + guitone.icns + CFBundleIdentifier + biz.thomaskeller.guitone + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + guitone + CFBundlePackageType + APPL + CFBundleShortVersionString + @@version@@ + CFBundleSignature + MQAC + CFBundleVersion + @@version@@ + LSMinimumSystemVersion + 10.4.0 + SUFeedURL + http://guitone.thomaskeller.biz/appcast.xml + CFBundleDocumentTypes + + + CFBundleTypeIconFile + monotone-db.icns + CFBundleTypeName + Monotone database + CFBundleTypeExtensions + + mtn + db + + CFBundleTypeRole + Viewer + LSIsAppleDefaultForType + + + + + ============================================================ # res/osx/Resources/monotone-db.icns is binary ============================================================ --- .mtn-ignore c42106818e0f916bbdb0b44ecb5d942ac9d2f45b +++ .mtn-ignore d5ff9346087778432e9beb954585d63c99769142 @@ -1,6 +1,5 @@ Makefile Makefile .*\.xcodeproj -Info.plist [^\/]+\.qm ^tmp ^bin ============================================================ --- guitone.pro 9a2e3f12a1841e5e5555beb00af2bf509968b347 +++ guitone.pro ed7cd2d7b369b4fe918668e2d94b57090c962c8b @@ -188,15 +188,11 @@ macx { # add the Sparkle framework QMAKE_LFLAGS += -framework Sparkle - # osx application info file - QMAKE_INFO_PLIST = res/osx/Info.plist - # copy i18n resources into the final app bundle and # put the current version number into Info.plist QMAKE_POST_LINK = cp -R res/osx/Resources bin/guitone.app/Contents && \ - cat bin/guitone.app/Contents/Info.plist | \ - sed -e s/@@version@@/$${GUITONE_VERSION}/g \ - > bin/guitone.app/Contents/Info.plist + sed -e s/@@version@@/$${GUITONE_VERSION}/g \ + < res/osx/Info.plist.in > bin/guitone.app/Contents/Info.plist # add x86, ppc or both to build for either or both platforms (universal)^ CONFIG += x86 #ppc ============================================================ --- res/osx/README 6fd3c254ceb688d59ae6ab8e35093f1071c8739d +++ res/osx/README 4d38583d705ebe67df017d73d4a2ceba0472b9f3 @@ -1,13 +1,10 @@ process. This directory contains OSX specific files which are later copied into the final application bundle. This happens mostly automatically during the build process. -Resources/de.lproj/locversion.plist - needed for localized application menu +Resources/ + icons and needed files for a localized application menu -guitone.icns - OSX application icon - Info.plist Application info template which is later copied into the created bundle