New files
authorPete Fotheringham <pete.fotheringham@codethink.co.uk>
Fri, 3 Feb 2012 09:53:22 +0000 (09:53 +0000)
committerPete Fotheringham <pete.fotheringham@codethink.co.uk>
Fri, 3 Feb 2012 09:53:22 +0000 (09:53 +0000)
mac-client-installer/build-krb5.sh [new file with mode: 0755]
mac-client-installer/msbuild.sh [new file with mode: 0755]
mac-client-installer/org.freedesktop.dbus-session.plist [new file with mode: 0644]

diff --git a/mac-client-installer/build-krb5.sh b/mac-client-installer/build-krb5.sh
new file mode 100755 (executable)
index 0000000..d34fd66
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+#  build-krb5.sh
+#  
+#
+#  Created by pete on 02/02/2012.
+#  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
+
+
+export CFLAGS="-arch i386"
+./configure --prefix=/usr/local
+make
+make install DESTDIR=$HOME/moonshot/mac-client-installer/krb
+
diff --git a/mac-client-installer/msbuild.sh b/mac-client-installer/msbuild.sh
new file mode 100755 (executable)
index 0000000..fe87a76
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+#  msbuild.sh
+#  
+#
+#  Created by pete on 01/02/2012.
+#  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
+# build moonshot-ui using jhbuild
+jhbuild buildone moonshot-ui
+
+# make moonshot-ui app bundle in jhbuild shell
+cd ~/gtk/source/moonshot-ui/ &&  jhbuild run make app-bundle 
+pwd
+
+cd ~/moonshot/mac-client-installer
+rm -r /Applications/moonshot-ui.app/
+
diff --git a/mac-client-installer/org.freedesktop.dbus-session.plist b/mac-client-installer/org.freedesktop.dbus-session.plist
new file mode 100644 (file)
index 0000000..ba110be
--- /dev/null
@@ -0,0 +1,27 @@
+<?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>Label</key>
+       <string>org.freedesktop.dbus-session</string>
+
+       <key>ServiceIPC</key>
+       <true/>
+
+       <key>ProgramArguments</key>
+       <array>
+               <string>/Applications/moonshot-ui.app/Contents/Resources/bin/dbus-daemon</string>
+               <string>--nofork</string>
+               <string>--session</string>
+       </array>
+
+       <key>Sockets</key>
+       <dict>
+               <key>unix_domain_listener</key>
+               <dict>
+                       <key>SecureSocketWithKey</key>
+                       <string>DBUS_LAUNCHD_SESSION_BUS_SOCKET</string>
+               </dict>
+       </dict>
+</dict>
+</plist>