Auto merge of #26127 - dralley:readme, r=jdm

Update README instructions for Fedora, remove Ubuntu 14.04 workarounds

Fedora 31+ doesn't have python2-virtualenv, so using Python 3 with ```mach```
is required. Fedora 30 will be EOL within the next 6 weeks.

Ubuntu 14.04 is no longer receiving upstream support: https://www.omgubuntu.co.uk/2019/04/ubuntu-14-04-end-of-life
This commit is contained in:
bors-servo 2020-04-06 23:25:01 -04:00 committed by GitHub
commit 2eb7c8c080
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,46 +86,14 @@ If you are using **Ubuntu 16.04** or **Linux Mint 18.*** run `export HARFBUZ
If you get an undefined symbol error on `gst_player_get_config` try removing `gir1.2-gst-plugins-bad-1.0` and all old versions of clang, see [#22016](https://github.com/servo/servo/issues/22016) If you get an undefined symbol error on `gst_player_get_config` try removing `gir1.2-gst-plugins-bad-1.0` and all old versions of clang, see [#22016](https://github.com/servo/servo/issues/22016)
If you are on **Ubuntu 14.04** and encountered errors on installing these dependencies involving `libcheese`, see [#6158](https://github.com/servo/servo/issues/6158) for a workaround. You may also need to install gcc 4.9, clang 4.0, and cmake 3.2:
<details>
gcc 4.9:
```sh
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.9 g++-4.9
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9
```
clang 4.0:
```sh
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-add-repository "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-4.0 main"
sudo apt-get update
sudo apt-get install -y clang-4.0
```
cmake 3.2:
```sh
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:george-edison55/cmake-3.x
sudo apt-get update
sudo apt-get install cmake
```
</details>
#### On Fedora #### On Fedora
``` sh ``` sh
sudo dnf install python2 python2-virtualenv python2-pip sudo dnf install python3 python3-virtualenv python3-pip
./mach bootstrap python3 ./mach bootstrap
``` ```
If `./mach bootstrap` doesn't work, file a bug, and, run the commands below: If `python3 ./mach bootstrap` doesn't work, file a bug, and, run the commands below:
``` sh ``` sh
sudo dnf install curl libtool gcc-c++ libXi-devel libunwind-devel \ sudo dnf install curl libtool gcc-c++ libXi-devel libunwind-devel \