Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
Growl.framework
Pixmaps
SparkleShareInviteOpener.app/Contents
AppDelegate.cs
Growl.plist
Info.plist
MainMenu.xib
MainMenu.xib.designer.cs
README.md
SparkleAbout.cs
SparkleBadger.cs
SparkleBubbles.cs
SparkleController.cs
SparkleEventLog.cs
SparkleMacWatcher.cs
SparkleSetup.cs
SparkleSetupWindow.cs
SparkleShare.csproj
SparkleShare.sln
SparkleStatusIcon.cs
SparkleUI.cs
config

README.md

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.

Something went wrong with that request. Please try again.