.. | ||
git | ||
Growl.framework | ||
Pixmaps | ||
SparkleShareInviteOpener.app/Contents | ||
AppDelegate.cs | ||
config | ||
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 |
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.