Skip to content
This repository has been archived by the owner on Sep 20, 2020. It is now read-only.
beaugunderson edited this page Sep 14, 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 4.0 (if not installed yet)

  • install msysGit PortableGit-1.7.4

    • rename the .7z file to .exe, execute and extract to C:\msysgit
  • start C:\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)
  • Download CefSharp-0.3.1.7z

    • copy avcodec-52.dll, avformat-52.dll, avutil-50.dll, CefSharp.dll, icudt42.dll and libcef.dll from the 7z file in CefSharp-0.3.1\Release\ to C:\projects\SparkleShare\bin
    • (use 7-zip to extract files from a .7z file)
  • continue in the git-cmd.bat window and execute

      sparkleshare\windows\build.cmd
    
  • C:\projects\SparkleShare\bin should now contain SparkleLib.dll and SparkleShare.exe

running

I think this is no longer necessary since SparkleShare now generates a key for you:

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

     ssh-keygen -t rsa -C "your_email@youremail.com"
    
  • 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 binary versions of Meebey.SmartIrc4net and CefSharp, it is also probably better to build it from sourcecode.
  • Dotnet framwork 4 is required during build, the final executable should require dotnet 3.5.
Clone this wiki locally