SparkleShare/SparkleShare/Mac
2012-06-23 19:20:31 +01: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 Refactor adding of (empty) repos. Fixes #773 2012-06-10 23:56:39 +01: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 setup: tweak add page layout 2012-06-21 17:58:52 +01:00
SparkleEventLog.cs build: revert project file change 2012-06-20 12:13:34 +01:00
SparkleMacWatcher.cs mac watcher: Fix #731 2012-06-23 19:20:31 +01:00
SparkleSetup.cs setup: tweak add page layout 2012-06-21 17:58:52 +01:00
SparkleSetupWindow.cs setup: tweak add page layout 2012-06-21 17:58:52 +01:00
SparkleShare.csproj mac: fix build 2012-06-19 19:56:48 +01: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 Update Growl framework to version 1.3.1 2012-06-19 23:11:05 +01: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.