SparkleShare/SparkleShare/Mac
2018-04-14 12:21:56 +01:00
..
Resources mac: Use the updated app icon by @snwh 2017-12-18 20:00:32 +01:00
SparkleShareInviteOpener.app/Contents invites mac: Start SparkleShare after opening invites 2013-06-13 18:36:31 +01:00
UserInterface mac: Use descriptive arguments for some methods 2018-04-14 12:21:56 +01:00
AppDelegate.cs build: Replace all MonoMac references 2017-09-10 13:13:57 +01:00
checkGit.sh build: Warn (but don't stop) on git download SHA256 mismatch. Closes #1701 2018-01-02 15:22:52 +01:00
config build mac: Remove unused dllmaps in config 2017-12-19 22:33:51 +01:00
Controller.cs controller: Allow for platform-specific quit methods and implement on Mac 2018-03-08 10:20:22 +00:00
git.download mac: Bump git version 2018-02-23 20:21:01 +00:00
Info.plist Bump version 2018-02-21 22:02:26 +00: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 mac: Remove unused Mono.Posix references 2017-12-19 21:18:02 +01:00
postBuild.sh build: Download Github's git and lfs binaries 2017-12-19 19:35:54 +01:00
README.md mac readme: typo 2018-01-13 19:25:05 +00:00
SparkleShare.Mac.csproj mac: Fix build 2018-02-21 08:55:10 +00: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 Visual Studio.

For building the distribution release, where Mono libraries are merged into SparkleShare, we need the 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:

  • DebugMac

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

  • Release

    without debug symbols. Requires an installed Mono framework.

  • ReleaseMac

    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 Visual 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/Visual\ Studio.app/Contents/MacOS/vstool build "--configuration:ReleaseMac" "SparkleShare.sln"

Resetting SparkleShare settings

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

Uninstalling

Simply remove the SparkleShare bundle.