SparkleShare/SparkleShare/Mac
2012-10-23 22:59:22 +01:00
..
Growl.framework Update Growl framework to version 1.3.1 2012-06-19 23:11:05 +01:00
Pixmaps ImageOptim all the things again 2012-10-07 18:11:17 +02:00
SparkleShareInviteOpener.app/Contents mac invites: don't check certificate 2012-07-15 15:59:04 +02: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 Remove Helpers class, add Logger class 2012-07-28 15:58:09 +02: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 remove version bump instructions from readme files 2012-10-20 00:43:37 +01:00
SparkleAbout.cs eventlog: take user to gravatar.com when clicking on avatars 2012-10-06 13:17:39 +02:00
SparkleBadger.cs setup: add images to tutorial pages 2011-09-14 02:09:03 +02:00
SparkleBubbles.cs mac: remove badge label feature now that there's a notification center 2012-10-22 14:05:44 +01:00
SparkleController.cs mac watcher: temporary fix for #1006 2012-10-12 11:38:12 +02:00
SparkleEventLog.cs eventlog: removing some now redundant threading logic 2012-10-22 14:01:47 +01:00
SparkleMacWatcher.cs code cleanup 2012-10-22 17:06:57 +01:00
SparkleSetup.cs setup: follow relevant HIGs for button texts 2012-10-23 22:59:22 +01:00
SparkleSetupWindow.cs linux: change status icons 2012-09-10 19:41:21 +01:00
SparkleShare.csproj new default user icon 2012-10-07 17:57:56 +02:00
SparkleShare.sln eventlog: fix first commit on encrypted repos 2012-09-30 13:07:36 +02:00
SparkleStatusIcon.cs mac: remove badge label feature now that there's a notification center 2012-10-22 14:05:44 +01:00
SparkleUI.cs mac: remove badge label feature now that there's a notification center 2012-10-22 14:05:44 +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

Get a Git install, and place both the bin and libexec directories in SparkleShare/Mac/git. The exact commands depend on where you installed/have Git. Assuming it's in /usr/local:

$ mkdir SparkleShare/Mac/git
$ cp -R /usr/local/git/bin SparkleShare/Mac/git
$ cp -R /usr/local/git/libexec SparkleShare/Mac/git

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 select Build from the menu bar and click "Build SparkleShare".

You'll find a SparkleShare.app in SparkleShare/Mac/bin. Now 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 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

Simply remove the SparkleShare bundle.