Notes about telegram-desktop source package
-------------------------------------------

Telegram Desktop source code comes with many bundled third-party modules. We
remove most of them during repacking by mk-origtargz(1) which uscan(1) calls to
after downloading an original tarball. They indeed are free software in line
with DFSG, but anyway we remove them primarily for simplicity of the
d/copyright file. And to make sure we do not rely on them according to Debian
Policy Manual, § 4.13.

Two remaining directories in the ThirdParty/ folder, libtgvoip/ and tgcalls/,
are not really belong to some third-party modules. Both libtgvoip and tgcalls
had been specially written by Telegram team.

Beyond that, by default debian/rules apply tricks to reduce memory consumption
on builders known for low-performance. This is achieved by lesser debug info.
You may need to rebuild the source with the `pkg.telegram-desktop.lotmem`
build profile if you wish to debug the program. The profile does not affect the
content of the main binary package.

The `pkg.telegram-desktop.hugeopt` build profile does not block LTO for Ubuntu.
Activate this if you have enough RAM or swap space. 16 GB should be okay.
