SparkleShare/SparkleShare/Mac
2017-09-10 14:04:54 +01:00
..
Assets.xcassets build: Upgrade to Xamarin.Mac from MonoMac 2017-09-10 12:46:45 +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 mac: Use updated Xamarin.Mac APIs 2017-09-10 14:04:54 +01:00
AppDelegate.cs build: Replace all MonoMac references 2017-09-10 13:13:57 +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 mac: Use updated Xamarin.Mac APIs 2017-09-10 14:04: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 case in bundle identifier 2017-09-09 15:52:19 +01:00
MainMenu.xib setup: add images to tutorial pages 2011-09-14 02:09:03 +02:00
MainMenu.xib.designer.cs build: Replace all MonoMac references 2017-09-10 13:13:57 +01:00
packReleaseDist.sh build: Replace all MonoMac references 2017-09-10 13:13:57 +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 build: Upgrade to Xamarin.Mac from MonoMac 2017-09-10 12:46:45 +01:00
Watcher.cs build: Replace all MonoMac references 2017-09-10 13:13:57 +01: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.