diff --git a/SparkleLib/SparkleLib.csproj b/SparkleLib/SparkleLib.csproj index dca79476..ab73c7d0 100644 --- a/SparkleLib/SparkleLib.csproj +++ b/SparkleLib/SparkleLib.csproj @@ -1,5 +1,5 @@ - + Debug AnyCPU @@ -9,6 +9,7 @@ Library SparkleLib SparkleLib + v3.5 true @@ -31,6 +32,38 @@ + + False + ..\GitSharp\lib\DiffieHellman.dll + + + False + ..\GitSharp\lib\ICSharpCode.SharpZipLib.dll + + + False + ..\GitSharp\lib\Org.Mentalis.Security.dll + + + False + ..\GitSharp\lib\Tamir.SharpSSH.dll + + + False + ..\GitSharp\lib\Winterdom.IO.FileMap.dll + + + False + ..\bin\GitSharp.Core.dll + + + False + ..\bin\GitSharp.dll + + + False + ..\bin\Meebey.SmartIrc4net.dll + @@ -47,7 +80,7 @@ - + @@ -60,10 +93,4 @@ - - - {7311850F-619A-4241-B09F-157792C75FBA} - GitSharp - - \ No newline at end of file diff --git a/SparkleLib/SparkleRepo.cs b/SparkleLib/SparkleRepo.cs index 078b7fd2..ad712f2f 100644 --- a/SparkleLib/SparkleRepo.cs +++ b/SparkleLib/SparkleRepo.cs @@ -258,7 +258,7 @@ namespace SparkleLib { EnableRaisingEvents = true }; - Process.StartInfo.FileName = "git"; + Process.StartInfo.FileName = "/opt/local/bin/git"; Process.StartInfo.RedirectStandardOutput = true; Process.StartInfo.UseShellExecute = false; Process.StartInfo.WorkingDirectory = LocalPath; @@ -430,7 +430,7 @@ namespace SparkleLib { EnableRaisingEvents = true }; - process.StartInfo.FileName = "git"; + process.StartInfo.FileName = "/opt/local/bin/git"; process.StartInfo.RedirectStandardOutput = true; process.StartInfo.UseShellExecute = false; process.StartInfo.WorkingDirectory = LocalPath; @@ -663,7 +663,7 @@ namespace SparkleLib { EnableRaisingEvents = true }; - process.StartInfo.FileName = "git"; + process.StartInfo.FileName = "/opt/local/bin/git"; process.StartInfo.RedirectStandardOutput = true; process.StartInfo.UseShellExecute = false; process.StartInfo.WorkingDirectory = LocalPath; diff --git a/SparkleShare/Mac/SparkleShare/AppDelegate.cs b/SparkleShare/Mac/SparkleShare/AppDelegate.cs index a01bcd81..f60f5a63 100644 --- a/SparkleShare/Mac/SparkleShare/AppDelegate.cs +++ b/SparkleShare/Mac/SparkleShare/AppDelegate.cs @@ -3,6 +3,7 @@ using System.Drawing; using MonoMac.Foundation; using MonoMac.AppKit; using MonoMac.ObjCRuntime; +using SparkleLib; namespace SparkleShare { @@ -21,7 +22,7 @@ namespace SparkleShare // SparkleStatusIcon = new SparkleStatusIcon (); - + SparkleRepo repo = new SparkleRepo ("/Users/hbons/SparkleShare/SparkleShare-Test"); var statusItem = NSStatusBar.SystemStatusBar.CreateStatusItem (32); statusItem.Enabled = true; diff --git a/SparkleShare/Mac/SparkleShare/Info.plist b/SparkleShare/Mac/SparkleShare/Info.plist index 19313445..16ec0ef3 100644 --- a/SparkleShare/Mac/SparkleShare/Info.plist +++ b/SparkleShare/Mac/SparkleShare/Info.plist @@ -2,6 +2,11 @@ + LSEnvironment + + PATH + /opt/local/bin + CFBundleIdentifier com.yourcompany.SparkleShare CFBundleName diff --git a/SparkleShare/Mac/SparkleShare/SparkleShare.csproj b/SparkleShare/Mac/SparkleShare/SparkleShare.csproj index c6f73621..e92b5cdc 100644 --- a/SparkleShare/Mac/SparkleShare/SparkleShare.csproj +++ b/SparkleShare/Mac/SparkleShare/SparkleShare.csproj @@ -21,6 +21,11 @@ prompt 4 false + + + + + none @@ -71,4 +76,10 @@ + + + {2C914413-B31C-4362-93C7-1AE34F09112A} + SparkleLib + + \ No newline at end of file diff --git a/SparkleShare/Mac/SparkleShare/SparkleShare.sln b/SparkleShare/Mac/SparkleShare/SparkleShare.sln index a5561c80..925a0eda 100644 --- a/SparkleShare/Mac/SparkleShare/SparkleShare.sln +++ b/SparkleShare/Mac/SparkleShare/SparkleShare.sln @@ -3,12 +3,18 @@ Microsoft Visual Studio Solution File, Format Version 10.00 # Visual Studio 2008 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SparkleShare", "SparkleShare.csproj", "{709CB8F4-F82F-4C94-B4E2-DC502087525B}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SparkleLib", "..\..\..\SparkleLib\SparkleLib.csproj", "{2C914413-B31C-4362-93C7-1AE34F09112A}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2C914413-B31C-4362-93C7-1AE34F09112A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2C914413-B31C-4362-93C7-1AE34F09112A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2C914413-B31C-4362-93C7-1AE34F09112A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2C914413-B31C-4362-93C7-1AE34F09112A}.Release|Any CPU.Build.0 = Release|Any CPU {709CB8F4-F82F-4C94-B4E2-DC502087525B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {709CB8F4-F82F-4C94-B4E2-DC502087525B}.Debug|Any CPU.Build.0 = Debug|Any CPU {709CB8F4-F82F-4C94-B4E2-DC502087525B}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/SparkleShare/Makefile.am b/SparkleShare/Makefile.am index 07e6643e..020904b0 100644 --- a/SparkleShare/Makefile.am +++ b/SparkleShare/Makefile.am @@ -10,12 +10,12 @@ LINK = $(REF_SPARKLESHARE) SOURCES = \ SparkleBubble.cs \ SparkleController.cs \ - SparkleLinController.cs \ SparkleDialog.cs \ SparkleEntry.cs \ SparkleInfobar.cs \ SparkleIntro.cs \ SparkleInvitation.cs \ + SparkleLinController.cs \ SparkleLink.cs \ SparkleLog.cs \ SparkleShare.cs \