2020-01-02 17:18:03 +03:00
# Squawk - a compact XMPP desktop messenger
2019-08-14 17:54:46 +03:00
2020-01-02 17:18:03 +03:00
[](https://git.macaw.me/blue/squawk/raw/branch/master/LICENSE.md)
[](https://aur.archlinux.org/packages/squawk/)
2020-01-02 17:22:51 +03:00
[](https://liberapay.com/macaw.me)
2020-01-02 17:18:03 +03:00
2020-04-14 19:30:33 +03:00

2019-08-14 17:54:46 +03:00
### Prerequisites
- QT 5.12 *(lower versions might work but it wasn't tested)*
2019-08-14 14:59:43 +00:00
- uuid _(usually included in some other package, for example it's ***libutil-linux*** in archlinux)_
2019-08-14 17:54:46 +03:00
- lmdb
- CMake 3.0 or higher
2019-11-15 16:30:29 +03:00
- qxmpp 1.1.0 or higher
2020-04-14 19:30:33 +03:00
- kwallet (optional)
2019-11-15 16:30:29 +03:00
### Getting
The easiest way to get the Squawk is to install it from AUR (if you use Archlinux like distribution)
Here is the [link ](https://aur.archlinux.org/packages/squawk/ ) for the AUR package
You can also install it from console if you use some AUR wrapper. Here what it's going to look like with *pacaur*
```
$ pacaur -S squawk
```
2019-08-14 17:54:46 +03:00
### Building
2019-11-15 16:30:29 +03:00
You can also clone the repo and build it from source
2019-08-14 17:54:46 +03:00
Squawk requires Qt with SSL enabled. It uses CMake as build system.
2019-11-15 16:30:29 +03:00
There are two ways to build, it depends whether you have qxmpp installed in your system
#### Building with system qxmpp
Here is what you do
2019-08-14 15:00:51 +00:00
```
2019-11-15 16:30:29 +03:00
$ git clone https://git.macaw.me/blue/squawk
$ cd squawk
$ mkdir build
$ cd build
$ cmake ..
$ cmake --build .
2019-08-14 15:00:51 +00:00
```
2019-11-15 16:30:29 +03:00
#### Building with bundled qxmpp
Here is what you do
2019-08-14 17:54:46 +03:00
```
2019-11-15 16:30:29 +03:00
$ git clone --recurse-submodules https://git.macaw.me/blue/squawk
$ cd squawk
$ mkdir build
$ cd build
$ cmake .. -D SYSTEM_QXMPP=False
$ cmake --build .
2019-08-14 17:54:46 +03:00
```
2020-04-11 01:15:08 +03:00
### List of keys
Here is the list of keys you can pass to configuration phase of `cmake ..` .
- `CMAKE_BUILD_TYPE` - `Debug` just builds showing all warnings, `Release` builds with no warnings and applies optimizations (default is `Debug` )
- `SYSTEM_QXMPP` - `True` tries to link against `qxmpp` installed in the system, `False` builds bundled `qxmpp` library (default is `True` )
- `WITH_KWALLET` - `True` builds the `KWallet` capability module if `KWallet` is installed and if not goes to `False` . `False` disables `KWallet` support (default is `True` )
2019-08-14 17:54:46 +03:00
## License
This project is licensed under the GPLv3 License - see the [LICENSE.md ](LICENSE.md ) file for details