From 629fc0f5339261a35770837d38b7432f248d2169 Mon Sep 17 00:00:00 2001 From: mak448a Date: Fri, 9 Aug 2024 17:16:45 -0500 Subject: [PATCH] Remove licenses for pyqtdarktheme --- licenses/darkdetect-license.txt | 24 -------------------- licenses/pyqtdarktheme-license.txt | 21 ------------------ src/ui/licenses.ui | 12 ++++------ src/ui/licenses_ui.py | 35 +++++++++++++----------------- 4 files changed, 19 insertions(+), 73 deletions(-) delete mode 100644 licenses/darkdetect-license.txt delete mode 100644 licenses/pyqtdarktheme-license.txt diff --git a/licenses/darkdetect-license.txt b/licenses/darkdetect-license.txt deleted file mode 100644 index 84c2d9f..0000000 --- a/licenses/darkdetect-license.txt +++ /dev/null @@ -1,24 +0,0 @@ -Copyright (c) 2019, Alberto Sottile -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * 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. - * Neither the name of "darkdetect" nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 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 "Alberto Sottile" 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. \ No newline at end of file diff --git a/licenses/pyqtdarktheme-license.txt b/licenses/pyqtdarktheme-license.txt deleted file mode 100644 index 70d0023..0000000 --- a/licenses/pyqtdarktheme-license.txt +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021-2022 Yunosuke Ohsugi - -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. \ No newline at end of file diff --git a/src/ui/licenses.ui b/src/ui/licenses.ui index 5cb0352..164ddb1 100644 --- a/src/ui/licenses.ui +++ b/src/ui/licenses.ui @@ -33,8 +33,10 @@ li.checked::marker { content: "\2612"; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">MIT: Copyright (c) 2023-2024 mak448a</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:700;">PySide6</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">LGPL</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:700;">PyQtDarkTheme</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">MIT: Copyright (c) 2021-2022 Yunosuke Ohsugi</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:700;">Platformdirs</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">MIT</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:700;">Requests</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Apache</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:700;">Python</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">PSF</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:700;">Altgraph</span></p> @@ -45,14 +47,8 @@ li.checked::marker { content: "\2612"; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">MIT: Copyright (c) 2019 TAHRI Ahmed R.</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:700;">Idna</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">BSD: Copyright (c) 2013-2023, Kim Davies and contributors.</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:700;">Platformdirs</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">MIT</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:700;">Requests</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Apache</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:700;">Urllib3</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">MIT: Copyright (c) 2008-2020 Andrey Petrov and contributors.</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:700;">Darkdetect</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Copyright (c) 2019, Alberto Sottile</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:700;">Websocket-Client</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Apache</p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p> diff --git a/src/ui/licenses_ui.py b/src/ui/licenses_ui.py index 3b4ace2..180a234 100644 --- a/src/ui/licenses_ui.py +++ b/src/ui/licenses_ui.py @@ -62,37 +62,32 @@ def retranslateUi(self, LicensesDialog): "

MIT: Copyright (c) 2023-2024 mak448a

\n" "

PySide6

\n" "

LGPL

\n" -"

PyQtDarkTheme

\n" -"

MIT: Copyright (c) 2021-2022 Yunosuke Ohsugi

\n" -"

Python

\n" +"

Platformdirs

\n" +"

MIT

\n" +"

Requests

\n" +"Apache

\n" +"

Python

\n" "

PSF

\n" "

Altgraph

\n" "

MIT: Copyright (c) 2004 Istvan Albert unless otherwise noted., Copyright (c) 2006-2010 Bob Ippolito, Copyright (2) 2010-2020 Ronald Oussoren, et. al.

\n" -"

Certifi

\n" +"

Certifi

\n" "

MPL

\n" -"

Charset-Normalizer

\n" +"

Charset-Normalizer

\n" "

MIT: Copyright (c) 2019 TAHRI Ahmed R.

\n" "

Idna

\n" "

BSD: Copyright (c) 2013-2023, Kim Davies and contributors.

\n" -"

Platformdirs

\n" -"

MIT

\n" -"

Requests

\n" -"

Apache

\n" -"

Urllib3

\n" +"

Urllib3

\n" "

MIT: Copyright (c) 2008-2020 Andrey Petrov and contributors.

\n" -"

Darkdetect

\n" -"

Copyright (c) 2019, Alberto Sottile

\n" -"

Websocket-Client

\n" +"

Websocket-Client

\n" "

Apache

\n" "


\n" "

You can view the full licenses by going into the folder where QTCord was installed. For Linux, check the following directories:

\n" -"

/var/lib/flatpak/app/io.github.mak448a.QTCord/x86_64/stable/active/files/bin/licenses/

\n" -"

~/.local/share/flatpak/app/io.github.mak448a.QTCord/x86_64/stable/active/files/bin/licenses/

\n" +"

/var/lib/flatpak/app/io.github.mak448a.QTCord/x86_64/stable/active/files/bin/licenses/

\n" +"

~/.local/share/flatpak/app/io.github.mak448a.QTCord/x86_64/stable/active/files/bin/licenses/

\n" "


", None)) # retranslateUi