SparkleShare/SparkleShare/Mac
2012-10-16 22:00:34 +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 mac: Update build instructions 2012-08-26 19:56:17 +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 Code cleanup 2012-07-15 15:15:33 +02:00
SparkleController.cs mac watcher: temporary fix for #1006 2012-10-12 11:38:12 +02:00
SparkleEventLog.cs early working version of history recycle logic + mac Save As dialog 2012-10-16 22:00:34 +01:00
SparkleMacWatcher.cs Cleanups 2012-07-28 18:13:50 +02:00
SparkleSetup.cs crypto: use a random salt per repo, store it as a remote branch name 2012-09-29 23:57:35 +02: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 html: simplify 2012-10-04 01:03:06 +02:00
SparkleUI.cs eventlog: Fix some occasions where the spinner doesn't appear. 2012-07-18 23:31:50 +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

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

Updating the version number

Change the verion number in the following files before making a release:

configure.ac
SparkleLib/Defines.cs
SparkleShare/Windows/SparkleShare.wxs

Uninstalling

Simple remove the SparkleShare bundle.