Improve README instructions

This commit is contained in:
miruka 2019-08-30 17:05:22 -04:00
parent a40b274c7d
commit 8a7e140163
2 changed files with 18 additions and 5 deletions

View File

@ -2,7 +2,7 @@
## Dependencies setup ## Dependencies setup
Outside of pip/github: From your distribution's package manager, install:
Qt 5.12+, including: Qt 5.12+, including:
- qt5-declarative-devel - qt5-declarative-devel
@ -17,9 +17,13 @@ Qt 5.12+, including:
- python3-devel - python3-devel
- olm-python3 >= 3.1 - olm-python3 >= 3.1
Make sure the right version of Qt is used: Make sure that the right version of Qt is selected and compiler flags are
correctly set:
export QT_SELECT=5 export QT_SELECT=5
export CFLAGS="-march=native -O2 -pipe"
export CXXFLAGS="$CFLAGS"
export MAKEFLAGS="$(nproc)"
Install [pyotherside](https://github.com/thp/pyotherside): Install [pyotherside](https://github.com/thp/pyotherside):
@ -28,17 +32,19 @@ Install [pyotherside](https://github.com/thp/pyotherside):
qmake && make && sudo make install qmake && make && sudo make install
After this, verify the permissions of the installed plugin files. After this, verify the permissions of the installed plugin files.
To ensure that they're correctly set:
sudo chmod -R 755 /usr/lib/qt5/qml/io
sudo chmod 644 /usr/lib/qt5/qml/io/thp/pyotherside/* sudo chmod 644 /usr/lib/qt5/qml/io/thp/pyotherside/*
sudo chmod 755 /usr/lib/qt5/qml/io/thp/pyotherside/*.so sudo chmod 755 /usr/lib/qt5/qml/io/thp/pyotherside/*.so
Install the dependencies from Pypi: Install the Python 3 dependencies from Pypi:
pip3 install --user --upgrade \ pip3 install --user --upgrade \
Pillow aiofiles appdirs dataclasses filetype hsluv html_sanitizer \ Pillow aiofiles appdirs dataclasses filetype hsluv html_sanitizer \
lxml mistune uvloop lxml mistune uvloop
Install the dependencies from Github: Install the Python 3 dependencies from Github:
[matrix-nio](https://github.com/mirukan/matrix-nio): [matrix-nio](https://github.com/mirukan/matrix-nio):
@ -53,3 +59,7 @@ Install the dependencies from Github:
qmake harmonyqml.pro && make && sudo make install qmake harmonyqml.pro && make && sudo make install
After this if no errors happened, run `harmonyqml`. After this if no errors happened, run `harmonyqml`.
If you get a version mismatch error related to cffi, try:
pip3 install --user --upgrade --force-reinstall cffi

View File

@ -11,9 +11,13 @@
- When qml syntax highlighting supports ES6 string interpolation, use them - When qml syntax highlighting supports ES6 string interpolation, use them
- Fixes - Fixes
- make install
- Make uvloop optional
- Icons on KDE - Icons on KDE
- Distribute fonts
- Backspace bug - Backspace bug
- Add missing shortcuts to config file - Add missing shortcuts to config file
- Zoom animation with gradient
- Show error if uploading avatar fails or file is corrupted - Show error if uploading avatar fails or file is corrupted
@ -91,7 +95,6 @@
- Theming - Theming
- File format - File format
- Distribute fonts
- icons.preferredPack: accept multiple values - icons.preferredPack: accept multiple values
- Find icon packs in user data dir - Find icon packs in user data dir
- Correctly implement uiScale/fontScale + ctrl+-= keys - Correctly implement uiScale/fontScale + ctrl+-= keys