SparkleShare/SparkleShare/Mac
2012-07-14 12:45:54 +02:00
..
git mac: update git 2012-01-22 17:29:32 +00:00
Growl.framework Update Growl framework to version 1.3.1 2012-06-19 23:11:05 +01:00
Pixmaps mac Move assets to UI folder 2012-06-19 15:11:08 +01:00
SparkleShareInviteOpener.app/Contents invites: always use https when accepting invites 2012-02-19 01:19:46 +01:00
AppDelegate.cs setup: add images to tutorial pages 2011-09-14 02:09:03 +02:00
config Include Mac .app config file and update the README 2012-01-22 13:07:03 +00:00
Growl.plist setup: add images to tutorial pages 2011-09-14 02:09:03 +02:00
Info.plist mac Move assets to UI folder 2012-06-19 15:11:08 +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
README.md When on Mac, never build the GTK UI 2012-06-19 20:23:50 +01:00
SparkleAbout.cs mac about: Add various links to about dialog 2012-07-09 17:07:32 +02:00
SparkleBadger.cs setup: add images to tutorial pages 2011-09-14 02:09:03 +02:00
SparkleBubbles.cs Update Growl framework to version 1.3.1 2012-06-19 23:11:05 +01:00
SparkleController.cs Some rearrangements 2012-07-14 12:45:54 +02:00
SparkleEventLog.cs fetcher: put quotes around host key file path. Fixes #815 2012-06-28 11:57:10 +01:00
SparkleMacWatcher.cs Use only a single watcher to monitor the SparkleShare folder 2012-07-08 23:53:44 +02:00
SparkleSetup.cs windows: update README 2012-06-26 18:47:33 +01:00
SparkleSetupWindow.cs mac about: Add various links to about dialog 2012-07-09 17:07:32 +02:00
SparkleShare.csproj controller: Move public key related stuff to its own class 2012-07-13 23:48:28 +02:00
SparkleShare.sln mac: bump version in project file 2012-05-27 14:21:17 +01:00
SparkleStatusIcon.cs statusicon: change wording 2012-06-23 17:41:37 +01:00
SparkleUI.cs Some rearrangements 2012-07-14 12:45:54 +02:00

Building on Mac

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

Installing build requirements

Install Xcode, the Mono Framework and MonoDevelop.

Start MonoDevelop and install the MonoMac add-in (it's in the menus: MonoDevelop > Add-in Manager).

You may need to adjust some environment variables to let the build environment tools find mono:

$ export PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin:$PATH
$ export PKG_CONFIG=/Library/Frameworks/Mono.framework/Versions/Current/bin/pkg-config
$ export PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig

Install git, automake, libtool and intltool using MacPorts:

$ sudo port install git-core automake intltool libtool

Start the first part of the build:

$ ./autogen.sh
$ make

Now that you have compiled the libraries, open SparkleShare/Mac/SparkleShare.sln in MonoDevelop and start the build (Build > Build All).

Creating a Mac bundle

To create the SparkleShare.app, make sure the project is focused, select Project from the menu bar and click "Create Mac Installer...". Make sure to select Don't link assemblies.

Save the SparkleShare.app somewhere. We need to copy some files over:

cp SparkleShare/Mac/config SparkleShare.app/Contents/MonoBundle/config
cp /Library/Frameworks/Mono.framework/Versions/Current/lib/libintl.dylib SparkleShare.app/Contents/Resources

Note: Adjust SparkleShare.app/Contents/Resources to where you saved the bundle.

Now you have a working bundle that you can run by double-clicking.

Resetting SparkleShare settings

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

Uninstalling

Simple remove the SparkleShare bundle.