2011-10-18 12:10:36 +00:00
|
|
|
# SparkleShare
|
2011-10-15 19:46:16 +00:00
|
|
|
|
|
|
|
SparkleShare is a collaboration and sharing tool that is designed to keep
|
|
|
|
things simple and to stay out of your way. It allows you to instantly sync
|
|
|
|
with any Git repository you have access to.
|
|
|
|
|
|
|
|
SparkleShare currently works on Linux and Mac. A Windows port and mobile
|
|
|
|
device support are planned for the future.
|
|
|
|
|
|
|
|
|
2011-10-18 12:10:36 +00:00
|
|
|
# License
|
2011-10-15 19:46:16 +00:00
|
|
|
|
|
|
|
SparkleShare is free software and licensed under the GNU GPLv3 or later. You
|
|
|
|
are welcome to change and redistribute it under certain conditions. For more
|
|
|
|
information see the LICENSE file or visit http://www.gnu.org/licenses/gpl-3.0.html
|
|
|
|
|
|
|
|
|
2011-10-18 12:10:36 +00:00
|
|
|
# Run on Linux
|
2011-10-15 19:46:16 +00:00
|
|
|
|
|
|
|
Requirements:
|
|
|
|
|
|
|
|
- git >= 1.7.0
|
|
|
|
- gtk-sharp2
|
|
|
|
- gvfs
|
|
|
|
- intltool
|
|
|
|
- libnotify
|
|
|
|
- mono-core >= 2.8
|
|
|
|
- notify-sharp
|
|
|
|
- nautilus-python
|
|
|
|
- openssh
|
|
|
|
- pygtk
|
|
|
|
- webkitgtk
|
|
|
|
- webkit-sharp
|
|
|
|
|
|
|
|
Run the service, either click the SparkleShare launcher or:
|
|
|
|
|
|
|
|
$ sparkleshare start
|
|
|
|
|
|
|
|
You can stop the service via the graphical interface or by typing:
|
|
|
|
|
|
|
|
$ sparkleshare stop
|
|
|
|
|
|
|
|
For help:
|
|
|
|
|
|
|
|
$ sparkleshare --help
|
|
|
|
|
|
|
|
Note:
|
|
|
|
|
|
|
|
SparkleShare creates its own RSA keypair in ~/config/sparkleshare/ and uses
|
|
|
|
that for authentication. Please mind this if you're planning to set up your
|
|
|
|
own server by hand.
|
|
|
|
|
|
|
|
|
2011-10-18 12:10:36 +00:00
|
|
|
# Build on Linux
|
2011-10-15 19:46:16 +00:00
|
|
|
|
|
|
|
Installing the build dependencies on Debian or Ubuntu:
|
|
|
|
|
|
|
|
$ sudo apt-get install gtk-sharp2 mono-runtime mono-devel monodevelop \
|
2011-10-25 18:21:33 +00:00
|
|
|
libndesk-dbus1.0-cil-dev nant libnotify-cil-dev libgtk2.0-cil-dev mono-gmcs \
|
2011-10-15 19:46:16 +00:00
|
|
|
libwebkit-cil-dev intltool libtool python-nautilus libndesk-dbus-glib1.0-cil-dev
|
|
|
|
|
|
|
|
For Ubuntu libappindicator support, run the following before building:
|
|
|
|
|
|
|
|
$ sudo apt-get install libappindicator0.1-cil-dev
|
2011-10-18 12:10:36 +00:00
|
|
|
|
2011-10-15 19:46:16 +00:00
|
|
|
On Fedora:
|
|
|
|
|
|
|
|
$ sudo yum install gtk-sharp2-devel mono-core mono-devel monodevelop \
|
|
|
|
ndesk-dbus-devel ndesk-dbus-glib-devel nautilus-python-devel nant \
|
|
|
|
notify-sharp-devel webkit-sharp-devel webkitgtk-devel libtool intltool \
|
|
|
|
gnome-doc-utils
|
|
|
|
|
|
|
|
You can build and install SparkleShare like this:
|
|
|
|
|
|
|
|
$ ./configure --prefix=/usr (or ./autogen.sh if you build from the repository)
|
|
|
|
$ make
|
|
|
|
$ sudo make install
|
|
|
|
|
|
|
|
Note:
|
|
|
|
|
|
|
|
Use '--prefix=/usr' if you want the Nautilus extension to work.
|
|
|
|
|
|
|
|
|
2011-10-18 12:10:36 +00:00
|
|
|
# Run on Mac
|
2011-10-15 19:46:16 +00:00
|
|
|
|
2011-10-18 12:10:36 +00:00
|
|
|
Just double-click the SparkleShare bundle.
|
2011-10-15 19:46:16 +00:00
|
|
|
|
|
|
|
|
2011-10-18 12:10:36 +00:00
|
|
|
# Build on Mac
|
2011-10-15 19:46:16 +00:00
|
|
|
|
2011-11-06 14:29:18 +00:00
|
|
|
Install Xcode, the Mono Framework, MonoDevelop and the MonoMac plugin (you can find it in MonoDevelop => Add-in Manager).
|
2011-10-15 19:46:16 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2011-10-18 12:10:36 +00:00
|
|
|
Install git, automake, and intltool using MacPorts:
|
2011-10-15 19:46:16 +00:00
|
|
|
|
|
|
|
$ sudo port install git-core automake intltool
|
2011-10-18 12:10:36 +00:00
|
|
|
|
2011-10-15 19:46:16 +00:00
|
|
|
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.
|
|
|
|
|
2011-11-06 14:29:18 +00:00
|
|
|
To create the SparkleShare.app, make sure the project is focused and select Project from the menu bar
|
2011-11-11 22:01:51 +00:00
|
|
|
and click "Create Mac Installer...". Make sure to select "Don't link assemblies".
|
2011-10-15 19:46:16 +00:00
|
|
|
|
2011-11-11 22:01:51 +00:00
|
|
|
Save the SparkleShare.app somewhere. Paste the contents of
|
|
|
|
the following file in SparkleShare.app/Contents/MonoBundle/config:
|
2011-10-15 19:46:16 +00:00
|
|
|
https://raw.github.com/gist/1aeffa61bac73fc08eca/0c0f09ef9e36864c35f34fd5e8bf4f99886be193/gistfile1.txt
|
|
|
|
|
|
|
|
Copy /Library/Frameworks/Mono.framework/Versions/Current/lib/libintl.dylib
|
|
|
|
to SparkleShare.app/Contents/Resources
|
|
|
|
|
2011-10-18 12:10:36 +00:00
|
|
|
Now you should have a working bundle that you can run.
|
2011-10-15 19:46:16 +00:00
|
|
|
|
|
|
|
|
2011-10-18 12:10:36 +00:00
|
|
|
# Info
|
2011-10-15 19:46:16 +00:00
|
|
|
|
|
|
|
Official website:
|
|
|
|
http://www.sparkleshare.org/
|
|
|
|
|
|
|
|
Source code:
|
|
|
|
http://github.com/SparkleShare/
|
|
|
|
|
|
|
|
IRC Channel:
|
|
|
|
#sparkleshare on irc.gnome.org
|
|
|
|
|
|
|
|
Wiki:
|
|
|
|
http://github.com/hbons/SparkleShare/wiki/
|
|
|
|
|
|
|
|
Report issues:
|
|
|
|
http://github.com/hbons/SparkleShare/issues/
|
|
|
|
|
|
|
|
Translation project:
|
|
|
|
http://www.transifex.net/projects/p/sparkleshare/
|
|
|
|
|
|
|
|
|
|
|
|
Now have fun and create cool things together! :)
|