1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Updated Fedora parts

--- Added qt5-svg error warning,  check it  before  building  default fedora version is  not >=5.2
--- Added mention of  sudo ldconfig for  /usr/local/bin users
--- Added qt5-svg-devel to build instructions as otherwise a Unknown Modelu(s) SVG error occurs later in building process (some svg needed parts are  in -devel
This commit is contained in:
Corey Sheldon 2015-07-05 15:14:37 -04:00
parent 83d7b5f02b
commit 52acc1f934

View File

@ -17,6 +17,8 @@
| filter_audio | most recent | | | filter_audio | most recent | |
| qrencode | >= 3.0.3 | | | qrencode | >= 3.0.3 | |
Note to Fedora users: check qt5 version before building default is 4.8 on fedora 21 / 22, everything up until qmake-qt5 will build fine but then qmake-qt5 will freak out.
<a name="linux" /> <a name="linux" />
##Linux ##Linux
###Simple install ###Simple install
@ -131,7 +133,7 @@ sudo apt-get install build-essential qt5-qmake qt5-default qttools5-dev-tools li
Fedora: Fedora:
```bash ```bash
sudo dnf group install "Development Tools" sudo dnf group install "Development Tools"
sudo dnf install qt-devel qt-doc qt-creator qt5-qtsvg openal-soft-devel libXScrnSaver-devel qrencode-devel sudo dnf install qt-devel qt-doc qt-creator qt5-qtsvg qt5-qtsvg-devel openal-soft-devel libXScrnSaver-devel qrencode-devel
``` ```
openSUSE: openSUSE:
@ -174,23 +176,31 @@ Slackware:
List of all the ``toxcore`` dependencies and their SlackBuilds can be found here: http://slackbuilds.org/repository/14.1/network/toxcore/ List of all the ``toxcore`` dependencies and their SlackBuilds can be found here: http://slackbuilds.org/repository/14.1/network/toxcore/
---- ----
Now you can either follow the instructions at https://github.com/irungentoo/toxcore/blob/master/INSTALL.md#unix or use the "bootstrap.sh" script located at "/home/user/qTox".
The script will automatically download and install toxcore and libfilteraudio:
```bash
cd /home/user/qTox
./bootstrap.sh # use -h or --help for more information
```
###filter_audio ###filter_audio
You also need to install filter_audio library separately if you did not run ``./bootstrap.sh``. You also need to install filter_audio library separately if you did not run ``./bootstrap.sh``.
This step is best done before compiling Toxcore if not using package manager. This also follows the flow of the homebrew instructions and reduces the likelihood of later finding errors for libavcodec compiling toxcore.
```bash ```bash
git clone https://github.com/irungentoo/filter_audio git clone https://github.com/irungentoo/filter_audio
cd filter_audio cd filter_audio
make make
sudo make install sudo make install
Now you can either follow the instructions at https://github.com/irungentoo/toxcore/blob/master/INSTALL.md#unix
or use the "bootstrap.sh" script located at "/home/user/qTox".
The script will automatically download and install toxcore and libfilteraudio:
```bash
cd /home/user/qTox
./bootstrap.sh # use -h or --help for more information
if using /usr/local/bin for final build make sure to follow advise here: https://github.com/irungentoo/toxcore/blob/master/INSTALL.md#unix, regarding sudo ldconfig
``` ```
```
###Compiling ###Compiling
**Make sure that all the dependencies are installed.** **Make sure that all the dependencies are installed.**
Now go to `/home/user/qTox/qTox` (or where you cloned) and simply run : Now go to `/home/user/qTox/qTox` (or where you cloned) and simply run :
@ -199,7 +209,7 @@ qmake
make make
``` ```
for openSUSE you have to use: for openSUSE / Fedora you have to use:
```bash ```bash
qmake-qt5 qmake-qt5
make make
@ -215,7 +225,6 @@ Start make again. Repeat if nessary until all dependencies are installed. If yo
###Building packages ###Building packages
Alternately, qTox now has the experimental and probably-dodgy ability to package itself (in .deb Alternately, qTox now has the experimental and probably-dodgy ability to package itself (in .deb