SparkleShare/SparkleShare/Mac
2016-09-28 16:08:13 +02:00
..
Resources Added new icon for Mac Yosemite+ 2014-11-20 17:37:15 -05:00
SparkleShareInviteOpener.app/Contents invites mac: Start SparkleShare after opening invites 2013-06-13 18:36:31 +01:00
UserInterface font not available on El Capitan 2016-09-08 03:15:50 -04:00
AppDelegate.cs Reorganise project structure 2016-07-08 22:58:19 +01:00
checkGit.sh mac: Download and bundle Git LFS on build 2016-08-02 11:32:33 +01:00
config Include Mac .app config file and update the README 2012-01-22 13:07:03 +00:00
Controller.cs git: Depend on a git-lfs binary in a fixed location 2016-07-08 23:00:35 +01:00
git-lfs.version oops, file missing from a prior commit 2016-08-21 14:43:52 -04:00
git.version use git version that compiles on osx 2016-09-28 16:08:13 +02:00
Info.plist Bump version to 2.0 2016-07-08 22:58:19 +01:00
MacWatcher.cs Reorganise project structure 2016-07-08 22:58:19 +01:00
MainMenu.xib setup: add images to tutorial pages 2011-09-14 02:09:03 +02:00
MainMenu.xib.designer.cs Merge branch 'tutorial' of ssh://github.com/hbons/SparkleShare 2011-09-22 13:05:14 +01:00
packReleaseDist.sh Rename SparkleLib to Sparkles 2016-07-08 22:58:19 +01:00
postBuild.sh take care of proper PATH and error handling 2014-11-28 10:18:10 +01:00
README.md Update Mac README.md for location change in sln file 2016-07-14 11:07:22 +10:00
SparkleShare.Mac.csproj Release config for Mac 2016-09-26 21:53:57 +02:00

Building on macOS

You can build SparkleShare from source or download the SparkleShare bundle.

Installing build requirements

Install Xcode from the macOS App Store, or download it manually. Install Xamarin Studio.

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 in several ways, here's how it's done using Homebrew:

brew install autoconf automake libtool pkg-config

Building

There are three build configurations available:

  • Debug

    with debug symbols and having the Symbol DEBUG defined. Requires an installed Mono framework.

  • Release

    without debug symbols. Requires 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 in Xamarin Studio
  • select the SparkleShare.Mac project in the Solution view
  • select the required configuration
  • select Build, then "Build SparkleShare.Mac" from the menu

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" "./SparkleShare/Mac/SparkleShare.sln"

Resetting SparkleShare settings

rm -Rf ~/SparkleShare
rm -Rf ~/.config/org.sparkleshare.SparkleShare

Uninstalling

Simply remove the SparkleShare bundle.