From: mar77i Date: Wed, 8 May 2024 21:12:04 +0000 (+0200) Subject: add 2-clause BSD license X-Git-Url: https://git.mar77i.info/?a=commitdiff_plain;h=279e16af5c6364a8a9b992b4001ff374d773c3fe;p=bigintmandel add 2-clause BSD license --- diff --git a/.gitignore b/.gitignore index 95e8349..4e51c96 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,8 @@ + +# .gitignore +# +# This file is covered by the LICENSE file in the root of this project. +# # This file is used to ignore files which are generated # ---------------------------------------------------------------------------- diff --git a/CMakeLists.txt b/CMakeLists.txt index 1c44864..8558204 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,8 @@ + +# CMakeLists.txt +# +# This file is covered by the LICENSE file in the root of this project. + cmake_minimum_required(VERSION 3.5) project(bigintmandel VERSION 0.1 LANGUAGES CXX) @@ -32,6 +37,7 @@ if(${QT_VERSION_MAJOR} GREATER_EQUAL 6) qt_add_executable(bigintmandel MANUAL_FINALIZATION ${PROJECT_SOURCES} + LICENSE ) # Define target properties for Android with Qt 6 as: # set_property(TARGET bigintmandel APPEND PROPERTY QT_ANDROID_PACKAGE_SOURCE_DIR diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..4e12a53 --- /dev/null +++ b/LICENSE @@ -0,0 +1,22 @@ +Copyright 2024 mar77i + +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 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 THE COPYRIGHT HOLDER OR 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. diff --git a/bigintmandelwidget.cpp b/bigintmandelwidget.cpp index 06d8b4f..91a99f1 100644 --- a/bigintmandelwidget.cpp +++ b/bigintmandelwidget.cpp @@ -1,5 +1,9 @@ -// bigintmandelwidget.cpp +/* + * bigintmandelwidget.cpp + * + * This file is covered by the LICENSE file in the root of this project. + */ #include #include diff --git a/bigintmandelwidget.h b/bigintmandelwidget.h index db2f2d6..05cb151 100644 --- a/bigintmandelwidget.h +++ b/bigintmandelwidget.h @@ -1,5 +1,9 @@ -// bigintmandelwidget.h +/* + * bigintmandelwidget.h + * + * This file is covered by the LICENSE file in the root of this project. + */ #ifndef BIGINTMANDELWIDGET_H #define BIGINTMANDELWIDGET_H diff --git a/colors.h b/colors.h index c0e3a6f..44b9a85 100644 --- a/colors.h +++ b/colors.h @@ -1,5 +1,9 @@ -// colors.h +/* + * colors.h + * + * This file is covered by the LICENSE file in the root of this project. + */ #ifndef COLORS_H #define COLORS_H diff --git a/main.cpp b/main.cpp index af96d8d..3397ce0 100644 --- a/main.cpp +++ b/main.cpp @@ -1,5 +1,9 @@ -// main.cpp +/* + * main.cpp + * + * This file is covered by the LICENSE file in the root of this project. + */ #include diff --git a/mandel.cpp b/mandel.cpp index 74a1a11..b02c9da 100644 --- a/mandel.cpp +++ b/mandel.cpp @@ -1,5 +1,9 @@ -// mandel.cpp +/* + * mandel.cpp + * + * This file is covered by the LICENSE file in the root of this project. + */ #include #include diff --git a/mandel.h b/mandel.h index 3522cc6..e2b72c9 100644 --- a/mandel.h +++ b/mandel.h @@ -1,5 +1,9 @@ -// mandel.h +/* + * mandel.h + * + * This file is covered by the LICENSE file in the root of this project. + */ #ifndef MANDEL_H #define MANDEL_H diff --git a/mandellabel.cpp b/mandellabel.cpp index f7d600c..cf77420 100644 --- a/mandellabel.cpp +++ b/mandellabel.cpp @@ -1,5 +1,9 @@ -// mandellabel.cpp +/* + * mandellabel.cpp + * + * This file is covered by the LICENSE file in the root of this project. + */ #include diff --git a/mandellabel.h b/mandellabel.h index 39a8822..9a89abd 100644 --- a/mandellabel.h +++ b/mandellabel.h @@ -1,5 +1,9 @@ -// mandellabel.h +/* + * mandellabel.h + * + * This file is covered by the LICENSE file in the root of this project. + */ #ifndef MANDELLABEL_H #define MANDELLABEL_H diff --git a/menubar.cpp b/menubar.cpp index f43fd13..8139ba6 100644 --- a/menubar.cpp +++ b/menubar.cpp @@ -1,5 +1,9 @@ -// menubar.cpp +/* + * menubar.cpp + * + * This file is covered by the LICENSE file in the root of this project. + */ #include #include diff --git a/menubar.h b/menubar.h index e1377f6..8771442 100644 --- a/menubar.h +++ b/menubar.h @@ -1,5 +1,9 @@ -// menubar.h +/* + * menubar.h + * + * This file is covered by the LICENSE file in the root of this project. + */ #ifndef MENUBAR_H #define MENUBAR_H diff --git a/settingswidget.cpp b/settingswidget.cpp index dce5e99..9d0d4f2 100644 --- a/settingswidget.cpp +++ b/settingswidget.cpp @@ -1,5 +1,9 @@ -// settingswidget.cpp +/* + * settingswidget.cpp + * + * This file is covered by the LICENSE file in the root of this project. + */ #include #include diff --git a/settingswidget.h b/settingswidget.h index 450c12c..bf96d31 100644 --- a/settingswidget.h +++ b/settingswidget.h @@ -1,5 +1,9 @@ -// settingswidget.h +/* + * settingswidget.h + * + * This file is covered by the LICENSE file in the root of this project. + */ #ifndef SETTINGSWIDGET_H #define SETTINGSWIDGET_H diff --git a/uint64validator.cpp b/uint64validator.cpp index 6b78d2c..1b438a8 100644 --- a/uint64validator.cpp +++ b/uint64validator.cpp @@ -1,5 +1,9 @@ -// uint64validator.cpp +/* + * uint64validator.cpp + * + * This file is covered by the LICENSE file in the root of this project. + */ #include "uint64validator.h" diff --git a/uint64validator.h b/uint64validator.h index 1e20666..9cda7d6 100644 --- a/uint64validator.h +++ b/uint64validator.h @@ -1,5 +1,9 @@ -// uint64validator.h +/* + * uint64validator.h + * + * This file is covered by the LICENSE file in the root of this project. + */ #ifndef UINT64VALIDATOR_H #define UINT64VALIDATOR_H