tasque r119 - in trunk: . RtmNet data/images macbin osx osx/Contents osx/Contents/MacOS osx/Contents/Resources



Author: sharm
Date: Mon Sep 29 15:04:40 2008
New Revision: 119
URL: http://svn.gnome.org/viewvc/tasque?rev=119&view=rev

Log:
2008-09-29  Sandy Armstrong <sanfordarmstrong gmail com> 

	* macbin/: Added pre-compiled ige-mac-integration-sharp.dll from
	  Eoin's banshee-osx git repo.  Thanks Eoin!
	* osx/: Configuration, execution, and icon files for app bundle.
	* bunde-mac-app.sh: Stupid little script to build the app bundle.
	* data/images/tasque.ico: Windows icon, for the future.
	* RtmNet/AssemblyInfo.cs: No need to be CLSCompliant.
	* src/OSXApplication.cs: Integration code for Mac menu bar.


Added:
   trunk/bundle-mac-app.sh   (contents, props changed)
   trunk/data/images/tasque.ico   (contents, props changed)
   trunk/macbin/
   trunk/macbin/ige-mac-integration-sharp.dll   (contents, props changed)
   trunk/osx/
   trunk/osx/Contents/
   trunk/osx/Contents/Info.plist
   trunk/osx/Contents/MacOS/
   trunk/osx/Contents/MacOS/Tasque   (contents, props changed)
   trunk/osx/Contents/Resources/
   trunk/osx/Contents/Resources/tasque.icns   (contents, props changed)
Modified:
   trunk/RtmNet/AssemblyInfo.cs

Modified: trunk/RtmNet/AssemblyInfo.cs
==============================================================================
--- trunk/RtmNet/AssemblyInfo.cs	(original)
+++ trunk/RtmNet/AssemblyInfo.cs	Mon Sep 29 15:04:40 2008
@@ -66,5 +66,5 @@
 //[assembly: SecurityPermission(SecurityAction.RequestMinimum, Execution = true)]
 #endif
 
-[assembly: CLSCompliantAttribute(true)]
+[assembly: CLSCompliantAttribute(false)]
 [assembly: ComVisible(false)]

Added: trunk/bundle-mac-app.sh
==============================================================================
--- (empty file)
+++ trunk/bundle-mac-app.sh	Mon Sep 29 15:04:40 2008
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+BUNDLE=Tasque.app/
+
+rm -rf $BUNDLE
+
+CONTENTS=Contents/
+MACOS=Contents/MacOS/
+RESOURCES=/Contents/Resources/
+
+mkdir -p $BUNDLE/$MACOS
+mkdir -p $BUNDLE/$RESOURCES
+
+cp osx/$CONTENTS/Info.plist $BUNDLE/$CONTENTS
+cp osx/$MACOS/Tasque $BUNDLE/$MACOS
+cp osx/$RESOURCES/tasque.icns $BUNDLE/$RESOURCES
+
+cp bin/Debug/tasque.exe Tasque.app/Contents/MacOS/
+cp macbin/ige-mac-integration-sharp.dll Tasque.app/Contents/MacOS/
\ No newline at end of file

Added: trunk/data/images/tasque.ico
==============================================================================
Binary file. No diff available.

Added: trunk/macbin/ige-mac-integration-sharp.dll
==============================================================================
Binary file. No diff available.

Added: trunk/osx/Contents/Info.plist
==============================================================================
--- (empty file)
+++ trunk/osx/Contents/Info.plist	Mon Sep 29 15:04:40 2008
@@ -0,0 +1,28 @@
+<?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>Tasque</string>
+	<key>CFBundleIconFile</key>
+	<string>tasque.icns</string>
+	<key>CFBundleIdentifier</key>
+	<string>org.gnome.tasque</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>Tasque</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleShortVersionString</key>
+	<string>1.5</string>
+	<key>CFBundleSignature</key>
+	<string>xmmd</string>
+	<key>CFBundleVersion</key>
+	<string>1.5</string>
+	<key>NSAppleScriptEnabled</key>
+	<string>NO</string>
+</dict>
+</plist>

Added: trunk/osx/Contents/MacOS/Tasque
==============================================================================
--- (empty file)
+++ trunk/osx/Contents/MacOS/Tasque	Mon Sep 29 15:04:40 2008
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# fetch the path relative to the launch point where this shell script exists. (taken from macpack)
+APP_PATH=`echo $0 | awk '{split($0,patharr,"/"); idx=1; while(patharr[idx+3] != "") { if (patharr[idx] != "/") {printf("%s/", patharr[idx]); idx++ }} }'`
+
+ASSEMBLY=tasque.exe
+MONO=`which mono`
+
+MONO_FRAMEWORK_PATH=/Library/Frameworks/Mono.framework/Versions/Current
+export DYLD_FALLBACK_LIBRARY_PATH=$APP_PATH/Contents/MacOS:$MONO_FRAMEWORK_PATH/lib:/lib:/usr/lib
+
+cd "$APP_PATH/Contents/MacOS"
+exec -a "Tasque" "$MONO" $ASSEMBLY $@
\ No newline at end of file

Added: trunk/osx/Contents/Resources/tasque.icns
==============================================================================
Binary file. No diff available.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]