SparkleShare/README.windows.md
2012-01-19 20:33:12 +01:00

2.1 KiB

Build on windows

  • When you clone the repository, remember to run git submodule update --init

  • Install .NET Framework 4.0 (if not installed yet)

  • Install msysGit

    • I recommend you to install in C:\msysgit
  • Open a Git console (available in Start Menu > Git > Git Bash). On the command line write

    cd /c git clone -b gettext-cs git://github.com/serras/SparkleShare.git cd SparkleShare git submodule update --init

  • This way you will get the SparkleShare source code in C:\SparkleShare

  • Download SmartIrc4net-0.4.0.bin.zip

    • Copy Meebey.SmartIrc4net.dll and Meebey.SmartIrc4net.xml from the zip file in bin\release to C:\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:\SparkleShare\bin
  • Copy the entire contents of the msysGit folder to C:\SparkleShare\bin\msysgit

  • Open a command shell (available in Start Menu > Accessories > Command Prompt) and execute

    C: cd C:\SparkleShare cd SparkleShare\Windows build

  • C:\SparkleShare\bin should now contain SparkleLib.dll and SparkleShare.exe, apart from folders plugins, po and msysgit

  • If you want to build the Windows installer download and install WiX

  • Then open a command shell and write almost the same as before, but with installer at the end

    C: cd C:\SparkleShare cd SparkleShare\Windows build installer

  • Each time you would like to get the latest changes open a Git console and run

    cd /c/SparkleShare git pull git submodule update

    and then run the build in the command shell.