Skip to content
This repository has been archived by the owner on Sep 20, 2020. It is now read-only.
wimh edited this page Jul 2, 2011 · 33 revisions

SparkleShare is being ported to windows. currently basic functionality is available. But it is not usable for real usage yet.

build on windows

  • install dotNetFramework 3.5 and 4.0 (if not installed yet)

  • install msysGit PortableGit-1.7.4

    • rename the .7z file to .exe, execute and extract to C:\msysgit
  • install gtk-sharp version 2.12.10

  • install MonoDevelop version 2.6.b3

  • start C:\msysgit\msysgit\git-cmd.bat and execute:

      md \projects
      cd \projects
      git clone -b windows git://github.com/wimh/SparkleShare.git
      cd SparkleShare
      git submodule update --init
    
  • download SmartIrc4net-0.4.0.bin.zip

  • copy Meebey.SmartIrc4net.dll and Meebey.SmartIrc4net.xml from the zip file in bin\release to C:\projects\SparkleShare\bin (create that directory if it does not exist)

  • continue in the git-cmd.bat window

      cd sparkleshare\windows
      %SystemRoot%\Microsoft.NET\Framework\v3.5\MSBuild.exe /p:Configuration=Release /p:Platform="Any CPU" SparkleShare.sln
    
  • C:\projects\SparkleShare\bin should now contain SparkleLib.dll and SparkleShare.exe

On windows 7 x64 and possibly other x64 windows versions it is possible for an exception to be thrown at startup. To solve that execute CorFlags.exe /32BIT+ C:\projects\SparkleShare\\SparkleShare.exe, see Issue #3.

running

  • start C:\msysgit\msysgit\git-cmd.bat and execute

      ssh-keygen -t rsa -C "[email protected]"
    
    • when it asks for a location to save the key, just press enter to use the default location
    • do not enter a passphrase (press enter twice)
  • copy the public key to your git server. Depending on the server, the command can look like this:

      cat ~/.ssh/id_rsa.pub | ssh git@servername "cat - >> ~/.ssh/authorized_keys"
    
    • It probably reports that The authenticity of host (...) can't be established., enter yes to continue
    • Enter the password when prompted
    • When correctly executed, you can connect with ssh git@servername to the server without any prompt. (enter logout to close the connection).
  • Start C:\projects\SparkleShare\bin\sparkleshare.exe

    • Enter full name and email in the first dialog
    • Enter the git servername and path on the server to add a repository

Notes

  • Instead of downloading an old binary version of Meebey.SmartIrc4net, it is also probably better to build it from sourcecode, but that requires some additional dependencies.
  • MonoDevelop 2.6 is required because version 2.4 has a bug in TextTransform.exe when including files.
  • MonoDevelop is not required at all when you have visual studio 2008 or 2010 installed, except the Express edition because it does not include TextTransform.exe.
Clone this wiki locally