You can choose to build SparkleShare from source or to download the SparkleShare bundle.
Install
-
Xcode
Install Xcode from App Store or download manually from Apple XCode
-
MonoDevelop
Install Xamarin Studio from MonoDevelop, Xamarin comes with the Mono framework
The required git
binaries are now built automatically. For doing this and for building the distribution release, where Mono libraries are merged into SparkleShare, we need
the packes autoconf and pkg-config. You can install these using homebrew
$ brew port install autoconf pkg-config
There are three build configurations available:
-
Debug
with debug symbols and having the Symbol DEBUG defined, does require an installed Mono framework
-
Release
without debug symbols, does require an installed Mono framework
-
ReleaseDist
without debug symbols, the Mono framework is linked statically into the binary, so it does not require an installed Mono framework
To build any of these configurations,
- open SparkleShare.sln
- select the required configuraion
- select Build from the menu bar and click "Build SparkleShare".
To build SparkleShare from a command line (e.g. for using a CI system), use this command:
/Applications/Xamarin\ Studio.app/Contents/MacOS/mdtool -v build "--configuration:ReleaseDist" "${WORKSPACE}/SparkleShare/Mac/SparkleShare.sln"
rm -Rf ~/SparkleShare
rm -Rf ~/.config/sparkleshare
Simply remove the SparkleShare bundle.