Updated The Packaged Building Mode (markdown)

ilya-fedin 2022-02-01 20:10:21 +00:00
parent fbfd77d021
commit 04e0e2fa56
1 changed files with 6 additions and 5 deletions

@ -4,9 +4,8 @@
As of October 11, 2021, this mode is proven to work on Linux, FreeBSD and MacOS (you can use packages from brew). Since it's a community-maintained building method, it can break at any time and no one guarantees it will be ever fixed.
To build in the packaged building mode, as of December 31, 2021, you need:
* [Python](https://www.python.org/) (2 or 3, required for codegens)
* [extra-cmake-modules](https://invent.kde.org/frameworks/extra-cmake-modules) (Linux-only, can be disabled with **DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION**)
To build in the packaged building mode, as of February 2, 2022, you need:
* [Python](https://www.python.org/) (2 or 3, required for codegens, on Linux Python 3 is also required for the appdata changelog generator)
* [Qt6Core](https://www.qt.io) (required)
* [Qt6Core5Compat](https://www.qt.io) (required)
* [Qt6Gui](https://www.qt.io) (required)
@ -25,7 +24,10 @@ To build in the packaged building mode, as of December 31, 2021, you need:
* PulseAudio (Linux-only, can be disabled with **LIBTGVOIP_DISABLE_PULSEAUDIO**)
* [tg_owt](https://github.com/desktop-app/tg_owt) (required)
* [abseil](https://github.com/abseil/abseil-cpp) (required, fallbacks to the bundled copy if not found)
* [drm](https://gitlab.freedesktop.org/mesa/drm) (Linux-only, can be disabled with **TG_OWT_USE_PIPEWIRE**=OFF)
* [epoxy](https://github.com/anholt/libepoxy) (Linux-only, can be disabled with **TG_OWT_USE_PIPEWIRE**=OFF)
* [FFmpeg](https://github.com/FFmpeg/FFmpeg) (required)
* gbm (part of [Mesa](https://gitlab.freedesktop.org/mesa/mesa)) (Linux-only, can be disabled with **TG_OWT_USE_PIPEWIRE**=OFF)
* [glib](https://gitlab.gnome.org/GNOME/glib) (Linux-only, can be disabled with **TG_OWT_USE_PIPEWIRE**=OFF)
* [JPEG](https://github.com/mozilla/mozjpeg) (required)
* [OpenH264](https://github.com/cisco/openh264) (required, fallbacks to the bundled copy if not found)
@ -41,8 +43,7 @@ To build in the packaged building mode, as of December 31, 2021, you need:
* [Guidelines Support Library](https://github.com/Microsoft/GSL) (required, fallbacks to the bundled copy if not found)
* [Hunspell](https://github.com/hunspell/hunspell) (fallbacks to the bundled copy if not found, can be disabled with **DESKTOP_APP_DISABLE_SPELLCHECK**, can be replaced with enchant on Linux with **DESKTOP_APP_USE_ENCHANT**, but you should know that enchant backend is proven to crash continuously and drain your RAM if you have too much dictionaries installed)
* [jemalloc](https://github.com/jemalloc/jemalloc) (required, Linux-only, fallbacks to the bundled copy if not found, it's recommended to build it with clang to avoid random crashes)
* [kwayland](https://invent.kde.org/frameworks/kwayland) (Linux-only, fallbacks to the bundled copy if not found, can be disabled with **DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION**)
* [libdbusmenu-qt](https://launchpad.net/libdbusmenu-qt) (Linux/FreeBSD, fallbacks to the bundled copy if not found, can be disabled with **DESKTOP_APP_DISABLE_DBUS_INTEGRATION**)
* [kwayland](https://invent.kde.org/frameworks/kwayland) (Linux-only, always uses patched bundled copy, dependent KF5 dependencies are also bundled to make sure they kept in sync, can be disabled with **DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION**)
* [LZ4](https://github.com/lz4/lz4) (fallbacks to the bundled copy if not found, can be disabled with **DESKTOP_APP_LOTTIE_USE_CACHE**=OFF)
* minizip (part of [zlib](https://github.com/madler/zlib), required, fallbacks to the bundled copy if not found)
* [OpenAL](https://github.com/kcat/openal-soft) (required, you can try to use the system version on macOS)