Updated The Packaged Building Mode (markdown)

ilya-fedin 2023-08-06 15:48:04 +00:00
parent 5b0d113797
commit 434c75a00e
1 changed files with 1 additions and 1 deletions

@ -73,7 +73,7 @@ As of October 11, 2021, packaged mode is the default, it's controlled by **DESKT
As of October 11, 2021, there's **DESKTOP_APP_USE_PACKAGED_LAZY**, it silences the warnings when some library is not found + activates bundling of third-party (i.e. not included in Qt) CJK input methods for Linux (as of October 11, 2021: fcitx, fcitx5, hime, nimf). It's invented for self-contained distribution formats like AppImage, Flatpak, Snap. The official non-packaged mode bundles them as well.
**Tip:** you can also silence the warnings per-dependency with **[CMAKE_DISABLE_FIND_PACKAGE_\<PackageName\>](https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html)**.
**Tip:** you can also silence the warnings per-dependency with **[CMAKE_DISABLE_FIND_PACKAGE_\<PackageName\>](https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html)** or make packaged variants of bundled dependencies required with [CMAKE_REQUIRE_FIND_PACKAGE_\<PackageName\>](https://cmake.org/cmake/help/latest/variable/CMAKE_REQUIRE_FIND_PACKAGE_PackageName.html).
As of April 13, 2022, there's **DESKTOP_APP_USE_PACKAGED_FONTS** that defaults to OFF. If you enable it, make sure your package hardly depends on Open Sans font in your packaging system. tdesktop's widgets won't work properly without Open Sans. If you can't package Open Sans or make tdesktop depend on it, don't override **DESKTOP_APP_USE_PACKAGED_FONTS**. That way, you can provide non-broken UI for users of your package.