diff options
author | Henrik Brautaset Aronsen <subsurface@henrik.synth.no> | 2011-10-30 22:27:33 +0100 |
---|---|---|
committer | Henrik Brautaset Aronsen <hba@conduct.no> | 2011-10-31 09:49:13 +0100 |
commit | b1a1376f3baf78ceca49b47c7b39d58983f4f984 (patch) | |
tree | 54014ea1ef3b868d6823bf71503da5eb4a27ffa6 /packaging | |
parent | f231ab094351496017288ac35c64613ca0708744 (diff) | |
download | subsurface-b1a1376f3baf78ceca49b47c7b39d58983f4f984.tar.gz |
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 <subsurface@henrik.synth.no>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/macosx/Info.plist | 20 | ||||
-rw-r--r-- | packaging/macosx/PkgInfo | 1 | ||||
-rw-r--r-- | packaging/macosx/Subsurface.icns | bin | 0 -> 71777 bytes | |||
-rwxr-xr-x | packaging/macosx/subsurface.sh | 5 |
4 files changed, 26 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleIconFile</key> + <string>Subsurface</string> + <key>CFBundleName</key> + <string>Subsurface</string> + <key>CFBundlePackageType</key> + <string>APPL</string> + <key>CFBundleGetInfoString</key> + <string>Rough divelog in C and Gtk</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>CFBundleExecutable</key> + <string>subsurface.sh</string> + <key>CFBundleIdentifier</key> + <string>torvalds.subsurface</string> +</dict> +</plist> 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 Binary files differnew file mode 100644 index 000000000..27c077f16 --- /dev/null +++ b/packaging/macosx/Subsurface.icns 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 |