Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Telegram Desktop
Source: https://github.com/telegramdesktop/tdesktop
Files-Excluded: Telegram/ThirdParty/*
                Telegram/Patches/*.diff
                Telegram/lib_ui/fonts/*.ttf
Comment: Exclude unused third-party modules to reduce code size.

Files: *
Copyright: 2014-2020 John Preston <johnprestonmail@gmail.com>
License: GPL-3.0+ with OpenSSL exception

Files: lib/xdg/telegramdesktop.appdata.xml.in
Copyright: Jan Grulich <grulja@gmail.com> (github: grulja)
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/SourceFiles/boxes/mute_settings_box.h
       Telegram/SourceFiles/boxes/mute_settings_box.cpp
       Telegram/lib_spellcheck/spellcheck/platform/linux/spellcheck_linux.cpp
Copyright: 2017,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: snap/*
Author: Marco Trevisan <marco@ubuntu.com>
Copyright: 2017-2018 Canonical Ltd
License: GPL-3.0 or Public-domain
Comment: Contribution License Agreement is signed.
         https://github.com/telegramdesktop/tdesktop/pull/4505#event-1746102406

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

Files: debian/statusnotifieritem/*
Source: https://github.com/lxqt/lxqt-qtplugin
Copyright: 2013-2019 LXQt team
           2010-2012 Razor team
License: LGPL-2.1+

Files: debian/qtwayland/*
Copyright: 2016,2019 The Qt Company Ltd.
           2017 Erik Larsson.
           2016 Jolla Ltd
           2016 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
           2016 LG Electronics Ltd
           2016 Robin Burchell <robin.burchell@viroteck.net>
License: Qt-Commercial or LGPL-3.0 or GPL-2-or-GPL-3
Comment: Copied unmodified from build tree of the qtwayland-opensource-src
         package of version 5.14.2-2, that is already in Debian main archive.

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+
 This program or 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 program 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.
 .
 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".

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
 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 "/usr/share/common-licenses/LGPL-3" file.

License: GPL-2-or-GPL-3
 Alternatively, this file may be used under the terms of the GNU General Public
 License version 2.0 or (at your option) the GNU General Public license version
 3 or any later version approved by the KDE Free Qt Foundation. The licenses
 are as published by the Free Software Foundation and appearing in the file
 LICENSE.GPL2 and LICENSE.GPL3 included in the packaging of this file. Please
 review the following information to ensure the GNU General Public License
 requirements will be met: https://www.gnu.org/licenses/gpl-2.0.html and
 <https://www.gnu.org/licenses/gpl-3.0.html>.
 .
 On Debian systems, the complete text of the GNU General Public License version
 2 can be found in "/usr/share/common-licenses/GPL-2" file, the complete text
 of the GNU General Public License version 3 can be found in
 "/usr/share/common-licenses/GPL-3" file.

License: GPL-3.0
 This program is free software: you can redistribute it and/or modify it under
 the terms of the GNU General Public License version 3 as published by the Free
 Software Foundation.
 .
 This program 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: 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: Qt-Commercial
 Licensees holding valid commercial Qt licenses may use this file in accordance
 with the commercial license agreement provided with the Software or,
 alternatively, in accordance with the terms contained in a written agreement
 between you and The Qt Company. For licensing terms and conditions see
 https://www.qt.io/terms-conditions. For further information use the contact
 form at https://www.qt.io/contact-us.
 .
 (Unlikely applicable in Debian).
