SparkleShare/SparkleShare/Mac
2012-09-10 19:41:36 +01:00
..
Growl.framework Update Growl framework to version 1.3.1 2012-06-19 23:11:05 +01:00
Pixmaps linux: change status icons 2012-09-10 19:41:21 +01: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 mac about: simplify link constructor 2012-08-11 17:07:28 +01: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 repo: Use custom watcher on root folders and don't use FileSystemWatcher when it is active. #472 2012-08-19 11:43:41 +01:00
SparkleEventLog.cs mac: Fix rendering of event log 2012-08-26 14:10:20 +01:00
SparkleMacWatcher.cs Cleanups 2012-07-28 18:13:50 +02:00
SparkleSetup.cs setup: Add help label explaining why email is requested 2012-09-04 00:37:17 +01:00
SparkleSetupWindow.cs linux: change status icons 2012-09-10 19:41:21 +01:00
SparkleShare.csproj mac: Fix git import command 2012-09-10 19:41:36 +01:00
SparkleShare.sln mac: fix solution file 2012-08-10 19:41:40 +01:00
SparkleStatusIcon.cs Save icon work 2012-09-09 13:25:36 +01: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.