Merge branch 'macosx-app-bundle-1' of git://github.com/henrik242/subsurface

* 'macosx-app-bundle-1' of git://github.com/henrik242/subsurface:
  Use the new packaging directory for MacOSX specific files, and provide shell script workaround to make the svg icon reachable.
  Ignore process serial number argument when run as native MacOSX app
  Add basic MacOSX app bundle install target
This commit is contained in:
Linus Torvalds 2011-10-31 17:12:59 -07:00
commit 5076397df0
6 changed files with 45 additions and 0 deletions

View file

@ -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>

1
packaging/macosx/PkgInfo Normal file
View file

@ -0,0 +1 @@
APPL????

Binary file not shown.

5
packaging/macosx/subsurface.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
cd `dirname $0`/../Resources
../MacOS/subsurface &
exit 0