SparkleShare/SparkleShare/Mac
2017-09-09 15:47:03 +01: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 Change my email address 2017-07-23 13:47:54 +01:00
.gitignore ingnore git build stuff 2016-09-29 09:47:08 +02:00
AppDelegate.cs Change my email address 2017-07-23 13:47:54 +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 Change my email address 2017-07-23 13:47:54 +01:00
git-lfs.version oops, file missing from a prior commit 2016-08-21 14:43:52 -04:00
git.version mac: Bump git version 2017-09-09 12:49:55 +01:00
Info.plist mac: Change app category to 'Utilities' 2017-09-09 15:47:03 +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 mac: Comment build script 2017-03-12 15:41:08 +00:00
README.md Update Mac README.md for location change in sln file 2016-07-14 11:07:22 +10:00
SparkleShare.Mac.csproj Use a shared project for common source files 2017-03-12 15:41:08 +00:00
Watcher.cs Use a shared project for common source files 2017-03-12 15:41:08 +00: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.