diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-03-26 20:00:44 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-03-26 20:27:16 +0900 |
commit | 548bb65da4ba2cfbad69e09091b7e2bf61a9dec3 (patch) | |
tree | 8cc49b69a1507298eec50d05ba6bb4b05e4486e2 | |
parent | 15210b6100ab2d5b0b7697491f635f51c7205e77 (diff) | |
download | tdelibs-548bb65da4ba2cfbad69e09091b7e2bf61a9dec3.tar.gz tdelibs-548bb65da4ba2cfbad69e09091b7e2bf61a9dec3.zip |
Add MIT license
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | licenses/CMakeLists.txt | 2 | ||||
-rw-r--r-- | licenses/MIT | 17 | ||||
-rw-r--r-- | licenses/Makefile.am | 2 | ||||
-rw-r--r-- | tdecore/tdeaboutdata.cpp | 4 | ||||
-rw-r--r-- | tdecore/tdeaboutdata.h | 3 |
5 files changed, 25 insertions, 3 deletions
diff --git a/licenses/CMakeLists.txt b/licenses/CMakeLists.txt index 697fd6b8e..a48d3dbcc 100644 --- a/licenses/CMakeLists.txt +++ b/licenses/CMakeLists.txt @@ -12,5 +12,5 @@ ##### other data ################################ install( FILES - BSD GPL_V2 LGPL_V2 GPL_V3 LGPL_V3 QPL_V1.0 ARTISTIC + BSD GPL_V2 LGPL_V2 GPL_V3 LGPL_V3 QPL_V1.0 ARTISTIC MIT DESTINATION ${DATA_INSTALL_DIR}/LICENSES ) diff --git a/licenses/MIT b/licenses/MIT new file mode 100644 index 000000000..64b34e88c --- /dev/null +++ b/licenses/MIT @@ -0,0 +1,17 @@ +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. diff --git a/licenses/Makefile.am b/licenses/Makefile.am index 2fd7abea3..0bf059e24 100644 --- a/licenses/Makefile.am +++ b/licenses/Makefile.am @@ -1,2 +1,2 @@ -licensesdata_DATA = BSD GPL_V2 LGPL_V2 QPL_V1.0 ARTISTIC +licensesdata_DATA = BSD GPL_V2 LGPL_V2 QPL_V1.0 ARTISTIC MIT licensesdatadir = $(kde_datadir)/LICENSES diff --git a/tdecore/tdeaboutdata.cpp b/tdecore/tdeaboutdata.cpp index 3a147842a..48f41645d 100644 --- a/tdecore/tdeaboutdata.cpp +++ b/tdecore/tdeaboutdata.cpp @@ -446,6 +446,10 @@ TDEAboutData::license() const l = "QPL v1.0"; f = locate("data", "LICENSES/QPL_V1.0"); break; + case License_MIT: + l = "MIT"; + f = locate("data", "LICENSES/MIT"); + break; case License_Custom: if (mLicenseText && *mLicenseText) return( i18n(mLicenseText) ); diff --git a/tdecore/tdeaboutdata.h b/tdecore/tdeaboutdata.h index 06f193f75..071da368b 100644 --- a/tdecore/tdeaboutdata.h +++ b/tdecore/tdeaboutdata.h @@ -199,7 +199,8 @@ class TDECORE_EXPORT TDEAboutData License_QPL = 5, License_QPL_V1_0 = 5, License_GPL_V3 = 6, - License_LGPL_V3 = 7 + License_LGPL_V3 = 7, + License_MIT = 8 }; public: |