From b1a1376f3baf78ceca49b47c7b39d58983f4f984 Mon Sep 17 00:00:00 2001 From: Henrik Brautaset Aronsen Date: Sun, 30 Oct 2011 22:27:33 +0100 Subject: Use the new packaging directory for MacOSX specific files, and provide shell script workaround to make the svg icon reachable. - Make use of the new packaging directory. - Set a current directory for subsurface to find the svg icon. There might be a pretter solution to this. - Somehow subsurface doesn't behave properly in the Dock. Running it in the background without Dock integration until we figure out why. Signed-Off-By: Henrik Brautaset Aronsen --- packaging/macosx/Info.plist | 20 ++++++++++++++++++++ packaging/macosx/PkgInfo | 1 + packaging/macosx/Subsurface.icns | Bin 0 -> 71777 bytes packaging/macosx/subsurface.sh | 5 +++++ 4 files changed, 26 insertions(+) create mode 100644 packaging/macosx/Info.plist create mode 100644 packaging/macosx/PkgInfo create mode 100644 packaging/macosx/Subsurface.icns create mode 100755 packaging/macosx/subsurface.sh (limited to 'packaging/macosx') diff --git a/packaging/macosx/Info.plist b/packaging/macosx/Info.plist new file mode 100644 index 000000000..4ee12438b --- /dev/null +++ b/packaging/macosx/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleIconFile + Subsurface + CFBundleName + Subsurface + CFBundlePackageType + APPL + CFBundleGetInfoString + Rough divelog in C and Gtk + CFBundleSignature + ???? + CFBundleExecutable + subsurface.sh + CFBundleIdentifier + torvalds.subsurface + + diff --git a/packaging/macosx/PkgInfo b/packaging/macosx/PkgInfo new file mode 100644 index 000000000..6f749b0f3 --- /dev/null +++ b/packaging/macosx/PkgInfo @@ -0,0 +1 @@ +APPL???? diff --git a/packaging/macosx/Subsurface.icns b/packaging/macosx/Subsurface.icns new file mode 100644 index 000000000..27c077f16 Binary files /dev/null and b/packaging/macosx/Subsurface.icns differ diff --git a/packaging/macosx/subsurface.sh b/packaging/macosx/subsurface.sh new file mode 100755 index 000000000..ee9427c37 --- /dev/null +++ b/packaging/macosx/subsurface.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +cd `dirname $0`/../Resources +../MacOS/subsurface & +exit 0 -- cgit v1.2.3-70-g09d2