Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nheko
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
nheko
Commits
9884e02e
Commit
9884e02e
authored
6 years ago
by
Konstantinos Sideris
Browse files
Options
Downloads
Patches
Plain Diff
Update build instructions
parent
197b2dac
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+32
-18
32 additions, 18 deletions
README.md
with
32 additions
and
18 deletions
README.md
+
32
−
18
View file @
9884e02e
...
...
@@ -14,6 +14,7 @@ feels more like a mainstream chat app ([Riot], Telegram etc) and less like an IR
Most of the features you would expect from a chat application are missing right now
but we are getting close to a more feature complete client.
Specifically there is support for:
-
E2EE encryption.
-
User registration.
-
Creating, joining & leaving rooms.
-
Sending & receiving invites.
...
...
@@ -29,20 +30,15 @@ Specifically there is support for:
## Installation
### Nightly releases
-
Linux
[
AppImage
](
https://github.com/mujx/nheko/releases/download/nightly/nheko-x86_64.AppImage
)
-
Windows
[
x64 installer
](
https://github.com/mujx/nheko/releases/download/nightly/nheko-installer.exe
)
-
macOS
[
disk image
](
https://github.com/mujx/nheko/releases/download/nightly/nheko.dmg
)
### Releases
You can find releases for Linux (AppImage), macOS (disk image) & Windows (x64 installer) on the
[
Bintray repo
](
https://bintray.com/mujx/matrix/nheko
)
.
### Repositories
#### Arch Linux
```
bash
pacaur
-S
nheko-git
# or
pacaur
-S
nheko
pacaur
-S
nheko
# nheko-git
```
#### Fedora
...
...
@@ -69,7 +65,13 @@ sudo apk add nheko
-
Qt5 (5.7 or greater). Qt 5.7 adds support for color font rendering with
Freetype, which is essential to properly support emoji.
-
CMake 3.1 or greater.
-
[
LMDB
](
https://symas.com/lightning-memory-mapped-database/
)
.
-
[
mtxclient
](
https://github.com/mujx/mtxclient
)
-
[
matrix-structs
](
https://github.com/mujx/matrix-structs
)
-
[
LMDB
](
https://symas.com/lightning-memory-mapped-database/
)
-
Boost 1.66 or greater.
-
[
libolm
](
https://git.matrix.org/git/olm
)
-
[
libsodium
](
https://github.com/jedisct1/libsodium
)
-
[
spdlog
](
https://github.com/gabime/spdlog
)
-
A compiler that supports C++ 14:
-
Clang 5 (tested on Travis CI)
-
GCC 7 (tested on Travis CI)
...
...
@@ -89,7 +91,16 @@ Debian as the build host in an attempt to work around this [issue](https://githu
##### Arch Linux
```
bash
sudo
pacman
-S
qt5-base qt5-tools qt5-multimedia qt5-svg cmake gcc fontconfig lmdb
sudo
pacman
-S
qt5-base
\
qt5-tools
\
qt5-multimedia
\
qt5-svg
\
cmake
\
gcc
\
fontconfig
\
lmdb
\
boost
\
libsodium
```
##### Gentoo Linux
...
...
@@ -105,28 +116,31 @@ sudo add-apt-repository ppa:beineri/opt-qt592-trusty
sudo
add-apt-repository ppa:george-edison55/cmake-3.x
sudo
add-apt-repository ppa:ubuntu-toolchain-r-test
sudo
apt-get update
sudo
apt-get
install
-y
g++-7 qt59base qt59svg qt59tools qt59multimedia cmake liblmdb-dev
sudo
apt-get
install
-y
g++-7 qt59base qt59svg qt59tools qt59multimedia cmake liblmdb-dev
libsodium-dev
```
##### macOS (Xcode 8 or later)
```
bash
brew update
brew
install
qt5 lmdb cmake llvm
brew
install
qt5 lmdb cmake llvm
libsodium spdlog boost
```
### Building
Clone the repo and run
First we need to install the rest of the dependencies that are not available in our system
```
bash
make release
cmake
-Hdeps
-B
.deps
\
-DUSE_BUNDLED_BOOST
=
OFF
# if we already have boost & spdlog installed.
-DUSE_BUNDLED_SPDLOG
=
OFF
cmake
--build
.deps
```
which invokes cmake and translates to
We can now build nheko by pointing it to the path that we installed the dependencies.
```
bash
cmake
-H
.
-Bbuild
-DCMAKE_BUILD_TYPE
=
Rel
WithDebInfo
cmake
-H
.
-Bbuild
-DCMAKE_BUILD_TYPE
=
Rel
ease
-DCMAKE_INSTALL_PREFIX
=
.deps/usr
cmake
--build
build
```
...
...
@@ -143,7 +157,7 @@ You might need to pass `-DCMAKE_PREFIX_PATH` to cmake to point it at your qt5 in
e.g on macOS
```
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Rel
WithDebInfo
-DCMAKE_PREFIX_PATH=$(brew --prefix qt5)
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Rel
ease
-DCMAKE_PREFIX_PATH=$(brew --prefix qt5)
cmake --build build
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment