mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-17 20:54:11 +00:00
Updated The Packaged Building Mode (markdown)
parent
434c75a00e
commit
35140863f0
@ -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)** 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).
|
||||
**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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user