From 3fe9a023b5cf700fbda8dda94832bde852e8ce49 Mon Sep 17 00:00:00 2001 From: yostyle Date: Mon, 27 Jan 2025 20:07:10 +0100 Subject: [PATCH] Update license --- appicon/tchap/build.gradle.kts | 23 +++++++++++++++--- .../android/appicon/tchap}/IconPreview.kt | 23 +++++++++++++++--- .../res/mipmap-anydpi-v26/ic_launcher.xml | 24 ++++++++++++++++++- .../mipmap-anydpi-v26/ic_launcher_round.xml | 24 ++++++++++++++++++- .../res/values/ic_launcher_background.xml | 4 ---- 5 files changed, 86 insertions(+), 12 deletions(-) rename appicon/tchap/src/main/kotlin/{io/element/android/appicon/element => fr/gouv/tchap/android/appicon/tchap}/IconPreview.kt (62%) delete mode 100644 appicon/tchap/src/main/res/values/ic_launcher_background.xml diff --git a/appicon/tchap/build.gradle.kts b/appicon/tchap/build.gradle.kts index d85381be7ea..c04281ecfb6 100644 --- a/appicon/tchap/build.gradle.kts +++ b/appicon/tchap/build.gradle.kts @@ -1,8 +1,25 @@ /* - * Copyright 2024 New Vector Ltd. + * MIT License * - * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial - * Please see LICENSE files in the repository root for full details. + * Copyright (c) 2024. DINUM + * + * 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. */ plugins { id("io.element.android-compose-library") diff --git a/appicon/tchap/src/main/kotlin/io/element/android/appicon/element/IconPreview.kt b/appicon/tchap/src/main/kotlin/fr/gouv/tchap/android/appicon/tchap/IconPreview.kt similarity index 62% rename from appicon/tchap/src/main/kotlin/io/element/android/appicon/element/IconPreview.kt rename to appicon/tchap/src/main/kotlin/fr/gouv/tchap/android/appicon/tchap/IconPreview.kt index 00113325368..858f2aa01b2 100644 --- a/appicon/tchap/src/main/kotlin/io/element/android/appicon/element/IconPreview.kt +++ b/appicon/tchap/src/main/kotlin/fr/gouv/tchap/android/appicon/tchap/IconPreview.kt @@ -1,8 +1,25 @@ /* - * Copyright 2023, 2024 New Vector Ltd. + * MIT License * - * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial - * Please see LICENSE files in the repository root for full details. + * Copyright (c) 2024. DINUM + * + * 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. */ package fr.gouv.tchap.android.appicon.tchap diff --git a/appicon/tchap/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/appicon/tchap/src/main/res/mipmap-anydpi-v26/ic_launcher.xml index 80faec845c3..d4f5afa034b 100644 --- a/appicon/tchap/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/appicon/tchap/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -1,4 +1,26 @@ - + diff --git a/appicon/tchap/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/appicon/tchap/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml index 80faec845c3..d4f5afa034b 100644 --- a/appicon/tchap/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/appicon/tchap/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -1,4 +1,26 @@ - + diff --git a/appicon/tchap/src/main/res/values/ic_launcher_background.xml b/appicon/tchap/src/main/res/values/ic_launcher_background.xml deleted file mode 100644 index 117dccaf1cd..00000000000 --- a/appicon/tchap/src/main/res/values/ic_launcher_background.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - #000091 - \ No newline at end of file