SparkleShare/SparkleShare/Mac
2012-06-19 18:34:18 +01:00
..
git mac: update git 2012-01-22 17:29:32 +00:00
Growl.framework setup: add images to tutorial pages 2011-09-14 02:09:03 +02: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 Simplify README.md 2012-06-19 18:34:18 +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 Cache changesets in the backend 2012-04-29 15:19:36 +01:00
SparkleController.cs mac controller: Fix opening folders with spaces 2012-04-15 20:00:23 +02:00
SparkleEventLog.cs make 2012-06-17 21:56:27 +01:00
SparkleMacWatcher.cs repo: Simplify watch toggling mechanism 2012-06-10 11:03:03 +01:00
SparkleSetup.cs mac Move assets to UI folder 2012-06-19 15:11:08 +01:00
SparkleSetupWindow.cs Implement encryption using OpenSSL's AES + Mac UI 2012-04-26 16:02:58 +02:00
SparkleShare.csproj mac Move assets to UI folder 2012-06-19 15:11:08 +01:00
SparkleShare.sln mac: bump version in project file 2012-05-27 14:21:17 +01:00
SparkleStatusIcon.cs mac Move assets to UI folder 2012-06-19 15:11:08 +01:00
SparkleUI.cs mac Move assets to UI folder 2012-06-19 15:11:08 +01:00

Building on Mac

You can choose to build SparkleShare from source or 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 --enable-gtkui=no
$ 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. Copy SparkleShare/Mac/config to SparkleShare.app/Contents/MonoBundle/config (adjust the paths to where you saved the .app):

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

Now you have a working bundle that you can run.