Desktop Qt based XMPP messenger
Go to file
2021-10-06 23:10:12 +08:00
cmake add forgotten cmake/MacOSXBundleInfo.plist.in 2021-10-06 00:55:39 +08:00
core correctly handle messages without id 2021-10-06 23:10:12 +08:00
external build: finish up CMakeLists refactoring 2021-05-11 22:21:25 +03:00
packaging Merge remote-tracking branch 'origin/master' into messageFeed 2021-09-22 23:09:48 +03:00
plugins build: plugins/, passwordStorageEngines/wrappers/ as shared libs 2021-05-12 02:01:02 +03:00
resources add icns to macos bundle; use macdeployqt post build 2021-10-06 17:34:33 +08:00
shared [Fix] Merge branch 'feat/adapt_win_osx' into upstream_messageFeed 2021-10-05 23:45:37 +08:00
translations translation verification 2021-09-22 23:43:03 +03:00
ui adjust CMakeLists.txt, to prepare for win32 and macos builds 2021-10-05 12:49:06 +08:00
.gitmodules debugging vanished messages 2019-06-28 18:15:30 +03:00
appveyor.yml fix ci for macos; adjust ci for linux executable with changed rpath 2021-10-06 18:12:26 +08:00
CHANGELOG.md highlight in directory now is optional runtime plugin to KIO, several more file managers to fallback, refactor, 2 new icons 2021-05-06 17:44:43 +03:00
CMakeLists.txt add icns to macos bundle; use macdeployqt post build 2021-10-06 17:34:33 +08:00
LICENSE.md started to devide contact and MUC, license, readme, attach icon 2019-08-14 17:54:46 +03:00
README.md update docs for win32 build 2021-10-06 00:53:50 +08:00
signalcatcher_win32.cpp adjust CMakeLists.txt, to prepare for win32 and macos builds 2021-10-05 12:49:06 +08:00

Squawk - a compact XMPP desktop messenger

AUR license AUR version Liberapay patrons

Squawk screenshot

Prerequisites

  • QT 5.12 (lower versions might work but it wasn't tested)
  • lmdb
  • CMake 3.0 or higher
  • qxmpp 1.1.0 or higher
  • KDE Frameworks: kwallet (optional)
  • KDE Frameworks: KIO (optional)
  • Boost

Getting

The easiest way to get the Squawk is to install it from AUR (if you use Archlinux like distribution)

Here is the link 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

Building

You can also clone the repo and build it from source

Squawk requires Qt with SSL enabled. It uses CMake as build system.

Please check the prerequisites and install them before installation.

For Windows (Mingw-w64) build

You need Qt for mingw64 (MinGW 64-bit) platform when installing Qt.

The best way to acquire library lmdb and boost is through Msys2.

First install Msys2, and then install mingw-w64-x86_64-lmdb and mingw-w64-x86_64-boost by pacman.

Then you need to provide the cmake cache entry when calling cmake for configuration:

cmake .. -D LMDB_ROOT_DIR:PATH=<Msys2 Mingw64 Root Directory> -D BOOST_ROOT:PATH=<Msys2 Mingw64 Root Directory>

<Msys2 Mingw64 Root Directory>: e.g. C:/msys64/mingw64.


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

$ git clone https://git.macaw.me/blue/squawk
$ cd squawk
$ mkdir build
$ cd build
$ cmake .. [-D LMDB_ROOT_DIR:PATH=...] [-D BOOST_ROOT:PATH=...]
$ cmake --build .

Building with bundled qxmpp

Here is what you do

$ git clone --recurse-submodules https://git.macaw.me/blue/squawk
$ cd squawk
$ mkdir build
$ cd build
$ cmake .. -D SYSTEM_QXMPP=False [-D LMDB_ROOT_DIR:PATH=...] [-D BOOST_ROOT:PATH=...]
$ cmake --build .

You can always refer to appveyor.yml to see how AppVeyor build squawk.

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)
  • WITH_KIO - True builds the KIO capability module if KIO is installed and if not goes to False. False disables KIO support (default is True)

License

This project is licensed under the GPLv3 License - see the LICENSE.md file for details