summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander V. Wolf <alex.v.wolf@gmail.com>2022-05-27 03:01:57 +0700
committerGitHub <noreply@github.com>2022-05-27 03:01:57 +0700
commit25f6b0db6f8395a48daf2da976c7eb5aa2436758 (patch)
treec87f5049c6fa8ab8af7cadfb677b6cd115183a5a
parenta330d38784e47e5a32d8e476336f0e3d7ebb9b25 (diff)
Added recognition licenses for sky cultures (#2410)
Added code to recognition the license (or licenses) info in sky cultures and show human readable hints for granted permissions for users. A few sky cultures have an updated license info in info.ini file. Co-authored-by: Georg Zotti <Georg.Zotti@univie.ac.at>
-rw-r--r--guide/ch_skycultures.tex49
-rw-r--r--skycultures/anutan/info.ini1
-rw-r--r--skycultures/arabic_al-sufi/description.en.utf83
-rw-r--r--skycultures/arabic_al-sufi/info.ini2
-rw-r--r--skycultures/arabic_arabian_peninsula/description.en.utf82
-rw-r--r--skycultures/arabic_arabian_peninsula/info.ini2
-rw-r--r--skycultures/arabic_indigenous/description.en.utf82
-rw-r--r--skycultures/arabic_indigenous/info.ini2
-rw-r--r--skycultures/arabic_lunar_mansions/description.en.utf82
-rw-r--r--skycultures/arabic_lunar_mansions/info.ini2
-rw-r--r--skycultures/aztec/info.ini3
-rw-r--r--skycultures/babylonian_mulapin/description.en.utf84
-rw-r--r--skycultures/babylonian_mulapin/info.ini2
-rw-r--r--skycultures/babylonian_seleucid/description.en.utf82
-rw-r--r--skycultures/babylonian_seleucid/info.ini2
-rw-r--r--skycultures/belarusian/info.ini3
-rw-r--r--skycultures/boorong/info.ini2
-rw-r--r--skycultures/chinese/info.ini1
-rw-r--r--skycultures/chinese_contemporary/info.ini1
-rw-r--r--skycultures/chinese_medieval/description.en.utf81
-rw-r--r--skycultures/chinese_medieval/info.ini1
-rw-r--r--skycultures/dakota/description.en.utf84
-rw-r--r--skycultures/dakota/info.ini1
-rw-r--r--skycultures/egyptian/info.ini1
-rw-r--r--skycultures/egyptian_dendera/description.en.utf83
-rw-r--r--skycultures/egyptian_dendera/info.ini2
-rw-r--r--skycultures/greek_almagest/description.en.utf84
-rw-r--r--skycultures/greek_almagest/info.ini2
-rw-r--r--skycultures/greek_farnese/description.en.utf82
-rw-r--r--skycultures/greek_farnese/info.ini2
-rw-r--r--skycultures/greek_leidenAratea/description.en.utf82
-rw-r--r--skycultures/greek_leidenAratea/info.ini2
-rw-r--r--skycultures/hawaiian_starlines/info.ini1
-rw-r--r--skycultures/indian/info.ini1
-rw-r--r--skycultures/inuit/description.en.utf82
-rw-r--r--skycultures/inuit/info.ini1
-rw-r--r--skycultures/japanese_moon_stations/info.ini1
-rw-r--r--skycultures/kamilaroi/info.ini1
-rw-r--r--skycultures/khoi-san/description.en.utf84
-rw-r--r--skycultures/khoi-san/info.ini2
-rw-r--r--skycultures/korean/info.ini1
-rw-r--r--skycultures/lokono/info.ini1
-rw-r--r--skycultures/macedonian/info.ini1
-rw-r--r--skycultures/maori/info.ini3
-rw-r--r--skycultures/maya/info.ini3
-rw-r--r--skycultures/mongolian/info.ini1
-rw-r--r--skycultures/navajo/info.ini1
-rw-r--r--skycultures/norse/info.ini1
-rw-r--r--skycultures/northern_andes/info.ini1
-rw-r--r--skycultures/ojibwe/description.en.utf84
-rw-r--r--skycultures/ojibwe/info.ini1
-rw-r--r--skycultures/romanian/description.en.utf81
-rw-r--r--skycultures/romanian/info.ini2
-rw-r--r--skycultures/russian_siberian/info.ini1
-rw-r--r--skycultures/sami/info.ini1
-rw-r--r--skycultures/sardinian/info.ini1
-rw-r--r--skycultures/tongan/info.ini1
-rw-r--r--skycultures/tukano/info.ini1
-rw-r--r--skycultures/tupi/info.ini1
-rw-r--r--skycultures/western/info.ini1
-rw-r--r--skycultures/western_SnT/info.ini1
-rw-r--r--skycultures/western_hlad/info.ini1
-rw-r--r--skycultures/western_rey/info.ini1
-rw-r--r--skycultures/xhosa/description.en.utf84
-rw-r--r--skycultures/xhosa/info.ini2
-rw-r--r--skycultures/zulu/description.en.utf84
-rw-r--r--skycultures/zulu/info.ini2
-rw-r--r--src/core/StelSkyCultureMgr.cpp71
-rw-r--r--src/core/StelSkyCultureMgr.hpp5
69 files changed, 180 insertions, 66 deletions
diff --git a/guide/ch_skycultures.tex b/guide/ch_skycultures.tex
index b72e368a69..c70c564c9b 100644
--- a/guide/ch_skycultures.tex
+++ b/guide/ch_skycultures.tex
@@ -46,6 +46,7 @@ name=myCulture
author=me
boundaries=none
classification=personal
+license=CC BY-SA 4.0 International Public License
\end{configfile}
\noindent (or what seems best for you). The name is used for the list entry in
@@ -87,7 +88,51 @@ The option ``classification'' is also optional. \newFeature{0.19.0} It allows so
how these differences should be interpreted.
\end{description}
-%The classification may show overlaps. Currently (V0.19.0) it is not displayed or evaluated, but will be used in future versions.
+\paragraph{license}
+The option ``license'' \newFeature{0.22.2} is technically optional
+(for backward compatibility; it defaults to ``unknown''), but we
+highly recommend to define it for your sky culture, and it is
+mandatory if you want your skyculture to be distributed with
+Stellarium to prevent ``unexpected'' distribution of your content to other
+software out of our hands. The license info will be decoded for human
+readable hints about allowed permissions for sky culture in the GUI.
+
+We recommend to use one of the following possible licenses in this section:
+\begin{description}
+ \item[GNU GPL v2.0 (or later)] -- this is the most famous ``copyleft'' license for code and it may be acceptable also for text and data.
+ \item[CC0] (No Rights Reserved) -- this is a ``don't care'' license. Content may be freely distributed without attribution for all purposes.
+ \item[CC BY] (Creative Commons Attribution License) -- this license lets others distribute, remix, adapt, and build upon your work, even commercially, as long as they credit you for the original creation.
+ This is the most accommodating of licenses offered. Recommended for maximum dissemination and use of licensed materials.
+ \item[CC BY-SA] (Creative Commons Attribution-ShareAlike License) -- this license lets others remix, adapt, and build upon your work even for commercial purposes, as long as they credit you and license their new creations under the identical terms.
+ This license is often compared to ``copyleft'' free and open source software licenses. All new works based on yours will carry the same license, so any derivatives will also allow commercial use.
+ This is the license used by Wikipedia, and is recommended for materials that would benefit from incorporating content from Wikipedia and similarly licensed projects.
+ \item[CC BY-ND] (Creative Commons Attribution-NoDerivatives License) -- this license lets others reuse the work for any purpose, including commercially; however, it cannot be shared with others in adapted form, and credit must be provided to you.
+ \item[CC BY-NC] (Creative Commons Attribution-NonCommercial License) -- this license lets others remix, adapt, and build upon your work non-commercially, and although their new works must also acknowledge you and be non-commercial, they don’t have to license their derivative works on the same terms.
+ \item[CC BY-NC-SA] (Creative Commons Attribution-NonCommercial-ShareAlike License) -- this license lets others remix, adapt, and build upon your work non-commercially, as long as they credit you and license their new creations under the identical terms.
+ \item[CC BY-NC-ND] (Creative Commons Attribution-NonCommercial-NoDerivatives License) -- this license is the most restrictive of the six main Creative Commons licenses, only allowing others to download your works and share them with others as long as they credit you, but they can’t change them in any way or use them commercially.
+ \item[FAL] For illustrations we also expect usage of the \textbf{Free Art License}\footnote{\url{https://artlibre.org/licence/lal/en/}} (in addition to any other licenses) ---
+ it is a ``copyleft'' license that grants the right to freely copy, distribute, and transform creative works. You can specify, e.g., ``GPL2, FAL'' to indicate that the images are additionally released under Free Art License.
+\end{description}
+
+Creative Commons provides a range of licenses\footnote{Creative
+ Commons License Chooser --
+ \url{https://creativecommons.org/choose/}}, each of which grants
+different rights to use the materials licensed under them. All of
+these licenses offer more permissions than ``all rights
+reserved''. Some of Creative Commons are free and some are
+non-free. For example you can apply only the most permissive of its
+licenses (\textbf{CC0}, \textbf{CC BY} and \textbf{CC BY-SA}) to
+material you create, to meets the Freedom Defined definition of a
+``Free Cultural Work''.\footnote{See Creative Commons website to
+ details ---
+ \url{https://creativecommons.org/share-your-work/public-domain/freeworks}}
+
+If you have used one of the keys above in your \texttt{license} entry,
+a short (unofficial! Informative only) description of license
+conditions will be displayed. You can use other licenses as well, but
+please describe the conditions sufficiently well in a dedicated
+\texttt{h2} section close to the end of your
+\file{description.en.utf8}.
\section{Skyculture Description Files}
\label{sec:skycultures:description}
@@ -389,7 +434,7 @@ CC BY 4.0
International\footnote{\url{https://creativecommons.org/licenses/by/4.0/}}
or CC BY-SA 4.0
International\footnote{\url{https://creativecommons.org/licenses/by-sa/4.0/}}
-licenses are best suited.
+licenses are best suited. See notes in section~\ref{sec:skycultures:info.ini} above.
%%% Local Variables:
diff --git a/skycultures/anutan/info.ini b/skycultures/anutan/info.ini
index f89491b8be..e53eef9f1f 100644
--- a/skycultures/anutan/info.ini
+++ b/skycultures/anutan/info.ini
@@ -1,3 +1,4 @@
[info]
name = Anutan
classification = ethnographic
+license = CC BY-SA 4.0 International Public License
diff --git a/skycultures/arabic_al-sufi/description.en.utf8 b/skycultures/arabic_al-sufi/description.en.utf8
index f306b3d1aa..137cf97323 100644
--- a/skycultures/arabic_al-sufi/description.en.utf8
+++ b/skycultures/arabic_al-sufi/description.en.utf8
@@ -63,9 +63,6 @@
<p>The translation of star descriptions from Arabic into English was extracted from Ernie Wright website<sup><a href="#footnote-6">[6]</a></sup> which was transcribed from Toomer's translation of the Almagest<sup><a href="#footnote-7">[7]</a></sup>. The translation was modified in a few places to agree with Al-Sufi wording.</p>
<p>The single source of the sky culture is the Book of Fixed Stars and the objective is to give a faithful representation of the book content.</p>
-<h2>Fair Use</h2>
-<p>This sky culture is provided for free under CC BY-ND 4.0 International Public License (share-alike, do not change it without consulting the contributors, and cite the contributors). The author wishes that this work be cited according to the common rules.</p>
-
<h2>Author</h2>
<p>This sky culture was compiled and added to Stellarium by Khalid Al-Ajaji: turath.alfalak@gmail.com</p>
diff --git a/skycultures/arabic_al-sufi/info.ini b/skycultures/arabic_al-sufi/info.ini
index bba927cfd2..d778617f3f 100644
--- a/skycultures/arabic_al-sufi/info.ini
+++ b/skycultures/arabic_al-sufi/info.ini
@@ -3,5 +3,5 @@ name = Arabic (Al-Sufi)
Author = Khalid AlAjaji
boundaries = None
source = Book of Fixed stars by Al-Sufi (903-986AD)
-license = CC BY-NC-ND 4.0 International
+license = CC BY-ND 4.0 International Public License
classification = single
diff --git a/skycultures/arabic_arabian_peninsula/description.en.utf8 b/skycultures/arabic_arabian_peninsula/description.en.utf8
index 09f51cb6ff..ad8a20938c 100644
--- a/skycultures/arabic_arabian_peninsula/description.en.utf8
+++ b/skycultures/arabic_arabian_peninsula/description.en.utf8
@@ -146,8 +146,6 @@ The Arabian Peninsula is a region covering the south western corner of Asia, bor
<p>
Khalid al-Ajaji, turath.alfalak@gmail.com.
</p>
-<h2 id="license">License</h2>
-<p>Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).</p>
<h2 id="notes">Notes</h2>
<p id="footnote-1">[1]: Al-Hamdânîʼs Geographie der Arabischen Halbinsel, David Heinrich Müller, Leiden : E. J. Brill, 1884, pg. 47.
<p id="footnote-2">[2]: Le Bon, Gustave, La civilisation des Arabes, Paris, Librairie de Firmin-Didot, 1884, livre premier, pg. 1.
diff --git a/skycultures/arabic_arabian_peninsula/info.ini b/skycultures/arabic_arabian_peninsula/info.ini
index 69a837f668..bcbcb291e5 100644
--- a/skycultures/arabic_arabian_peninsula/info.ini
+++ b/skycultures/arabic_arabian_peninsula/info.ini
@@ -2,5 +2,5 @@
name = Arabic (Arabian Peninsula)
Author = Khalid AlAjaji
boundaries = None
-license = CC BY-NC-ND 4.0 International
+license = CC BY-NC-ND 4.0 International Public License
classification = traditional
diff --git a/skycultures/arabic_indigenous/description.en.utf8 b/skycultures/arabic_indigenous/description.en.utf8
index 8d30e5f18e..301791ed1f 100644
--- a/skycultures/arabic_indigenous/description.en.utf8
+++ b/skycultures/arabic_indigenous/description.en.utf8
@@ -31,7 +31,5 @@ Other asterisms are given names according to legends and stories.</p>
<h2 id="author">Author</h2>
<p>Khalid al-Ajaji: turath.alfalak@gmail.com</p>
-<h2 id="license">License</h2>
-<p>Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0). The author wishes that this work be cited according to the common rules.</p>
<p id="footnote-1">[1]: Ibn Qutaybah (Arabic ابن قتيبة) (b. 828 d. 884 or 889), Kitab al-Anwā’a (Arabic الأنواء في مواسم العرب), (Arabic print of the original book in 1956 in India Hydarabad al-Dakan), page: يد.</p>
<p id="footnote-2">[2]: <a href="https://drive.google.com/drive/folders/1s6JXzftwjMQ5rgZoGE3718EtBLBZtjzr?usp=sharing">Book of the Stars: Critical edition with commentary by Khalid al-Ajaji, digital edition</a></p>
diff --git a/skycultures/arabic_indigenous/info.ini b/skycultures/arabic_indigenous/info.ini
index 2f7febcea8..84a8887f07 100644
--- a/skycultures/arabic_indigenous/info.ini
+++ b/skycultures/arabic_indigenous/info.ini
@@ -2,5 +2,5 @@
name = Arabic (Indigenous)
Author = Khalid AlAjaji
boundaries = None
-license = CC BY-NC-ND 4.0 International
+license = CC BY-NC-ND 4.0 International Public License
classification = traditional
diff --git a/skycultures/arabic_lunar_mansions/description.en.utf8 b/skycultures/arabic_lunar_mansions/description.en.utf8
index 910616896f..772f947ee1 100644
--- a/skycultures/arabic_lunar_mansions/description.en.utf8
+++ b/skycultures/arabic_lunar_mansions/description.en.utf8
@@ -71,8 +71,6 @@ Mr. Roland Laffitte discussed these two figures and offered a depiction of each
<h2 id="authors">Authors</h2>
<p>
Khalid al-Ajaji with additional documentation of this file by Susanne M Hoffmann.</p>
-<h2 id="license">License</h2>
-<p>Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).</p>
<h2>Notes</h2>
<p id="footnote-1">[1]: Kunitzsch P. The Arabs and the Stars, Variorum reprints Northampton 1989, Al-Manazil, Item XX pp 1-7.</p>
diff --git a/skycultures/arabic_lunar_mansions/info.ini b/skycultures/arabic_lunar_mansions/info.ini
index 10beb4eace..825933033e 100644
--- a/skycultures/arabic_lunar_mansions/info.ini
+++ b/skycultures/arabic_lunar_mansions/info.ini
@@ -2,5 +2,5 @@
name = Arabic (Lunar Mansions)
Author = Khalid AlAjaji
boundaries = own
-license = CC BY-NC-ND 4.0 International
+license = CC BY-NC-ND 4.0 International Public License
classification = traditional
diff --git a/skycultures/aztec/info.ini b/skycultures/aztec/info.ini
index 448ef977c5..e34a7d7948 100644
--- a/skycultures/aztec/info.ini
+++ b/skycultures/aztec/info.ini
@@ -2,4 +2,5 @@
name = Aztec
author = Enrique Gómez Candelario
descriptionSource = http://www.wirikuta.org/comala
-classification = historical \ No newline at end of file
+classification = historical
+license = GNU GPL v2.0
diff --git a/skycultures/babylonian_mulapin/description.en.utf8 b/skycultures/babylonian_mulapin/description.en.utf8
index 8dfbee80a4..7e6ddf60a0 100644
--- a/skycultures/babylonian_mulapin/description.en.utf8
+++ b/skycultures/babylonian_mulapin/description.en.utf8
@@ -520,9 +520,7 @@ Further publications are in preparation (e.g. together with M. Krebernik for the
</ul>
<h2>Fair Use</h2>
-<p>This sky culture originates from many years of research by several scholars.
-We provide this for free but authors of contributions certainly deserve to be cited according to the common rules.
-This sky culture is provided under CC BY-ND 4.0 International Public Licence (share-alike, do not change it without consulting the contributors, and cite the contributors). Thank you!</p>
+<p>This sky culture originates from many years of research by several scholars. We provide this for free but authors of contributions certainly deserve to be cited according to the common rules. Thank you!</p>
<h2>Thanks to</h2>
<p>The positioning of the Babylonian terms in the sky and the drawing of the stick figures for Stellarium had been done by Susanne M. Hoffmann.
diff --git a/skycultures/babylonian_mulapin/info.ini b/skycultures/babylonian_mulapin/info.ini
index badb5fb781..2d621ac04d 100644
--- a/skycultures/babylonian_mulapin/info.ini
+++ b/skycultures/babylonian_mulapin/info.ini
@@ -3,5 +3,5 @@ name = Babylonian (MUL.APIN)
author = Susanne M. Hoffmann email:service@urania-uhurae.com
boundaries = None
source = MUL.APIN translated by Hermann Hunger+ (both versions: 1989, 2018) plus Susanne M Hoffmann's research on visualization
-license = CC BY-ND 4.0 International
+license = CC BY-ND 4.0 International Public License
classification = historical
diff --git a/skycultures/babylonian_seleucid/description.en.utf8 b/skycultures/babylonian_seleucid/description.en.utf8
index de89937a0d..976aded771 100644
--- a/skycultures/babylonian_seleucid/description.en.utf8
+++ b/skycultures/babylonian_seleucid/description.en.utf8
@@ -461,8 +461,6 @@
<li lang="fr" dir="ltr">Jordi Pàmias and Klaus Geus (2007), Eratosthenes: Sternsagen (Catasterismi), Utopica, Oberhaid.</li>
<li>many publications on <i>ziqpu</i> star lists by Wayne Horowitz, John M. Steele, E. Weidner, J. Koch, and others are compiled or/and discussed in the above books, especially the one by Hunger and Pingree (1999) which is why we do not list them in detail here.</li>
</ul>
-<h3>Fair Use</h3>
-<p>This sky culture is provided under CC BY-ND 4.0 (international) licence (noncommercial use only, share-alike, do not change it without consulting the contributors, and please cite the contributors). Thank you!</p>
<h3>Thanks to</h3>
<p>Thanks to some very enthusiastic planetarium managers for their request and development time in their domes.
diff --git a/skycultures/babylonian_seleucid/info.ini b/skycultures/babylonian_seleucid/info.ini
index 604cccabb8..ec80def235 100644
--- a/skycultures/babylonian_seleucid/info.ini
+++ b/skycultures/babylonian_seleucid/info.ini
@@ -2,5 +2,5 @@
name = Babylonian (Seleucid)
author = Susanne M. Hoffmann email:service@urania-uhurae.com
boundaries = None
-license = CC BY-ND 4.0 International
+license = CC BY-ND 4.0 International Public License
classification = historical
diff --git a/skycultures/belarusian/info.ini b/skycultures/belarusian/info.ini
index f895695ce3..b06aea2a88 100644
--- a/skycultures/belarusian/info.ini
+++ b/skycultures/belarusian/info.ini
@@ -1,4 +1,5 @@
[info]
name = Belarusian
author = Tsimafei Avilin
-classification = single \ No newline at end of file
+classification = single
+license = CC BY-SA 4.0 International Public License + Free Art License
diff --git a/skycultures/boorong/info.ini b/skycultures/boorong/info.ini
index 382dae4b7b..a278d170ed 100644
--- a/skycultures/boorong/info.ini
+++ b/skycultures/boorong/info.ini
@@ -2,5 +2,5 @@
name = Boorong
author = John Morieson & Alex Cherney
descriptionSource = http://www.terrastro.com/boorong
-license = GPLv2
+license = GNU GPL v2.0
classification = ethnographic
diff --git a/skycultures/chinese/info.ini b/skycultures/chinese/info.ini
index f073053719..fecaba53e5 100644
--- a/skycultures/chinese/info.ini
+++ b/skycultures/chinese/info.ini
@@ -2,3 +2,4 @@
name = Chinese
boundaries = own
classification = traditional
+license = CC BY-SA 4.0 International Public License
diff --git a/skycultures/chinese_contemporary/info.ini b/skycultures/chinese_contemporary/info.ini
index 1823a5848f..c3d81a5812 100644
--- a/skycultures/chinese_contemporary/info.ini
+++ b/skycultures/chinese_contemporary/info.ini
@@ -2,3 +2,4 @@
name = Chinese Contemporary
boundaries = iau
classification = traditional
+license = CC BY-SA 4.0 International Public License + Free Art License
diff --git a/skycultures/chinese_medieval/description.en.utf8 b/skycultures/chinese_medieval/description.en.utf8
index 5285921082..254e4cb008 100644
--- a/skycultures/chinese_medieval/description.en.utf8
+++ b/skycultures/chinese_medieval/description.en.utf8
@@ -34,6 +34,7 @@
<li><a href="https://www.lcsd.gov.hk/CE/Museum/Space/archive/Research/Literature/c_research_literature_9.htm">(Chinese) Song of the Sky Pacers</a></li>
<li><a href="https://en.wikipedia.org/wiki/Song_of_the_Sky_Pacers">wikipedia - Song of the Sky Pacers</a></li>
<li><a href="http://wwt.china-vo.org/why/chineseheaven.htm">(Chinese) Chinese Heaven in WWT Community Beijing</a></li>
+</ul>
<h2>Reference</h2>
<ol>
diff --git a/skycultures/chinese_medieval/info.ini b/skycultures/chinese_medieval/info.ini
index d55b3db082..fe421321f4 100644
--- a/skycultures/chinese_medieval/info.ini
+++ b/skycultures/chinese_medieval/info.ini
@@ -3,3 +3,4 @@ name = Chinese Medieval
boundaries = own
author = Sun Shuwei
classification = historical
+license = CC BY-SA 4.0 International Public License
diff --git a/skycultures/dakota/description.en.utf8 b/skycultures/dakota/description.en.utf8
index d8af511365..15200981f3 100644
--- a/skycultures/dakota/description.en.utf8
+++ b/skycultures/dakota/description.en.utf8
@@ -59,7 +59,3 @@ planispheres, curriculum, and other resources.</p>
<p>Constellation Paintings by A. Lee.</p>
<p>Contact A. Lee at aslee@stcloudstate.edu for more information.</p>
-<h2>Licence</h2>
-<p>This SkyCulture is provided under CC BY-NC-ND 4.0 International Public licence. <br/>
-It allows you to use the unadapted work for noncommercial purposes only, and only as long as you give credit to the creator.
-You may also adapt the work for their own personal use but may not share any adaptations publicly.</p>
diff --git a/skycultures/dakota/info.ini b/skycultures/dakota/info.ini
index 8824584bea..7d99bc481d 100644
--- a/skycultures/dakota/info.ini
+++ b/skycultures/dakota/info.ini
@@ -2,3 +2,4 @@
name = Dakota/Lakota/Nakota
author = Annette S. Lee
classification = traditional
+license = CC BY-NC-ND 4.0 International Public License
diff --git a/skycultures/egyptian/info.ini b/skycultures/egyptian/info.ini
index 60096657e8..481963f4a7 100644
--- a/skycultures/egyptian/info.ini
+++ b/skycultures/egyptian/info.ini
@@ -1,3 +1,4 @@
[info]
name = Egyptian
classification = historical
+license = GNU GPL v2.0
diff --git a/skycultures/egyptian_dendera/description.en.utf8 b/skycultures/egyptian_dendera/description.en.utf8
index 534c4a0f01..cbc9a91a0f 100644
--- a/skycultures/egyptian_dendera/description.en.utf8
+++ b/skycultures/egyptian_dendera/description.en.utf8
@@ -230,8 +230,7 @@ These positions are equal to the "secret places" in Babylonian astrology and the
</ul>
<h2>Fair Use</h2>
-<p>This sky culture originates from research. We provide this for free but the authors of contributions certainly deserve to be cited according to the common rules. <br />
-This sky culture is provided under CC BY-ND 4.0 International Public Licence (share-alike, do not change it without consulting the contributors, and cite the contributors). Thank you!</p>
+<p>This sky culture originates from research. We provide this for free but the authors of contributions certainly deserve to be cited according to the common rules. Thank you!</p>
<h2>Authors</h2>
<p>This Greco-Egyptian sky culture was painted and added to Stellarium by:</p>
diff --git a/skycultures/egyptian_dendera/info.ini b/skycultures/egyptian_dendera/info.ini
index df7c27f010..60928072f4 100644
--- a/skycultures/egyptian_dendera/info.ini
+++ b/skycultures/egyptian_dendera/info.ini
@@ -3,5 +3,5 @@ name = Egyptian (Dendera)
author = Susanne M. Hoffmann email:service@urania-uhurae.com
boundaries = None
source = own research
-license = CC BY-ND 4.0 International
+license = CC BY-ND 4.0 International Public License
classification = historical
diff --git a/skycultures/greek_almagest/description.en.utf8 b/skycultures/greek_almagest/description.en.utf8
index 903487af2d..02832108b3 100644
--- a/skycultures/greek_almagest/description.en.utf8
+++ b/skycultures/greek_almagest/description.en.utf8
@@ -495,9 +495,7 @@ the reconstruction (column 6).</p>
<h2>Fair Use</h2>
<p>This sky culture originates from a student's year of research. We provide this for free but
-authors of contributions certainly deserve to be cited according to the common rules. This sky
-culture is provided under CC BY-ND 4.0 International Public Licence (share-alike, do not change
-it without consulting the contributors, and cite the contributors). Thank you!</p>
+authors of contributions certainly deserve to be cited according to the common rules. Thank you!</p>
<h2>Thanks</h2>
<p>The authors thank Patrick Gleason and Georg Zotti for English proofreading and interesting discussions.</p>
diff --git a/skycultures/greek_almagest/info.ini b/skycultures/greek_almagest/info.ini
index 7d78fddcc9..a7775d8992 100644
--- a/skycultures/greek_almagest/info.ini
+++ b/skycultures/greek_almagest/info.ini
@@ -3,5 +3,5 @@ name = Greek (Almagest)
author = Lea Jabschinsky, Alina Schmidt, Marie von Seggern, Susanne M. Hoffmann email:service@urania-uhurae.com
boundaries = None
source = Ptolemy's Almagest translated by G. Toomer (1984) plus author's own research on visualization
-license = CC BY-ND 4.0 International
+license = CC BY-ND 4.0 International Public License
classification = single
diff --git a/skycultures/greek_farnese/description.en.utf8 b/skycultures/greek_farnese/description.en.utf8
index 9bcd224583..04764ae364 100644
--- a/skycultures/greek_farnese/description.en.utf8
+++ b/skycultures/greek_farnese/description.en.utf8
@@ -297,7 +297,7 @@
<li>Toomer, G. J.: Ptolemy's Almagest, Duckworth, London, 1984</li>
</ul>
<h2>Fair Use</h2>
-<p>We provide this sky culture free of charge, but the authors deserve to be cited according to the usual rules. This sky culture is provided under CC BY-ND 4.0 International Public Licence (cite, share under equal terms, do not modify without consulting the authors). Thank you!</p>
+<p>We provide this sky culture free of charge, but the authors deserve to be cited according to the usual rules. Thank you!</p>
<h2>Author</h2>
<p>This sky culture was contributed to Stellarium by Susanne M. Hoffmann (service@uhura-uraniae.com).</p>
diff --git a/skycultures/greek_farnese/info.ini b/skycultures/greek_farnese/info.ini
index e4afdc9b77..e08b7cd7fe 100644
--- a/skycultures/greek_farnese/info.ini
+++ b/skycultures/greek_farnese/info.ini
@@ -3,5 +3,5 @@ name = Greek (Farnese + Almagest)
author = Susanne M. Hoffmann email:service@urania-uhurae.com
boundaries = None
source = Globus of Atlas Farnese (Naples)
-license = CC BY-ND 4.0 International
+license = CC BY-ND 4.0 International Public License
classification = comparative
diff --git a/skycultures/greek_leidenAratea/description.en.utf8 b/skycultures/greek_leidenAratea/description.en.utf8
index 4ba4b6b4be..2e2e7c8960 100644
--- a/skycultures/greek_leidenAratea/description.en.utf8
+++ b/skycultures/greek_leidenAratea/description.en.utf8
@@ -286,7 +286,7 @@ Both, the Almagest and the poem, are written in Greek originally but the Leiden
<li>Toomer, G. J.: Ptolemy's Almagest, Duckworth, London, 1984</li>
</ul>
<h2>Fair Use</h2>
-<p>We provide this sky culture free of charge, but the authors deserve to be cited according to the usual rules. This sky culture is provided under CC BY-ND 4.0 International Public Licence (cite, share under equal terms, do not modify without consulting the authors). Thank you!</p>
+<p>We provide this sky culture free of charge, but the authors deserve to be cited according to the usual rules. Thank you!</p>
<h2>Author</h2>
<p>This sky culture was added to Stellarium by Susanne M. Hoffmann (service@uhura-uraniae.com) and originally created in collaboration with Prof. Dr. Dieter Blume (Art History, FSU Jena, Germany) for Planetarium Jena.</p>
diff --git a/skycultures/greek_leidenAratea/info.ini b/skycultures/greek_leidenAratea/info.ini
index f36809e15e..04f7f0f08a 100644
--- a/skycultures/greek_leidenAratea/info.ini
+++ b/skycultures/greek_leidenAratea/info.ini
@@ -3,5 +3,5 @@ name = Greek (Leiden Aratea + Almagest)
author = Susanne M. Hoffmann email:service@urania-uhurae.com
boundaries = None
source = Manuscript (Leiden)
-license = CC BY-ND 4.0 International
+license = CC BY-ND 4.0 International Public License
classification = comparative
diff --git a/skycultures/hawaiian_starlines/info.ini b/skycultures/hawaiian_starlines/info.ini
index 8cc6d6563f..024fd3150f 100644
--- a/skycultures/hawaiian_starlines/info.ini
+++ b/skycultures/hawaiian_starlines/info.ini
@@ -2,3 +2,4 @@
name = Hawaiian Starlines
author = Darren Kamalu
classification = traditional
+license = CC BY-SA 4.0 International Public License
diff --git a/skycultures/indian/info.ini b/skycultures/indian/info.ini
index 20f78ccce8..3dd37a6638 100644
--- a/skycultures/indian/info.ini
+++ b/skycultures/indian/info.ini
@@ -3,3 +3,4 @@ name = Indian Vedic
author = Tanmoy Saha, groups.google.com/forum/#!forum/sanskrit-programmers (esp Vishvas Vasuki)
descriptionSource = ?
classification = traditional
+license = CC BY-SA 4.0 International Public License
diff --git a/skycultures/inuit/description.en.utf8 b/skycultures/inuit/description.en.utf8
index 8088a6db88..88eed0821d 100644
--- a/skycultures/inuit/description.en.utf8
+++ b/skycultures/inuit/description.en.utf8
@@ -31,6 +31,6 @@
<h2>Authors</h2>
<p>This sky culture was contributed by <i>Karrie Berglund</i> of Digitalis Education Solutions, Inc. based primarily on the book <b>The Arctic Sky: Inuit Astronomy, Star Lore and Legend</b> by John MacDonald.</p>
-<p>Illustrations are done by Johan Meuris, released under the Free Art License.</p>
+<p>Illustrations are done by Johan Meuris.</p>
diff --git a/skycultures/inuit/info.ini b/skycultures/inuit/info.ini
index dbcba82dc2..fded07e633 100644
--- a/skycultures/inuit/info.ini
+++ b/skycultures/inuit/info.ini
@@ -1,3 +1,4 @@
[info]
name = Inuit
classification = ethnographic
+license = GNU GPL v2.0 + Free Art License
diff --git a/skycultures/japanese_moon_stations/info.ini b/skycultures/japanese_moon_stations/info.ini
index 4430d6aad7..d4ea0e343f 100644
--- a/skycultures/japanese_moon_stations/info.ini
+++ b/skycultures/japanese_moon_stations/info.ini
@@ -2,3 +2,4 @@
name = Japanese Moon Stations
author = Alexander Wolf
classification = historical
+license = CC BY-SA 4.0 International Public License
diff --git a/skycultures/kamilaroi/info.ini b/skycultures/kamilaroi/info.ini
index dfbadb7d12..e163546bb6 100644
--- a/skycultures/kamilaroi/info.ini
+++ b/skycultures/kamilaroi/info.ini
@@ -3,3 +3,4 @@ name = Kamilaroi/Euahlayi
author = Robert S. Fuller and Ghillar Michael Anderson
descriptionSource = Skyculture artwork © Ghillar Michael Anderson 2014. Stories in Description are the IP (Intellectual Property) of Ghillar Michael Anderson
classification = ethnographic
+license = CC BY-NC-ND 4.0 International Public License
diff --git a/skycultures/khoi-san/description.en.utf8 b/skycultures/khoi-san/description.en.utf8
index dd10766f26..cf8749ff17 100644
--- a/skycultures/khoi-san/description.en.utf8
+++ b/skycultures/khoi-san/description.en.utf8
@@ -15,7 +15,3 @@ Another Khoikhoi legend tells of some &#8220;great celestial beast&#8221; with t
They were modified using inputs and information from Themba Matomela, Thembela Mantungwa and Mdumiseni Nxumalo. The project was initiated by
Sivuyile Manxoyi after having discussions with Prof Jarita Holbrook and Prof Kevin Snedegar on African Cultural astronomy.</p>
-<h2>Licence</h2>
-<p>This sky culture is provided under CC BY-ND 4.0 International Public Licence (you can use it for any commercial and noncommercial
-purpose but credit the authors and do not change it. Thanks!).<br/>
-Please credit the <a href="https://cfah.org.za">Centre for Astronomical Heritage (CfAH)</a>.</p>
diff --git a/skycultures/khoi-san/info.ini b/skycultures/khoi-san/info.ini
index 15279acd11..73d119f788 100644
--- a/skycultures/khoi-san/info.ini
+++ b/skycultures/khoi-san/info.ini
@@ -1,3 +1,5 @@
[info]
name = Khoikhoi and San
classification = ethnographic
+license = CC BY-ND 4.0 International Public License
+credit = Centre for Astronomical Heritage (CfAH)
diff --git a/skycultures/korean/info.ini b/skycultures/korean/info.ini
index a6e0b35826..ed63ff34b8 100644
--- a/skycultures/korean/info.ini
+++ b/skycultures/korean/info.ini
@@ -1,3 +1,4 @@
[info]
name = Korean
classification = traditional
+license = GNU GPL v2.0
diff --git a/skycultures/lokono/info.ini b/skycultures/lokono/info.ini
index a3db3c17e5..1907af7cfe 100644
--- a/skycultures/lokono/info.ini
+++ b/skycultures/lokono/info.ini
@@ -2,3 +2,4 @@
name = Lokono
author = Konrad Rybka
classification = ethnographic
+license = CC BY-NC 4.0 International Public License
diff --git a/skycultures/macedonian/info.ini b/skycultures/macedonian/info.ini
index a9fa8bb97d..e8358f795d 100644
--- a/skycultures/macedonian/info.ini
+++ b/skycultures/macedonian/info.ini
@@ -1,3 +1,4 @@
[info]
name = Macedonian
classification = traditional
+license = GNU GPL v2.0
diff --git a/skycultures/maori/info.ini b/skycultures/maori/info.ini
index 30c166972e..4641e4e6a8 100644
--- a/skycultures/maori/info.ini
+++ b/skycultures/maori/info.ini
@@ -1,3 +1,4 @@
[info]
name = Maori
-classification = traditional \ No newline at end of file
+classification = traditional
+license = CC BY-SA 4.0 International Public License
diff --git a/skycultures/maya/info.ini b/skycultures/maya/info.ini
index 1b494cf7b7..5bda129fe0 100644
--- a/skycultures/maya/info.ini
+++ b/skycultures/maya/info.ini
@@ -2,4 +2,5 @@
name = Maya
author = Rodas-Mejuto
boundaries = none
-classification = historical \ No newline at end of file
+classification = historical
+license = CC BY-NC-SA 4.0 International Public License
diff --git a/skycultures/mongolian/info.ini b/skycultures/mongolian/info.ini
index 16b4878134..64998340c1 100644
--- a/skycultures/mongolian/info.ini
+++ b/skycultures/mongolian/info.ini
@@ -2,3 +2,4 @@
name = Mongolian
author = Anthony Lagain and Batiste Rousseau
classification = ethnographic
+license = CC BY-SA 4.0 International Public License
diff --git a/skycultures/navajo/info.ini b/skycultures/navajo/info.ini
index 9fd5c14700..0d0a98f1e3 100644
--- a/skycultures/navajo/info.ini
+++ b/skycultures/navajo/info.ini
@@ -1,3 +1,4 @@
[info]
name = Navajo
classification = ethnographic
+license = GNU GPL v2.0
diff --git a/skycultures/norse/info.ini b/skycultures/norse/info.ini
index 32a7c6ad25..98a6009b2c 100644
--- a/skycultures/norse/info.ini
+++ b/skycultures/norse/info.ini
@@ -2,3 +2,4 @@
name = Norse
author = Jonas Persson <jonas.persson@mna.hkr.se>
classification = incomplete
+license = CC BY-SA 4.0 International Public License
diff --git a/skycultures/northern_andes/info.ini b/skycultures/northern_andes/info.ini
index 85a111f748..cfa5a81adf 100644
--- a/skycultures/northern_andes/info.ini
+++ b/skycultures/northern_andes/info.ini
@@ -2,3 +2,4 @@
name = Northern Andes
author = Andres Ayala Quinatoa
classification = traditional
+license = GNU GPL v2.0
diff --git a/skycultures/ojibwe/description.en.utf8 b/skycultures/ojibwe/description.en.utf8
index 166d9c3060..ffeba2f9b6 100644
--- a/skycultures/ojibwe/description.en.utf8
+++ b/skycultures/ojibwe/description.en.utf8
@@ -50,7 +50,3 @@
<p>Constellation Paintings by A. Lee and W. Wilson.</p>
<p>Contact A. Lee at aslee@stcloudstate.edu for more information.</p>
-<h2>Licence</h2>
-<p>This SkyCulture is provided under CC BY-NC-ND 4.0 International Public licence. <br/>
-It allows you to use the unadapted work for noncommercial purposes only, and only as long as you give credit to the creator.
-You may also adapt the work for their own personal use but may not share any adaptations publicly.</p>
diff --git a/skycultures/ojibwe/info.ini b/skycultures/ojibwe/info.ini
index 4557963f7b..36ac14fb8f 100644
--- a/skycultures/ojibwe/info.ini
+++ b/skycultures/ojibwe/info.ini
@@ -1,3 +1,4 @@
[info]
name = Ojibwe
classification = traditional
+license = CC BY-NC-ND 4.0 International Public license
diff --git a/skycultures/romanian/description.en.utf8 b/skycultures/romanian/description.en.utf8
index 59a88885e5..dcbfda5537 100644
--- a/skycultures/romanian/description.en.utf8
+++ b/skycultures/romanian/description.en.utf8
@@ -25,4 +25,3 @@ Baia Mare Planetarium, as a result of a project called <em>Traditional Romanian
<em>Romanian peasants beliefs in stars and sky</em> by Ioan Otescu.
<p>The Romanian constellation lines, images, scripts and texts for movies prepared by <a href="mailto:rlodina@gmail.com">Radu Lodina</a>
and <a href="mailto:OviIgnat@yahoo.com">Ovidiu Ignat</a>. Romanian constellation art done by Zamfir Somcutean.<p>
-<p>All materials related to Traditional Romanian Constellations are released under Creative Commons Attribution-ShareAlike 3.0 Unported.</p>
diff --git a/skycultures/romanian/info.ini b/skycultures/romanian/info.ini
index 2116344888..7461075596 100644
--- a/skycultures/romanian/info.ini
+++ b/skycultures/romanian/info.ini
@@ -2,5 +2,5 @@
name = Romanian
author = Mircea Lite email: MirceaLite@yahoo.com
source = http://www.crt.ro.com
-license = Creative Commons Attribution-ShareAlike 3.0 Unported
classification = traditional
+license = CC BY-SA 3.0 Unported
diff --git a/skycultures/russian_siberian/info.ini b/skycultures/russian_siberian/info.ini
index 3862fd5200..33de146aba 100644
--- a/skycultures/russian_siberian/info.ini
+++ b/skycultures/russian_siberian/info.ini
@@ -2,3 +2,4 @@
name = Russian (Siberian)
author = Alexander Wolf
classification = ethnographic
+license = CC BY-SA 4.0 International Public License
diff --git a/skycultures/sami/info.ini b/skycultures/sami/info.ini
index d6af5d2b88..2a8440001d 100644
--- a/skycultures/sami/info.ini
+++ b/skycultures/sami/info.ini
@@ -1,3 +1,4 @@
[info]
name = Sami
classification = traditional
+license = CC BY-SA 4.0 International Public License
diff --git a/skycultures/sardinian/info.ini b/skycultures/sardinian/info.ini
index ebde04f5b6..6bccc3e6a6 100644
--- a/skycultures/sardinian/info.ini
+++ b/skycultures/sardinian/info.ini
@@ -3,3 +3,4 @@ name = Sardinian
author = Giuseppe Putzolu
descriptionSource = http://www.stellarium.org/wiki/index.php/Sky_cultures#Sardinian
classification = traditional
+license = GNU GPL v2.0
diff --git a/skycultures/tongan/info.ini b/skycultures/tongan/info.ini
index a2efabb726..aa349516fe 100644
--- a/skycultures/tongan/info.ini
+++ b/skycultures/tongan/info.ini
@@ -1,3 +1,4 @@
[info]
name = Tongan
classification = ethnographic
+license = CC BY-SA 4.0 International Public License
diff --git a/skycultures/tukano/info.ini b/skycultures/tukano/info.ini
index a0a99562aa..a8053e5550 100644
--- a/skycultures/tukano/info.ini
+++ b/skycultures/tukano/info.ini
@@ -3,3 +3,4 @@ name = Tukano
author = Youssif Ghantous Filho, Ticão "Antonio Gumercindo Taques dos Santos"
descriptionSource = ?
classification = ethnographic
+license = CC BY-SA 4.0 International Public License
diff --git a/skycultures/tupi/info.ini b/skycultures/tupi/info.ini
index a4e150fd5b..9ed4fd3baf 100644
--- a/skycultures/tupi/info.ini
+++ b/skycultures/tupi/info.ini
@@ -1,3 +1,4 @@
[info]
name = Tupi-Guarani
classification = ethnographic
+license = GNU GPL v2.0
diff --git a/skycultures/western/info.ini b/skycultures/western/info.ini
index 2a4174d209..34f90991a0 100644
--- a/skycultures/western/info.ini
+++ b/skycultures/western/info.ini
@@ -3,3 +3,4 @@ name = Western
author = Stellarium's team
boundaries = iau
classification = traditional
+license = CC BY-SA 4.0 International Public License + Free Art License
diff --git a/skycultures/western_SnT/info.ini b/skycultures/western_SnT/info.ini
index dc2363ca45..f3eab7377b 100644
--- a/skycultures/western_SnT/info.ini
+++ b/skycultures/western_SnT/info.ini
@@ -4,3 +4,4 @@ author = Paul Krizak <paul.krizak@gmail.com> and Jonathan E. Piskor <jonathan.e.
descriptionSource = https://www.skyandtelescope.com
boundaries = iau
classification = single
+license = CC BY-SA 2.0 License
diff --git a/skycultures/western_hlad/info.ini b/skycultures/western_hlad/info.ini
index 6c132f8b03..b1b70b71cc 100644
--- a/skycultures/western_hlad/info.ini
+++ b/skycultures/western_hlad/info.ini
@@ -4,3 +4,4 @@ author = Miroslav Broz
descriptionSource = Constellations according to classical Czech publication Hlad, Hovorka, Polechova, Weiselova (1988): Hvezdna obloha 2000.0. Praha: Geodeticky a kartograficky podnik.
boundaries = iau
classification = single
+license = GNU GPL v2.0
diff --git a/skycultures/western_rey/info.ini b/skycultures/western_rey/info.ini
index ef15ebded6..3a961e15cf 100644
--- a/skycultures/western_rey/info.ini
+++ b/skycultures/western_rey/info.ini
@@ -3,3 +3,4 @@ name = Western (H.A. Rey)
author = Mike Richards and Georg Zotti
boundaries = iau
classification = single
+license = CC BY-SA 4.0 International Public License
diff --git a/skycultures/xhosa/description.en.utf8 b/skycultures/xhosa/description.en.utf8
index 52c152ccb4..a5e48fa454 100644
--- a/skycultures/xhosa/description.en.utf8
+++ b/skycultures/xhosa/description.en.utf8
@@ -18,7 +18,3 @@
They were modified using inputs and information from Themba Matomela, Thembela Mantungwa and Mdumiseni Nxumalo. The project was initiated by
Sivuyile Manxoyi after having discussions with Prof Jarita Holbrook and Prof Kevin Snedegar on African Cultural astronomy.</p>
-<h2>Licence</h2>
-<p>This sky culture is provided under CC BY-ND 4.0 International Public Licence (you can use it for any commercial and noncommercial
-purpose but credit the authors and do not change it. Thanks!).<br/>
-Please credit the <a href="https://cfah.org.za">Centre for Astronomical Heritage (CfAH)</a>.</p>
diff --git a/skycultures/xhosa/info.ini b/skycultures/xhosa/info.ini
index a5c2081753..651dd46f7f 100644
--- a/skycultures/xhosa/info.ini
+++ b/skycultures/xhosa/info.ini
@@ -1,3 +1,5 @@
[info]
name = Xhosa
classification = ethnographic
+license = CC BY-ND 4.0 International Public License
+credit = Centre for Astronomical Heritage (CfAH)
diff --git a/skycultures/zulu/description.en.utf8 b/skycultures/zulu/description.en.utf8
index 43a961a741..8a701bc021 100644
--- a/skycultures/zulu/description.en.utf8
+++ b/skycultures/zulu/description.en.utf8
@@ -15,7 +15,3 @@
They were modified using inputs and information from Themba Matomela, Thembela Mantungwa and Mdumiseni Nxumalo. The project was initiated by
Sivuyile Manxoyi after having discussions with Prof Jarita Holbrook and Prof Kevin Snedegar on African Cultural astronomy.</p>
-<h2>Licence</h2>
-<p>This sky culture is provided under CC BY-ND 4.0 International Public Licence (you can use it for any commercial and noncommercial
-purpose but credit the authors and do not change it. Thanks!).<br/>
-Please credit the Centre for Astronomical Heritage (CfAH).</p>
diff --git a/skycultures/zulu/info.ini b/skycultures/zulu/info.ini
index d1b51a562f..baa1c82d79 100644
--- a/skycultures/zulu/info.ini
+++ b/skycultures/zulu/info.ini
@@ -1,3 +1,5 @@
[info]
name = Zulu
classification = ethnographic
+license = CC BY-ND 4.0 International Public License
+credit = Centre for Astronomical Heritage (CfAH)
diff --git a/src/core/StelSkyCultureMgr.cpp b/src/core/StelSkyCultureMgr.cpp
index d3d5e3a1a8..ecfec67b4a 100644
--- a/src/core/StelSkyCultureMgr.cpp
+++ b/src/core/StelSkyCultureMgr.cpp
@@ -51,7 +51,7 @@ StelSkyCultureMgr::StelSkyCultureMgr()
QSettings pd(pdFile, StelIniFormat);
dirToNameEnglish[dir].englishName = pd.value("info/name").toString();
dirToNameEnglish[dir].author = pd.value("info/author").toString();
- // TODO: Define license info (+separate license info for artwork?) and use it in description of skyculture like for plugins and scripts
+ dirToNameEnglish[dir].credit = pd.value("info/credit").toString();
dirToNameEnglish[dir].license = pd.value("info/license", "").toString();
QString boundariesStr = pd.value("info/boundaries", "none").toString();
static const QMap<QString, StelSkyCulture::BOUNDARIES>boundariesMap={
@@ -66,10 +66,10 @@ StelSkyCultureMgr::StelSkyCultureMgr()
qDebug() << "Skyculture " << dir << "'s boundaries is given with deprecated 'generic'. Please edit info.ini and change to 'iau'";
}
else if (!boundariesMap.contains(boundariesStr.toLower()))
- {
- qDebug() << "Skyculture " << dir << "'s boundaries value unknown:" << boundariesStr;
- qDebug() << "Please edit info.ini and change to a supported value. For now, this equals 'none'";
- }
+ {
+ qDebug() << "Skyculture " << dir << "'s boundaries value unknown:" << boundariesStr;
+ qDebug() << "Please edit info.ini and change to a supported value. For now, this equals 'none'";
+ }
dirToNameEnglish[dir].boundaries = boundaries;
// Use 'traditional' as default
QString classificationStr = pd.value("info/classification", "traditional").toString();
@@ -215,6 +215,66 @@ QString StelSkyCultureMgr::getCurrentSkyCultureHtmlClassification() const
return html;
}
+QString StelSkyCultureMgr::getCurrentSkyCultureHtmlLicense() const
+{
+ QString description, color, license = currentSkyCulture.license.trimmed();
+
+ if (license.isEmpty()) // License is not defined
+ {
+ color = "#2090ff"; // "blue" area
+ license = q_("unknown");
+ description = q_("This sky culture is provided under unknown license. Please ask authors for details about license for this sky culture.");
+ }
+ else
+ {
+ if (license.contains("GPL", Qt::CaseSensitive))
+ {
+ color = "#33ff33"; // "green" area; free license
+ description = q_("This sky culture is provided under GNU General Public License. You can use it for commercial and non-commercial purposes, freely adapt it and share adapted work.");
+ }
+ else if (license.startsWith("CC", Qt::CaseSensitive) || license.contains("Creative Commons", Qt::CaseInsensitive))
+ {
+ description = q_("This sky culture is provided under Creative Commons License.");
+ #if (QT_VERSION>=QT_VERSION_CHECK(5, 14, 0))
+ QStringList details = license.split(" ", Qt::SkipEmptyParts);
+ #else
+ QStringList details = license.split(" ", QString::SkipEmptyParts);
+ #endif
+
+ const QMap<QString, QString>options = {
+ { "BY", q_("You may distribute, remix, adapt, and build upon this sky culture, even commercially, as long as you credit authors for the original creation.") },
+ { "BY-SA", q_("You may remix, adapt, and build upon this sky culture even for commercial purposes, as long as you credit authors and license the new creations under the identical terms. This license is often compared to “copyleft” free and open source software licenses.") },
+ { "BY-ND", q_("You may reuse this sky culture for any purpose, including commercially; however, adapted work cannot be shared with others, and credit must be provided by you.") },
+ { "BY-NC", q_("You may remix, adapt, and build upon this sky culture non-commercially, and although your new works must also acknowledge authors and be non-commercial, you don’t have to license your derivative works on the same terms.") },
+ { "BY-NC-SA", q_("You may remix, adapt, and build upon this sky culture non-commercially, as long as you credit authors and license your new creations under the identical terms.") },
+ { "BY-NC-ND", q_("You may use this sky culture and share them with others as long as you credit authors, but you can’t change it in any way or use it commercially.") },
+ };
+
+ color = "#33ff33"; // "green" area; free license
+ if (license.contains("ND", Qt::CaseSensitive))
+ color = "#ffff00"; // "yellow" area; nonfree license - weak restrictions
+ if (license.contains("NC", Qt::CaseSensitive))
+ color = "#ff6633"; // "red" area; nonfree license - strong restrictions
+
+ if (!details.at(0).startsWith("CC0", Qt::CaseInsensitive)) // Not public domain!
+ description.append(QString(" %1").arg(options.value(details.at(1), "")));
+ else
+ description = q_("This sky culture is distributed as public domain.");
+ if (!currentSkyCulture.credit.isEmpty())
+ description.append(QString(" %1 %2").arg(q_("Please credit the"), currentSkyCulture.credit));
+ }
+
+ if (license.contains("FAL", Qt::CaseSensitive) || license.contains("Free Art License", Qt::CaseSensitive))
+ description.append(QString(" %1").arg(q_("Illustrations are provided under Free Art License that grants the right to freely copy, distribute, and transform.")));
+ }
+
+ QString html = QString();
+ if (!description.isEmpty()) // additional info for sky culture (metainfo): let's use italic
+ html = QString("<dl><dt><span style='color:%4;'>%5</span> <strong>%1: %2</strong></dt><dd><em>%3</em></dd></dl>").arg(q_("License"), license, description, color, QChar(0x25CF));
+
+ return html;
+}
+
bool StelSkyCultureMgr::setCurrentSkyCultureNameI18(const QString& cultureName)
{
return setCurrentSkyCultureID(skyCultureI18ToDirectory(cultureName));
@@ -285,6 +345,7 @@ QString StelSkyCultureMgr::getCurrentSkyCultureHtmlDescription() const
}
description.append(getCurrentSkyCultureHtmlReferences());
+ description.append(getCurrentSkyCultureHtmlLicense());
description.append(getCurrentSkyCultureHtmlClassification());
return description;
diff --git a/src/core/StelSkyCultureMgr.hpp b/src/core/StelSkyCultureMgr.hpp
index c1bfe6b6c2..d0d2e15698 100644
--- a/src/core/StelSkyCultureMgr.hpp
+++ b/src/core/StelSkyCultureMgr.hpp
@@ -90,6 +90,8 @@ public:
QString englishName;
//! Name of the author
QString author;
+ //! Credits info, when it is not equal to author field (optional)
+ QString credit;
//! The license
QString license;
//! Type of the boundaries (enum)
@@ -164,6 +166,9 @@ public slots:
//! @return a localized HTML description of the classification for the current sky culture
QString getCurrentSkyCultureHtmlClassification() const;
+ //! @return a localized HTML description of the license for the current sky culture
+ QString getCurrentSkyCultureHtmlLicense() const;
+
//! @return a localized HTML description of the references for the current sky culture
QString getCurrentSkyCultureHtmlReferences() const;