Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Telegram Desktop
Upstream-Contact: John Preston <johnprestonmail@gmail.com>
Source: https://github.com/telegramdesktop/tdesktop
Files-Excluded:
 Telegram/ThirdParty/cld3
 Telegram/ThirdParty/dispatch
 Telegram/ThirdParty/expected
 Telegram/ThirdParty/fcitx5-qt
 Telegram/ThirdParty/fcitx-qt5
 Telegram/ThirdParty/GSL
 Telegram/ThirdParty/hime
 Telegram/ThirdParty/hunspell
 Telegram/ThirdParty/jemalloc
 Telegram/ThirdParty/kcoreaddons
 Telegram/ThirdParty/kimageformats
 Telegram/ThirdParty/libtgvoip/webrtc_dsp
 Telegram/ThirdParty/lz4
 Telegram/ThirdParty/minizip
 Telegram/ThirdParty/nimf
 Telegram/ThirdParty/plasma-wayland-protocols
 Telegram/ThirdParty/QR
 Telegram/ThirdParty/range-v3
 Telegram/ThirdParty/rlottie
 Telegram/ThirdParty/wayland-protocols
 Telegram/ThirdParty/xxHash
 Telegram/lib_ui/fonts/*.ttf
Comment: Exclude unused third-party modules to reduce code size.

Files: *
Copyright: 2014-2023 The Telegram Desktop Authors.
License: GPL-3.0+ with OpenSSL exception

Files: lib/xdg/org.telegram.desktop.metainfo.xml
Copyright: 2017 Jan Grulich <grulja@gmail.com> (github: grulja)
           2019,2021 John Preston <johnprestonmail@gmail.com>
License: CC0-1.0

Files: Telegram/lib_ui/emoji_suggestions/emoji_autocomplete.json
Copyright: 2017 EmojiOne Inc.
License: Expat
Comment: See https://github.com/emojione/emojione/tree/master/extras/alpha-codes

Files: Telegram/lib_spellcheck/spellcheck/platform/linux/spellcheck_linux.cpp
Copyright: 2019 Nicholas Guriev <guriev-ns@ya.ru> (github: mymedia2)
License: Public-domain

Files: Telegram/lib_spellcheck/spellcheck/platform/linux/linux_enchant.h
       Telegram/lib_spellcheck/spellcheck/platform/linux/linux_enchant.cpp
Copyright: 2003 Dom Lachowicz
           2019 Nicholas Guriev <guriev-ns@ya.ru>
License: LGPL-2.1+ with Spelling-Providers exception

Files: debian/*
Copyright: 2016-2023 Nicholas Guriev <guriev-ns@ya.ru>
License: Public-domain
Comment: Contributing policy - https://cla-assistant.io/telegramdesktop/tdesktop

Files: Telegram/ThirdParty/libtgvoip/*
Copyright: 2017-2019 Gregory Klyushnikov <grishka93@gmail.com>
           2020 John Preston <johnprestonmail@gmail.com>
           2020 overtake <overtakeful@gmail.com>
           2020 Ali
License: Unlicense

Files: Telegram/ThirdParty/tgcalls/*
Copyright: 2012-2018 The WebRTC project authors
           2020 The Telegram Calls Library Authors
           2020,2021 Mikhail Filimonov
           2021 Telegram
License: LGPL-3.0

Files: Telegram/ThirdParty/libtgvoip/json11.cpp
       Telegram/ThirdParty/libtgvoip/json11.hpp
       Telegram/ThirdParty/tgcalls/tgcalls/third-party/json11.cpp
       Telegram/ThirdParty/tgcalls/tgcalls/third-party/json11.hpp
Copyright: 2013 Dropbox, Inc.
License: Expat

License: CC0-1.0
 This work has been placed in the public domain. Full text of the license is
 available in file /usr/share/common-licenses/CC0-1.0 or at Creative Commons
 web-site https://creativecommons.org/publicdomain/zero/1.0/legalcode.

License: Expat
 Permission is hereby granted, free of charge, to any person obtaining a copy of
 this software and associated documentation files (the 'Software') deal in the
 Software without restriction, including without limitation the rights to use,
 copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
 Software, and to permit persons to whom the Software is furnished to do so,
 subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in all
 copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.

License: LGPL-2.1+ with Spelling-Providers exception
 This library is free software; you can redistribute it and/or modify it under
 the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 2.1 of the License, or (at your option)
 any later version.
 .
 This library is distributed in the hope that it will be useful, but WITHOUT
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 details.
 .
 You should have received a copy of the GNU Lesser General Public License along
 with this library; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 .
 In addition, as a special exception, Dom Lachowicz gives permission to link
 the code of this program with non-LGPL Spelling Provider libraries (eg: a MSFT
 Office spell checker backend) and distribute linked combinations including the
 two.  You must obey the GNU Lesser General Public License in all respects for
 all of the code used other than said providers.  If you modify this file, you
 may extend this exception to your version of the file, but you are not
 obligated to do so.  If you do not wish to do so, delete this exception
 statement from your version.
 .
 On Debian systems, the complete text of the GNU Lesser General Public License
 version 2.1 can be found in /usr/share/common-licenses/LGPL-2.1 file.

License: LGPL-3.0
 This code is published under the terms of the GNU Lesser General Public
 License version 3. Full license text can be found here:
   https://github.com/TelegramMessenger/tgcalls/blob/master/LICENSE
 .
 Alternatively, this file may be used under the terms of the GNU Lesser
 General Public License version 3 as published by the Free Software
 Foundation and appearing in the file LICENSE.LGPL3 included in the
 packaging of this file. Please review the following information to
 ensure the GNU Lesser General Public License version 3 requirements
 will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
 .
 On Debian systems, the complete text of the GNU Lesser General Public License
 version 3 can be found in the following file:
   /usr/share/common-licenses/LGPL-3

License: GPL-3.0+ with OpenSSL exception
 This program is free software: you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free Software
 Foundation, either version 3 of the License, or (at your option) any later
 version.
 .
 In addition, as a special exception, the copyright holders give permission to
 link the code of portions of this program with the OpenSSL library. You must
 obey the GNU General Public License in all respects for all of the code used
 other than OpenSSL. If you modify file(s) with this exception, you may extend
 this exception to your version of the file(s), but you are not obligated to do
 so. If you do not wish to do so, delete this exception statement from your
 version. If you delete this exception statement from all source files in the
 program, then also delete it here.
 .
 This package is distributed in the hope that it will be useful, but WITHOUT ANY
 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 PARTICULAR PURPOSE. See the GNU General Public License for more details.
 .
 You should have received a copy of the GNU General Public License along with
 this program. If not, see <http://www.gnu.org/licenses/>.
 .
 On Debian systems, the complete text of the GNU General Public License version
 3 can be found in "/usr/share/common-licenses/GPL-3".

License: Public-domain
 I certify that:
 a) The contribution was created in whole by me or is based upon previous work
    that, to the best of my knowledge, is in the public domain and I have the
    right to put it in the public domain.
 b) I understand and agree that this project and the contribution are public and
    that a record of the contribution (including all metadata and personal
    information I submit with it, including my sign-off) is maintained
    indefinitely and may be redistributed.
 c) I am granting this work into the public domain.

License: Unlicense
 This is free and unencumbered software released into the public domain.
 .
 Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
 software, either in source code form or as a compiled binary, for any purpose,
 commercial or non-commercial, and by any means.
 .
 In jurisdictions that recognize copyright laws, the author or authors of this
 software dedicate any and all copyright interest in the software to the public
 domain. We make this dedication for the benefit of the public at large and to
 the detriment of our heirs and successors. We intend this dedication to be an
 overt act of relinquishment in perpetuity of all present and future rights to
 this software under copyright law.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
 AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
