linux readme: Separate build/run requirements

This commit is contained in:
Hylke Bons 2018-07-14 19:27:26 +01:00
parent 72f00d38e9
commit 38b377716f

View file

@ -4,34 +4,49 @@
### Common build requirements ### Common build requirements
You will need the packages listed below for the most used Linux distributions (some are run requirements): You will need the packages listed below for the most used Linux distributions:
```shell ```shell
# On Ubuntu 16.04: # On Ubuntu 16.04:
# Run requirements
sudo apt-get install \
curl \
git \
git-lfs \
gvfs
# Build requirements
sudo apt-get install \ sudo apt-get install \
curl \ # Run requirement
desktop-file-utils \ desktop-file-utils \
git \ # Run requirement gtk-sharp3-gapi \
git-lfs \ # Run requirement
gtk-sharp3-gapi \ # To build webkit2-sharp
gvfs \ # Run requirement
libappindicator3-0.1-cil-dev \ libappindicator3-0.1-cil-dev \
libdbus-glib2.0-cil-dev \ libdbus-glib2.0-cil-dev \
libgtk3.0-cil-dev \ libgtk3.0-cil-dev \
libnotify3.0-cil-dev \ libnotify3.0-cil-dev \
libsoup2.4-dev \ libsoup2.4-dev \
libtool-bin \
libwebkit2gtk-4.0 \ libwebkit2gtk-4.0 \
meson \ meson \
mono-devel \
mono-mcs \
xsltproc xsltproc
# On Fedora 27: # On Fedora 27:
# Run requirements
sudo dnf install \
curl \
git \
git-lfs \
gvfs
# Build requirements
sudo dnf install \ sudo dnf install \
curl \ # Run requirement
git \ # Run requirement
git-lfs \ # Run requirement
gtk-sharp3-devel \ gtk-sharp3-devel \
gtk-sharp3-gapi \ # To build webkit2-sharp gtk-sharp3-gapi \
gvfs \ # Run requirement libtool \
meson \ meson \
notify-sharp3-devel \ notify-sharp3-devel \
webkitgtk4-devel \ webkitgtk4-devel \
@ -43,20 +58,34 @@ sudo dnf install \
Install mono-complete, [see instructions](https://www.mono-project.com/download/stable/#download-lin-ubuntu) Install mono-complete, [see instructions](https://www.mono-project.com/download/stable/#download-lin-ubuntu)
Install the `soup-sharp` and `webkit2gtk-sharp` bindings from: Install these `soup-sharp` and `webkit2gtk-sharp` bindings:
https://github.com/hbons/soup-sharp
https://github.com/hbons/webkit2gtk-sharp
Both with (clone repo and cd into it):
```bash ```bash
git clone https://github.com/hbons/soup-sharp
cd soup-sharp/
./autogen.sh ./autogen.sh
make make
sudo make install sudo make install
``` ```
Om Ubuntu, also install the `appindicator-sharp` bindings from: ```bash
https://github.com/hbons/appindicator-sharp (this will require `libappindicator3-dev` to be installed with `sudo apt install libappindicator3-dev`) git clone https://github.com/hbons/webkit2-sharp
cd webkit2-sharp/
./autogen.sh
make
sudo make install
```
On Ubuntu, also install these `appindicator-sharp` bindings:
```bash
sudo apt-get install libappindicator3-dev
git clone https://github.com/hbons/appindicator-sharp
cd appindicator-sharp/
./autogen.sh
make
sudo make install
```
### Start the build ### Start the build