diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-10-08 17:57:08 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-10-09 13:45:05 +0100 |
| commit | 02c41355007dd507dc9da99bb98639626500f30f (patch) | |
| tree | a330936f4947f7ea820845eaba4adadaf930c0c4 | |
| parent | c314f25178bd32120dfc64ec72a7a94a32b1b7b0 (diff) | |
OS X fixes.
| -rw-r--r-- | platform/osx/dcpomatic2.Info.plist.in (renamed from platform/osx/Info.plist.in) | 2 | ||||
| -rw-r--r-- | platform/osx/dcpomatic2_kdm.Info.plist.in | 34 | ||||
| -rw-r--r-- | platform/osx/make_dmg.sh | 5 | ||||
| -rw-r--r-- | platform/osx/wscript | 3 |
4 files changed, 40 insertions, 4 deletions
diff --git a/platform/osx/Info.plist.in b/platform/osx/dcpomatic2.Info.plist.in index e420d3620..c8c1378a9 100644 --- a/platform/osx/Info.plist.in +++ b/platform/osx/dcpomatic2.Info.plist.in @@ -11,7 +11,7 @@ <key>CFBundleIconFile</key> <string>DCP-o-matic.icns</string> <key>CFBundleIdentifier</key> - <string>net.carlh.dcpomatic</string> + <string>com.dcpomatic</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> diff --git a/platform/osx/dcpomatic2_kdm.Info.plist.in b/platform/osx/dcpomatic2_kdm.Info.plist.in new file mode 100644 index 000000000..5a585a1ae --- /dev/null +++ b/platform/osx/dcpomatic2_kdm.Info.plist.in @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleExecutable</key> + <string>dcpomatic2_kdm</string> + <key>CFBundleGetInfoString</key> + <string>DCP KDM creator</string> + <key>CFBundleIconFile</key> + <string>DCP-o-matic.icns</string> + <key>CFBundleIdentifier</key> + <string>com.dcpomatic.kdm</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>DCP-o-matic 2 KDM Creator</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleShortVersions</key> + <string>@VERSION@</string> + <key>CFBundleSignature</key> + <string>DOMC</string> + <key>CFBundleVersion</key> + <string>@VERSION@</string> + <key>LSUIElement</key> + <string>0</string> + <key>NSMainNibFile</key> + <string>MainMenu</string> + <key>NSPrincipalClass</key> + <string>NSApplication</string> +</dict> +</plist> diff --git a/platform/osx/make_dmg.sh b/platform/osx/make_dmg.sh index 034df9fb4..bbecd4fa1 100644 --- a/platform/osx/make_dmg.sh +++ b/platform/osx/make_dmg.sh @@ -123,7 +123,7 @@ universal_copy_lib $ENV libicuuc "$WORK/$libs" relink=`echo $relink | sed -e "s/\+//g"` -for obj in "$WORK/$macos/dcpomatic2" "$WORK/$macos/dcpomatic2_batch" "$WORK/$macos/dcpomatic2_cli" "$WORK/$macos/dcpomatic2_server_cli" "$WORK/$macos/ffprobe" "$WORK/$libs/"*.dylib; do +for obj in "$WORK/$macos/dcpomatic2" "$WORK/$macos/dcpomatic2_batch" "$WORK/$macos/dcpomatic2_server" "$WORK/$macos/dcpomatic2_kdm" "$WORK/$macos/dcpomatic2_cli" "$WORK/$macos/dcpomatic2_server_cli" "$WORK/$macos/ffprobe" "$WORK/$libs/"*.dylib; do deps=`otool -L "$obj" | awk '{print $1}' | egrep "($relink)" | egrep "($ENV|$ROOT|boost|libicu)"` changes="" for dep in $deps; do @@ -138,7 +138,7 @@ for obj in "$WORK/$macos/dcpomatic2" "$WORK/$macos/dcpomatic2_batch" "$WORK/$mac fi done -cp $ROOT/32/src/dcpomatic/build/platform/osx/Info.plist "$WORK/$approot" +cp $ROOT/32/src/dcpomatic/build/platform/osx/dcpomatic2.Info.plist "$WORK/$approot/Info.plist" cp $ROOT/32/src/dcpomatic/graphics/dcpomatic.icns "$WORK/$resources/DCP-o-matic.icns" cp $ROOT/32/src/dcpomatic/graphics/colour_conversions.png "$WORK/$resources" cp $ROOT/32/src/dcpomatic/graphics/defaults.png "$WORK/$resources" @@ -182,6 +182,7 @@ mkdir -p "$WORK/$macos_kdm" ln -s "../../../DCP-o-matic 2.app/Contents/lib" "$WORK/$libs_kdm" ln -s "../../../DCP-o-matic 2.app/Contents/Resources" "$WORK/$resources_kdm" universal_copy $ROOT src/dcpomatic/build/src/tools/dcpomatic2_kdm "$WORK/$macos_kdm" +cp $ROOT/32/src/dcpomatic/build/platform/osx/dcpomatic2_kdm.Info.plist "$WORK/$approot/Info.plist" cp -a "$WORK/$appdir_kdm" $WORK/$vol_name rm -f $tmp_dmg "$dmg" diff --git a/platform/osx/wscript b/platform/osx/wscript index aae1be921..c1f2351dd 100644 --- a/platform/osx/wscript +++ b/platform/osx/wscript @@ -1,2 +1,3 @@ def build(bld): - obj = bld(features='subst', source='Info.plist.in', target='Info.plist', version=bld.env.VERSION) + obj = bld(features='subst', source='dcpomatic2.Info.plist.in', target='dcpomatic2.Info.plist', version=bld.env.VERSION) + obj = bld(features='subst', source='dcpomatic2_kdm.Info.plist.in', target='dcpomatic2_kdm.Info.plist', version=bld.env.VERSION) |
