Skip to content

Commit

Permalink
replace net.sourceforge mention by org.musescore, fix file type assoc…
Browse files Browse the repository at this point in the history
…iations on mac, add gp, scx...
  • Loading branch information
lasconic committed Sep 26, 2013
1 parent 197afc1 commit 1f7b195
Show file tree
Hide file tree
Showing 2 changed files with 107 additions and 55 deletions.
159 changes: 106 additions & 53 deletions build/MacOSXBundleInfo.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<!-- MuseScore documents -->
<dict>
<key>UTTypeIdentifier</key>
<string>org.musescore.xml</string>
<string>org.musescore.mscx</string>
<key>UTTypeDescription</key>
<string>MuseScore File</string>
<key>UTTypeConformsTo</key>
Expand All @@ -34,7 +34,7 @@
</dict>
<dict>
<key>UTTypeIdentifier</key>
<string>org.musescore.xml</string>
<string>org.musescore.mscz</string>
<key>UTTypeDescription</key>
<string>MuseScore Compressed File</string>
<key>UTTypeConformsTo</key>
Expand All @@ -54,17 +54,64 @@
</array>
</dict>
</dict>
</array>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>MuseScore File</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>xml</string>
<string>mscx</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>musescoreDocument.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>application/vnd.recordare.musicxml+xml</string>
<string>application/x-musescore+xml</string>
</array>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<false/>
<key>LSIsAppleDefaultForType</key>
<true/>
<key>LSHandlerRank</key>
<string>Owner</string>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>Compressed MuseScore File</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>mscz</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>musescoreDocument.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>application/x-musescore</string>
</array>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<true/>
<key>LSIsAppleDefaultForType</key>
<true/>
<key>LSHandlerRank</key>
<string>Owner</string>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>MusicXML File</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>xml</string>
</array>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>application/vnd.recordare.musicxml+xml</string>
</array>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
Expand All @@ -73,6 +120,8 @@
<string>XML</string>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>Compressed MusicXML File</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>mxl</string>
Expand All @@ -81,8 +130,6 @@
<array>
<string>application/vnd.recordare.musicxml</string>
</array>
<key>CFBundleTypeName</key>
<string>Compressed MusicXML File</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
Expand All @@ -91,6 +138,8 @@
<string>XML</string>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>MIDI File</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>mid</string>
Expand All @@ -100,14 +149,14 @@
<string>application/x-midi</string>
<string>audio/midi</string>
</array>
<key>CFBundleTypeName</key>
<string>MIDI File</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<false/>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>KAR File</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>kar</string>
Expand All @@ -117,124 +166,128 @@
<string>application/x-midi</string>
<string>audio/midi</string>
</array>
<key>CFBundleTypeName</key>
<string>KAR File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSTypeIsPackage</key>
<false/>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>Bagpipe player File</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>bww</string>
</array>
<key>CFBundleTypeName</key>
<string>Bagpipe player File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>Overture Musical Score</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>ove</string>
</array>
<key>CFBundleTypeName</key>
<string>Overture Document</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>Score Writer Document</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>cap</string>
<string>scw</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>Capella File</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>cap</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>Capella CapXML File</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>SGU</string>
<string>capx</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>BIAB File</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>SGU</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>BIAB File</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>MGU</string>
</array>
<key>CFBundleTypeName</key>
<string>BIAB File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>MuseData File</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>md</string>
</array>
<key>CFBundleTypeName</key>
<string>MuseData File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
</array>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>Guitar Pro 3 File</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>mscx</string>
<string>gp3</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>musescoreDocument.icns</string>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>application/x-musescore+xml</string>
</array>
<key>CFBundleTypeName</key>
<string>MuseScore File</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<false/>
<key>LSIsAppleDefaultForType</key>
<true/>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>Guitar Pro 4 File</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>mscz</string>
<string>gp4</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>musescoreDocument.icns</string>
<key>CFBundleTypeMIMETypes</key>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict>
<key>CFBundleTypeName</key>
<string>Guitar Pro 5 File</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>application/x-musescore</string>
<string>gp5</string>
</array>
<key>CFBundleTypeName</key>
<string>Compressed MuseScore File</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSTypeIsPackage</key>
<true/>
<key>LSIsAppleDefaultForType</key>
<true/>
<string>Viewer</string>
</dict>
</array>
<key>ATSApplicationFontsPath</key>
<string>fonts</string>

<key>ATSApplicationFontsPath</key>
<string>fonts</string>

<key>CFBundleExecutable</key>
<string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string>
<key>CFBundleGetInfoString</key>
<string>${MACOSX_BUNDLE_INFO_STRING}</string>
<key>CFBundleIconFile</key>
<string>${MACOSX_BUNDLE_ICON_FILE}</string>
<key>CFBundleIdentifier</key>
Expand Down
3 changes: 1 addition & 2 deletions mscore/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,8 @@ endif (USE_JACK)

if (APPLE)
set (ExecutableName mscore MACOSX_BUNDLE)
set (MACOSX_BUNDLE_INFO_STRING MuseScore prerelease for Mac OSX)
set (MACOSX_BUNDLE_ICON_FILE mscore.icns)
set (MACOSX_BUNDLE_GUI_IDENTIFIER net.sourceforge.mscore)
set (MACOSX_BUNDLE_GUI_IDENTIFIER org.musescore.MuseScore)
set (MACOSX_BUNDLE_LONG_VERSION_STRING ${MUSESCORE_VERSION_FULL})
set (MACOSX_BUNDLE_BUNDLE_NAME MuseScore)
set (MACOSX_BUNDLE_SHORT_VERSION_STRING ${MUSESCORE_VERSION})
Expand Down

0 comments on commit 1f7b195

Please sign in to comment.