diff --git a/LICENSE b/LICENSE index 6f09d2d..78afea8 100644 --- a/LICENSE +++ b/LICENSE @@ -1,210 +1,213 @@ Upstream-Name: kaidan Source: https://invent.kde.org/kde/kaidan/ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Files: src/* utils/* misc/* -Copyright: 2016-2020, Jonah Brüchert - 2016-2020, Linus Jahn +Copyright: 2016-2020, Linus Jahn + 2016-2020, Jonah Brüchert 2017-2019, Ilya Bizyaev 2018-2019, Nicolas Fella 2019-2020, Melvin Keskin 2019, Filipe Azevedo 2018, Allan Nordhøy 2019, Robert Maerkisch 2020, Andrea Scarpino 2019, caca hueto 2019, Mauricio Torres Mejía 2019, Yury Gubich 2019, Volker Krause 2019, Simon Schmeisser 2019, Nick Richards 2019, Simon Redman 2019, Xavier 2018, Bjarne Roß 2018, SohnyBohny 2018, Marco Martin 2017, probonopd 2016, Marzanna 2017-2018, Eike Hein License: GPL-3+ with OpenSSL exception Files: i18n/* Copyright: 2017-2019, Linus Jahn 2017-2020, Jonah Brüchert 2017-2020, Muhammad Nur Hidayat Yasuyoshi 2018-2019, Allan Nordhøy 2017-2019, Joeke de Graaf 2018-2019, advocatux 2018-2019, oiseauroch 2019-2020, Milan Korecky 2019-2020, Sylke Vicious 2019-2020, Anne Onyme 017 2018-2019, aitzol berasategi 2019, ssantos 2019-2020, Xosé M 2019-2020, Yuri Chornoivan 2017, Ilya Bizyaev 2017, Robert Maerkisch 2019, Joan CiberSheep 2020, Adolfo Jayme Barrientos 2019, Eiad Rostom 2019, caca hueto 2019, Clemens Riese 2019, Txaume 2019, Melvin Keskin 2018, Andreas Kleinert 2017, Emmanuel Gil Peyrot License: GPL-3+ with OpenSSL exception Files: src/StatusBar.cpp src/StatusBar.h src/singleapp/* src/hsluv-c/* utils/generate-license.py Copyright: 2016, J-P Nurmi 2018-2019, Linus Jahn 2015-2018, Itay Grudev 2015, Alexei Boronine 2015, Roger Tallada 2017, Martin Mitas License: MIT Files: src/EmojiModel.cpp src/EmojiModel.h qml/elements/EmojiPicker.qml Copyright: 2017, Konstantinos Sideris License: GPL-3+ Files: src/QrCodeVideoFrame.h src/QrCodeVideoFrame.cpp Copyright: 2017, QZXing authors License: apache-2.0 Files: data/images/check-mark.svg Copyright: 2019, Melvin Keskin License: CC-BY-SA-4.0 Files: misc/kaidan-128x128.png data/images/kaidan.svg data/images/kaidan-bw.svg - data/images/banner.png Copyright: 2016-2017, Ilya Bizyaev 2016-2020, Mathis Brüchert 2020, Melvin Keskin 2019, Melvin Keskin License: CC-BY-SA-4.0 Comment: Inspired by graphic from https://www.toptal.com/designers/subtlepatterns/ +Files: data/images/global-drawer-banner.svg +Copyright: 2020, Mathis Brüchert +License: CC-BY-SA-4.0 + Files: data/images/account-deletion-from-client.svg data/images/account-deletion-from-client-and-server.svg Copyright: 2020, Mathis Brüchert License: CC-BY-SA-4.0 Files: utils/convert-prl-libs-to-cmake.pl Copyright: 2016, Konstantin Tokarev License: MIT-Apple License: GPL-3+ 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 author of this program gives permission to link the code of its release with the OpenSSL project's "OpenSSL" library (or with modified versions of it that use the same license as the "OpenSSL" library), and distribute the linked executables. You must obey the GNU General Public License in all respects for all of the code used other than "OpenSSL". 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. . 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 package. If not, see . . On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. License: GPL-3+ 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. . 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to 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: MIT-Apple Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. diff --git a/data/images/banner.png b/data/images/banner.png deleted file mode 100644 index 4b72f3f..0000000 Binary files a/data/images/banner.png and /dev/null differ diff --git a/data/images/global-drawer-banner.svg b/data/images/global-drawer-banner.svg new file mode 100644 index 0000000..38a64b0 --- /dev/null +++ b/data/images/global-drawer-banner.svg @@ -0,0 +1 @@ + diff --git a/data/images/images.qrc b/data/images/images.qrc index 2dd70d8..2dcc127 100644 --- a/data/images/images.qrc +++ b/data/images/images.qrc @@ -1,14 +1,14 @@ account-deletion-from-client.svg account-deletion-from-client-and-server.svg - banner.png + global-drawer-banner.svg chat-page-background.svg check-mark.svg kaidan.svg kaidan.svg kaidan-bw.svg diff --git a/src/qml/GlobalDrawer.qml b/src/qml/GlobalDrawer.qml index 606c23c..7684bc4 100644 --- a/src/qml/GlobalDrawer.qml +++ b/src/qml/GlobalDrawer.qml @@ -1,129 +1,129 @@ /* * Kaidan - A user-friendly XMPP client for every device! * * Copyright (C) 2016-2020 Kaidan developers and contributors * (see the LICENSE file for a full list of copyright authors) * * Kaidan 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 author of Kaidan gives * permission to link the code of its release with the OpenSSL * project's "OpenSSL" library (or with modified versions of it that * use the same license as the "OpenSSL" library), and distribute the * linked executables. You must obey the GNU General Public License in * all respects for all of the code used other than "OpenSSL". 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. * * Kaidan 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 Kaidan. If not, see . */ import QtQuick 2.12 import QtQuick.Layouts 1.12 import QtQuick.Controls 2.12 as Controls import org.kde.kirigami 2.8 as Kirigami import im.kaidan.kaidan 1.0 import "settings" Kirigami.GlobalDrawer { id: globalDrawer title: Utils.applicationDisplayName() titleIcon: Utils.getResourcePath("images/kaidan.svg") - bannerImageSource: Utils.getResourcePath("images/banner.png") + bannerImageSource: Utils.getResourcePath("images/global-drawer-banner.svg") SettingsSheet { id: settingsSheet } topContent: [ // This item is used to disable an account temporarily. RowLayout { spacing: -4 property bool disconnected: Kaidan.connectionState === Enums.StateDisconnected property bool connected: Kaidan.connectionState === Enums.StateConnected Controls.Switch { checked: !parent.disconnected onClicked: parent.disconnected ? Kaidan.mainConnect() : Kaidan.mainDisconnect() } Text { text: { var jidAndStatus = Kaidan.jid + " (" if (parent.disconnected) jidAndStatus += qsTr("Offline"); else if (parent.connected) jidAndStatus += qsTr("Online"); else jidAndStatus += qsTr("Connecting…"); jidAndStatus += ")" return jidAndStatus } color: parent.connected ? Utils.presenceTypeToColor(Enums.PresOnline) : Utils.presenceTypeToColor(Enums.PresUnavailable) } } ] actions: [ Kirigami.Action { text: qsTr("Invite friends") icon.name: "mail-invitation" onTriggered: { Utils.copyToClipboard(Utils.invitationUrl(Kaidan.jid)) passiveNotification(qsTr("Invitation link copied to clipboard")) } }, Kirigami.Action { text: qsTr("Transfer account") icon.name: "send-to-symbolic" onTriggered: { pageStack.layers.push(accountTransferPage) } }, Kirigami.Action { text: qsTr("Delete account") icon.name: "delete" onTriggered: pageStack.layers.push(accountDeletionPage) }, Kirigami.Action { text: qsTr("Settings") icon.name: "settings-configure" onTriggered: { // open settings page if (Kirigami.Settings.isMobile) { if (pageStack.layers.depth < 2) pageStack.layers.push(settingsPage) } else { settingsSheet.open() } } }, Kirigami.Action { text: qsTr("About") icon.name: "help-about" onTriggered: { popLayersAboveLowest() // open about sheet aboutDialog.open() } } ] } diff --git a/utils/generate-license.py b/utils/generate-license.py index 179b3f9..8b2f66b 100755 --- a/utils/generate-license.py +++ b/utils/generate-license.py @@ -1,395 +1,403 @@ #!/usr/bin/env python3 # # Copyright (C) 2018-2019 Linus Jahn # # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Software"), to 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. # """ This script generates a debian-formatted, machine-readable copyright file for Kaidan. It uses git to get a list of contributors for the source code and the translations. """ import git import datetime # These user ids will be replaced for the LICENSE file # If you want to be added to this list, please open an issue or pull request! REPLACE_USER_IDS = [ ("Ellenjott [LNJ] ", "Linus Jahn "), ("LNJ ", "Linus Jahn "), ("Linus Jahn ", "Linus Jahn "), ("JBBgameich ", "Jonah Brüchert "), ("JBBgameich ", "Jonah Brüchert "), ("JBBgameich ", "Jonah Brüchert "), ("JBB ", "Jonah Brüchert "), ("Jonah Brüchert ", "Jonah Brüchert "), ("Jonah Brüchert ", "Jonah Brüchert "), + ("Jonah Bruechert ", "Jonah Brüchert "), ("Georg ", "geobra "), ("Muhammad Nur Hidayat Yasuyoshi (MNH48.com) ", "Muhammad Nur Hidayat Yasuyoshi "), ("Joeke de Graaf ", "Joeke de Graaf "), ("X advocatux ", "advocatux "), ("ZatroxDE ", "Robert Maerkisch "), ("X oiseauroch ", "oiseauroch "), ("X ssantos ", "ssantos "), ("X Txaume ", "Txaume ") ] # These user ids will be excluded from any targets EXCLUDE_USER_IDS = [ "Weblate ", "Hosted Weblate ", "anonymous <>", "anonymous <> ", "Kaidan Translations ", "Kaidan translations ", "Hosted Weblate ", "l10n daemon script " ] GPL3_OPENSSL_LICENSE = """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 author of this program gives permission to link the code of its release with the OpenSSL project's "OpenSSL" library (or with modified versions of it that use the same license as the "OpenSSL" library), and distribute the linked executables. You must obey the GNU General Public License in all respects for all of the code used other than "OpenSSL". 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. 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 package. If not, see . On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'.""" GPL3_LICENSE = """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. 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'.""" MIT_LICENSE = """Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to 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.""" MIT_APPLE_LICENSE = """Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.""" APACHE2_LICENSE = """Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.""" class CopyrightAuthor: def __init__(self, score = 0, dates = None, years = "", uid = ""): self.dates = dates or list([]); self.score = score; self.years = years; self.uid = uid; def addTimestamp(self, x): self.dates.append(x); def createField(name, contentList, fullIndent = True): retvar = "{}: {}\n".format(name, contentList[0]); if len(contentList) < 2: return retvar; indent = len(name) * " "; for i in range(1, len(contentList)): retvar += "{} {}\n".format(indent, contentList[i]); return retvar; def createLongField(name, heading, content): retvar = "{}: {}\n".format(name, heading); if not content: return retvar; for line in content.split('\n'): if not line.strip(): # if line is empty line = "."; retvar += " {}\n".format(line); return retvar; class CopyrightTarget: def __init__(self, directories = None, files = None, licenseName = "", licenseContent = "", replaceUids = None, excludeUids = None, authorList = None, additionalAuthors = None, comment = ""): self.repo = git.Repo("."); self.files = files or list([]); self.directories = directories or list([]); self.licenseName = licenseName; self.licenseContent = licenseContent self.authorList = authorList or dict({}); self.comment = comment self.replaceUids = replaceUids or list([]); self.excludeUids = excludeUids or list([]); self.replaceUids.extend(REPLACE_USER_IDS); self.excludeUids.extend(EXCLUDE_USER_IDS); self.authorList = authorList or self.getAuthorList(); if additionalAuthors: self.authorList.update(additionalAuthors) def replaceUid(self, uid): for pair in self.replaceUids: if uid == pair[0]: uid = pair[1]; return uid; def getAuthorList(self): paths = list(self.files); paths.extend(self.directories); commitList = self.repo.iter_commits(paths=paths); authorList = {}; for commit in commitList: # create user id and check replacements and excludes uid = "{} <{}>".format(commit.author.name, commit.author.email); uid = self.replaceUid(uid); if uid in self.excludeUids: continue; if not uid in authorList.keys(): authorList[uid] = CopyrightAuthor(uid = uid); authorList[uid].addTimestamp(commit.authored_date); for uid in authorList: minT = min(int(t) for t in authorList[uid].dates); maxT = max(int(t) for t in authorList[uid].dates); authorList[uid].score = maxT - minT; minYear = datetime.datetime.fromtimestamp(minT).year; maxYear = datetime.datetime.fromtimestamp(maxT).year; if minYear == maxYear: authorList[uid].years = str(minYear); else: authorList[uid].years = "{}-{}".format(minYear, maxYear); authorList[uid].dates = []; return authorList; def toDebianCopyright(self): # Create copyright list copyrights = []; for item in sorted(self.authorList.items(), key=lambda x: x[1].score, reverse=True): copyrights.append("{}, {}".format(item[1].years, item[0])); files = list(self.files); for directory in self.directories: files.append(directory + "/*"); retvar = createField("Files", files); retvar += createField("Copyright", copyrights); retvar += createLongField("License", self.licenseName, self.licenseContent); if self.comment: retvar += createLongField("Comment", "", self.comment); return retvar; class LicenseTarget: def __init__(self, name = "", content = ""): self.name = name; self.content = content; def toDebianCopyright(self): return createLongField("License", self.name, self.content); def main(): copyrightTargets = [ CopyrightTarget( directories = ["src", "utils", "misc"], licenseName = "GPL-3+ with OpenSSL exception", additionalAuthors = { "Eike Hein ": CopyrightAuthor(years = "2017-2018") } ), CopyrightTarget( directories = ["i18n"], licenseName = "GPL-3+ with OpenSSL exception" ), CopyrightTarget( files = ["src/StatusBar.cpp", "src/StatusBar.h", "src/singleapp/*", "src/hsluv-c/*", "utils/generate-license.py"], licenseName = "MIT", authorList = { "J-P Nurmi ": CopyrightAuthor(years = "2016"), "Linus Jahn ": CopyrightAuthor(years = "2018-2019"), "Itay Grudev ": CopyrightAuthor(years = "2015-2018"), "Alexei Boronine ": CopyrightAuthor(years = "2015"), "Roger Tallada ": CopyrightAuthor(years = "2015"), "Martin Mitas ": CopyrightAuthor(years = "2017"), } ), CopyrightTarget( files = ["src/EmojiModel.cpp", "src/EmojiModel.h", "qml/elements/EmojiPicker.qml"], licenseName = "GPL-3+", authorList = { "Konstantinos Sideris ": CopyrightAuthor(years = "2017"), }, ), CopyrightTarget( files = ["src/QrCodeVideoFrame.h", "src/QrCodeVideoFrame.cpp"], licenseName = "apache-2.0", authorList = { "QZXing authors": CopyrightAuthor(years = "2017"), }, ), CopyrightTarget( files = ["data/images/check-mark.svg"], licenseName = "CC-BY-SA-4.0", authorList = { "Melvin Keskin ": CopyrightAuthor(years = "2019"), }, ), CopyrightTarget( files = [ "misc/kaidan-128x128.png", - "data/images/kaidan.svg", "data/images/kaidan-bw.svg", "data/images/banner.png" + "data/images/kaidan.svg", "data/images/kaidan-bw.svg" ], licenseName = "CC-BY-SA-4.0", authorList = { "Ilya Bizyaev ": CopyrightAuthor(years = "2016-2017"), - "Mathis Brüchert ": CopyrightAuthor(years = "2016-2020"), + "Mathis Brüchert ": CopyrightAuthor(years = "2020"), "Melvin Keskin ": CopyrightAuthor(years = "2019"), "Melvin Keskin ": CopyrightAuthor(years = "2019") }, comment = "Inspired by graphic from https://www.toptal.com/designers/subtlepatterns/" ), + CopyrightTarget( + files = ["data/images/global-drawer-banner.svg"], + licenseName = "CC-BY-SA-4.0", + authorList = { + "Mathis Brüchert ": CopyrightAuthor(years = "2020") + } + ), CopyrightTarget( files = ["data/images/account-deletion-from-client.svg", "data/images/account-deletion-from-client-and-server.svg"], licenseName = "CC-BY-SA-4.0", authorList = { "Mathis Brüchert ": CopyrightAuthor(years = "2020") } ), CopyrightTarget( files = ["utils/convert-prl-libs-to-cmake.pl"], licenseName = "MIT-Apple", authorList = { "Konstantin Tokarev ": CopyrightAuthor(years = "2016") } ), LicenseTarget( name = "GPL-3+ with OpenSSL exception", content = GPL3_OPENSSL_LICENSE ), LicenseTarget( name = "GPL-3+", content = GPL3_LICENSE ), LicenseTarget( name = "MIT", content = MIT_LICENSE ), LicenseTarget( name = "MIT-Apple", content = MIT_APPLE_LICENSE ), LicenseTarget( name = "apache-2.0", content = APACHE2_LICENSE ) ]; print("Upstream-Name: kaidan") print("Source: https://invent.kde.org/kde/kaidan/") print("Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/") print() for target in copyrightTargets: print(target.toDebianCopyright()); if __name__ == "__main__": main();