summaryrefslogtreecommitdiff
path: root/SparkleShare/Linux/README.md
blob: 197fec0e10417484b99634a71191e8ea179b36da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# SparkleShare for Linux

To run SparkleShare, you'll need these packages:

```
curl
git >= 2.3
git-lfs >= 1.3.0
gtk-sharp3
gvfs
mono-core >= 4.0
notify-sharp
webkit2gtk-sharp
```

On Ubuntu you'll also need:

```
libappindicator-sharp
```


## Building on Linux

### Common build requirements

Make sure to have the `git` package installed when you're building on Linux.
You will need the packages listed below for the most used Linux distributions:  

```shell
# On Ubuntu 16.04:
sudo apt-get install \
  desktop-file-utils \
  git \
  gtk-sharp3-gapi \
  intltool \
  libappindicator3-0.1-cil-dev \
  libdbus-glib2.0-cil-dev \
  libgtk3.0-cil-dev \
  libsoup2.4-dev \
  libtool-bin \
  libwebkit2gtk-4.0 \
  mono-devel \
  mono-mcs \
  nant \
  xsltproc

# On Fedora 25:
sudo dnf install # TODO
```


### Additional source build requirements

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://download.gnome.org/sources/notify-sharp/3.0/

Install the `soup-sharp` and `webkit2gtk-sharp` bindings from:  
https://github.com/hbons/soup-sharp  
https://github.com/hbons/webkit2gtk-sharp

All with the usual:

```bash
./autogen.sh
make
sudo make install
```

If you're using Ubuntu, also install the `appindicator-sharp` bindings from:  
https://github.com/hbons/appindicator-sharp


### Start the build

You can build and install SparkleShare like this:

```bash
$ ./configure (or ./autogen.sh if you build from the repository)
$ make
$ sudo make install
```


### Uninstall

```bash
sudo make uninstall
```


### Reset SparkleShare settings

```bash
rm -Rf ~/SparkleShare
rm -Rf ~/.config/org.sparkleshare.SparkleShare
```