Permalink
Browse files

Make GNOME 3 instructions the default way to build

  • Loading branch information...
1 parent beadf59 commit d8d4cce2726a0807d47289fbeb7807a56acc9224 @hbons committed Dec 1, 2013
Showing with 34 additions and 68 deletions.
  1. +0 −2 README.md
  2. +0 −37 SparkleShare/Linux/README.GNOME3.md
  3. +34 −29 SparkleShare/Linux/README.md
View
@@ -29,8 +29,6 @@ You can use any host that runs Git. For a simple setup script, check out [Dazzle
[...on Mac](https://github.com/hbons/SparkleShare/blob/master/SparkleShare/Mac/README.md)
[...on Windows](https://github.com/hbons/SparkleShare/blob/master/SparkleShare/Windows/README.md)
-[...on GNOME 3](https://github.com/hbons/SparkleShare/blob/master/SparkleShare/Linux/README.GNOME3.md)
-
SparkleShare bundles Git on Mac on Windows. On Linux distributions you will need to to install the `git` or `git-core` package.
@@ -1,37 +0,0 @@
-## Building on GNOME 3
-
-SparkleShare now successfully runs on the GNOME 3 platform!
-Here's how you compile it against GTK+3 and other dependencies.
-
-You will still need to have the regular build dependencies installed:
-https://github.com/hbons/SparkleShare/blob/master/SparkleShare/Linux/README.md
-
-The C# bindings that SparkleShare uses need to be recompiled against GTK+3, so
-you will need to get the the dependencies from the specific locations listed
-below, where they are GTK+3-enabled.
-
-Install the `gtk-sharp3` bindings from:
-https://github.com/mono/gtk-sharp
-Or on Ubuntu, get it from this PPA:
-https://launchpad.net/~meebey/+archive/mono-preview
-
-Install the `notify-sharp` bindings from:
-https://git.gnome.org/browse/notify-sharp/
-
-Install the `soup-sharp` and `webkitgtk-sharp` bindings from:
-https://github.com/xDarkice/soup-sharp
-https://github.com/xDarkice/webkitgtk-sharp
-
-All with the usual:
-
-```
-./autogen.sh --prefix=/usr
-make
-sudo make install
-```
-
-### Ubuntu
-
-If you're using Ubuntu, install `appindicator-sharp` bindings from:
-https://github.com/xDarkice/appindicator-sharp
-
@@ -1,16 +1,14 @@
## Building on Linux distributions
You can choose to build SparkleShare from source or to get the package through your distribution's repositories.
-
To run SparkleShare, you'll need the following packages:
```
-curl
git >= 1.8
-gtk-sharp2
+gtk-sharp3
mono-core >= 2.8
notify-sharp
-webkit-sharp
+webkitgtk-sharp
```
**Note:** These packages may not overlap with the packages required to perform a build, so please make sure that at least the above packages are installed.
@@ -20,43 +18,51 @@ Optional packages:
```
gvfs (to change file/folder icons)
libappindicator (for Ubuntu integration)
+curl (to make the "sparkleshare://" protocol handler work)
```
-### Installing build requirements
-You can use one of the commands listed below for the most used Linux distributions:
+### Installing common build requirements
+You can use one of the commands listed below for the most used Linux distributions:
-#### Ubuntu
+desktop-file-utils
+intltool
+libtool
+mono-devel
+mono-gmcs
+mono-mcs
+monodevelop
+nant
-```bash
-$ sudo apt-get install libappindicator0.1-cil-dev gtk-sharp2 mono-runtime mono-devel \
- monodevelop libndesk-dbus1.0-cil-dev nant libnotify-cil-dev libgtk2.0-cil-dev mono-mcs \
- mono-gmcs libwebkit-cil-dev intltool libtool libndesk-dbus-glib1.0-cil-dev
-```
-#### Fedora
-```bash
-$ sudo yum install gtk-sharp2-devel mono-core mono-devel monodevelop ndesk-dbus-devel \
- ndesk-dbus-glib-devel nant notify-sharp-devel webkit-sharp-devel webkitgtk-devel libtool \
- intltool desktop-file-utils
-```
+### Installing additional source build requirements
-#### Debian
+Install the `gtk-sharp3` bindings from:
+https://github.com/mono/gtk-sharp
+Or on Ubuntu, get it from this PPA:
+https://launchpad.net/~meebey/+archive/mono-preview
-```bash
-$ sudo apt-get install gtk-sharp2 mono-runtime mono-devel monodevelop libndesk-dbus1.0-cil-dev \
- nant libnotify-cil-dev libgtk2.0-cil-dev mono-mcs mono-gmcs libwebkit-cil-dev intltool libtool \
- libndesk-dbus-glib1.0-cil-dev desktop-file-utils
-```
+Install the `notify-sharp` bindings from:
+https://git.gnome.org/browse/notify-sharp/
-#### openSUSE
+Install the `soup-sharp` and `webkitgtk-sharp` bindings from:
+https://github.com/xDarkice/soup-sharp
+https://github.com/xDarkice/webkitgtk-sharp
+
+All with the usual:
-```bash
-$ sudo zypper install gtk-sharp2 mono-core mono-devel monodevelop ndesk-dbus-glib-devel nant \
- desktop-file-utils notify-sharp-devel webkit-sharp libwebkitgtk-devel libtool intltool
```
+./autogen.sh
+make
+sudo make install
+```
+
+If you're using Ubuntu, also install the `appindicator-sharp` bindings from:
+https://github.com/xDarkice/appindicator-sharp
+
+
### Starting the build
@@ -82,4 +88,3 @@ rm -Rf ~/.config/sparkleshare
```
sudo make uninstall
```
-

0 comments on commit d8d4cce

Please sign in to comment.