[release] 3.2.30
This commit is contained in:
commit
f84204ad70
@ -1,3 +1,5 @@
|
|||||||
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
---
|
---
|
||||||
BasedOnStyle: WebKit
|
BasedOnStyle: WebKit
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# http://EditorConfig.org
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
|
3
.gitattributes
vendored
3
.gitattributes
vendored
@ -1,3 +1,6 @@
|
|||||||
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
.editorconfig export-ignore
|
.editorconfig export-ignore
|
||||||
.gitattributes export-ignore
|
.gitattributes export-ignore
|
||||||
.github export-ignore
|
.github export-ignore
|
||||||
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,6 @@
|
|||||||
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
#
|
||||||
# C++ objects and libs
|
# C++ objects and libs
|
||||||
|
|
||||||
*.slo
|
*.slo
|
||||||
|
85
.reuse/dep5
Normal file
85
.reuse/dep5
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: Calamares
|
||||||
|
Source: https://github.com/calamares/calamares.git
|
||||||
|
|
||||||
|
### ACTUAL LICENSES
|
||||||
|
#
|
||||||
|
# Images in the locale module are a bit unclear; they were added
|
||||||
|
# by Teo in 2014 but I suspect they came from somewhere else.
|
||||||
|
#
|
||||||
|
Files: src/modules/locale/images/timezone*.png
|
||||||
|
License: GPL-3.0-or-later
|
||||||
|
Copyright: 2014 Teo Mrnjavac <teo@kde.org>
|
||||||
|
|
||||||
|
Files: man/calamares.8
|
||||||
|
License: GPL-3.0-or-later
|
||||||
|
Copyright: 2017 Jonathan Carter <jcarter@linux.com>
|
||||||
|
|
||||||
|
### BUILD ARTIFACTS / NOT SOURCE
|
||||||
|
#
|
||||||
|
# QRC Files are basically build artifacts
|
||||||
|
#
|
||||||
|
FILES: src/modules/*/*.qrc
|
||||||
|
License: CC0-1.0
|
||||||
|
Copyright: no
|
||||||
|
|
||||||
|
# GitHub issue templates are not part of the source
|
||||||
|
#
|
||||||
|
Files: .github/ISSUE_TEMPLATE/*
|
||||||
|
License: CC0-1.0
|
||||||
|
Copyright: no
|
||||||
|
|
||||||
|
# Packaging information
|
||||||
|
#
|
||||||
|
Files: data/FreeBSD/distinfo data/FreeBSD/pkg-descr data/FreeBSD/pkg-plist
|
||||||
|
License: CC0-1.0
|
||||||
|
Copyright: no
|
||||||
|
|
||||||
|
# Example data for timezones, which is copied out of zoneinfo,
|
||||||
|
# which has this notice:
|
||||||
|
#
|
||||||
|
# This file is in the public domain, so clarified as of
|
||||||
|
# 2009-05-17 by Arthur David Olson.
|
||||||
|
#
|
||||||
|
Files: data/example-root/usr/share/zoneinfo/Zulu data/example-root/usr/share/zoneinfo/UTC data/example-root/usr/share/zoneinfo/America/New_York
|
||||||
|
License: CC0-1.0
|
||||||
|
Copyright: no
|
||||||
|
|
||||||
|
### TRANSLATIONS
|
||||||
|
#
|
||||||
|
# .desktop files and template change only with translation
|
||||||
|
#
|
||||||
|
FILES: calamares.desktop*
|
||||||
|
License: CC0-1.0
|
||||||
|
Copyright: no
|
||||||
|
|
||||||
|
# Transifex translations derive from the source, and have no
|
||||||
|
# embedded copyright information.
|
||||||
|
#
|
||||||
|
Files: lang/*.ts
|
||||||
|
License: GPL-3.0-or-later
|
||||||
|
Copyright: 2020 Calamares authors and translators
|
||||||
|
|
||||||
|
# Translations of branding slideshow are the same
|
||||||
|
Files: src/branding/default/lang/*.ts
|
||||||
|
License: GPL-3.0-or-later
|
||||||
|
Copyright: 2020 Calamares authors and translators
|
||||||
|
|
||||||
|
# Python translation files have some copyright information, but
|
||||||
|
# it's generally very sketchy.
|
||||||
|
#
|
||||||
|
Files: lang/python.pot
|
||||||
|
License: GPL-3.0-or-later
|
||||||
|
Copyright: 2020 Calamares authors and translators
|
||||||
|
|
||||||
|
Files: lang/python/*/LC_MESSAGES/python.po
|
||||||
|
License: GPL-3.0-or-later
|
||||||
|
Copyright: 2020 Calamares authors and translators
|
||||||
|
|
||||||
|
Files: src/modules/dummypythonqt/lang/dummypythonqt.pot
|
||||||
|
License: GPL-3.0-or-later
|
||||||
|
Copyright: 2020 Calamares authors and translators
|
||||||
|
|
||||||
|
Files: src/modules/dummypythonqt/lang/*/LC_MESSAGES/dummypythonqt.po
|
||||||
|
License: GPL-3.0-or-later
|
||||||
|
Copyright: 2020 Calamares authors and translators
|
@ -1,3 +1,6 @@
|
|||||||
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
#
|
||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
python:
|
python:
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
[main]
|
[main]
|
||||||
host = https://www.transifex.com
|
host = https://www.transifex.com
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
* SPDX-FileCopyrightText: 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
* SPDX-License-Identifier: LGPL-2.0-only
|
* SPDX-License-Identifier: LGPL-2.0-only
|
||||||
* License-Filename: LICENSES/LGPLv2-KDAB
|
|
||||||
*
|
*
|
||||||
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
* SPDX-FileCopyrightText: 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
* SPDX-License-Identifier: LGPL-2.0-only
|
* SPDX-License-Identifier: LGPL-2.0-only
|
||||||
* License-Filename: LICENSES/LGPLv2-KDAB
|
|
||||||
*
|
*
|
||||||
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
* SPDX-FileCopyrightText: 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
* SPDX-License-Identifier: LGPL-2.0-only
|
* SPDX-License-Identifier: LGPL-2.0-only
|
||||||
* License-Filename: LICENSES/LGPLv2-KDAB
|
|
||||||
*
|
*
|
||||||
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
* SPDX-FileCopyrightText: 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
* SPDX-License-Identifier: LGPL-2.0-only
|
* SPDX-License-Identifier: LGPL-2.0-only
|
||||||
* License-Filename: LICENSES/LGPLv2-KDAB
|
|
||||||
*
|
*
|
||||||
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
* SPDX-FileCopyrightText: 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
* SPDX-License-Identifier: LGPL-2.0-only
|
* SPDX-License-Identifier: LGPL-2.0-only
|
||||||
* License-Filename: LICENSES/LGPLv2-KDAB
|
|
||||||
*
|
*
|
||||||
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
*/
|
*/
|
||||||
@ -1119,7 +1119,7 @@ void KDSingleApplicationGuard::Private::poll() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "moc_kdsingleapplicationguard.cpp"
|
// #include "moc_kdsingleapplicationguard.cpp"
|
||||||
|
|
||||||
#ifdef KDTOOLSCORE_UNITTESTS
|
#ifdef KDTOOLSCORE_UNITTESTS
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
* SPDX-FileCopyrightText: 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
* SPDX-License-Identifier: LGPL-2.0-only
|
* SPDX-License-Identifier: LGPL-2.0-only
|
||||||
* License-Filename: LICENSES/LGPLv2-KDAB
|
|
||||||
*
|
*
|
||||||
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
* SPDX-FileCopyrightText: 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
* SPDX-License-Identifier: LGPL-2.0-only
|
* SPDX-License-Identifier: LGPL-2.0-only
|
||||||
* License-Filename: LICENSES/LGPLv2-KDAB
|
|
||||||
*
|
*
|
||||||
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
* SPDX-FileCopyrightText: 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
* SPDX-License-Identifier: LGPL-2.0-only
|
* SPDX-License-Identifier: LGPL-2.0-only
|
||||||
* License-Filename: LICENSES/LGPLv2-KDAB
|
|
||||||
*
|
*
|
||||||
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
* SPDX-FileCopyrightText: 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
* SPDX-License-Identifier: LGPL-2.0-only
|
* SPDX-License-Identifier: LGPL-2.0-only
|
||||||
* License-Filename: LICENSES/LGPLv2-KDAB
|
|
||||||
*
|
*
|
||||||
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
* SPDX-FileCopyrightText: 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
* SPDX-License-Identifier: LGPL-2.0-only
|
* SPDX-License-Identifier: LGPL-2.0-only
|
||||||
* License-Filename: LICENSES/LGPLv2-KDAB
|
|
||||||
*
|
*
|
||||||
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
* The KD Tools Library is Copyright (C) 2001-2010 Klaralvdalens Datakonsult AB.
|
||||||
*/
|
*/
|
||||||
|
4
3rdparty/waitingspinnerwidget.cpp
vendored
4
3rdparty/waitingspinnerwidget.cpp
vendored
@ -1,6 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
|
* SPDX-FileCopyrightText: 2012-2014 Alexander Turkin
|
||||||
|
* SPDX-FileCopyrightText: 2014 William Hallatt
|
||||||
|
* SPDX-FileCopyrightText: 2015 Jacob Dawid
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
* License-Filename: LICENSES/MIT-QtWaitingSpinner
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Original Work Copyright (c) 2012-2014 Alexander Turkin
|
/* Original Work Copyright (c) 2012-2014 Alexander Turkin
|
||||||
|
5
3rdparty/waitingspinnerwidget.h
vendored
5
3rdparty/waitingspinnerwidget.h
vendored
@ -1,11 +1,14 @@
|
|||||||
/*
|
/*
|
||||||
|
* SPDX-FileCopyrightText: 2012-2014 Alexander Turkin
|
||||||
|
* SPDX-FileCopyrightText: 2014 William Hallatt
|
||||||
|
* SPDX-FileCopyrightText: 2015 Jacob Dawid
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
* License-Filename: LICENSES/MIT-QtWaitingSpinner
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Original Work Copyright (c) 2012-2014 Alexander Turkin
|
/* Original Work Copyright (c) 2012-2014 Alexander Turkin
|
||||||
Modified 2014 by William Hallatt
|
Modified 2014 by William Hallatt
|
||||||
Modified 2015 by Jacob Dawid
|
Modified 2015 by Jacob Dawid
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
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
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
the Software without restriction, including without limitation the rights to
|
the Software without restriction, including without limitation the rights to
|
||||||
|
4
AUTHORS
4
AUTHORS
@ -1,3 +1,7 @@
|
|||||||
|
<!-- SPDX-FileCopyrightText: no
|
||||||
|
SPDX-License-Identifier: CC0-1.0
|
||||||
|
-->
|
||||||
|
|
||||||
# MAINTAINER
|
# MAINTAINER
|
||||||
|
|
||||||
Calamares development is sponsored by Blue Systems GmbH - Liberating Software.
|
Calamares development is sponsored by Blue Systems GmbH - Liberating Software.
|
||||||
|
123
CHANGES
123
CHANGES
@ -1,18 +1,133 @@
|
|||||||
|
<!-- SPDX-FileCopyrightText: no
|
||||||
|
SPDX-License-Identifier: CC0-1.0
|
||||||
|
-->
|
||||||
|
|
||||||
This is the changelog for Calamares. For each release, the major changes and
|
This is the changelog for Calamares. For each release, the major changes and
|
||||||
contributors are listed. Note that Calamares does not have a historical
|
contributors are listed. Note that Calamares does not have a historical
|
||||||
changelog -- this log starts with version 3.2.0. The release notes on the
|
changelog -- this log starts with version 3.2.0. The release notes on the
|
||||||
website will have to do for older versions.
|
website will have to do for older versions.
|
||||||
|
|
||||||
# 3.2.28 (unreleased) #
|
# 3.2.30 (2020-09-03) #
|
||||||
|
|
||||||
This release contains contributions from (alphabetically by first name):
|
This release contains contributions from (alphabetically by first name):
|
||||||
- No external contributors yet
|
- Anke Boersma
|
||||||
|
- Asif Mahmud Shimon
|
||||||
|
- Manzoor Ahmed Munawar
|
||||||
|
- Sai Kamal
|
||||||
|
- Victor Ibragimov
|
||||||
|
|
||||||
|
This release has two giant source-code changes that have no effect
|
||||||
|
on functionality, but do touch each and every source file:
|
||||||
|
- SPDX headers for licensing information, following the standard
|
||||||
|
set by REUSE.software ; all source files and resources have
|
||||||
|
SPDX-License-Identifier information and copyright notices. All
|
||||||
|
of the boilerplate texts have been removed.
|
||||||
|
- Calamares coding style has been mechanically applied to the entire
|
||||||
|
codebase. This was already done to most of it, but there were
|
||||||
|
some hold-outs.
|
||||||
|
|
||||||
## Core ##
|
## Core ##
|
||||||
- No core changes yet
|
- Network access status is deprecated in Qt 5.15's QNetworkAccessManager,
|
||||||
|
and was not useful already in some previous versions. Replace its
|
||||||
|
use in the Calamares network service by testing-it-ourself directly
|
||||||
|
via a synchronous ping. (Thanks to Asif)
|
||||||
|
- New Telugu translation. (Thanks to Sai)
|
||||||
|
- Urdu translation started. (Thanks to Manzoor)
|
||||||
|
- Timezones translated in Tajik and Russian. (Thanks to Victor)
|
||||||
|
|
||||||
## Modules ##
|
## Modules ##
|
||||||
- No module changes yet
|
- *keyboardq* and *localeq* improvements. (Thanks to Anke)
|
||||||
|
- *users* module did not set up autologin properly. This is yet another
|
||||||
|
regression left over from 3.2.28. (Reported by Phil and pcrepix, #1498)
|
||||||
|
- *welcome* module now sets the *LANG* key in the locale configuration
|
||||||
|
(which is shared with the *locale* module and consumed by the
|
||||||
|
*localecfg* module). This makes it feasible to drop the *locale*
|
||||||
|
module and still set the installed system's language to the language
|
||||||
|
selected in Calamares. (Reported by FerenOS)
|
||||||
|
|
||||||
|
|
||||||
|
# 3.2.29 (2020-08-20) #
|
||||||
|
|
||||||
|
This release contains contributions from (alphabetically by first name):
|
||||||
|
- Asif Mahmud Shimon (new contributor! hi!)
|
||||||
|
|
||||||
|
## Core ##
|
||||||
|
- Edge case in extracting string-lists from YAML, reported and fixed
|
||||||
|
by Asif (#1491).
|
||||||
|
- Progress reporting is now more flexible. Modules can have a weight
|
||||||
|
assigned to them in the descriptor; module instances can have a weight
|
||||||
|
assigned which overrides the module descriptor. When jobs are run
|
||||||
|
for a module instance, the jobs report progress pro-rated by the
|
||||||
|
module's weight. Or in other words, it is now possible to tweak
|
||||||
|
the amount of the overall progress bar that different modules fill.
|
||||||
|
The default settings give unpackfs a weight of 12. (#1176)
|
||||||
|
|
||||||
|
## Modules ##
|
||||||
|
- The *users* module did not read the *defaultGroups* correctly.
|
||||||
|
Fixed by the string-lists change mentioned above.
|
||||||
|
|
||||||
|
|
||||||
|
# 3.2.28.3 (2020-08-18) #
|
||||||
|
|
||||||
|
Another hotfix, for more issues reported by Marco Obaid. Users
|
||||||
|
were not having a password set (#1489)
|
||||||
|
|
||||||
|
|
||||||
|
# 3.2.28.2 (2020-08-12) #
|
||||||
|
|
||||||
|
A second hotfix, for autologin support -- the autologin group was not
|
||||||
|
created in the target system before assigning the user to it. Reported
|
||||||
|
by Marco Obaid.
|
||||||
|
|
||||||
|
|
||||||
|
# 3.2.28.1 (2020-08-10) #
|
||||||
|
|
||||||
|
This is a hotfix release for #1482 and #1483, where no user was
|
||||||
|
created during installation and a chmod was failing (resulting in
|
||||||
|
a failed installation). Reported by Jonathan Riddell.
|
||||||
|
|
||||||
|
With incidental improvements in SPDX tagging (code licensing)
|
||||||
|
and some new icon options for the welcomeq and localeq modules.
|
||||||
|
|
||||||
|
|
||||||
|
# 3.2.28 (2020-08-09) #
|
||||||
|
|
||||||
|
This release contains contributions from (alphabetically by first name):
|
||||||
|
- Anke Boersma
|
||||||
|
- apt-ghetto
|
||||||
|
- Victor Ibragimov
|
||||||
|
|
||||||
|
## Core ##
|
||||||
|
- A new object *Network* is available to QML modules in `io.calamares.core`.
|
||||||
|
It exposes network status through the *hasInternet* property.
|
||||||
|
- Welcome to Tajik translations. The Tajik language has quickly reached
|
||||||
|
100% completion. Thanks Victor!
|
||||||
|
- Welcome to [Interlingue](https://en.wikipedia.org/wiki/Interlingue).
|
||||||
|
The translation is at an early stage. Qt does not support language
|
||||||
|
code *ie* though, so it may take some time to be integrated (much
|
||||||
|
like Esperanto wasn't supported until Qt 5.12).
|
||||||
|
|
||||||
|
## Modules ##
|
||||||
|
- The *locale* module has been completely redone on the inside.
|
||||||
|
Users should see no changes. #1391
|
||||||
|
- The *localeq* module uses the redone internals of the locale module.
|
||||||
|
It can now be used to set timezone, language and locale information
|
||||||
|
and is a suitable alternative module. Thanks to Anke Boersma who did
|
||||||
|
the work of figuring out maps. Note that the map uses several GeoIP
|
||||||
|
and GeoData providers and you may need to configure the URLs
|
||||||
|
with suitable usernames for those services. #1426
|
||||||
|
- Both *locale* and *localeq* can now be configured to use the system's
|
||||||
|
timezone setting -- this can be useful to avoid both hard-coding an
|
||||||
|
initial zone and doing extra GeoIP lookups, in the case where the
|
||||||
|
live system already does so. #1391
|
||||||
|
- The *locale* and *localeq* modules have additional machinery for
|
||||||
|
timezone lookups; please report cases where clicking on the map
|
||||||
|
returns an obviously bogus timezone (up until this release, for
|
||||||
|
instance, Cape Town).
|
||||||
|
- The *users* module no longer accepts `root` as a username. #1462
|
||||||
|
- The *keyboardq* module is now more inline with the look of the rest
|
||||||
|
of the Calamares modules, use of a background image is removed.
|
||||||
|
- The *grubcfg* module now understands `/etc/default/grub.d`. #1457
|
||||||
|
|
||||||
|
|
||||||
# 3.2.27 (2020-07-11) #
|
# 3.2.27 (2020-07-11) #
|
||||||
|
123
CMakeLists.txt
123
CMakeLists.txt
@ -1,20 +1,15 @@
|
|||||||
# === This file is part of Calamares - <https://github.com/calamares> ===
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
#
|
#
|
||||||
# Calamares is free software: you can redistribute it and/or modify
|
# SPDX-FileCopyrightText: 2017 Adriaan de Groot <groot@kde.org>
|
||||||
# it under the terms of the GNU General Public License as published by
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
#
|
||||||
# Calamares is distributed in the hope that it will be useful,
|
###
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# Calamares is Free Software: see the License-Identifier above.
|
||||||
# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# Individual files may have different licenses (like the CMake
|
||||||
# License-Filename: LICENSE
|
# infrastructure, which is BSD-2-Clause licensed). Check the SPDX
|
||||||
|
# identifiers in each file.
|
||||||
#
|
#
|
||||||
###
|
###
|
||||||
#
|
#
|
||||||
@ -46,7 +41,7 @@
|
|||||||
# TODO:3.3: Require CMake 3.12
|
# TODO:3.3: Require CMake 3.12
|
||||||
cmake_minimum_required( VERSION 3.3 FATAL_ERROR )
|
cmake_minimum_required( VERSION 3.3 FATAL_ERROR )
|
||||||
project( CALAMARES
|
project( CALAMARES
|
||||||
VERSION 3.2.27
|
VERSION 3.2.30
|
||||||
LANGUAGES C CXX )
|
LANGUAGES C CXX )
|
||||||
|
|
||||||
set( CALAMARES_VERSION_RC 0 ) # Set to 0 during release cycle, 1 during development
|
set( CALAMARES_VERSION_RC 0 ) # Set to 0 during release cycle, 1 during development
|
||||||
@ -140,20 +135,19 @@ set( CALAMARES_DESCRIPTION_SUMMARY
|
|||||||
# TODO: drop the es_ES translation from Transifex
|
# TODO: drop the es_ES translation from Transifex
|
||||||
#
|
#
|
||||||
# NOTE: move eo (Esperanto) to _ok once Qt can actually create a
|
# NOTE: move eo (Esperanto) to _ok once Qt can actually create a
|
||||||
# locale for it. (Qt 5.12.2 can, see check later on).
|
# locale for it. (Qt 5.12.2 can, see Translation Status section).
|
||||||
# NOTE: update these lines by running txstats.py, or copy these four lines
|
# NOTE: move ie (Interlingue) to _ok once Qt supports it.
|
||||||
# and prefix each variable name with "p", so that the automatic
|
# NOTE: update these lines by running `txstats.py`, or for full automation
|
||||||
# checks for new languages and misspelled ones are done (that is,
|
# `txstats.py -e`. See also
|
||||||
# copy these four lines to four backup lines, add "p", and then update
|
|
||||||
# the original four lines with the current translations).
|
|
||||||
#
|
#
|
||||||
# Total 66 languages
|
# Total 69 languages
|
||||||
set( _tx_complete az az_AZ ca he hi hr ja sq tr_TR uk zh_TW )
|
set( _tx_complete az az_AZ ca cs_CZ da fi_FI he hi hr ja nl pt_BR
|
||||||
set( _tx_good as ast be cs_CZ da de es fi_FI fr hu it_IT ko lt ml
|
sq sv tg tr_TR uk zh_TW )
|
||||||
nl pt_BR pt_PT ru sk sv zh_CN )
|
set( _tx_good as ast be de es fr hu it_IT ko lt ml pt_PT ru sk
|
||||||
set( _tx_ok ar bg el en_GB es_MX es_PR et eu fa gl id is mr nb pl
|
zh_CN )
|
||||||
ro sl sr sr@latin th )
|
set( _tx_ok ar bg bn el en_GB es_MX es_PR et eu fa gl id is mr nb
|
||||||
set( _tx_incomplete bn ca@valencia eo fr_CH gu kk kn lo lv mk ne_NP
|
pl ro sl sr sr@latin te th )
|
||||||
|
set( _tx_incomplete ca@valencia eo fr_CH gu ie kk kn lo lv mk ne_NP
|
||||||
ur uz )
|
ur uz )
|
||||||
|
|
||||||
### Required versions
|
### Required versions
|
||||||
@ -286,14 +280,6 @@ find_package( Qt5 ${QT_VERSION} CONFIG REQUIRED Concurrent Core Gui LinguistTool
|
|||||||
if( WITH_QML )
|
if( WITH_QML )
|
||||||
find_package( Qt5 ${QT_VERSION} CONFIG REQUIRED Quick QuickWidgets )
|
find_package( Qt5 ${QT_VERSION} CONFIG REQUIRED Quick QuickWidgets )
|
||||||
endif()
|
endif()
|
||||||
if( Qt5_VERSION VERSION_GREATER 5.12.1 )
|
|
||||||
# At least Qt 5.12.2 seems to support Esperanto in QLocale
|
|
||||||
if( "eo" IN_LIST _tx_incomplete )
|
|
||||||
message(STATUS "Esperanto support since Qt 5.12.2, enabling Esperanto locale")
|
|
||||||
list( REMOVE_ITEM _tx_incomplete "eo" )
|
|
||||||
list( APPEND _tx_ok "eo" )
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
# Optional Qt parts
|
# Optional Qt parts
|
||||||
find_package( Qt5DBus CONFIG )
|
find_package( Qt5DBus CONFIG )
|
||||||
|
|
||||||
@ -355,23 +341,33 @@ set_package_properties(
|
|||||||
URL "https://python.org"
|
URL "https://python.org"
|
||||||
PURPOSE "Python 3 interpreter for certain tests."
|
PURPOSE "Python 3 interpreter for certain tests."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set( _schema_explanation "" )
|
||||||
if ( PYTHONINTERP_FOUND )
|
if ( PYTHONINTERP_FOUND )
|
||||||
message(STATUS "Found Python 3 interpreter ${PYTHON_EXECUTABLE}")
|
|
||||||
if ( BUILD_SCHEMA_TESTING )
|
if ( BUILD_SCHEMA_TESTING )
|
||||||
# The configuration validator script has some dependencies,
|
# The configuration validator script has some dependencies,
|
||||||
# and if they are not installed, don't run. If errors out
|
# and if they are not installed, don't run. If errors out
|
||||||
# with exit(1) on missing dependencies.
|
# with exit(1) on missing dependencies.
|
||||||
|
if ( CALAMARES_CONFIGVALIDATOR_CHECKED )
|
||||||
|
set( _validator_deps ${CALAMARES_CONFIGVALIDATOR_RESULT} )
|
||||||
|
else()
|
||||||
exec_program( ${PYTHON_EXECUTABLE} ARGS "${CMAKE_SOURCE_DIR}/ci/configvalidator.py" -x RETURN_VALUE _validator_deps )
|
exec_program( ${PYTHON_EXECUTABLE} ARGS "${CMAKE_SOURCE_DIR}/ci/configvalidator.py" -x RETURN_VALUE _validator_deps )
|
||||||
|
set( CALAMARES_CONFIGVALIDATOR_CHECKED TRUE CACHE INTERNAL "Dependencies for configvalidator checked" )
|
||||||
|
set( CALAMARES_CONFIGVALIDATOR_RESULT ${_validator_deps} CACHE INTERNAL "Result of configvalidator dependency check" )
|
||||||
|
endif()
|
||||||
# It should never succeed, but only returns 1 when the imports fail
|
# It should never succeed, but only returns 1 when the imports fail
|
||||||
if ( _validator_deps EQUAL 1 )
|
if ( _validator_deps EQUAL 1 )
|
||||||
message(STATUS "BUILD_SCHEMA_TESTING dependencies are missing." )
|
set( _schema_explanation " Missing dependencies for configvalidator.py." )
|
||||||
set( BUILD_SCHEMA_TESTING OFF )
|
set( BUILD_SCHEMA_TESTING OFF )
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
# Can't run schema tests without Python3.
|
# Can't run schema tests without Python3.
|
||||||
|
set( _schema_explanation " Missing Python3." )
|
||||||
set( BUILD_SCHEMA_TESTING OFF )
|
set( BUILD_SCHEMA_TESTING OFF )
|
||||||
endif()
|
endif()
|
||||||
|
add_feature_info( yaml-schema BUILD_SCHEMA_TESTING "Validate YAML (config files) with schema.${_schema_explanation}" )
|
||||||
|
|
||||||
find_package( PythonLibs ${PYTHONLIBS_VERSION} )
|
find_package( PythonLibs ${PYTHONLIBS_VERSION} )
|
||||||
set_package_properties(
|
set_package_properties(
|
||||||
PythonLibs PROPERTIES
|
PythonLibs PROPERTIES
|
||||||
@ -419,30 +415,22 @@ set(Calamares_WITH_QML ${WITH_QML})
|
|||||||
|
|
||||||
### Transifex Translation status
|
### Transifex Translation status
|
||||||
#
|
#
|
||||||
# Construct language lists for use. If there are p_tx* variables,
|
# Construct language lists for use.
|
||||||
# then run an extra cmake-time check for consistency of the old
|
|
||||||
# (p_tx*) and new (_tx*) lists.
|
|
||||||
#
|
#
|
||||||
set( prev_tx ${p_tx_complete} ${p_tx_good} ${p_tx_ok} ${p_tx_incomplete} )
|
if( Qt5_VERSION VERSION_GREATER 5.12.1 )
|
||||||
|
# At least Qt 5.12.2 seems to support Esperanto in QLocale
|
||||||
|
if( "eo" IN_LIST _tx_incomplete )
|
||||||
|
message(STATUS "Esperanto support since Qt 5.12.2, enabling Esperanto locale")
|
||||||
|
list( REMOVE_ITEM _tx_incomplete "eo" )
|
||||||
|
list( APPEND _tx_ok "eo" )
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
set( curr_tx ${_tx_complete} ${_tx_good} ${_tx_ok} ${_tx_incomplete} )
|
set( curr_tx ${_tx_complete} ${_tx_good} ${_tx_ok} ${_tx_incomplete} )
|
||||||
set( tx_errors OFF )
|
set( tx_errors OFF )
|
||||||
if ( prev_tx )
|
if ( curr_tx )
|
||||||
# Gone in new list
|
|
||||||
foreach( l ${prev_tx} )
|
|
||||||
list( FIND curr_tx ${l} p_l )
|
|
||||||
if( p_l EQUAL -1 )
|
|
||||||
message(WARNING "Language ${l} was present in previous translations and is now absent.")
|
|
||||||
set( tx_errors ON )
|
|
||||||
endif()
|
|
||||||
endforeach()
|
|
||||||
|
|
||||||
# New in list
|
# New in list
|
||||||
foreach( l ${curr_tx} )
|
foreach( l ${curr_tx} )
|
||||||
list( FIND prev_tx ${l} p_l )
|
|
||||||
if( p_l EQUAL -1 )
|
|
||||||
message(WARNING "Language ${l} is new.")
|
|
||||||
set( tx_errors ON )
|
|
||||||
endif()
|
|
||||||
set( p_l "lang/calamares_${l}.ts" )
|
set( p_l "lang/calamares_${l}.ts" )
|
||||||
if( NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${p_l} )
|
if( NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${p_l} )
|
||||||
message(WARNING "Language ${l} has no .ts file yet.")
|
message(WARNING "Language ${l} has no .ts file yet.")
|
||||||
@ -453,7 +441,6 @@ if ( prev_tx )
|
|||||||
unset( p_l )
|
unset( p_l )
|
||||||
unset( l )
|
unset( l )
|
||||||
endif()
|
endif()
|
||||||
unset( prev_tx )
|
|
||||||
unset( curr_tx )
|
unset( curr_tx )
|
||||||
if( tx_errors )
|
if( tx_errors )
|
||||||
message( FATAL_ERROR "Translation warnings, see above." )
|
message( FATAL_ERROR "Translation warnings, see above." )
|
||||||
@ -464,14 +451,6 @@ list( SORT CALAMARES_TRANSLATION_LANGUAGES )
|
|||||||
|
|
||||||
add_subdirectory( lang ) # i18n tools
|
add_subdirectory( lang ) # i18n tools
|
||||||
|
|
||||||
if ( INSTALL_COMPLETION )
|
|
||||||
if( NOT CMAKE_INSTALL_BASHCOMPLETIONDIR )
|
|
||||||
set( CMAKE_INSTALL_BASHCOMPLETIONDIR "${CMAKE_INSTALL_DATADIR}/bash-completion/completions" )
|
|
||||||
endif()
|
|
||||||
|
|
||||||
install( FILES ${CMAKE_SOURCE_DIR}/data/completion/bash/calamares DESTINATION "${CMAKE_INSTALL_BASHCOMPLETIONDIR}" )
|
|
||||||
endif()
|
|
||||||
|
|
||||||
### Example Distro
|
### Example Distro
|
||||||
#
|
#
|
||||||
# For testing purposes Calamares includes a very, very, limited sample
|
# For testing purposes Calamares includes a very, very, limited sample
|
||||||
@ -536,7 +515,11 @@ if( CALAMARES_VERSION_RC )
|
|||||||
set( CALAMARES_VERSION ${CALAMARES_VERSION}rc${CALAMARES_VERSION_RC} )
|
set( CALAMARES_VERSION ${CALAMARES_VERSION}rc${CALAMARES_VERSION_RC} )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# additional info for non-release builds
|
# Additional info for non-release builds. The "extended" version information
|
||||||
|
# with date and git information (commit, dirty status) is used only
|
||||||
|
# by CalamaresVersionX.h, which is included by consumers that need a full
|
||||||
|
# version number with all that information; normal consumers can include
|
||||||
|
# CalamaresVersion.h with more stable numbers.
|
||||||
if( NOT BUILD_RELEASE AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git/" )
|
if( NOT BUILD_RELEASE AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git/" )
|
||||||
include( CMakeDateStamp )
|
include( CMakeDateStamp )
|
||||||
set( CALAMARES_VERSION_DATE "${CMAKE_DATESTAMP_YEAR}${CMAKE_DATESTAMP_MONTH}${CMAKE_DATESTAMP_DAY}" )
|
set( CALAMARES_VERSION_DATE "${CMAKE_DATESTAMP_YEAR}${CMAKE_DATESTAMP_MONTH}${CMAKE_DATESTAMP_DAY}" )
|
||||||
@ -657,6 +640,14 @@ if( INSTALL_POLKIT )
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if ( INSTALL_COMPLETION )
|
||||||
|
if( NOT CMAKE_INSTALL_BASHCOMPLETIONDIR )
|
||||||
|
set( CMAKE_INSTALL_BASHCOMPLETIONDIR "${CMAKE_INSTALL_DATADIR}/bash-completion/completions" )
|
||||||
|
endif()
|
||||||
|
|
||||||
|
install( FILES ${CMAKE_SOURCE_DIR}/data/completion/bash/calamares DESTINATION "${CMAKE_INSTALL_BASHCOMPLETIONDIR}" )
|
||||||
|
endif()
|
||||||
|
|
||||||
install(
|
install(
|
||||||
FILES calamares.desktop
|
FILES calamares.desktop
|
||||||
DESTINATION ${CMAKE_INSTALL_DATADIR}/applications
|
DESTINATION ${CMAKE_INSTALL_DATADIR}/applications
|
||||||
|
@ -1,3 +1,17 @@
|
|||||||
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2014 Aurélien Gâteau <agateau@kde.org>
|
||||||
|
# SPDX-FileCopyrightText: 2017 Adriaan de Groot <groot@kde.org>
|
||||||
|
# SPDX-FileCopyrightText: 2019 Kevin Kofler <kevin.kofler@chello.at>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
#
|
||||||
|
###
|
||||||
|
#
|
||||||
|
# Handles the mess that Boost::Python is before CMake 3.16 and
|
||||||
|
# Boost 1.70 or so.
|
||||||
|
#
|
||||||
|
###
|
||||||
|
#
|
||||||
# On Ubuntu 14.04, the libboost-python1.54-dev package comes with one library
|
# On Ubuntu 14.04, the libboost-python1.54-dev package comes with one library
|
||||||
# for each Python version:
|
# for each Python version:
|
||||||
# libboost_python-py27.so
|
# libboost_python-py27.so
|
||||||
|
@ -1,3 +1,14 @@
|
|||||||
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2014 Teo Mrnjavac <teo@kde.org>
|
||||||
|
# SPDX-FileCopyrightText: 2014 Kevin Kofler <kevin.kofler@chello.at>
|
||||||
|
# SPDX-FileCopyrightText: 2017 Adriaan de Groot <groot@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
#
|
||||||
|
###
|
||||||
|
#
|
||||||
|
# Defines a handful of strings that, with normal xterm handling,
|
||||||
|
# will change colors in the output, so it's nicer to read.
|
||||||
if(NOT WIN32)
|
if(NOT WIN32)
|
||||||
set(_use_color ON)
|
set(_use_color ON)
|
||||||
if("0" STREQUAL "$ENV{CLICOLOR}")
|
if("0" STREQUAL "$ENV{CLICOLOR}")
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2014 Teo Mrnjavac <teo@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
#
|
||||||
|
###
|
||||||
|
#
|
||||||
|
# Find today's date, for versioning purposes.
|
||||||
find_program(DATE_EXECUTABLE NAMES date)
|
find_program(DATE_EXECUTABLE NAMES date)
|
||||||
mark_as_advanced(DATE_EXECUTABLE)
|
mark_as_advanced(DATE_EXECUTABLE)
|
||||||
|
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2014 Teo Mrnjavac <teo@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
#
|
||||||
|
###
|
||||||
|
#
|
||||||
# Try to identify the current development source version.
|
# Try to identify the current development source version.
|
||||||
set(CMAKE_VERSION_SOURCE "")
|
set(CMAKE_VERSION_SOURCE "")
|
||||||
if(EXISTS ${CMAKE_SOURCE_DIR}/.git/HEAD)
|
if(EXISTS ${CMAKE_SOURCE_DIR}/.git/HEAD)
|
||||||
|
@ -1,20 +1,11 @@
|
|||||||
# === This file is part of Calamares - <https://github.com/calamares> ===
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
#
|
#
|
||||||
# Calamares is free software: you can redistribute it and/or modify
|
# SPDX-FileCopyrightText: 2014 Teo Mrnjavac <teo@kde.org>
|
||||||
# it under the terms of the GNU General Public License as published by
|
# SPDX-FileCopyrightText: 2017 Adriaan de Groot <groot@kde.org>
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
#
|
||||||
# Calamares is distributed in the hope that it will be useful,
|
# Calamares is Free Software: see the License-Identifier above.
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
# License-Filename: LICENSE
|
|
||||||
#
|
#
|
||||||
###
|
###
|
||||||
#
|
#
|
||||||
|
@ -1,20 +1,11 @@
|
|||||||
# === This file is part of Calamares - <https://github.com/calamares> ===
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
#
|
#
|
||||||
# Calamares is free software: you can redistribute it and/or modify
|
# SPDX-FileCopyrightText: 2014 Teo Mrnjavac <teo@kde.org>
|
||||||
# it under the terms of the GNU General Public License as published by
|
# SPDX-FileCopyrightText: 2017 Adriaan de Groot <groot@kde.org>
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
#
|
||||||
# Calamares is distributed in the hope that it will be useful,
|
# Calamares is Free Software: see the License-Identifier above.
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
# License-Filename: LICENSE
|
|
||||||
#
|
#
|
||||||
###
|
###
|
||||||
#
|
#
|
||||||
@ -62,10 +53,8 @@ function(calamares_add_library)
|
|||||||
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
# add resources from current dir
|
# add resources from current dir
|
||||||
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/${LIBRARY_RESOURCES}")
|
if(LIBRARY_RESOURCES)
|
||||||
qt5_add_resources(LIBRARY_RC_SOURCES "${LIBRARY_RESOURCES}")
|
list(APPEND LIBRARY_SOURCES ${LIBRARY_RESOURCES})
|
||||||
list(APPEND LIBRARY_SOURCES ${LIBRARY_RC_SOURCES})
|
|
||||||
unset(LIBRARY_RC_SOURCES)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# add target
|
# add target
|
||||||
@ -81,6 +70,9 @@ function(calamares_add_library)
|
|||||||
if(LIBRARY_UI)
|
if(LIBRARY_UI)
|
||||||
calamares_autouic(${target} ${LIBRARY_UI})
|
calamares_autouic(${target} ${LIBRARY_UI})
|
||||||
endif()
|
endif()
|
||||||
|
if(LIBRARY_RESOURCES)
|
||||||
|
calamares_autorcc(${target} ${LIBRARY_RESOURCES})
|
||||||
|
endif()
|
||||||
|
|
||||||
if(LIBRARY_EXPORT_MACRO)
|
if(LIBRARY_EXPORT_MACRO)
|
||||||
set_target_properties(${target} PROPERTIES COMPILE_DEFINITIONS ${LIBRARY_EXPORT_MACRO})
|
set_target_properties(${target} PROPERTIES COMPILE_DEFINITIONS ${LIBRARY_EXPORT_MACRO})
|
||||||
|
@ -1,20 +1,11 @@
|
|||||||
# === This file is part of Calamares - <https://github.com/calamares> ===
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
#
|
#
|
||||||
# Calamares is free software: you can redistribute it and/or modify
|
# SPDX-FileCopyrightText: 2014 Teo Mrnjavac <teo@kde.org>
|
||||||
# it under the terms of the GNU General Public License as published by
|
# SPDX-FileCopyrightText: 2017 Adriaan de Groot <groot@kde.org>
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
#
|
||||||
# Calamares is distributed in the hope that it will be useful,
|
# Calamares is Free Software: see the License-Identifier above.
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
# License-Filename: LICENSE
|
|
||||||
#
|
#
|
||||||
###
|
###
|
||||||
#
|
#
|
||||||
|
@ -1,20 +1,11 @@
|
|||||||
# === This file is part of Calamares - <https://github.com/calamares> ===
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
#
|
#
|
||||||
# Calamares is free software: you can redistribute it and/or modify
|
# SPDX-FileCopyrightText: 2014 Teo Mrnjavac <teo@kde.org>
|
||||||
# it under the terms of the GNU General Public License as published by
|
# SPDX-FileCopyrightText: 2019 Adriaan de Groot <groot@kde.org>
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
#
|
||||||
# Calamares is distributed in the hope that it will be useful,
|
# Calamares is Free Software: see the License-Identifier above.
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
# License-Filename: LICENSE
|
|
||||||
#
|
#
|
||||||
###
|
###
|
||||||
#
|
#
|
||||||
@ -41,6 +32,7 @@
|
|||||||
# [NO_CONFIG]
|
# [NO_CONFIG]
|
||||||
# [SHARED_LIB]
|
# [SHARED_LIB]
|
||||||
# [EMERGENCY]
|
# [EMERGENCY]
|
||||||
|
# [WEIGHT w]
|
||||||
# )
|
# )
|
||||||
#
|
#
|
||||||
# Function parameters:
|
# Function parameters:
|
||||||
@ -63,6 +55,9 @@
|
|||||||
# - EMERGENCY
|
# - EMERGENCY
|
||||||
# If this is set, the module is marked as an *emergency* module in the
|
# If this is set, the module is marked as an *emergency* module in the
|
||||||
# descriptor. See *Emergency Modules* in the module documentation.
|
# descriptor. See *Emergency Modules* in the module documentation.
|
||||||
|
# - WEIGHT
|
||||||
|
# If this is set, writes an explicit weight into the module.desc;
|
||||||
|
# module weights are used in progress reporting.
|
||||||
#
|
#
|
||||||
|
|
||||||
include( CMakeParseArguments )
|
include( CMakeParseArguments )
|
||||||
@ -73,7 +68,7 @@ function( calamares_add_plugin )
|
|||||||
# parse arguments ( name needs to be saved before passing ARGN into the macro )
|
# parse arguments ( name needs to be saved before passing ARGN into the macro )
|
||||||
set( NAME ${ARGV0} )
|
set( NAME ${ARGV0} )
|
||||||
set( options NO_CONFIG NO_INSTALL SHARED_LIB EMERGENCY )
|
set( options NO_CONFIG NO_INSTALL SHARED_LIB EMERGENCY )
|
||||||
set( oneValueArgs NAME TYPE EXPORT_MACRO RESOURCES )
|
set( oneValueArgs NAME TYPE EXPORT_MACRO RESOURCES WEIGHT )
|
||||||
set( multiValueArgs SOURCES UI LINK_LIBRARIES LINK_PRIVATE_LIBRARIES COMPILE_DEFINITIONS REQUIRES )
|
set( multiValueArgs SOURCES UI LINK_LIBRARIES LINK_PRIVATE_LIBRARIES COMPILE_DEFINITIONS REQUIRES )
|
||||||
cmake_parse_arguments( PLUGIN "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN} )
|
cmake_parse_arguments( PLUGIN "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN} )
|
||||||
set( PLUGIN_NAME ${NAME} )
|
set( PLUGIN_NAME ${NAME} )
|
||||||
@ -181,19 +176,31 @@ function( calamares_add_plugin )
|
|||||||
if ( PLUGIN_NO_CONFIG )
|
if ( PLUGIN_NO_CONFIG )
|
||||||
file( APPEND ${_file} "noconfig: true\n" )
|
file( APPEND ${_file} "noconfig: true\n" )
|
||||||
endif()
|
endif()
|
||||||
|
if ( PLUGIN_WEIGHT )
|
||||||
|
file( APPEND ${_file} "weight: ${PLUGIN_WEIGHT}\n" )
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if ( NOT PLUGIN_NO_INSTALL )
|
if ( NOT PLUGIN_NO_INSTALL )
|
||||||
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_DESC_FILE}
|
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_DESC_FILE}
|
||||||
DESTINATION ${PLUGIN_DESTINATION} )
|
DESTINATION ${PLUGIN_DESTINATION} )
|
||||||
|
|
||||||
|
set( _warned_config OFF )
|
||||||
foreach( PLUGIN_CONFIG_FILE ${PLUGIN_CONFIG_FILES} )
|
foreach( PLUGIN_CONFIG_FILE ${PLUGIN_CONFIG_FILES} )
|
||||||
|
if( ${CMAKE_CURRENT_SOURCE_DIR}/${PLUGIN_CONFIG_FILE} IS_NEWER_THAN ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_CONFIG_FILE} OR INSTALL_CONFIG )
|
||||||
configure_file( ${PLUGIN_CONFIG_FILE} ${PLUGIN_CONFIG_FILE} COPYONLY )
|
configure_file( ${PLUGIN_CONFIG_FILE} ${PLUGIN_CONFIG_FILE} COPYONLY )
|
||||||
|
else()
|
||||||
|
message( " ${BoldYellow}Not updating${ColorReset} ${PLUGIN_CONFIG_FILE}" )
|
||||||
|
set( _warned_config ON )
|
||||||
|
endif()
|
||||||
if ( INSTALL_CONFIG )
|
if ( INSTALL_CONFIG )
|
||||||
install(
|
install(
|
||||||
FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_CONFIG_FILE}
|
FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_CONFIG_FILE}
|
||||||
DESTINATION ${PLUGIN_DATA_DESTINATION} )
|
DESTINATION ${PLUGIN_DATA_DESTINATION} )
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
if ( _warned_config )
|
||||||
|
message( "" )
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
@ -1,20 +1,10 @@
|
|||||||
# === This file is part of Calamares - <https://github.com/calamares> ===
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
#
|
#
|
||||||
# Calamares is free software: you can redistribute it and/or modify
|
# SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
|
||||||
# it under the terms of the GNU General Public License as published by
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
#
|
||||||
# Calamares is distributed in the hope that it will be useful,
|
# Calamares is Free Software: see the License-Identifier above.
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
# License-Filename: LICENSE
|
|
||||||
#
|
#
|
||||||
###
|
###
|
||||||
#
|
#
|
||||||
|
@ -1,20 +1,10 @@
|
|||||||
# === This file is part of Calamares - <https://github.com/calamares> ===
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
#
|
#
|
||||||
# Calamares is free software: you can redistribute it and/or modify
|
# SPDX-FileCopyrightText: 2017 Adriaan de Groot <groot@kde.org>
|
||||||
# it under the terms of the GNU General Public License as published by
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
#
|
||||||
# Calamares is distributed in the hope that it will be useful,
|
# Calamares is Free Software: see the License-Identifier above.
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
# License-Filename: LICENSE
|
|
||||||
#
|
#
|
||||||
###
|
###
|
||||||
#
|
#
|
||||||
@ -22,104 +12,14 @@
|
|||||||
|
|
||||||
include( CMakeParseArguments )
|
include( CMakeParseArguments )
|
||||||
|
|
||||||
if( NOT _rcc_version_support_checked )
|
# The Gettext module is still old-fashioned, ALLCAPS variables
|
||||||
set( _rcc_version_support_checked TRUE )
|
find_package( Gettext )
|
||||||
|
set_package_properties( GETTEXT PROPERTIES
|
||||||
# Extract the executable name
|
DESCRIPTION "GNU gettext (translation) tools."
|
||||||
get_property( _rcc_executable
|
URL "https://www.gnu.org/software/gettext/"
|
||||||
TARGET ${Qt5Core_RCC_EXECUTABLE}
|
PURPOSE "Gettext is used in the translation of Python modules."
|
||||||
PROPERTY IMPORTED_LOCATION
|
TYPE REQUIRED
|
||||||
)
|
)
|
||||||
if( NOT _rcc_executable )
|
|
||||||
# Weird, probably now uses Qt5::rcc which is wrong too
|
|
||||||
set( _rcc_executable ${Qt5Core_RCC_EXECUTABLE} )
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Try an empty RCC file with explicit format-version
|
|
||||||
execute_process(
|
|
||||||
COMMAND echo "<RCC version='1.0'></RCC>"
|
|
||||||
COMMAND ${Qt5Core_RCC_EXECUTABLE} --format-version 1 --list -
|
|
||||||
RESULT_VARIABLE _rcc_version_rv
|
|
||||||
ERROR_VARIABLE _rcc_version_dump
|
|
||||||
)
|
|
||||||
if ( _rcc_version_rv EQUAL 0 )
|
|
||||||
# Supported: force to the reproducible version
|
|
||||||
set( _rcc_version_support --format-version 1 )
|
|
||||||
else()
|
|
||||||
# Older Qt versions (5.7, 5.8) don't support setting the
|
|
||||||
# rcc format-version, so won't be reproducible if they
|
|
||||||
# default to version 2.
|
|
||||||
set( _rcc_version_support "" )
|
|
||||||
endif()
|
|
||||||
unset( _rcc_version_rv )
|
|
||||||
unset( _rcc_version_dump )
|
|
||||||
endif()
|
|
||||||
|
|
||||||
|
|
||||||
# Internal macro for adding the C++ / Qt translations to the
|
|
||||||
# build and install tree. Should be called only once, from
|
|
||||||
# src/calamares/CMakeLists.txt.
|
|
||||||
macro(add_calamares_translations language)
|
|
||||||
list( APPEND CALAMARES_LANGUAGES ${ARGV} )
|
|
||||||
|
|
||||||
set( calamares_i18n_qrc_content "<!DOCTYPE RCC><RCC version=\"1.0\">\n" )
|
|
||||||
|
|
||||||
# calamares and qt language files
|
|
||||||
set( calamares_i18n_qrc_content "${calamares_i18n_qrc_content}<qresource prefix=\"/lang\">\n" )
|
|
||||||
foreach( lang ${CALAMARES_LANGUAGES} )
|
|
||||||
foreach( tlsource "calamares_${lang}" "tz_${lang}" )
|
|
||||||
if( EXISTS "${CMAKE_SOURCE_DIR}/lang/${tlsource}.ts" )
|
|
||||||
set( calamares_i18n_qrc_content "${calamares_i18n_qrc_content}<file>${tlsource}.qm</file>\n" )
|
|
||||||
list( APPEND TS_FILES "${CMAKE_SOURCE_DIR}/lang/${tlsource}.ts" )
|
|
||||||
endif()
|
|
||||||
endforeach()
|
|
||||||
endforeach()
|
|
||||||
|
|
||||||
set( calamares_i18n_qrc_content "${calamares_i18n_qrc_content}</qresource>\n" )
|
|
||||||
set( calamares_i18n_qrc_content "${calamares_i18n_qrc_content}</RCC>\n" )
|
|
||||||
|
|
||||||
file( WRITE ${CMAKE_BINARY_DIR}/lang/calamares_i18n.qrc "${calamares_i18n_qrc_content}" )
|
|
||||||
|
|
||||||
qt5_add_translation(QM_FILES ${TS_FILES})
|
|
||||||
|
|
||||||
## HACK HACK HACK - around rcc limitations to allow out of source-tree building
|
|
||||||
set( trans_file calamares_i18n )
|
|
||||||
set( trans_srcfile ${CMAKE_BINARY_DIR}/lang/${trans_file}.qrc )
|
|
||||||
set( trans_infile ${CMAKE_CURRENT_BINARY_DIR}/${trans_file}.qrc )
|
|
||||||
set( trans_outfile ${CMAKE_CURRENT_BINARY_DIR}/qrc_${trans_file}.cxx )
|
|
||||||
|
|
||||||
# Copy the QRC file to the output directory
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT ${trans_infile}
|
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy ${trans_srcfile} ${trans_infile}
|
|
||||||
MAIN_DEPENDENCY ${trans_srcfile}
|
|
||||||
)
|
|
||||||
|
|
||||||
# Run the resource compiler (rcc_options should already be set)
|
|
||||||
add_custom_command(
|
|
||||||
OUTPUT ${trans_outfile}
|
|
||||||
COMMAND "${Qt5Core_RCC_EXECUTABLE}"
|
|
||||||
ARGS ${rcc_options} ${_rcc_version_support} -name ${trans_file} -o ${trans_outfile} ${trans_infile}
|
|
||||||
MAIN_DEPENDENCY ${trans_infile}
|
|
||||||
DEPENDS ${QM_FILES}
|
|
||||||
)
|
|
||||||
endmacro()
|
|
||||||
|
|
||||||
# Internal macro for Python translations
|
|
||||||
#
|
|
||||||
# Translations of the Python modules that don't have their own
|
|
||||||
# lang/ subdirectories -- these are collected in top-level
|
|
||||||
# lang/python/<lang>/LC_MESSAGES/python.mo
|
|
||||||
macro(add_calamares_python_translations language)
|
|
||||||
set( CALAMARES_LANGUAGES "" )
|
|
||||||
list( APPEND CALAMARES_LANGUAGES ${ARGV} )
|
|
||||||
|
|
||||||
install_calamares_gettext_translations( python
|
|
||||||
SOURCE_DIR ${CMAKE_SOURCE_DIR}/lang/python
|
|
||||||
FILENAME python.mo
|
|
||||||
RENAME calamares-python.mo
|
|
||||||
)
|
|
||||||
endmacro()
|
|
||||||
|
|
||||||
# Installs a directory containing language-code-labeled subdirectories with
|
# Installs a directory containing language-code-labeled subdirectories with
|
||||||
# gettext data into the appropriate system directory. Allows renaming the
|
# gettext data into the appropriate system directory. Allows renaming the
|
||||||
@ -151,31 +51,52 @@ function( install_calamares_gettext_translations )
|
|||||||
if( NOT TRANSLATION_RENAME )
|
if( NOT TRANSLATION_RENAME )
|
||||||
set( TRANSLATION_RENAME "${TRANSLATION_FILENAME}" )
|
set( TRANSLATION_RENAME "${TRANSLATION_FILENAME}" )
|
||||||
endif()
|
endif()
|
||||||
|
string( REGEX REPLACE ".mo$" ".po" TRANSLATION_SOURCE_FILENAME "${TRANSLATION_FILENAME}" )
|
||||||
|
|
||||||
message(STATUS "Installing gettext translations for ${TRANSLATION_NAME}")
|
if ( GETTEXT_FOUND AND GETTEXT_MSGFMT_EXECUTABLE )
|
||||||
message(STATUS " Installing ${TRANSLATION_FILENAME} from ${TRANSLATION_SOURCE_DIR}")
|
message( STATUS "Installing gettext translations for ${TRANSLATION_NAME}")
|
||||||
|
message( STATUS " Installing ${TRANSLATION_FILENAME} from ${TRANSLATION_SOURCE_DIR}")
|
||||||
|
else()
|
||||||
|
message( WARNING "Gettext translations requested for ${TRANSLATION_NAME}, but gettext was not found." )
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set( TARGET_NAME calamares-gettext-translations-${NAME} )
|
||||||
|
if( NOT TARGET "${TARGET_NAME}" )
|
||||||
|
add_custom_target( "${TARGET_NAME}" ALL )
|
||||||
|
endif()
|
||||||
|
|
||||||
set( TRANSLATION_NAME "${NAME}" )
|
set( TRANSLATION_NAME "${NAME}" )
|
||||||
set( INSTALLED_TRANSLATIONS "" )
|
|
||||||
foreach( lang ${CALAMARES_TRANSLATION_LANGUAGES} ) # Global
|
foreach( lang ${CALAMARES_TRANSLATION_LANGUAGES} ) # Global
|
||||||
set( lang_mo "${TRANSLATION_SOURCE_DIR}/${lang}/LC_MESSAGES/${TRANSLATION_FILENAME}" )
|
string( MAKE_C_IDENTIFIER "${TARGET_NAME}-${lang}" TARGET_SUBNAME )
|
||||||
|
|
||||||
|
set( lang_po "${TRANSLATION_SOURCE_DIR}/${lang}/LC_MESSAGES/${TRANSLATION_SOURCE_FILENAME}" )
|
||||||
|
set( lang_mo_dir "${CMAKE_BINARY_DIR}/lang/${lang}/LC_MESSAGES" )
|
||||||
|
set( lang_mo "${lang_mo_dir}/${TRANSLATION_RENAME}" )
|
||||||
if( lang STREQUAL "en" )
|
if( lang STREQUAL "en" )
|
||||||
message( STATUS " Skipping ${TRANSLATION_NAME} translations for en_US" )
|
message( STATUS " Skipping ${TRANSLATION_NAME} translations for en_US" )
|
||||||
else( EXISTS ${lang_mo} )
|
else()
|
||||||
list( APPEND INSTALLED_LANGUAGES "${lang}" )
|
# We **don't** use the gettext macro's here because the source
|
||||||
|
# structure doesn't match: we are calling this once per language
|
||||||
|
# for all of Calamares's languages, while the gettext module
|
||||||
|
# expects it to be called once, for a given language source-dir.
|
||||||
|
#
|
||||||
|
# Using any of the gettext macros just gets us multiple rules
|
||||||
|
# for python.gmo, and it wants to use msgmerge, besides, which
|
||||||
|
# doesn't fit our Transifex workflow.
|
||||||
|
make_directory( ${lang_mo_dir} )
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT ${lang_mo}
|
||||||
|
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE}
|
||||||
|
ARGS -o ${lang_mo} ${lang_po}
|
||||||
|
MAIN_DEPENDENCY ${lang_po}
|
||||||
|
)
|
||||||
|
add_custom_target( "${TARGET_SUBNAME}" DEPENDS ${lang_mo} )
|
||||||
|
add_dependencies( "${TARGET_NAME}" "${TARGET_SUBNAME}" )
|
||||||
install(
|
install(
|
||||||
FILES ${lang_mo}
|
FILES ${lang_mo}
|
||||||
DESTINATION ${CMAKE_INSTALL_LOCALEDIR}/${lang}/LC_MESSAGES/
|
DESTINATION ${CMAKE_INSTALL_LOCALEDIR}/${lang}/LC_MESSAGES/
|
||||||
RENAME ${TRANSLATION_RENAME}
|
|
||||||
)
|
)
|
||||||
# TODO: make translations available in build dir too, for
|
|
||||||
# translation when running calamares -d from builddir.
|
|
||||||
set(_build_lc ${CMAKE_BINARY_DIR}/lang/${lang}/LC_MESSAGES/)
|
|
||||||
file(COPY ${lang_mo} DESTINATION ${_build_lc})
|
|
||||||
if (NOT TRANSLATION_FILENAME STREQUAL TRANSLATION_RENAME)
|
|
||||||
file(RENAME ${_build_lc}${TRANSLATION_FILENAME} ${_build_lc}${TRANSLATION_RENAME})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
@ -1,25 +1,17 @@
|
|||||||
# === This file is part of Calamares - <https://github.com/calamares> ===
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
#
|
#
|
||||||
# Calamares is free software: you can redistribute it and/or modify
|
# SPDX-FileCopyrightText: 2019 Adriaan de Groot <groot@kde.org>
|
||||||
# it under the terms of the GNU General Public License as published by
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
#
|
||||||
# Calamares is distributed in the hope that it will be useful,
|
# Calamares is Free Software: see the License-Identifier above.
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
# License-Filename: LICENSE
|
|
||||||
#
|
#
|
||||||
###
|
###
|
||||||
#
|
#
|
||||||
# Helper function for doing automoc on a target, and autoui on a .ui file.
|
# Helper function for doing automoc, autouic, autorcc on targets,
|
||||||
|
# and on the corresponding .ui or .rcc files.
|
||||||
#
|
#
|
||||||
|
# calamares_automoc(target)
|
||||||
# Sets AUTOMOC TRUE for a target.
|
# Sets AUTOMOC TRUE for a target.
|
||||||
#
|
#
|
||||||
# If the global variable CALAMARES_AUTOMOC_OPTIONS is set, uses that
|
# If the global variable CALAMARES_AUTOMOC_OPTIONS is set, uses that
|
||||||
@ -27,8 +19,17 @@
|
|||||||
# libcalamares/utils/moc-warnings.h file to the moc, which in turn
|
# libcalamares/utils/moc-warnings.h file to the moc, which in turn
|
||||||
# reduces compiler warnings in generated MOC code.
|
# reduces compiler warnings in generated MOC code.
|
||||||
#
|
#
|
||||||
|
# calamares_autouic(target [uifile ..])
|
||||||
|
# Sets AUTOUIC TRUE for a target.
|
||||||
|
#
|
||||||
# If the global variable CALAMARES_AUTOUIC_OPTIONS is set, adds that
|
# If the global variable CALAMARES_AUTOUIC_OPTIONS is set, adds that
|
||||||
# to the options passed to uic.
|
# to the options passed to uic for each of the named uifiles.
|
||||||
|
#
|
||||||
|
# calamares_autorcc(target [rcfile ..])
|
||||||
|
# Sets AUTOUIC TRUE for a target.
|
||||||
|
#
|
||||||
|
# If the global variable CALAMARES_AUTORCC_OPTIONS is set, adds that
|
||||||
|
# to the options passed to rcc for each of the named rcfiles.
|
||||||
|
|
||||||
function(calamares_automoc TARGET)
|
function(calamares_automoc TARGET)
|
||||||
set_target_properties( ${TARGET} PROPERTIES AUTOMOC TRUE )
|
set_target_properties( ${TARGET} PROPERTIES AUTOMOC TRUE )
|
||||||
@ -45,3 +46,12 @@ function(calamares_autouic TARGET)
|
|||||||
endforeach()
|
endforeach()
|
||||||
endif()
|
endif()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
|
function(calamares_autorcc TARGET)
|
||||||
|
set_target_properties( ${TARGET} PROPERTIES AUTORCC TRUE )
|
||||||
|
if ( CALAMARES_AUTORCC_OPTIONS )
|
||||||
|
foreach(S ${ARGN})
|
||||||
|
set_property(SOURCE ${S} PROPERTY AUTORCC_OPTIONS "${CALAMARES_AUTORCC_OPTIONS}")
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
endfunction()
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2014 Teo Mrnjavac <teo@kde.org>
|
||||||
|
# SPDX-FileCopyrightText: 2017 Adriaan de Groot <groot@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
#
|
||||||
|
###
|
||||||
|
#
|
||||||
# - Find libcrypt
|
# - Find libcrypt
|
||||||
# Find the libcrypt includes and the libcrypt libraries
|
# Find the libcrypt includes and the libcrypt libraries
|
||||||
# This module defines
|
# This module defines
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# Copyright (C) 2008,2010,2011 by Volker Lanz <vl@fidra.de>
|
# SPDX-FileCopyrightText: 2008,2010,2011 by Volker Lanz <vl@fidra.de>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions
|
# modification, are permitted provided that the following conditions
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2018 Adriaan de Groot <groot@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
#
|
||||||
|
###
|
||||||
|
#
|
||||||
# Locate libpwquality
|
# Locate libpwquality
|
||||||
# https://github.com/libpwquality/libpwquality
|
# https://github.com/libpwquality/libpwquality
|
||||||
#
|
#
|
||||||
@ -6,10 +13,16 @@
|
|||||||
# LibPWQuality_LIBRARIES, where to find the library
|
# LibPWQuality_LIBRARIES, where to find the library
|
||||||
# LibPWQuality_INCLUDE_DIRS, where to find pwquality.h
|
# LibPWQuality_INCLUDE_DIRS, where to find pwquality.h
|
||||||
#
|
#
|
||||||
include(FindPkgConfig)
|
find_package(PkgConfig)
|
||||||
include(FindPackageHandleStandardArgs)
|
include(FindPackageHandleStandardArgs)
|
||||||
|
|
||||||
pkg_search_module(pc_pwquality QUIET pwquality)
|
if(PkgConfig_FOUND)
|
||||||
|
pkg_search_module(pc_pwquality QUIET pwquality)
|
||||||
|
else()
|
||||||
|
# It's just possible that the find_path and find_library will
|
||||||
|
# find it **anyway**, so let's pretend it was there.
|
||||||
|
set(pc_pwquality_FOUND ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
find_path(LibPWQuality_INCLUDE_DIR
|
find_path(LibPWQuality_INCLUDE_DIR
|
||||||
NAMES pwquality.h
|
NAMES pwquality.h
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2016 Teo Mrnjavac <teo@kde.org>
|
||||||
|
# SPDX-FileCopyrightText: 2017 Adriaan de Groot <groot@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
#
|
||||||
|
###
|
||||||
|
#
|
||||||
# Find PythonQt
|
# Find PythonQt
|
||||||
#
|
#
|
||||||
# Sets PYTHONQT_FOUND, PYTHONQT_INCLUDE_DIR, PYTHONQT_LIBRARY, PYTHONQT_LIBRARIES
|
# Sets PYTHONQT_FOUND, PYTHONQT_INCLUDE_DIR, PYTHONQT_LIBRARY, PYTHONQT_LIBRARIES
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2014 Teo Mrnjavac <teo@kde.org>
|
||||||
|
# SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
#
|
||||||
|
###
|
||||||
|
#
|
||||||
# Locate yaml-cpp
|
# Locate yaml-cpp
|
||||||
#
|
#
|
||||||
# This module defines
|
# This module defines
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
# Shared CMake core for finding KPMCore
|
|
||||||
#
|
|
||||||
# This is wrapped into a CMake include file because there's a bunch of
|
|
||||||
# pre-requisites that need searching for before looking for KPMCore.
|
|
||||||
# If you just do find_package( KPMCore ) without finding the things
|
|
||||||
# it links against first, you get CMake errors.
|
|
||||||
#
|
|
||||||
#
|
|
||||||
find_package(ECM 5.10.0 REQUIRED NO_MODULE)
|
|
||||||
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_MODULE_PATH})
|
|
||||||
|
|
||||||
include(KDEInstallDirs)
|
|
||||||
include(GenerateExportHeader)
|
|
||||||
find_package( KF5 REQUIRED CoreAddons )
|
|
||||||
find_package( KF5 REQUIRED Config I18n Service WidgetsAddons )
|
|
||||||
|
|
||||||
find_package( KPMcore 3.2 REQUIRED )
|
|
@ -1,3 +1,10 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2014 Teo Mrnjavac <teo@kde.org>
|
||||||
|
# SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
#
|
||||||
|
# Note that Calamares itself is GPL-3.0-or-later: the above license
|
||||||
|
# applies to **this** CMake file.
|
||||||
|
#
|
||||||
# Config file for the Calamares package
|
# Config file for the Calamares package
|
||||||
#
|
#
|
||||||
# The following IMPORTED targets are defined:
|
# The following IMPORTED targets are defined:
|
||||||
|
@ -1,2 +1,5 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2017 Rohan Garg <rohan@garg.io>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
FROM kdeneon/all:user
|
FROM kdeneon/all:user
|
||||||
RUN sudo apt-get update && sudo apt-get -y install build-essential cmake extra-cmake-modules gettext kio-dev libatasmart-dev libboost-python-dev libkf5config-dev libkf5coreaddons-dev libkf5i18n-dev libkf5iconthemes-dev libkf5parts-dev libkf5service-dev libkf5solid-dev libkpmcore-dev libparted-dev libpolkit-qt5-1-dev libqt5svg5-dev libqt5webkit5-dev libyaml-cpp-dev os-prober pkg-config python3-dev qtbase5-dev qtdeclarative5-dev qttools5-dev qttools5-dev-tools
|
RUN sudo apt-get update && sudo apt-get -y install build-essential cmake extra-cmake-modules gettext kio-dev libatasmart-dev libboost-python-dev libkf5config-dev libkf5coreaddons-dev libkf5i18n-dev libkf5iconthemes-dev libkf5parts-dev libkf5service-dev libkf5solid-dev libkpmcore-dev libparted-dev libpolkit-qt5-1-dev libqt5svg5-dev libqt5webkit5-dev libyaml-cpp-dev os-prober pkg-config python3-dev qtbase5-dev qtdeclarative5-dev qttools5-dev qttools5-dev-tools
|
||||||
|
@ -1,49 +0,0 @@
|
|||||||
/****************************************************************************
|
|
||||||
**
|
|
||||||
** Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
** Contact: https://www.qt.io/licensing/
|
|
||||||
**
|
|
||||||
** This file is part of the examples of the Qt Toolkit.
|
|
||||||
**
|
|
||||||
** $QT_BEGIN_LICENSE:BSD$
|
|
||||||
** Commercial License Usage
|
|
||||||
** Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
** accordance with the commercial license agreement provided with the
|
|
||||||
** Software or, alternatively, in accordance with the terms contained in
|
|
||||||
** a written agreement between you and The Qt Company. For licensing terms
|
|
||||||
** and conditions see https://www.qt.io/terms-conditions. For further
|
|
||||||
** information use the contact form at https://www.qt.io/contact-us.
|
|
||||||
**
|
|
||||||
** BSD License Usage
|
|
||||||
** Alternatively, you may use this file under the terms of the BSD license
|
|
||||||
** as follows:
|
|
||||||
**
|
|
||||||
** "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 The Qt Company Ltd 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 THE COPYRIGHT
|
|
||||||
** OWNER 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."
|
|
||||||
**
|
|
||||||
** $QT_END_LICENSE$
|
|
||||||
**
|
|
||||||
****************************************************************************/
|
|
324
LICENSES/CC-BY-4.0.txt
Normal file
324
LICENSES/CC-BY-4.0.txt
Normal file
@ -0,0 +1,324 @@
|
|||||||
|
Creative Commons Attribution 4.0 International Creative Commons Corporation
|
||||||
|
("Creative Commons") is not a law firm and does not provide legal services
|
||||||
|
or legal advice. Distribution of Creative Commons public licenses does not
|
||||||
|
create a lawyer-client or other relationship. Creative Commons makes its licenses
|
||||||
|
and related information available on an "as-is" basis. Creative Commons gives
|
||||||
|
no warranties regarding its licenses, any material licensed under their terms
|
||||||
|
and conditions, or any related information. Creative Commons disclaims all
|
||||||
|
liability for damages resulting from their use to the fullest extent possible.
|
||||||
|
|
||||||
|
Using Creative Commons Public Licenses
|
||||||
|
|
||||||
|
Creative Commons public licenses provide a standard set of terms and conditions
|
||||||
|
that creators and other rights holders may use to share original works of
|
||||||
|
authorship and other material subject to copyright and certain other rights
|
||||||
|
specified in the public license below. The following considerations are for
|
||||||
|
informational purposes only, are not exhaustive, and do not form part of our
|
||||||
|
licenses.
|
||||||
|
|
||||||
|
Considerations for licensors: Our public licenses are intended for use by
|
||||||
|
those authorized to give the public permission to use material in ways otherwise
|
||||||
|
restricted by copyright and certain other rights. Our licenses are irrevocable.
|
||||||
|
Licensors should read and understand the terms and conditions of the license
|
||||||
|
they choose before applying it. Licensors should also secure all rights necessary
|
||||||
|
before applying our licenses so that the public can reuse the material as
|
||||||
|
expected. Licensors should clearly mark any material not subject to the license.
|
||||||
|
This includes other CC-licensed material, or material used under an exception
|
||||||
|
or limitation to copyright. More considerations for licensors : wiki.creativecommons.org/Considerations_for_licensors
|
||||||
|
|
||||||
|
Considerations for the public: By using one of our public licenses, a licensor
|
||||||
|
grants the public permission to use the licensed material under specified
|
||||||
|
terms and conditions. If the licensor's permission is not necessary for any
|
||||||
|
reason–for example, because of any applicable exception or limitation to copyright–then
|
||||||
|
that use is not regulated by the license. Our licenses grant only permissions
|
||||||
|
under copyright and certain other rights that a licensor has authority to
|
||||||
|
grant. Use of the licensed material may still be restricted for other reasons,
|
||||||
|
including because others have copyright or other rights in the material. A
|
||||||
|
licensor may make special requests, such as asking that all changes be marked
|
||||||
|
or described. Although not required by our licenses, you are encouraged to
|
||||||
|
respect those requests where reasonable. More considerations for the public
|
||||||
|
: wiki.creativecommons.org/Considerations_for_licensees Creative Commons Attribution
|
||||||
|
4.0 International Public License
|
||||||
|
|
||||||
|
By exercising the Licensed Rights (defined below), You accept and agree to
|
||||||
|
be bound by the terms and conditions of this Creative Commons Attribution
|
||||||
|
4.0 International Public License ("Public License"). To the extent this Public
|
||||||
|
License may be interpreted as a contract, You are granted the Licensed Rights
|
||||||
|
in consideration of Your acceptance of these terms and conditions, and the
|
||||||
|
Licensor grants You such rights in consideration of benefits the Licensor
|
||||||
|
receives from making the Licensed Material available under these terms and
|
||||||
|
conditions.
|
||||||
|
|
||||||
|
Section 1 – Definitions.
|
||||||
|
|
||||||
|
a. Adapted Material means material subject to Copyright and Similar Rights
|
||||||
|
that is derived from or based upon the Licensed Material and in which the
|
||||||
|
Licensed Material is translated, altered, arranged, transformed, or otherwise
|
||||||
|
modified in a manner requiring permission under the Copyright and Similar
|
||||||
|
Rights held by the Licensor. For purposes of this Public License, where the
|
||||||
|
Licensed Material is a musical work, performance, or sound recording, Adapted
|
||||||
|
Material is always produced where the Licensed Material is synched in timed
|
||||||
|
relation with a moving image.
|
||||||
|
|
||||||
|
b. Adapter's License means the license You apply to Your Copyright and Similar
|
||||||
|
Rights in Your contributions to Adapted Material in accordance with the terms
|
||||||
|
and conditions of this Public License.
|
||||||
|
|
||||||
|
c. Copyright and Similar Rights means copyright and/or similar rights closely
|
||||||
|
related to copyright including, without limitation, performance, broadcast,
|
||||||
|
sound recording, and Sui Generis Database Rights, without regard to how the
|
||||||
|
rights are labeled or categorized. For purposes of this Public License, the
|
||||||
|
rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
|
||||||
|
|
||||||
|
d. Effective Technological Measures means those measures that, in the absence
|
||||||
|
of proper authority, may not be circumvented under laws fulfilling obligations
|
||||||
|
under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996,
|
||||||
|
and/or similar international agreements.
|
||||||
|
|
||||||
|
e. Exceptions and Limitations means fair use, fair dealing, and/or any other
|
||||||
|
exception or limitation to Copyright and Similar Rights that applies to Your
|
||||||
|
use of the Licensed Material.
|
||||||
|
|
||||||
|
f. Licensed Material means the artistic or literary work, database, or other
|
||||||
|
material to which the Licensor applied this Public License.
|
||||||
|
|
||||||
|
g. Licensed Rights means the rights granted to You subject to the terms and
|
||||||
|
conditions of this Public License, which are limited to all Copyright and
|
||||||
|
Similar Rights that apply to Your use of the Licensed Material and that the
|
||||||
|
Licensor has authority to license.
|
||||||
|
|
||||||
|
h. Licensor means the individual(s) or entity(ies) granting rights under this
|
||||||
|
Public License.
|
||||||
|
|
||||||
|
i. Share means to provide material to the public by any means or process that
|
||||||
|
requires permission under the Licensed Rights, such as reproduction, public
|
||||||
|
display, public performance, distribution, dissemination, communication, or
|
||||||
|
importation, and to make material available to the public including in ways
|
||||||
|
that members of the public may access the material from a place and at a time
|
||||||
|
individually chosen by them.
|
||||||
|
|
||||||
|
j. Sui Generis Database Rights means rights other than copyright resulting
|
||||||
|
from Directive 96/9/EC of the European Parliament and of the Council of 11
|
||||||
|
March 1996 on the legal protection of databases, as amended and/or succeeded,
|
||||||
|
as well as other essentially equivalent rights anywhere in the world.
|
||||||
|
|
||||||
|
k. You means the individual or entity exercising the Licensed Rights under
|
||||||
|
this Public License. Your has a corresponding meaning.
|
||||||
|
|
||||||
|
Section 2 – Scope.
|
||||||
|
|
||||||
|
a. License grant.
|
||||||
|
|
||||||
|
1. Subject to the terms and conditions of this Public License, the Licensor
|
||||||
|
hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive,
|
||||||
|
irrevocable license to exercise the Licensed Rights in the Licensed Material
|
||||||
|
to:
|
||||||
|
|
||||||
|
A. reproduce and Share the Licensed Material, in whole or in part; and
|
||||||
|
|
||||||
|
B. produce, reproduce, and Share Adapted Material.
|
||||||
|
|
||||||
|
2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions
|
||||||
|
and Limitations apply to Your use, this Public License does not apply, and
|
||||||
|
You do not need to comply with its terms and conditions.
|
||||||
|
|
||||||
|
3. Term. The term of this Public License is specified in Section 6(a).
|
||||||
|
|
||||||
|
4. Media and formats; technical modifications allowed. The Licensor authorizes
|
||||||
|
You to exercise the Licensed Rights in all media and formats whether now known
|
||||||
|
or hereafter created, and to make technical modifications necessary to do
|
||||||
|
so. The Licensor waives and/or agrees not to assert any right or authority
|
||||||
|
to forbid You from making technical modifications necessary to exercise the
|
||||||
|
Licensed Rights, including technical modifications necessary to circumvent
|
||||||
|
Effective Technological Measures. For purposes of this Public License, simply
|
||||||
|
making modifications authorized by this Section 2(a)(4) never produces Adapted
|
||||||
|
Material.
|
||||||
|
|
||||||
|
5. Downstream recipients.
|
||||||
|
|
||||||
|
A. Offer from the Licensor – Licensed Material. Every recipient of the Licensed
|
||||||
|
Material automatically receives an offer from the Licensor to exercise the
|
||||||
|
Licensed Rights under the terms and conditions of this Public License.
|
||||||
|
|
||||||
|
B. No downstream restrictions. You may not offer or impose any additional
|
||||||
|
or different terms or conditions on, or apply any Effective Technological
|
||||||
|
Measures to, the Licensed Material if doing so restricts exercise of the Licensed
|
||||||
|
Rights by any recipient of the Licensed Material.
|
||||||
|
|
||||||
|
6. No endorsement. Nothing in this Public License constitutes or may be construed
|
||||||
|
as permission to assert or imply that You are, or that Your use of the Licensed
|
||||||
|
Material is, connected with, or sponsored, endorsed, or granted official status
|
||||||
|
by, the Licensor or others designated to receive attribution as provided in
|
||||||
|
Section 3(a)(1)(A)(i).
|
||||||
|
|
||||||
|
b. Other rights.
|
||||||
|
|
||||||
|
1. Moral rights, such as the right of integrity, are not licensed under this
|
||||||
|
Public License, nor are publicity, privacy, and/or other similar personality
|
||||||
|
rights; however, to the extent possible, the Licensor waives and/or agrees
|
||||||
|
not to assert any such rights held by the Licensor to the limited extent necessary
|
||||||
|
to allow You to exercise the Licensed Rights, but not otherwise.
|
||||||
|
|
||||||
|
2. Patent and trademark rights are not licensed under this Public License.
|
||||||
|
|
||||||
|
3. To the extent possible, the Licensor waives any right to collect royalties
|
||||||
|
from You for the exercise of the Licensed Rights, whether directly or through
|
||||||
|
a collecting society under any voluntary or waivable statutory or compulsory
|
||||||
|
licensing scheme. In all other cases the Licensor expressly reserves any right
|
||||||
|
to collect such royalties.
|
||||||
|
|
||||||
|
Section 3 – License Conditions.
|
||||||
|
|
||||||
|
Your exercise of the Licensed Rights is expressly made subject to the following
|
||||||
|
conditions.
|
||||||
|
|
||||||
|
a. Attribution.
|
||||||
|
|
||||||
|
1. If You Share the Licensed Material (including in modified form), You must:
|
||||||
|
|
||||||
|
A. retain the following if it is supplied by the Licensor with the Licensed
|
||||||
|
Material:
|
||||||
|
|
||||||
|
i. identification of the creator(s) of the Licensed Material and any others
|
||||||
|
designated to receive attribution, in any reasonable manner requested by the
|
||||||
|
Licensor (including by pseudonym if designated);
|
||||||
|
|
||||||
|
ii. a copyright notice;
|
||||||
|
|
||||||
|
iii. a notice that refers to this Public License;
|
||||||
|
|
||||||
|
iv. a notice that refers to the disclaimer of warranties;
|
||||||
|
|
||||||
|
v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
|
||||||
|
|
||||||
|
B. indicate if You modified the Licensed Material and retain an indication
|
||||||
|
of any previous modifications; and
|
||||||
|
|
||||||
|
C. indicate the Licensed Material is licensed under this Public License, and
|
||||||
|
include the text of, or the URI or hyperlink to, this Public License.
|
||||||
|
|
||||||
|
2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner
|
||||||
|
based on the medium, means, and context in which You Share the Licensed Material.
|
||||||
|
For example, it may be reasonable to satisfy the conditions by providing a
|
||||||
|
URI or hyperlink to a resource that includes the required information.
|
||||||
|
|
||||||
|
3. If requested by the Licensor, You must remove any of the information required
|
||||||
|
by Section 3(a)(1)(A) to the extent reasonably practicable.
|
||||||
|
|
||||||
|
4. If You Share Adapted Material You produce, the Adapter's License You apply
|
||||||
|
must not prevent recipients of the Adapted Material from complying with this
|
||||||
|
Public License.
|
||||||
|
|
||||||
|
Section 4 – Sui Generis Database Rights.
|
||||||
|
|
||||||
|
Where the Licensed Rights include Sui Generis Database Rights that apply to
|
||||||
|
Your use of the Licensed Material:
|
||||||
|
|
||||||
|
a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract,
|
||||||
|
reuse, reproduce, and Share all or a substantial portion of the contents of
|
||||||
|
the database;
|
||||||
|
|
||||||
|
b. if You include all or a substantial portion of the database contents in
|
||||||
|
a database in which You have Sui Generis Database Rights, then the database
|
||||||
|
in which You have Sui Generis Database Rights (but not its individual contents)
|
||||||
|
is Adapted Material; and
|
||||||
|
|
||||||
|
c. You must comply with the conditions in Section 3(a) if You Share all or
|
||||||
|
a substantial portion of the contents of the database.
|
||||||
|
|
||||||
|
For the avoidance of doubt, this Section 4 supplements and does not replace
|
||||||
|
Your obligations under this Public License where the Licensed Rights include
|
||||||
|
other Copyright and Similar Rights.
|
||||||
|
|
||||||
|
Section 5 – Disclaimer of Warranties and Limitation of Liability.
|
||||||
|
|
||||||
|
a. Unless otherwise separately undertaken by the Licensor, to the extent possible,
|
||||||
|
the Licensor offers the Licensed Material as-is and as-available, and makes
|
||||||
|
no representations or warranties of any kind concerning the Licensed Material,
|
||||||
|
whether express, implied, statutory, or other. This includes, without limitation,
|
||||||
|
warranties of title, merchantability, fitness for a particular purpose, non-infringement,
|
||||||
|
absence of latent or other defects, accuracy, or the presence or absence of
|
||||||
|
errors, whether or not known or discoverable. Where disclaimers of warranties
|
||||||
|
are not allowed in full or in part, this disclaimer may not apply to You.
|
||||||
|
|
||||||
|
b. To the extent possible, in no event will the Licensor be liable to You
|
||||||
|
on any legal theory (including, without limitation, negligence) or otherwise
|
||||||
|
for any direct, special, indirect, incidental, consequential, punitive, exemplary,
|
||||||
|
or other losses, costs, expenses, or damages arising out of this Public License
|
||||||
|
or use of the Licensed Material, even if the Licensor has been advised of
|
||||||
|
the possibility of such losses, costs, expenses, or damages. Where a limitation
|
||||||
|
of liability is not allowed in full or in part, this limitation may not apply
|
||||||
|
to You.
|
||||||
|
|
||||||
|
c. The disclaimer of warranties and limitation of liability provided above
|
||||||
|
shall be interpreted in a manner that, to the extent possible, most closely
|
||||||
|
approximates an absolute disclaimer and waiver of all liability.
|
||||||
|
|
||||||
|
Section 6 – Term and Termination.
|
||||||
|
|
||||||
|
a. This Public License applies for the term of the Copyright and Similar Rights
|
||||||
|
licensed here. However, if You fail to comply with this Public License, then
|
||||||
|
Your rights under this Public License terminate automatically.
|
||||||
|
|
||||||
|
b. Where Your right to use the Licensed Material has terminated under Section
|
||||||
|
6(a), it reinstates:
|
||||||
|
|
||||||
|
1. automatically as of the date the violation is cured, provided it is cured
|
||||||
|
within 30 days of Your discovery of the violation; or
|
||||||
|
|
||||||
|
2. upon express reinstatement by the Licensor.
|
||||||
|
|
||||||
|
c. For the avoidance of doubt, this Section 6(b) does not affect any right
|
||||||
|
the Licensor may have to seek remedies for Your violations of this Public
|
||||||
|
License.
|
||||||
|
|
||||||
|
d. For the avoidance of doubt, the Licensor may also offer the Licensed Material
|
||||||
|
under separate terms or conditions or stop distributing the Licensed Material
|
||||||
|
at any time; however, doing so will not terminate this Public License.
|
||||||
|
|
||||||
|
e. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
|
||||||
|
|
||||||
|
Section 7 – Other Terms and Conditions.
|
||||||
|
|
||||||
|
a. The Licensor shall not be bound by any additional or different terms or
|
||||||
|
conditions communicated by You unless expressly agreed.
|
||||||
|
|
||||||
|
b. Any arrangements, understandings, or agreements regarding the Licensed
|
||||||
|
Material not stated herein are separate from and independent of the terms
|
||||||
|
and conditions of this Public License.
|
||||||
|
|
||||||
|
Section 8 – Interpretation.
|
||||||
|
|
||||||
|
a. For the avoidance of doubt, this Public License does not, and shall not
|
||||||
|
be interpreted to, reduce, limit, restrict, or impose conditions on any use
|
||||||
|
of the Licensed Material that could lawfully be made without permission under
|
||||||
|
this Public License.
|
||||||
|
|
||||||
|
b. To the extent possible, if any provision of this Public License is deemed
|
||||||
|
unenforceable, it shall be automatically reformed to the minimum extent necessary
|
||||||
|
to make it enforceable. If the provision cannot be reformed, it shall be severed
|
||||||
|
from this Public License without affecting the enforceability of the remaining
|
||||||
|
terms and conditions.
|
||||||
|
|
||||||
|
c. No term or condition of this Public License will be waived and no failure
|
||||||
|
to comply consented to unless expressly agreed to by the Licensor.
|
||||||
|
|
||||||
|
d. Nothing in this Public License constitutes or may be interpreted as a limitation
|
||||||
|
upon, or waiver of, any privileges and immunities that apply to the Licensor
|
||||||
|
or You, including from the legal processes of any jurisdiction or authority.
|
||||||
|
|
||||||
|
Creative Commons is not a party to its public licenses. Notwithstanding, Creative
|
||||||
|
Commons may elect to apply one of its public licenses to material it publishes
|
||||||
|
and in those instances will be considered the "Licensor." The text of the
|
||||||
|
Creative Commons public licenses is dedicated to the public domain under the
|
||||||
|
CC0 Public Domain Dedication. Except for the limited purpose of indicating
|
||||||
|
that material is shared under a Creative Commons public license or as otherwise
|
||||||
|
permitted by the Creative Commons policies published at creativecommons.org/policies,
|
||||||
|
Creative Commons does not authorize the use of the trademark "Creative Commons"
|
||||||
|
or any other trademark or logo of Creative Commons without its prior written
|
||||||
|
consent including, without limitation, in connection with any unauthorized
|
||||||
|
modifications to any of its public licenses or any other arrangements, understandings,
|
||||||
|
or agreements concerning use of licensed material. For the avoidance of doubt,
|
||||||
|
this paragraph does not form part of the public licenses.
|
||||||
|
|
||||||
|
Creative Commons may be contacted at creativecommons.org.
|
119
LICENSES/CC0-1.0.txt
Normal file
119
LICENSES/CC0-1.0.txt
Normal file
@ -0,0 +1,119 @@
|
|||||||
|
Creative Commons Legal Code
|
||||||
|
|
||||||
|
CC0 1.0 Universal CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES
|
||||||
|
NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE
|
||||||
|
AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION
|
||||||
|
ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE USE
|
||||||
|
OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER, AND DISCLAIMS
|
||||||
|
LIABILITY FOR DAMAGES RESULTING FROM THE USE OF THIS DOCUMENT OR THE INFORMATION
|
||||||
|
OR WORKS PROVIDED HEREUNDER.
|
||||||
|
|
||||||
|
Statement of Purpose
|
||||||
|
|
||||||
|
The laws of most jurisdictions throughout the world automatically confer exclusive
|
||||||
|
Copyright and Related Rights (defined below) upon the creator and subsequent
|
||||||
|
owner(s) (each and all, an "owner") of an original work of authorship and/or
|
||||||
|
a database (each, a "Work").
|
||||||
|
|
||||||
|
Certain owners wish to permanently relinquish those rights to a Work for the
|
||||||
|
purpose of contributing to a commons of creative, cultural and scientific
|
||||||
|
works ("Commons") that the public can reliably and without fear of later claims
|
||||||
|
of infringement build upon, modify, incorporate in other works, reuse and
|
||||||
|
redistribute as freely as possible in any form whatsoever and for any purposes,
|
||||||
|
including without limitation commercial purposes. These owners may contribute
|
||||||
|
to the Commons to promote the ideal of a free culture and the further production
|
||||||
|
of creative, cultural and scientific works, or to gain reputation or greater
|
||||||
|
distribution for their Work in part through the use and efforts of others.
|
||||||
|
|
||||||
|
For these and/or other purposes and motivations, and without any expectation
|
||||||
|
of additional consideration or compensation, the person associating CC0 with
|
||||||
|
a Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
|
||||||
|
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
|
||||||
|
and publicly distribute the Work under its terms, with knowledge of his or
|
||||||
|
her Copyright and Related Rights in the Work and the meaning and intended
|
||||||
|
legal effect of CC0 on those rights.
|
||||||
|
|
||||||
|
1. Copyright and Related Rights. A Work made available under CC0 may be protected
|
||||||
|
by copyright and related or neighboring rights ("Copyright and Related Rights").
|
||||||
|
Copyright and Related Rights include, but are not limited to, the following:
|
||||||
|
|
||||||
|
i. the right to reproduce, adapt, distribute, perform, display, communicate,
|
||||||
|
and translate a Work;
|
||||||
|
|
||||||
|
ii. moral rights retained by the original author(s) and/or performer(s);
|
||||||
|
|
||||||
|
iii. publicity and privacy rights pertaining to a person's image or likeness
|
||||||
|
depicted in a Work;
|
||||||
|
|
||||||
|
iv. rights protecting against unfair competition in regards to a Work, subject
|
||||||
|
to the limitations in paragraph 4(a), below;
|
||||||
|
|
||||||
|
v. rights protecting the extraction, dissemination, use and reuse of data
|
||||||
|
in a Work;
|
||||||
|
|
||||||
|
vi. database rights (such as those arising under Directive 96/9/EC of the
|
||||||
|
European Parliament and of the Council of 11 March 1996 on the legal protection
|
||||||
|
of databases, and under any national implementation thereof, including any
|
||||||
|
amended or successor version of such directive); and
|
||||||
|
|
||||||
|
vii. other similar, equivalent or corresponding rights throughout the world
|
||||||
|
based on applicable law or treaty, and any national implementations thereof.
|
||||||
|
|
||||||
|
2. Waiver. To the greatest extent permitted by, but not in contravention of,
|
||||||
|
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
|
||||||
|
unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
|
||||||
|
and Related Rights and associated claims and causes of action, whether now
|
||||||
|
known or unknown (including existing as well as future claims and causes of
|
||||||
|
action), in the Work (i) in all territories worldwide, (ii) for the maximum
|
||||||
|
duration provided by applicable law or treaty (including future time extensions),
|
||||||
|
(iii) in any current or future medium and for any number of copies, and (iv)
|
||||||
|
for any purpose whatsoever, including without limitation commercial, advertising
|
||||||
|
or promotional purposes (the "Waiver"). Affirmer makes the Waiver for the
|
||||||
|
benefit of each member of the public at large and to the detriment of Affirmer's
|
||||||
|
heirs and successors, fully intending that such Waiver shall not be subject
|
||||||
|
to revocation, rescission, cancellation, termination, or any other legal or
|
||||||
|
equitable action to disrupt the quiet enjoyment of the Work by the public
|
||||||
|
as contemplated by Affirmer's express Statement of Purpose.
|
||||||
|
|
||||||
|
3. Public License Fallback. Should any part of the Waiver for any reason be
|
||||||
|
judged legally invalid or ineffective under applicable law, then the Waiver
|
||||||
|
shall be preserved to the maximum extent permitted taking into account Affirmer's
|
||||||
|
express Statement of Purpose. In addition, to the extent the Waiver is so
|
||||||
|
judged Affirmer hereby grants to each affected person a royalty-free, non
|
||||||
|
transferable, non sublicensable, non exclusive, irrevocable and unconditional
|
||||||
|
license to exercise Affirmer's Copyright and Related Rights in the Work (i)
|
||||||
|
in all territories worldwide, (ii) for the maximum duration provided by applicable
|
||||||
|
law or treaty (including future time extensions), (iii) in any current or
|
||||||
|
future medium and for any number of copies, and (iv) for any purpose whatsoever,
|
||||||
|
including without limitation commercial, advertising or promotional purposes
|
||||||
|
(the "License"). The License shall be deemed effective as of the date CC0
|
||||||
|
was applied by Affirmer to the Work. Should any part of the License for any
|
||||||
|
reason be judged legally invalid or ineffective under applicable law, such
|
||||||
|
partial invalidity or ineffectiveness shall not invalidate the remainder of
|
||||||
|
the License, and in such case Affirmer hereby affirms that he or she will
|
||||||
|
not (i) exercise any of his or her remaining Copyright and Related Rights
|
||||||
|
in the Work or (ii) assert any associated claims and causes of action with
|
||||||
|
respect to the Work, in either case contrary to Affirmer's express Statement
|
||||||
|
of Purpose.
|
||||||
|
|
||||||
|
4. Limitations and Disclaimers.
|
||||||
|
|
||||||
|
a. No trademark or patent rights held by Affirmer are waived, abandoned, surrendered,
|
||||||
|
licensed or otherwise affected by this document.
|
||||||
|
|
||||||
|
b. Affirmer offers the Work as-is and makes no representations or warranties
|
||||||
|
of any kind concerning the Work, express, implied, statutory or otherwise,
|
||||||
|
including without limitation warranties of title, merchantability, fitness
|
||||||
|
for a particular purpose, non infringement, or the absence of latent or other
|
||||||
|
defects, accuracy, or the present or absence of errors, whether or not discoverable,
|
||||||
|
all to the greatest extent permissible under applicable law.
|
||||||
|
|
||||||
|
c. Affirmer disclaims responsibility for clearing rights of other persons
|
||||||
|
that may apply to the Work or any use thereof, including without limitation
|
||||||
|
any person's Copyright and Related Rights in the Work. Further, Affirmer disclaims
|
||||||
|
responsibility for obtaining any necessary consents, permissions or other
|
||||||
|
rights required for any use of the Work.
|
||||||
|
|
||||||
|
d. Affirmer understands and acknowledges that Creative Commons is not a party
|
||||||
|
to this document and has no duty or obligation with respect to this CC0 or
|
||||||
|
use of the Work.
|
@ -1,383 +0,0 @@
|
|||||||
Unless otherwise *explicitly* stated the following text describes the
|
|
||||||
licensed conditions under which the contents of this libpwquality release
|
|
||||||
may be distributed:
|
|
||||||
|
|
||||||
-------------------------------------------------------------------------
|
|
||||||
Redistribution and use in source and binary forms of libpwquality, with
|
|
||||||
or without modification, are permitted provided that the following
|
|
||||||
conditions are met:
|
|
||||||
|
|
||||||
1. Redistributions of source code must retain any existing copyright
|
|
||||||
notice, and this entire permission notice in its entirety,
|
|
||||||
including the disclaimer of warranties.
|
|
||||||
|
|
||||||
2. Redistributions in binary form must reproduce all prior and current
|
|
||||||
copyright notices, this list of conditions, and the following
|
|
||||||
disclaimer in the documentation and/or other materials provided
|
|
||||||
with the distribution.
|
|
||||||
|
|
||||||
3. The name of any author may not be used to endorse or promote
|
|
||||||
products derived from this software without their specific prior
|
|
||||||
written permission.
|
|
||||||
|
|
||||||
ALTERNATIVELY, this product may be distributed under the terms of the
|
|
||||||
GNU General Public License version 2 or later, in which case the provisions
|
|
||||||
of the GNU GPL are required INSTEAD OF the above restrictions.
|
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED ``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 AUTHOR(S) 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.
|
|
||||||
|
|
||||||
The full text of the GNU GENERAL PUBLIC LICENSE Version 2 is included
|
|
||||||
below.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------------
|
|
||||||
|
|
||||||
GNU GENERAL PUBLIC LICENSE
|
|
||||||
Version 2, June 1991
|
|
||||||
|
|
||||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
|
||||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
of this license document, but changing it is not allowed.
|
|
||||||
|
|
||||||
Preamble
|
|
||||||
|
|
||||||
The licenses for most software are designed to take away your
|
|
||||||
freedom to share and change it. By contrast, the GNU General Public
|
|
||||||
License is intended to guarantee your freedom to share and change free
|
|
||||||
software--to make sure the software is free for all its users. This
|
|
||||||
General Public License applies to most of the Free Software
|
|
||||||
Foundation's software and to any other program whose authors commit to
|
|
||||||
using it. (Some other Free Software Foundation software is covered by
|
|
||||||
the GNU Library General Public License instead.) You can apply it to
|
|
||||||
your programs, too.
|
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
|
||||||
have the freedom to distribute copies of free software (and charge for
|
|
||||||
this service if you wish), that you receive source code or can get it
|
|
||||||
if you want it, that you can change the software or use pieces of it
|
|
||||||
in new free programs; and that you know you can do these things.
|
|
||||||
|
|
||||||
To protect your rights, we need to make restrictions that forbid
|
|
||||||
anyone to deny you these rights or to ask you to surrender the rights.
|
|
||||||
These restrictions translate to certain responsibilities for you if you
|
|
||||||
distribute copies of the software, or if you modify it.
|
|
||||||
|
|
||||||
For example, if you distribute copies of such a program, whether
|
|
||||||
gratis or for a fee, you must give the recipients all the rights that
|
|
||||||
you have. You must make sure that they, too, receive or can get the
|
|
||||||
source code. And you must show them these terms so they know their
|
|
||||||
rights.
|
|
||||||
|
|
||||||
We protect your rights with two steps: (1) copyright the software, and
|
|
||||||
(2) offer you this license which gives you legal permission to copy,
|
|
||||||
distribute and/or modify the software.
|
|
||||||
|
|
||||||
Also, for each author's protection and ours, we want to make certain
|
|
||||||
that everyone understands that there is no warranty for this free
|
|
||||||
software. If the software is modified by someone else and passed on, we
|
|
||||||
want its recipients to know that what they have is not the original, so
|
|
||||||
that any problems introduced by others will not reflect on the original
|
|
||||||
authors' reputations.
|
|
||||||
|
|
||||||
Finally, any free program is threatened constantly by software
|
|
||||||
patents. We wish to avoid the danger that redistributors of a free
|
|
||||||
program will individually obtain patent licenses, in effect making the
|
|
||||||
program proprietary. To prevent this, we have made it clear that any
|
|
||||||
patent must be licensed for everyone's free use or not licensed at all.
|
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
|
||||||
modification follow.
|
|
||||||
|
|
||||||
GNU GENERAL PUBLIC LICENSE
|
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
||||||
|
|
||||||
0. This License applies to any program or other work which contains
|
|
||||||
a notice placed by the copyright holder saying it may be distributed
|
|
||||||
under the terms of this General Public License. The "Program", below,
|
|
||||||
refers to any such program or work, and a "work based on the Program"
|
|
||||||
means either the Program or any derivative work under copyright law:
|
|
||||||
that is to say, a work containing the Program or a portion of it,
|
|
||||||
either verbatim or with modifications and/or translated into another
|
|
||||||
language. (Hereinafter, translation is included without limitation in
|
|
||||||
the term "modification".) Each licensee is addressed as "you".
|
|
||||||
|
|
||||||
Activities other than copying, distribution and modification are not
|
|
||||||
covered by this License; they are outside its scope. The act of
|
|
||||||
running the Program is not restricted, and the output from the Program
|
|
||||||
is covered only if its contents constitute a work based on the
|
|
||||||
Program (independent of having been made by running the Program).
|
|
||||||
Whether that is true depends on what the Program does.
|
|
||||||
|
|
||||||
1. You may copy and distribute verbatim copies of the Program's
|
|
||||||
source code as you receive it, in any medium, provided that you
|
|
||||||
conspicuously and appropriately publish on each copy an appropriate
|
|
||||||
copyright notice and disclaimer of warranty; keep intact all the
|
|
||||||
notices that refer to this License and to the absence of any warranty;
|
|
||||||
and give any other recipients of the Program a copy of this License
|
|
||||||
along with the Program.
|
|
||||||
|
|
||||||
You may charge a fee for the physical act of transferring a copy, and
|
|
||||||
you may at your option offer warranty protection in exchange for a fee.
|
|
||||||
|
|
||||||
2. You may modify your copy or copies of the Program or any portion
|
|
||||||
of it, thus forming a work based on the Program, and copy and
|
|
||||||
distribute such modifications or work under the terms of Section 1
|
|
||||||
above, provided that you also meet all of these conditions:
|
|
||||||
|
|
||||||
a) You must cause the modified files to carry prominent notices
|
|
||||||
stating that you changed the files and the date of any change.
|
|
||||||
|
|
||||||
b) You must cause any work that you distribute or publish, that in
|
|
||||||
whole or in part contains or is derived from the Program or any
|
|
||||||
part thereof, to be licensed as a whole at no charge to all third
|
|
||||||
parties under the terms of this License.
|
|
||||||
|
|
||||||
c) If the modified program normally reads commands interactively
|
|
||||||
when run, you must cause it, when started running for such
|
|
||||||
interactive use in the most ordinary way, to print or display an
|
|
||||||
announcement including an appropriate copyright notice and a
|
|
||||||
notice that there is no warranty (or else, saying that you provide
|
|
||||||
a warranty) and that users may redistribute the program under
|
|
||||||
these conditions, and telling the user how to view a copy of this
|
|
||||||
License. (Exception: if the Program itself is interactive but
|
|
||||||
does not normally print such an announcement, your work based on
|
|
||||||
the Program is not required to print an announcement.)
|
|
||||||
|
|
||||||
These requirements apply to the modified work as a whole. If
|
|
||||||
identifiable sections of that work are not derived from the Program,
|
|
||||||
and can be reasonably considered independent and separate works in
|
|
||||||
themselves, then this License, and its terms, do not apply to those
|
|
||||||
sections when you distribute them as separate works. But when you
|
|
||||||
distribute the same sections as part of a whole which is a work based
|
|
||||||
on the Program, the distribution of the whole must be on the terms of
|
|
||||||
this License, whose permissions for other licensees extend to the
|
|
||||||
entire whole, and thus to each and every part regardless of who wrote it.
|
|
||||||
|
|
||||||
Thus, it is not the intent of this section to claim rights or contest
|
|
||||||
your rights to work written entirely by you; rather, the intent is to
|
|
||||||
exercise the right to control the distribution of derivative or
|
|
||||||
collective works based on the Program.
|
|
||||||
|
|
||||||
In addition, mere aggregation of another work not based on the Program
|
|
||||||
with the Program (or with a work based on the Program) on a volume of
|
|
||||||
a storage or distribution medium does not bring the other work under
|
|
||||||
the scope of this License.
|
|
||||||
|
|
||||||
3. You may copy and distribute the Program (or a work based on it,
|
|
||||||
under Section 2) in object code or executable form under the terms of
|
|
||||||
Sections 1 and 2 above provided that you also do one of the following:
|
|
||||||
|
|
||||||
a) Accompany it with the complete corresponding machine-readable
|
|
||||||
source code, which must be distributed under the terms of Sections
|
|
||||||
1 and 2 above on a medium customarily used for software interchange; or,
|
|
||||||
|
|
||||||
b) Accompany it with a written offer, valid for at least three
|
|
||||||
years, to give any third party, for a charge no more than your
|
|
||||||
cost of physically performing source distribution, a complete
|
|
||||||
machine-readable copy of the corresponding source code, to be
|
|
||||||
distributed under the terms of Sections 1 and 2 above on a medium
|
|
||||||
customarily used for software interchange; or,
|
|
||||||
|
|
||||||
c) Accompany it with the information you received as to the offer
|
|
||||||
to distribute corresponding source code. (This alternative is
|
|
||||||
allowed only for noncommercial distribution and only if you
|
|
||||||
received the program in object code or executable form with such
|
|
||||||
an offer, in accord with Subsection b above.)
|
|
||||||
|
|
||||||
The source code for a work means the preferred form of the work for
|
|
||||||
making modifications to it. For an executable work, complete source
|
|
||||||
code means all the source code for all modules it contains, plus any
|
|
||||||
associated interface definition files, plus the scripts used to
|
|
||||||
control compilation and installation of the executable. However, as a
|
|
||||||
special exception, the source code distributed need not include
|
|
||||||
anything that is normally distributed (in either source or binary
|
|
||||||
form) with the major components (compiler, kernel, and so on) of the
|
|
||||||
operating system on which the executable runs, unless that component
|
|
||||||
itself accompanies the executable.
|
|
||||||
|
|
||||||
If distribution of executable or object code is made by offering
|
|
||||||
access to copy from a designated place, then offering equivalent
|
|
||||||
access to copy the source code from the same place counts as
|
|
||||||
distribution of the source code, even though third parties are not
|
|
||||||
compelled to copy the source along with the object code.
|
|
||||||
|
|
||||||
4. You may not copy, modify, sublicense, or distribute the Program
|
|
||||||
except as expressly provided under this License. Any attempt
|
|
||||||
otherwise to copy, modify, sublicense or distribute the Program is
|
|
||||||
void, and will automatically terminate your rights under this License.
|
|
||||||
However, parties who have received copies, or rights, from you under
|
|
||||||
this License will not have their licenses terminated so long as such
|
|
||||||
parties remain in full compliance.
|
|
||||||
|
|
||||||
5. You are not required to accept this License, since you have not
|
|
||||||
signed it. However, nothing else grants you permission to modify or
|
|
||||||
distribute the Program or its derivative works. These actions are
|
|
||||||
prohibited by law if you do not accept this License. Therefore, by
|
|
||||||
modifying or distributing the Program (or any work based on the
|
|
||||||
Program), you indicate your acceptance of this License to do so, and
|
|
||||||
all its terms and conditions for copying, distributing or modifying
|
|
||||||
the Program or works based on it.
|
|
||||||
|
|
||||||
6. Each time you redistribute the Program (or any work based on the
|
|
||||||
Program), the recipient automatically receives a license from the
|
|
||||||
original licensor to copy, distribute or modify the Program subject to
|
|
||||||
these terms and conditions. You may not impose any further
|
|
||||||
restrictions on the recipients' exercise of the rights granted herein.
|
|
||||||
You are not responsible for enforcing compliance by third parties to
|
|
||||||
this License.
|
|
||||||
|
|
||||||
7. If, as a consequence of a court judgment or allegation of patent
|
|
||||||
infringement or for any other reason (not limited to patent issues),
|
|
||||||
conditions are imposed on you (whether by court order, agreement or
|
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
|
||||||
excuse you from the conditions of this License. If you cannot
|
|
||||||
distribute so as to satisfy simultaneously your obligations under this
|
|
||||||
License and any other pertinent obligations, then as a consequence you
|
|
||||||
may not distribute the Program at all. For example, if a patent
|
|
||||||
license would not permit royalty-free redistribution of the Program by
|
|
||||||
all those who receive copies directly or indirectly through you, then
|
|
||||||
the only way you could satisfy both it and this License would be to
|
|
||||||
refrain entirely from distribution of the Program.
|
|
||||||
|
|
||||||
If any portion of this section is held invalid or unenforceable under
|
|
||||||
any particular circumstance, the balance of the section is intended to
|
|
||||||
apply and the section as a whole is intended to apply in other
|
|
||||||
circumstances.
|
|
||||||
|
|
||||||
It is not the purpose of this section to induce you to infringe any
|
|
||||||
patents or other property right claims or to contest validity of any
|
|
||||||
such claims; this section has the sole purpose of protecting the
|
|
||||||
integrity of the free software distribution system, which is
|
|
||||||
implemented by public license practices. Many people have made
|
|
||||||
generous contributions to the wide range of software distributed
|
|
||||||
through that system in reliance on consistent application of that
|
|
||||||
system; it is up to the author/donor to decide if he or she is willing
|
|
||||||
to distribute software through any other system and a licensee cannot
|
|
||||||
impose that choice.
|
|
||||||
|
|
||||||
This section is intended to make thoroughly clear what is believed to
|
|
||||||
be a consequence of the rest of this License.
|
|
||||||
|
|
||||||
8. If the distribution and/or use of the Program is restricted in
|
|
||||||
certain countries either by patents or by copyrighted interfaces, the
|
|
||||||
original copyright holder who places the Program under this License
|
|
||||||
may add an explicit geographical distribution limitation excluding
|
|
||||||
those countries, so that distribution is permitted only in or among
|
|
||||||
countries not thus excluded. In such case, this License incorporates
|
|
||||||
the limitation as if written in the body of this License.
|
|
||||||
|
|
||||||
9. The Free Software Foundation may publish revised and/or new versions
|
|
||||||
of the General Public License from time to time. Such new versions will
|
|
||||||
be similar in spirit to the present version, but may differ in detail to
|
|
||||||
address new problems or concerns.
|
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the Program
|
|
||||||
specifies a version number of this License which applies to it and "any
|
|
||||||
later version", you have the option of following the terms and conditions
|
|
||||||
either of that version or of any later version published by the Free
|
|
||||||
Software Foundation. If the Program does not specify a version number of
|
|
||||||
this License, you may choose any version ever published by the Free Software
|
|
||||||
Foundation.
|
|
||||||
|
|
||||||
10. If you wish to incorporate parts of the Program into other free
|
|
||||||
programs whose distribution conditions are different, write to the author
|
|
||||||
to ask for permission. For software which is copyrighted by the Free
|
|
||||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
|
||||||
make exceptions for this. Our decision will be guided by the two goals
|
|
||||||
of preserving the free status of all derivatives of our free software and
|
|
||||||
of promoting the sharing and reuse of software generally.
|
|
||||||
|
|
||||||
NO WARRANTY
|
|
||||||
|
|
||||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
|
||||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
|
||||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
|
||||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
|
||||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
||||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
|
||||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
|
||||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
|
||||||
REPAIR OR CORRECTION.
|
|
||||||
|
|
||||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
|
||||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
|
||||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
|
||||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
|
||||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
|
||||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
|
||||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
|
||||||
POSSIBILITY OF SUCH DAMAGES.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
How to Apply These Terms to Your New Programs
|
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest
|
|
||||||
possible use to the public, the best way to achieve this is to make it
|
|
||||||
free software which everyone can redistribute and change under these terms.
|
|
||||||
|
|
||||||
To do so, attach the following notices to the program. It is safest
|
|
||||||
to attach them to the start of each source file to most effectively
|
|
||||||
convey the exclusion of warranty; and each file should have at least
|
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
|
||||||
|
|
||||||
<one line to give the program's name and a brief idea of what it does.>
|
|
||||||
Copyright (C) <year> <name of author>
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
||||||
|
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
|
||||||
|
|
||||||
If the program is interactive, make it output a short notice like this
|
|
||||||
when it starts in an interactive mode:
|
|
||||||
|
|
||||||
Gnomovision version 69, Copyright (C) year name of author
|
|
||||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
|
||||||
This is free software, and you are welcome to redistribute it
|
|
||||||
under certain conditions; type `show c' for details.
|
|
||||||
|
|
||||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
|
||||||
parts of the General Public License. Of course, the commands you use may
|
|
||||||
be called something other than `show w' and `show c'; they could even be
|
|
||||||
mouse-clicks or menu items--whatever suits your program.
|
|
||||||
|
|
||||||
You should also get your employer (if you work as a programmer) or your
|
|
||||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
|
||||||
necessary. Here is a sample; alter the names:
|
|
||||||
|
|
||||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
|
||||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
|
||||||
|
|
||||||
<signature of Ty Coon>, 1 April 1989
|
|
||||||
Ty Coon, President of Vice
|
|
||||||
|
|
||||||
This General Public License does not permit incorporating your program into
|
|
||||||
proprietary programs. If your program is a subroutine library, you may
|
|
||||||
consider it more useful to permit linking proprietary applications with the
|
|
||||||
library. If this is what you want to do, use the GNU Library General
|
|
||||||
Public License instead of this License.
|
|
@ -1,16 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2012, Christian Muehlhaeuser <muesli@tomahawk-player.org>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
467
LICENSES/LGPL-2.1-only.txt
Normal file
467
LICENSES/LGPL-2.1-only.txt
Normal file
@ -0,0 +1,467 @@
|
|||||||
|
GNU LESSER GENERAL PUBLIC LICENSE
|
||||||
|
|
||||||
|
Version 2.1, February 1999
|
||||||
|
|
||||||
|
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies of this license
|
||||||
|
document, but changing it is not allowed.
|
||||||
|
|
||||||
|
[This is the first released version of the Lesser GPL. It also counts as the
|
||||||
|
successor of the GNU Library Public License, version 2, hence the version
|
||||||
|
number 2.1.]
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your freedom to share
|
||||||
|
and change it. By contrast, the GNU General Public Licenses are intended to
|
||||||
|
guarantee your freedom to share and change free software--to make sure the
|
||||||
|
software is free for all its users.
|
||||||
|
|
||||||
|
This license, the Lesser General Public License, applies to some specially
|
||||||
|
designated software packages--typically libraries--of the Free Software Foundation
|
||||||
|
and other authors who decide to use it. You can use it too, but we suggest
|
||||||
|
you first think carefully about whether this license or the ordinary General
|
||||||
|
Public License is the better strategy to use in any particular case, based
|
||||||
|
on the explanations below.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom of use, not price.
|
||||||
|
Our General Public Licenses are designed to make sure that you have the freedom
|
||||||
|
to distribute copies of free software (and charge for this service if you
|
||||||
|
wish); that you receive source code or can get it if you want it; that you
|
||||||
|
can change the software and use pieces of it in new free programs; and that
|
||||||
|
you are informed that you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to make restrictions that forbid distributors
|
||||||
|
to deny you these rights or to ask you to surrender these rights. These restrictions
|
||||||
|
translate to certain responsibilities for you if you distribute copies of
|
||||||
|
the library or if you modify it.
|
||||||
|
|
||||||
|
For example, if you distribute copies of the library, whether gratis or for
|
||||||
|
a fee, you must give the recipients all the rights that we gave you. You must
|
||||||
|
make sure that they, too, receive or can get the source code. If you link
|
||||||
|
other code with the library, you must provide complete object files to the
|
||||||
|
recipients, so that they can relink them with the library after making changes
|
||||||
|
to the library and recompiling it. And you must show them these terms so they
|
||||||
|
know their rights.
|
||||||
|
|
||||||
|
We protect your rights with a two-step method: (1) we copyright the library,
|
||||||
|
and (2) we offer you this license, which gives you legal permission to copy,
|
||||||
|
distribute and/or modify the library.
|
||||||
|
|
||||||
|
To protect each distributor, we want to make it very clear that there is no
|
||||||
|
warranty for the free library. Also, if the library is modified by someone
|
||||||
|
else and passed on, the recipients should know that what they have is not
|
||||||
|
the original version, so that the original author's reputation will not be
|
||||||
|
affected by problems that might be introduced by others.
|
||||||
|
|
||||||
|
Finally, software patents pose a constant threat to the existence of any free
|
||||||
|
program. We wish to make sure that a company cannot effectively restrict the
|
||||||
|
users of a free program by obtaining a restrictive license from a patent holder.
|
||||||
|
Therefore, we insist that any patent license obtained for a version of the
|
||||||
|
library must be consistent with the full freedom of use specified in this
|
||||||
|
license.
|
||||||
|
|
||||||
|
Most GNU software, including some libraries, is covered by the ordinary GNU
|
||||||
|
General Public License. This license, the GNU Lesser General Public License,
|
||||||
|
applies to certain designated libraries, and is quite different from the ordinary
|
||||||
|
General Public License. We use this license for certain libraries in order
|
||||||
|
to permit linking those libraries into non-free programs.
|
||||||
|
|
||||||
|
When a program is linked with a library, whether statically or using a shared
|
||||||
|
library, the combination of the two is legally speaking a combined work, a
|
||||||
|
derivative of the original library. The ordinary General Public License therefore
|
||||||
|
permits such linking only if the entire combination fits its criteria of freedom.
|
||||||
|
The Lesser General Public License permits more lax criteria for linking other
|
||||||
|
code with the library.
|
||||||
|
|
||||||
|
We call this license the "Lesser" General Public License because it does Less
|
||||||
|
to protect the user's freedom than the ordinary General Public License. It
|
||||||
|
also provides other free software developers Less of an advantage over competing
|
||||||
|
non-free programs. These disadvantages are the reason we use the ordinary
|
||||||
|
General Public License for many libraries. However, the Lesser license provides
|
||||||
|
advantages in certain special circumstances.
|
||||||
|
|
||||||
|
For example, on rare occasions, there may be a special need to encourage the
|
||||||
|
widest possible use of a certain library, so that it becomes a de-facto standard.
|
||||||
|
To achieve this, non-free programs must be allowed to use the library. A more
|
||||||
|
frequent case is that a free library does the same job as widely used non-free
|
||||||
|
libraries. In this case, there is little to gain by limiting the free library
|
||||||
|
to free software only, so we use the Lesser General Public License.
|
||||||
|
|
||||||
|
In other cases, permission to use a particular library in non-free programs
|
||||||
|
enables a greater number of people to use a large body of free software. For
|
||||||
|
example, permission to use the GNU C Library in non-free programs enables
|
||||||
|
many more people to use the whole GNU operating system, as well as its variant,
|
||||||
|
the GNU/Linux operating system.
|
||||||
|
|
||||||
|
Although the Lesser General Public License is Less protective of the users'
|
||||||
|
freedom, it does ensure that the user of a program that is linked with the
|
||||||
|
Library has the freedom and the wherewithal to run that program using a modified
|
||||||
|
version of the Library.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and modification
|
||||||
|
follow. Pay close attention to the difference between a "work based on the
|
||||||
|
library" and a "work that uses the library". The former contains code derived
|
||||||
|
from the library, whereas the latter must be combined with the library in
|
||||||
|
order to run.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. This License Agreement applies to any software library or other program
|
||||||
|
which contains a notice placed by the copyright holder or other authorized
|
||||||
|
party saying it may be distributed under the terms of this Lesser General
|
||||||
|
Public License (also called "this License"). Each licensee is addressed as
|
||||||
|
"you".
|
||||||
|
|
||||||
|
A "library" means a collection of software functions and/or data prepared
|
||||||
|
so as to be conveniently linked with application programs (which use some
|
||||||
|
of those functions and data) to form executables.
|
||||||
|
|
||||||
|
The "Library", below, refers to any such software library or work which has
|
||||||
|
been distributed under these terms. A "work based on the Library" means either
|
||||||
|
the Library or any derivative work under copyright law: that is to say, a
|
||||||
|
work containing the Library or a portion of it, either verbatim or with modifications
|
||||||
|
and/or translated straightforwardly into another language. (Hereinafter, translation
|
||||||
|
is included without limitation in the term "modification".)
|
||||||
|
|
||||||
|
"Source code" for a work means the preferred form of the work for making modifications
|
||||||
|
to it. For a library, complete source code means all the source code for all
|
||||||
|
modules it contains, plus any associated interface definition files, plus
|
||||||
|
the scripts used to control compilation and installation of the library.
|
||||||
|
|
||||||
|
Activities other than copying, distribution and modification are not covered
|
||||||
|
by this License; they are outside its scope. The act of running a program
|
||||||
|
using the Library is not restricted, and output from such a program is covered
|
||||||
|
only if its contents constitute a work based on the Library (independent of
|
||||||
|
the use of the Library in a tool for writing it). Whether that is true depends
|
||||||
|
on what the Library does and what the program that uses the Library does.
|
||||||
|
|
||||||
|
1. You may copy and distribute verbatim copies of the Library's complete source
|
||||||
|
code as you receive it, in any medium, provided that you conspicuously and
|
||||||
|
appropriately publish on each copy an appropriate copyright notice and disclaimer
|
||||||
|
of warranty; keep intact all the notices that refer to this License and to
|
||||||
|
the absence of any warranty; and distribute a copy of this License along with
|
||||||
|
the Library.
|
||||||
|
|
||||||
|
You may charge a fee for the physical act of transferring a copy, and you
|
||||||
|
may at your option offer warranty protection in exchange for a fee.
|
||||||
|
|
||||||
|
2. You may modify your copy or copies of the Library or any portion of it,
|
||||||
|
thus forming a work based on the Library, and copy and distribute such modifications
|
||||||
|
or work under the terms of Section 1 above, provided that you also meet all
|
||||||
|
of these conditions:
|
||||||
|
|
||||||
|
a) The modified work must itself be a software library.
|
||||||
|
|
||||||
|
b) You must cause the files modified to carry prominent notices stating that
|
||||||
|
you changed the files and the date of any change.
|
||||||
|
|
||||||
|
c) You must cause the whole of the work to be licensed at no charge to all
|
||||||
|
third parties under the terms of this License.
|
||||||
|
|
||||||
|
d) If a facility in the modified Library refers to a function or a table of
|
||||||
|
data to be supplied by an application program that uses the facility, other
|
||||||
|
than as an argument passed when the facility is invoked, then you must make
|
||||||
|
a good faith effort to ensure that, in the event an application does not supply
|
||||||
|
such function or table, the facility still operates, and performs whatever
|
||||||
|
part of its purpose remains meaningful.
|
||||||
|
|
||||||
|
(For example, a function in a library to compute square roots has a purpose
|
||||||
|
that is entirely well-defined independent of the application. Therefore, Subsection
|
||||||
|
2d requires that any application-supplied function or table used by this function
|
||||||
|
must be optional: if the application does not supply it, the square root function
|
||||||
|
must still compute square roots.)
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If identifiable
|
||||||
|
sections of that work are not derived from the Library, and can be reasonably
|
||||||
|
considered independent and separate works in themselves, then this License,
|
||||||
|
and its terms, do not apply to those sections when you distribute them as
|
||||||
|
separate works. But when you distribute the same sections as part of a whole
|
||||||
|
which is a work based on the Library, the distribution of the whole must be
|
||||||
|
on the terms of this License, whose permissions for other licensees extend
|
||||||
|
to the entire whole, and thus to each and every part regardless of who wrote
|
||||||
|
it.
|
||||||
|
|
||||||
|
Thus, it is not the intent of this section to claim rights or contest your
|
||||||
|
rights to work written entirely by you; rather, the intent is to exercise
|
||||||
|
the right to control the distribution of derivative or collective works based
|
||||||
|
on the Library.
|
||||||
|
|
||||||
|
In addition, mere aggregation of another work not based on the Library with
|
||||||
|
the Library (or with a work based on the Library) on a volume of a storage
|
||||||
|
or distribution medium does not bring the other work under the scope of this
|
||||||
|
License.
|
||||||
|
|
||||||
|
3. You may opt to apply the terms of the ordinary GNU General Public License
|
||||||
|
instead of this License to a given copy of the Library. To do this, you must
|
||||||
|
alter all the notices that refer to this License, so that they refer to the
|
||||||
|
ordinary GNU General Public License, version 2, instead of to this License.
|
||||||
|
(If a newer version than version 2 of the ordinary GNU General Public License
|
||||||
|
has appeared, then you can specify that version instead if you wish.) Do not
|
||||||
|
make any other change in these notices.
|
||||||
|
|
||||||
|
Once this change is made in a given copy, it is irreversible for that copy,
|
||||||
|
so the ordinary GNU General Public License applies to all subsequent copies
|
||||||
|
and derivative works made from that copy.
|
||||||
|
|
||||||
|
This option is useful when you wish to copy part of the code of the Library
|
||||||
|
into a program that is not a library.
|
||||||
|
|
||||||
|
4. You may copy and distribute the Library (or a portion or derivative of
|
||||||
|
it, under Section 2) in object code or executable form under the terms of
|
||||||
|
Sections 1 and 2 above provided that you accompany it with the complete corresponding
|
||||||
|
machine-readable source code, which must be distributed under the terms of
|
||||||
|
Sections 1 and 2 above on a medium customarily used for software interchange.
|
||||||
|
|
||||||
|
If distribution of object code is made by offering access to copy from a designated
|
||||||
|
place, then offering equivalent access to copy the source code from the same
|
||||||
|
place satisfies the requirement to distribute the source code, even though
|
||||||
|
third parties are not compelled to copy the source along with the object code.
|
||||||
|
|
||||||
|
5. A program that contains no derivative of any portion of the Library, but
|
||||||
|
is designed to work with the Library by being compiled or linked with it,
|
||||||
|
is called a "work that uses the Library". Such a work, in isolation, is not
|
||||||
|
a derivative work of the Library, and therefore falls outside the scope of
|
||||||
|
this License.
|
||||||
|
|
||||||
|
However, linking a "work that uses the Library" with the Library creates an
|
||||||
|
executable that is a derivative of the Library (because it contains portions
|
||||||
|
of the Library), rather than a "work that uses the library". The executable
|
||||||
|
is therefore covered by this License. Section 6 states terms for distribution
|
||||||
|
of such executables.
|
||||||
|
|
||||||
|
When a "work that uses the Library" uses material from a header file that
|
||||||
|
is part of the Library, the object code for the work may be a derivative work
|
||||||
|
of the Library even though the source code is not. Whether this is true is
|
||||||
|
especially significant if the work can be linked without the Library, or if
|
||||||
|
the work is itself a library. The threshold for this to be true is not precisely
|
||||||
|
defined by law.
|
||||||
|
|
||||||
|
If such an object file uses only numerical parameters, data structure layouts
|
||||||
|
and accessors, and small macros and small inline functions (ten lines or less
|
||||||
|
in length), then the use of the object file is unrestricted, regardless of
|
||||||
|
whether it is legally a derivative work. (Executables containing this object
|
||||||
|
code plus portions of the Library will still fall under Section 6.)
|
||||||
|
|
||||||
|
Otherwise, if the work is a derivative of the Library, you may distribute
|
||||||
|
the object code for the work under the terms of Section 6. Any executables
|
||||||
|
containing that work also fall under Section 6, whether or not they are linked
|
||||||
|
directly with the Library itself.
|
||||||
|
|
||||||
|
6. As an exception to the Sections above, you may also combine or link a "work
|
||||||
|
that uses the Library" with the Library to produce a work containing portions
|
||||||
|
of the Library, and distribute that work under terms of your choice, provided
|
||||||
|
that the terms permit modification of the work for the customer's own use
|
||||||
|
and reverse engineering for debugging such modifications.
|
||||||
|
|
||||||
|
You must give prominent notice with each copy of the work that the Library
|
||||||
|
is used in it and that the Library and its use are covered by this License.
|
||||||
|
You must supply a copy of this License. If the work during execution displays
|
||||||
|
copyright notices, you must include the copyright notice for the Library among
|
||||||
|
them, as well as a reference directing the user to the copy of this License.
|
||||||
|
Also, you must do one of these things:
|
||||||
|
|
||||||
|
a) Accompany the work with the complete corresponding machine-readable source
|
||||||
|
code for the Library including whatever changes were used in the work (which
|
||||||
|
must be distributed under Sections 1 and 2 above); and, if the work is an
|
||||||
|
executable linked with the Library, with the complete machine-readable "work
|
||||||
|
that uses the Library", as object code and/or source code, so that the user
|
||||||
|
can modify the Library and then relink to produce a modified executable containing
|
||||||
|
the modified Library. (It is understood that the user who changes the contents
|
||||||
|
of definitions files in the Library will not necessarily be able to recompile
|
||||||
|
the application to use the modified definitions.)
|
||||||
|
|
||||||
|
b) Use a suitable shared library mechanism for linking with the Library. A
|
||||||
|
suitable mechanism is one that (1) uses at run time a copy of the library
|
||||||
|
already present on the user's computer system, rather than copying library
|
||||||
|
functions into the executable, and (2) will operate properly with a modified
|
||||||
|
version of the library, if the user installs one, as long as the modified
|
||||||
|
version is interface-compatible with the version that the work was made with.
|
||||||
|
|
||||||
|
c) Accompany the work with a written offer, valid for at least three years,
|
||||||
|
to give the same user the materials specified in Subsection 6a, above, for
|
||||||
|
a charge no more than the cost of performing this distribution.
|
||||||
|
|
||||||
|
d) If distribution of the work is made by offering access to copy from a designated
|
||||||
|
place, offer equivalent access to copy the above specified materials from
|
||||||
|
the same place.
|
||||||
|
|
||||||
|
e) Verify that the user has already received a copy of these materials or
|
||||||
|
that you have already sent this user a copy.
|
||||||
|
|
||||||
|
For an executable, the required form of the "work that uses the Library" must
|
||||||
|
include any data and utility programs needed for reproducing the executable
|
||||||
|
from it. However, as a special exception, the materials to be distributed
|
||||||
|
need not include anything that is normally distributed (in either source or
|
||||||
|
binary form) with the major components (compiler, kernel, and so on) of the
|
||||||
|
operating system on which the executable runs, unless that component itself
|
||||||
|
accompanies the executable.
|
||||||
|
|
||||||
|
It may happen that this requirement contradicts the license restrictions of
|
||||||
|
other proprietary libraries that do not normally accompany the operating system.
|
||||||
|
Such a contradiction means you cannot use both them and the Library together
|
||||||
|
in an executable that you distribute.
|
||||||
|
|
||||||
|
7. You may place library facilities that are a work based on the Library side-by-side
|
||||||
|
in a single library together with other library facilities not covered by
|
||||||
|
this License, and distribute such a combined library, provided that the separate
|
||||||
|
distribution of the work based on the Library and of the other library facilities
|
||||||
|
is otherwise permitted, and provided that you do these two things:
|
||||||
|
|
||||||
|
a) Accompany the combined library with a copy of the same work based on the
|
||||||
|
Library, uncombined with any other library facilities. This must be distributed
|
||||||
|
under the terms of the Sections above.
|
||||||
|
|
||||||
|
b) Give prominent notice with the combined library of the fact that part of
|
||||||
|
it is a work based on the Library, and explaining where to find the accompanying
|
||||||
|
uncombined form of the same work.
|
||||||
|
|
||||||
|
8. You may not copy, modify, sublicense, link with, or distribute the Library
|
||||||
|
except as expressly provided under this License. Any attempt otherwise to
|
||||||
|
copy, modify, sublicense, link with, or distribute the Library is void, and
|
||||||
|
will automatically terminate your rights under this License. However, parties
|
||||||
|
who have received copies, or rights, from you under this License will not
|
||||||
|
have their licenses terminated so long as such parties remain in full compliance.
|
||||||
|
|
||||||
|
9. You are not required to accept this License, since you have not signed
|
||||||
|
it. However, nothing else grants you permission to modify or distribute the
|
||||||
|
Library or its derivative works. These actions are prohibited by law if you
|
||||||
|
do not accept this License. Therefore, by modifying or distributing the Library
|
||||||
|
(or any work based on the Library), you indicate your acceptance of this License
|
||||||
|
to do so, and all its terms and conditions for copying, distributing or modifying
|
||||||
|
the Library or works based on it.
|
||||||
|
|
||||||
|
10. Each time you redistribute the Library (or any work based on the Library),
|
||||||
|
the recipient automatically receives a license from the original licensor
|
||||||
|
to copy, distribute, link with or modify the Library subject to these terms
|
||||||
|
and conditions. You may not impose any further restrictions on the recipients'
|
||||||
|
exercise of the rights granted herein. You are not responsible for enforcing
|
||||||
|
compliance by third parties with this License.
|
||||||
|
|
||||||
|
11. If, as a consequence of a court judgment or allegation of patent infringement
|
||||||
|
or for any other reason (not limited to patent issues), conditions are imposed
|
||||||
|
on you (whether by court order, agreement or otherwise) that contradict the
|
||||||
|
conditions of this License, they do not excuse you from the conditions of
|
||||||
|
this License. If you cannot distribute so as to satisfy simultaneously your
|
||||||
|
obligations under this License and any other pertinent obligations, then as
|
||||||
|
a consequence you may not distribute the Library at all. For example, if a
|
||||||
|
patent license would not permit royalty-free redistribution of the Library
|
||||||
|
by all those who receive copies directly or indirectly through you, then the
|
||||||
|
only way you could satisfy both it and this License would be to refrain entirely
|
||||||
|
from distribution of the Library.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under any
|
||||||
|
particular circumstance, the balance of the section is intended to apply,
|
||||||
|
and the section as a whole is intended to apply in other circumstances.
|
||||||
|
|
||||||
|
It is not the purpose of this section to induce you to infringe any patents
|
||||||
|
or other property right claims or to contest validity of any such claims;
|
||||||
|
this section has the sole purpose of protecting the integrity of the free
|
||||||
|
software distribution system which is implemented by public license practices.
|
||||||
|
Many people have made generous contributions to the wide range of software
|
||||||
|
distributed through that system in reliance on consistent application of that
|
||||||
|
system; it is up to the author/donor to decide if he or she is willing to
|
||||||
|
distribute software through any other system and a licensee cannot impose
|
||||||
|
that choice.
|
||||||
|
|
||||||
|
This section is intended to make thoroughly clear what is believed to be a
|
||||||
|
consequence of the rest of this License.
|
||||||
|
|
||||||
|
12. If the distribution and/or use of the Library is restricted in certain
|
||||||
|
countries either by patents or by copyrighted interfaces, the original copyright
|
||||||
|
holder who places the Library under this License may add an explicit geographical
|
||||||
|
distribution limitation excluding those countries, so that distribution is
|
||||||
|
permitted only in or among countries not thus excluded. In such case, this
|
||||||
|
License incorporates the limitation as if written in the body of this License.
|
||||||
|
|
||||||
|
13. The Free Software Foundation may publish revised and/or new versions of
|
||||||
|
the Lesser General Public License from time to time. Such new versions will
|
||||||
|
be similar in spirit to the present version, but may differ in detail to address
|
||||||
|
new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Library specifies
|
||||||
|
a version number of this License which applies to it and "any later version",
|
||||||
|
you have the option of following the terms and conditions either of that version
|
||||||
|
or of any later version published by the Free Software Foundation. If the
|
||||||
|
Library does not specify a license version number, you may choose any version
|
||||||
|
ever published by the Free Software Foundation.
|
||||||
|
|
||||||
|
14. If you wish to incorporate parts of the Library into other free programs
|
||||||
|
whose distribution conditions are incompatible with these, write to the author
|
||||||
|
to ask for permission. For software which is copyrighted by the Free Software
|
||||||
|
Foundation, write to the Free Software Foundation; we sometimes make exceptions
|
||||||
|
for this. Our decision will be guided by the two goals of preserving the free
|
||||||
|
status of all derivatives of our free software and of promoting the sharing
|
||||||
|
and reuse of software generally.
|
||||||
|
|
||||||
|
NO WARRANTY
|
||||||
|
|
||||||
|
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
|
||||||
|
THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
|
||||||
|
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY
|
||||||
|
"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
|
||||||
|
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
|
||||||
|
OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||||
|
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE
|
||||||
|
THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||||
|
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE
|
||||||
|
OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA
|
||||||
|
OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES
|
||||||
|
OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH
|
||||||
|
HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Libraries
|
||||||
|
|
||||||
|
If you develop a new library, and you want it to be of the greatest possible
|
||||||
|
use to the public, we recommend making it free software that everyone can
|
||||||
|
redistribute and change. You can do so by permitting redistribution under
|
||||||
|
these terms (or, alternatively, under the terms of the ordinary General Public
|
||||||
|
License).
|
||||||
|
|
||||||
|
To apply these terms, attach the following notices to the library. It is safest
|
||||||
|
to attach them to the start of each source file to most effectively convey
|
||||||
|
the exclusion of warranty; and each file should have at least the "copyright"
|
||||||
|
line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
< one line to give the library's name and an idea of what it does. >
|
||||||
|
|
||||||
|
Copyright (C) < year > < name of author >
|
||||||
|
|
||||||
|
This library is free software; you can redistribute it and/or modify it under
|
||||||
|
the terms of the GNU Lesser General Public License as published by the Free
|
||||||
|
Software Foundation; either version 2.1 of the License, or (at your option)
|
||||||
|
any later version.
|
||||||
|
|
||||||
|
This library is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
|
||||||
|
details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License along
|
||||||
|
with this library; if not, write to the Free Software Foundation, Inc., 51
|
||||||
|
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add information
|
||||||
|
on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or your school,
|
||||||
|
if any, to sign a "copyright disclaimer" for the library, if necessary. Here
|
||||||
|
is a sample; alter the names:
|
||||||
|
|
||||||
|
Yoyodyne, Inc., hereby disclaims all copyright interest in
|
||||||
|
|
||||||
|
the library `Frob' (a library for tweaking knobs) written
|
||||||
|
|
||||||
|
by James Random Hacker.
|
||||||
|
|
||||||
|
< signature of Ty Coon > , 1 April 1990
|
||||||
|
|
||||||
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
|
That's all there is to it!
|
163
LICENSES/LGPL-3.0-or-later.txt
Normal file
163
LICENSES/LGPL-3.0-or-later.txt
Normal file
@ -0,0 +1,163 @@
|
|||||||
|
GNU LESSER GENERAL PUBLIC LICENSE
|
||||||
|
|
||||||
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies of this license
|
||||||
|
document, but changing it is not allowed.
|
||||||
|
|
||||||
|
This version of the GNU Lesser General Public License incorporates the terms
|
||||||
|
and conditions of version 3 of the GNU General Public License, supplemented
|
||||||
|
by the additional permissions listed below.
|
||||||
|
|
||||||
|
0. Additional Definitions.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
As used herein, "this License" refers to version 3 of the GNU Lesser General
|
||||||
|
Public License, and the "GNU GPL" refers to version 3 of the GNU General Public
|
||||||
|
License.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
"The Library" refers to a covered work governed by this License, other than
|
||||||
|
an Application or a Combined Work as defined below.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
An "Application" is any work that makes use of an interface provided by the
|
||||||
|
Library, but which is not otherwise based on the Library. Defining a subclass
|
||||||
|
of a class defined by the Library is deemed a mode of using an interface provided
|
||||||
|
by the Library.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
A "Combined Work" is a work produced by combining or linking an Application
|
||||||
|
with the Library. The particular version of the Library with which the Combined
|
||||||
|
Work was made is also called the "Linked Version".
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
The "Minimal Corresponding Source" for a Combined Work means the Corresponding
|
||||||
|
Source for the Combined Work, excluding any source code for portions of the
|
||||||
|
Combined Work that, considered in isolation, are based on the Application,
|
||||||
|
and not on the Linked Version.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
The "Corresponding Application Code" for a Combined Work means the object
|
||||||
|
code and/or source code for the Application, including any data and utility
|
||||||
|
programs needed for reproducing the Combined Work from the Application, but
|
||||||
|
excluding the System Libraries of the Combined Work.
|
||||||
|
|
||||||
|
1. Exception to Section 3 of the GNU GPL.
|
||||||
|
|
||||||
|
You may convey a covered work under sections 3 and 4 of this License without
|
||||||
|
being bound by section 3 of the GNU GPL.
|
||||||
|
|
||||||
|
2. Conveying Modified Versions.
|
||||||
|
|
||||||
|
If you modify a copy of the Library, and, in your modifications, a facility
|
||||||
|
refers to a function or data to be supplied by an Application that uses the
|
||||||
|
facility (other than as an argument passed when the facility is invoked),
|
||||||
|
then you may convey a copy of the modified version:
|
||||||
|
|
||||||
|
a) under this License, provided that you make a good faith effort to ensure
|
||||||
|
that, in the event an Application does not supply the function or data, the
|
||||||
|
facility still operates, and performs whatever part of its purpose remains
|
||||||
|
meaningful, or
|
||||||
|
|
||||||
|
b) under the GNU GPL, with none of the additional permissions of this License
|
||||||
|
applicable to that copy.
|
||||||
|
|
||||||
|
3. Object Code Incorporating Material from Library Header Files.
|
||||||
|
|
||||||
|
The object code form of an Application may incorporate material from a header
|
||||||
|
file that is part of the Library. You may convey such object code under terms
|
||||||
|
of your choice, provided that, if the incorporated material is not limited
|
||||||
|
to numerical parameters, data structure layouts and accessors, or small macros,
|
||||||
|
inline functions and templates (ten or fewer lines in length), you do both
|
||||||
|
of the following:
|
||||||
|
|
||||||
|
a) Give prominent notice with each copy of the object code that the Library
|
||||||
|
is used in it and that the Library and its use are covered by this License.
|
||||||
|
|
||||||
|
b) Accompany the object code with a copy of the GNU GPL and this license document.
|
||||||
|
|
||||||
|
4. Combined Works.
|
||||||
|
|
||||||
|
You may convey a Combined Work under terms of your choice that, taken together,
|
||||||
|
effectively do not restrict modification of the portions of the Library contained
|
||||||
|
in the Combined Work and reverse engineering for debugging such modifications,
|
||||||
|
if you also do each of the following:
|
||||||
|
|
||||||
|
a) Give prominent notice with each copy of the Combined Work that the Library
|
||||||
|
is used in it and that the Library and its use are covered by this License.
|
||||||
|
|
||||||
|
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||||
|
document.
|
||||||
|
|
||||||
|
c) For a Combined Work that displays copyright notices during execution, include
|
||||||
|
the copyright notice for the Library among these notices, as well as a reference
|
||||||
|
directing the user to the copies of the GNU GPL and this license document.
|
||||||
|
|
||||||
|
d) Do one of the following:
|
||||||
|
|
||||||
|
0) Convey the Minimal Corresponding Source under the terms of this License,
|
||||||
|
and the Corresponding Application Code in a form suitable for, and under terms
|
||||||
|
that permit, the user to recombine or relink the Application with a modified
|
||||||
|
version of the Linked Version to produce a modified Combined Work, in the
|
||||||
|
manner specified by section 6 of the GNU GPL for conveying Corresponding Source.
|
||||||
|
|
||||||
|
1) Use a suitable shared library mechanism for linking with the Library. A
|
||||||
|
suitable mechanism is one that (a) uses at run time a copy of the Library
|
||||||
|
already present on the user's computer system, and (b) will operate properly
|
||||||
|
with a modified version of the Library that is interface-compatible with the
|
||||||
|
Linked Version.
|
||||||
|
|
||||||
|
e) Provide Installation Information, but only if you would otherwise be required
|
||||||
|
to provide such information under section 6 of the GNU GPL, and only to the
|
||||||
|
extent that such information is necessary to install and execute a modified
|
||||||
|
version of the Combined Work produced by recombining or relinking the Application
|
||||||
|
with a modified version of the Linked Version. (If you use option 4d0, the
|
||||||
|
Installation Information must accompany the Minimal Corresponding Source and
|
||||||
|
Corresponding Application Code. If you use option 4d1, you must provide the
|
||||||
|
Installation Information in the manner specified by section 6 of the GNU GPL
|
||||||
|
for conveying Corresponding Source.)
|
||||||
|
|
||||||
|
5. Combined Libraries.
|
||||||
|
|
||||||
|
You may place library facilities that are a work based on the Library side
|
||||||
|
by side in a single library together with other library facilities that are
|
||||||
|
not Applications and are not covered by this License, and convey such a combined
|
||||||
|
library under terms of your choice, if you do both of the following:
|
||||||
|
|
||||||
|
a) Accompany the combined library with a copy of the same work based on the
|
||||||
|
Library, uncombined with any other library facilities, conveyed under the
|
||||||
|
terms of this License.
|
||||||
|
|
||||||
|
b) Give prominent notice with the combined library that part of it is a work
|
||||||
|
based on the Library, and explaining where to find the accompanying uncombined
|
||||||
|
form of the same work.
|
||||||
|
|
||||||
|
6. Revised Versions of the GNU Lesser General Public License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of the
|
||||||
|
GNU Lesser General Public License from time to time. Such new versions will
|
||||||
|
be similar in spirit to the present version, but may differ in detail to address
|
||||||
|
new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Library as you
|
||||||
|
received it specifies that a certain numbered version of the GNU Lesser General
|
||||||
|
Public License "or any later version" applies to it, you have the option of
|
||||||
|
following the terms and conditions either of that published version or of
|
||||||
|
any later version published by the Free Software Foundation. If the Library
|
||||||
|
as you received it does not specify a version number of the GNU Lesser General
|
||||||
|
Public License, you may choose any version of the GNU Lesser General Public
|
||||||
|
License ever published by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Library as you received it specifies that a proxy can decide whether
|
||||||
|
future versions of the GNU Lesser General Public License shall apply, that
|
||||||
|
proxy's public statement of acceptance of any version is permanent authorization
|
||||||
|
for you to choose that version for the Library.
|
@ -1,83 +0,0 @@
|
|||||||
/****************************************************************************
|
|
||||||
**
|
|
||||||
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
|
|
||||||
** Contact: http://www.qt-project.org/legal
|
|
||||||
**
|
|
||||||
** This file is part of the QML Presentation System.
|
|
||||||
**
|
|
||||||
** $QT_BEGIN_LICENSE:LGPL$
|
|
||||||
** Commercial License Usage
|
|
||||||
** Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
** accordance with the commercial license agreement provided with the
|
|
||||||
** Software or, alternatively, in accordance with the terms contained in
|
|
||||||
** a written agreement between you and Digia. For licensing terms and
|
|
||||||
** conditions see http://qt.digia.com/licensing. For further information
|
|
||||||
** use the contact form at http://qt.digia.com/contact-us.
|
|
||||||
**
|
|
||||||
** GNU Lesser General Public License Usage
|
|
||||||
** Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
** General Public License version 2.1 as published by the Free Software
|
|
||||||
** Foundation and appearing in the file LICENSE.LGPL included in the
|
|
||||||
** packaging of this file. Please review the following information to
|
|
||||||
** ensure the GNU Lesser General Public License version 2.1 requirements
|
|
||||||
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
**
|
|
||||||
** In addition, as a special exception, Digia gives you certain additional
|
|
||||||
** rights. These rights are described in the Digia Qt LGPL Exception
|
|
||||||
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
**
|
|
||||||
** GNU General Public License Usage
|
|
||||||
** Alternatively, this file may be used under the terms of the GNU
|
|
||||||
** General Public License version 3.0 as published by the Free Software
|
|
||||||
** Foundation and appearing in the file LICENSE.GPL included in the
|
|
||||||
** packaging of this file. Please review the following information to
|
|
||||||
** ensure the GNU General Public License version 3.0 requirements will be
|
|
||||||
** met: http://www.gnu.org/copyleft/gpl.html.
|
|
||||||
**
|
|
||||||
**
|
|
||||||
** $QT_END_LICENSE$
|
|
||||||
**
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
**
|
|
||||||
** Copyright (C) 2016 The Qt Company Ltd.
|
|
||||||
** Contact: https://www.qt.io/licensing/
|
|
||||||
**
|
|
||||||
** This file is part of the QML Presentation System.
|
|
||||||
**
|
|
||||||
** $QT_BEGIN_LICENSE:LGPL$
|
|
||||||
** Commercial License Usage
|
|
||||||
** Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
** accordance with the commercial license agreement provided with the
|
|
||||||
** Software or, alternatively, in accordance with the terms contained in
|
|
||||||
** a written agreement between you and Digia. For licensing terms and
|
|
||||||
** conditions see http://qt.digia.com/licensing. For further information
|
|
||||||
** use the contact form at http://qt.digia.com/contact-us.
|
|
||||||
**
|
|
||||||
** GNU Lesser General Public License Usage
|
|
||||||
** Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
** General Public License version 2.1 as published by the Free Software
|
|
||||||
** Foundation and appearing in the file LICENSE.LGPL included in the
|
|
||||||
** packaging of this file. Please review the following information to
|
|
||||||
** ensure the GNU Lesser General Public License version 2.1 requirements
|
|
||||||
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
**
|
|
||||||
** In addition, as a special exception, Digia gives you certain additional
|
|
||||||
** rights. These rights are described in the Digia Qt LGPL Exception
|
|
||||||
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
**
|
|
||||||
** GNU General Public License Usage
|
|
||||||
** Alternatively, this file may be used under the terms of the GNU
|
|
||||||
** General Public License version 3.0 as published by the Free Software
|
|
||||||
** Foundation and appearing in the file LICENSE.GPL included in the
|
|
||||||
** packaging of this file. Please review the following information to
|
|
||||||
** ensure the GNU General Public License version 3.0 requirements will be
|
|
||||||
** met: http://www.gnu.org/copyleft/gpl.html.
|
|
||||||
**
|
|
||||||
**
|
|
||||||
** $QT_END_LICENSE$
|
|
||||||
**
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
|||||||
Digia Qt LGPL Exception version 1.1
|
|
||||||
|
|
||||||
As an additional permission to the GNU Lesser General Public License version
|
|
||||||
2.1, the object code form of a "work that uses the Library" may incorporate
|
|
||||||
material from a header file that is part of the Library. You may distribute
|
|
||||||
such object code under terms of your choice, provided that:
|
|
||||||
(i) the header files of the Library have not been modified; and
|
|
||||||
(ii) the incorporated material is limited to numerical parameters, data
|
|
||||||
structure layouts, accessors, macros, inline functions and
|
|
||||||
templates; and
|
|
||||||
(iii) you comply with the terms of Section 6 of the GNU Lesser General
|
|
||||||
Public License version 2.1.
|
|
||||||
|
|
||||||
Moreover, you may apply this exception to a modified version of the Library,
|
|
||||||
provided that such modification does not involve copying material from the
|
|
||||||
Library into the modified Library's header files unless such material is
|
|
||||||
limited to (i) numerical parameters; (ii) data structure layouts;
|
|
||||||
(iii) accessors; and (iv) small macros, templates and inline functions of
|
|
||||||
five lines or less in length.
|
|
||||||
|
|
||||||
Furthermore, you are not required to apply this additional permission to a
|
|
||||||
modified version of the Library.
|
|
@ -1,209 +0,0 @@
|
|||||||
The Breeze Icon Theme in icons/
|
|
||||||
|
|
||||||
Copyright (C) 2014 Uri Herrera <uri_herrera@nitrux.in> and others
|
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or
|
|
||||||
modify it under the terms of the GNU Lesser General Public
|
|
||||||
License as published by the Free Software Foundation; either
|
|
||||||
version 3 of the License, or (at your option) any later version.
|
|
||||||
|
|
||||||
This library is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU Lesser General Public
|
|
||||||
License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
Clarification:
|
|
||||||
|
|
||||||
The GNU Lesser General Public License or LGPL is written for
|
|
||||||
software libraries in the first place. We expressly want the LGPL to
|
|
||||||
be valid for this artwork library too.
|
|
||||||
|
|
||||||
KDE Breeze theme icons is a special kind of software library, it is an
|
|
||||||
artwork library, it's elements can be used in a Graphical User Interface, or
|
|
||||||
GUI.
|
|
||||||
|
|
||||||
Source code, for this library means:
|
|
||||||
- where they exist, SVG;
|
|
||||||
- otherwise, if applicable, the multi-layered formats xcf or psd, or
|
|
||||||
otherwise png.
|
|
||||||
|
|
||||||
The LGPL in some sections obliges you to make the files carry
|
|
||||||
notices. With images this is in some cases impossible or hardly useful.
|
|
||||||
|
|
||||||
With this library a notice is placed at a prominent place in the directory
|
|
||||||
containing the elements. You may follow this practice.
|
|
||||||
|
|
||||||
The exception in section 5 of the GNU Lesser General Public License covers
|
|
||||||
the use of elements of this art library in a GUI.
|
|
||||||
|
|
||||||
https://vdesign.kde.org/
|
|
||||||
|
|
||||||
-----
|
|
||||||
GNU LESSER GENERAL PUBLIC LICENSE
|
|
||||||
Version 3, 29 June 2007
|
|
||||||
|
|
||||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
of this license document, but changing it is not allowed.
|
|
||||||
|
|
||||||
|
|
||||||
This version of the GNU Lesser General Public License incorporates
|
|
||||||
the terms and conditions of version 3 of the GNU General Public
|
|
||||||
License, supplemented by the additional permissions listed below.
|
|
||||||
|
|
||||||
0. Additional Definitions.
|
|
||||||
|
|
||||||
As used herein, "this License" refers to version 3 of the GNU Lesser
|
|
||||||
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
|
||||||
General Public License.
|
|
||||||
|
|
||||||
"The Library" refers to a covered work governed by this License,
|
|
||||||
other than an Application or a Combined Work as defined below.
|
|
||||||
|
|
||||||
An "Application" is any work that makes use of an interface provided
|
|
||||||
by the Library, but which is not otherwise based on the Library.
|
|
||||||
Defining a subclass of a class defined by the Library is deemed a mode
|
|
||||||
of using an interface provided by the Library.
|
|
||||||
|
|
||||||
A "Combined Work" is a work produced by combining or linking an
|
|
||||||
Application with the Library. The particular version of the Library
|
|
||||||
with which the Combined Work was made is also called the "Linked
|
|
||||||
Version".
|
|
||||||
|
|
||||||
The "Minimal Corresponding Source" for a Combined Work means the
|
|
||||||
Corresponding Source for the Combined Work, excluding any source code
|
|
||||||
for portions of the Combined Work that, considered in isolation, are
|
|
||||||
based on the Application, and not on the Linked Version.
|
|
||||||
|
|
||||||
The "Corresponding Application Code" for a Combined Work means the
|
|
||||||
object code and/or source code for the Application, including any data
|
|
||||||
and utility programs needed for reproducing the Combined Work from the
|
|
||||||
Application, but excluding the System Libraries of the Combined Work.
|
|
||||||
|
|
||||||
1. Exception to Section 3 of the GNU GPL.
|
|
||||||
|
|
||||||
You may convey a covered work under sections 3 and 4 of this License
|
|
||||||
without being bound by section 3 of the GNU GPL.
|
|
||||||
|
|
||||||
2. Conveying Modified Versions.
|
|
||||||
|
|
||||||
If you modify a copy of the Library, and, in your modifications, a
|
|
||||||
facility refers to a function or data to be supplied by an Application
|
|
||||||
that uses the facility (other than as an argument passed when the
|
|
||||||
facility is invoked), then you may convey a copy of the modified
|
|
||||||
version:
|
|
||||||
|
|
||||||
a) under this License, provided that you make a good faith effort to
|
|
||||||
ensure that, in the event an Application does not supply the
|
|
||||||
function or data, the facility still operates, and performs
|
|
||||||
whatever part of its purpose remains meaningful, or
|
|
||||||
|
|
||||||
b) under the GNU GPL, with none of the additional permissions of
|
|
||||||
this License applicable to that copy.
|
|
||||||
|
|
||||||
3. Object Code Incorporating Material from Library Header Files.
|
|
||||||
|
|
||||||
The object code form of an Application may incorporate material from
|
|
||||||
a header file that is part of the Library. You may convey such object
|
|
||||||
code under terms of your choice, provided that, if the incorporated
|
|
||||||
material is not limited to numerical parameters, data structure
|
|
||||||
layouts and accessors, or small macros, inline functions and templates
|
|
||||||
(ten or fewer lines in length), you do both of the following:
|
|
||||||
|
|
||||||
a) Give prominent notice with each copy of the object code that the
|
|
||||||
Library is used in it and that the Library and its use are
|
|
||||||
covered by this License.
|
|
||||||
|
|
||||||
b) Accompany the object code with a copy of the GNU GPL and this license
|
|
||||||
document.
|
|
||||||
|
|
||||||
4. Combined Works.
|
|
||||||
|
|
||||||
You may convey a Combined Work under terms of your choice that,
|
|
||||||
taken together, effectively do not restrict modification of the
|
|
||||||
portions of the Library contained in the Combined Work and reverse
|
|
||||||
engineering for debugging such modifications, if you also do each of
|
|
||||||
the following:
|
|
||||||
|
|
||||||
a) Give prominent notice with each copy of the Combined Work that
|
|
||||||
the Library is used in it and that the Library and its use are
|
|
||||||
covered by this License.
|
|
||||||
|
|
||||||
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
|
||||||
document.
|
|
||||||
|
|
||||||
c) For a Combined Work that displays copyright notices during
|
|
||||||
execution, include the copyright notice for the Library among
|
|
||||||
these notices, as well as a reference directing the user to the
|
|
||||||
copies of the GNU GPL and this license document.
|
|
||||||
|
|
||||||
d) Do one of the following:
|
|
||||||
|
|
||||||
0) Convey the Minimal Corresponding Source under the terms of this
|
|
||||||
License, and the Corresponding Application Code in a form
|
|
||||||
suitable for, and under terms that permit, the user to
|
|
||||||
recombine or relink the Application with a modified version of
|
|
||||||
the Linked Version to produce a modified Combined Work, in the
|
|
||||||
manner specified by section 6 of the GNU GPL for conveying
|
|
||||||
Corresponding Source.
|
|
||||||
|
|
||||||
1) Use a suitable shared library mechanism for linking with the
|
|
||||||
Library. A suitable mechanism is one that (a) uses at run time
|
|
||||||
a copy of the Library already present on the user's computer
|
|
||||||
system, and (b) will operate properly with a modified version
|
|
||||||
of the Library that is interface-compatible with the Linked
|
|
||||||
Version.
|
|
||||||
|
|
||||||
e) Provide Installation Information, but only if you would otherwise
|
|
||||||
be required to provide such information under section 6 of the
|
|
||||||
GNU GPL, and only to the extent that such information is
|
|
||||||
necessary to install and execute a modified version of the
|
|
||||||
Combined Work produced by recombining or relinking the
|
|
||||||
Application with a modified version of the Linked Version. (If
|
|
||||||
you use option 4d0, the Installation Information must accompany
|
|
||||||
the Minimal Corresponding Source and Corresponding Application
|
|
||||||
Code. If you use option 4d1, you must provide the Installation
|
|
||||||
Information in the manner specified by section 6 of the GNU GPL
|
|
||||||
for conveying Corresponding Source.)
|
|
||||||
|
|
||||||
5. Combined Libraries.
|
|
||||||
|
|
||||||
You may place library facilities that are a work based on the
|
|
||||||
Library side by side in a single library together with other library
|
|
||||||
facilities that are not Applications and are not covered by this
|
|
||||||
License, and convey such a combined library under terms of your
|
|
||||||
choice, if you do both of the following:
|
|
||||||
|
|
||||||
a) Accompany the combined library with a copy of the same work based
|
|
||||||
on the Library, uncombined with any other library facilities,
|
|
||||||
conveyed under the terms of this License.
|
|
||||||
|
|
||||||
b) Give prominent notice with the combined library that part of it
|
|
||||||
is a work based on the Library, and explaining where to find the
|
|
||||||
accompanying uncombined form of the same work.
|
|
||||||
|
|
||||||
6. Revised Versions of the GNU Lesser General Public License.
|
|
||||||
|
|
||||||
The Free Software Foundation may publish revised and/or new versions
|
|
||||||
of the GNU Lesser General Public License from time to time. Such new
|
|
||||||
versions will be similar in spirit to the present version, but may
|
|
||||||
differ in detail to address new problems or concerns.
|
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the
|
|
||||||
Library as you received it specifies that a certain numbered version
|
|
||||||
of the GNU Lesser General Public License "or any later version"
|
|
||||||
applies to it, you have the option of following the terms and
|
|
||||||
conditions either of that published version or of any later version
|
|
||||||
published by the Free Software Foundation. If the Library as you
|
|
||||||
received it does not specify a version number of the GNU Lesser
|
|
||||||
General Public License, you may choose any version of the GNU Lesser
|
|
||||||
General Public License ever published by the Free Software Foundation.
|
|
||||||
|
|
||||||
If the Library as you received it specifies that a proxy can decide
|
|
||||||
whether future versions of the GNU Lesser General Public License shall
|
|
||||||
apply, that proxy's public statement of acceptance of any version is
|
|
||||||
permanent authorization for you to choose that version for the
|
|
||||||
Library.
|
|
@ -1,21 +0,0 @@
|
|||||||
The MIT License (MIT)
|
|
||||||
|
|
||||||
Original Work Copyright (c) 2012-2015 Alexander Turkin
|
|
||||||
Modified 2014 by William Hallatt
|
|
||||||
|
|
||||||
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.
|
|
19
LICENSES/MIT.txt
Normal file
19
LICENSES/MIT.txt
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
MIT License Copyright (c) <year> <copyright holders>
|
||||||
|
|
||||||
|
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 (including the next
|
||||||
|
paragraph) 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.
|
@ -1,3 +1,7 @@
|
|||||||
|
<!-- SPDX-FileCopyrightText: no
|
||||||
|
SPDX-License-Identifier: CC0-1.0
|
||||||
|
-->
|
||||||
|
|
||||||
### Calamares: Distribution-Independent Installer Framework
|
### Calamares: Distribution-Independent Installer Framework
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
@ -94,6 +94,10 @@ Name[hr]=Instaliraj sustav
|
|||||||
Icon[hr]=calamares
|
Icon[hr]=calamares
|
||||||
GenericName[hr]=Instalacija sustava
|
GenericName[hr]=Instalacija sustava
|
||||||
Comment[hr]=Calamares — Instalacija sustava
|
Comment[hr]=Calamares — Instalacija sustava
|
||||||
|
Name[ie]=Installar li sistema
|
||||||
|
Icon[ie]=calamares
|
||||||
|
GenericName[ie]=Installator del sistema
|
||||||
|
Comment[ie]=Calamares — Installator del sistema
|
||||||
Name[hu]=Rendszer telepítése
|
Name[hu]=Rendszer telepítése
|
||||||
Icon[hu]=calamares
|
Icon[hu]=calamares
|
||||||
GenericName[hu]=Rendszertelepítő
|
GenericName[hu]=Rendszertelepítő
|
||||||
@ -184,6 +188,10 @@ Name[sv]=Installera system
|
|||||||
Icon[sv]=calamares
|
Icon[sv]=calamares
|
||||||
GenericName[sv]=Systeminstallerare
|
GenericName[sv]=Systeminstallerare
|
||||||
Comment[sv]=Calamares — Systeminstallerare
|
Comment[sv]=Calamares — Systeminstallerare
|
||||||
|
Name[tg]=Насбкунии низом
|
||||||
|
Icon[tg]=calamares
|
||||||
|
GenericName[tg]=Насбкунандаи низомӣ
|
||||||
|
Comment[tg]=Calamares — Насбкунандаи низомӣ
|
||||||
Name[th]=ติดตั้งระบบ
|
Name[th]=ติดตั้งระบบ
|
||||||
Name[uk]=Встановити Систему
|
Name[uk]=Встановити Систему
|
||||||
Icon[uk]=calamares
|
Icon[uk]=calamares
|
||||||
|
@ -1,45 +0,0 @@
|
|||||||
# AppImage building for Calamares
|
|
||||||
|
|
||||||
> It is possible to build Calamares as an AppImage (perhaps other
|
|
||||||
> containerized formats as well). This might make sense for
|
|
||||||
> OEM phase-1 deployments in environments where Calamares is
|
|
||||||
> not using the native toolkit.
|
|
||||||
|
|
||||||
## AppImage tools
|
|
||||||
|
|
||||||
You will need
|
|
||||||
- [`linuxdeploy-x86_64.AppImage`](https://github.com/linuxdeploy/linuxdeploy/releases)
|
|
||||||
- [`linuxdeploy-plugin-qt-x86_64.AppImage`](https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases)
|
|
||||||
- [`linuxdeploy-plugin-conda.sh`](https://github.com/linuxdeploy/linuxdeploy-plugin-conda)
|
|
||||||
|
|
||||||
These tools should run -- they are bundled as AppImages after all -- on
|
|
||||||
any modern Linux system. The [AppImage packaging documentation](https://docs.appimage.org/packaging-guide/)
|
|
||||||
explains how the whole tooling works.
|
|
||||||
|
|
||||||
If the tools are not present, the build script (see below) will download them,
|
|
||||||
but you should save them for later.
|
|
||||||
|
|
||||||
## AppImage build
|
|
||||||
|
|
||||||
From the **source** directory, run `ci/AppImage.sh`:
|
|
||||||
- Use `--tools-dir` to copy the tools from a local cache rather than
|
|
||||||
downloading them again.
|
|
||||||
- Run it with `--cmake-args` for special CMake handling.
|
|
||||||
- Use `--skip-build` to avoid rebuilding Calamares all the time.
|
|
||||||
- Use `--config-dir` to copy in Calamares configuration files (e.g.
|
|
||||||
*settings.conf* and the module configuration files) from a given
|
|
||||||
directory.
|
|
||||||
|
|
||||||
The build process will:
|
|
||||||
- copy (or download) the AppImage tools into a fresh build directory
|
|
||||||
- configure and build Calamares with suitable settings
|
|
||||||
- modifies the standard `.desktop` file to be AppImage-compatible
|
|
||||||
- builds the image with the AppImage tools
|
|
||||||
|
|
||||||
## AppImage caveats
|
|
||||||
|
|
||||||
The resulting AppImage, `Calamares-x86_64.AppImage`, can be run as if it is
|
|
||||||
a regular Calamares executable. For internal reasons it always passes the
|
|
||||||
`-X` flag; any other command-line flags are passed in unchanged. Internally,
|
|
||||||
`XDG_*_DIRS` are used to get Calamares to find the resources inside the AppImage
|
|
||||||
rather than in the host system.
|
|
@ -1,9 +1,8 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
#
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2019 Adriaan de Groot <groot@kde.org>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
#
|
#
|
||||||
# Copyright 2019 Adriaan de Groot <groot@kde.org>
|
|
||||||
#
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions
|
# modification, are permitted provided that the following conditions
|
||||||
# are met:
|
# are met:
|
||||||
|
@ -1 +0,0 @@
|
|||||||
This has moved [to the wiki](https://github.com/calamares/calamares/wiki/Develop-Code).
|
|
117
ci/RELEASE.md
117
ci/RELEASE.md
@ -1,21 +1,18 @@
|
|||||||
# Calamares Release Process
|
# Calamares Release Process
|
||||||
|
|
||||||
|
<!-- SPDX-FileCopyrightText: 2015 Teo Mrnjavac <teo@kde.org>
|
||||||
|
SPDX-FileCopyrightText: 2017 Adriaan de Groot <groot@kde.org>
|
||||||
|
SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
-->
|
||||||
|
|
||||||
> Calamares releases are now rolling when-they-are-ready releases.
|
> Calamares releases are now rolling when-they-are-ready releases.
|
||||||
> Releases are made from *master* and tagged there. When, in future,
|
> Releases are made from *calamares* and tagged there. When, in future,
|
||||||
> LTS releases resume, these steps may be edited again.
|
> LTS releases resume, these steps may be edited again.
|
||||||
>
|
>
|
||||||
> Most things are automated through the release script [RELEASE.sh](RELEASE.sh)
|
> Most things are automated through the release script [RELEASE.sh](RELEASE.sh)
|
||||||
|
|
||||||
## (0) A week in advance
|
## (1) Preparation
|
||||||
|
|
||||||
* Run [Coverity scan][coverity], fix what's relevant. The Coverity scan runs
|
|
||||||
automatically once a week on master. The badge is displayed on the
|
|
||||||
project front page and in the wiki.
|
|
||||||
* Build with clang -Weverything, fix what's relevant.
|
|
||||||
```
|
|
||||||
rm -rf build ; mkdir build ; cd build
|
|
||||||
CC=clang CXX=clang++ cmake .. && make
|
|
||||||
```
|
|
||||||
* Make sure all tests pass.
|
* Make sure all tests pass.
|
||||||
```
|
```
|
||||||
make
|
make
|
||||||
@ -25,16 +22,6 @@
|
|||||||
an additional environment variable to be set for some tests, which will
|
an additional environment variable to be set for some tests, which will
|
||||||
destroy an attached disk. This is not always desirable. There are some
|
destroy an attached disk. This is not always desirable. There are some
|
||||||
sample config-files that are empty and which fail the config-tests.
|
sample config-files that are empty and which fail the config-tests.
|
||||||
* Notify [translators][transifex]. In the dashboard there is an *Announcements*
|
|
||||||
link that you can use to send a translation announcement. Note that regular
|
|
||||||
use of `txpush.sh` will notify translators as well of any changes.
|
|
||||||
|
|
||||||
[coverity]: https://scan.coverity.com/projects/calamares-calamares?tab=overview
|
|
||||||
[transifex]: https://www.transifex.com/calamares/calamares/dashboard/
|
|
||||||
|
|
||||||
|
|
||||||
## (1) Preparation
|
|
||||||
|
|
||||||
* Pull latest translations from Transifex. We only push / pull translations
|
* Pull latest translations from Transifex. We only push / pull translations
|
||||||
from master, so longer-lived branches (e.g. 3.1.x) don't get translation
|
from master, so longer-lived branches (e.g. 3.1.x) don't get translation
|
||||||
updates. This is to keep the translation workflow simple. The script
|
updates. This is to keep the translation workflow simple. The script
|
||||||
@ -47,13 +34,8 @@
|
|||||||
fairly complete translations, or use `ci/txstats.py` for an automated
|
fairly complete translations, or use `ci/txstats.py` for an automated
|
||||||
suggestion. If there are changes, commit them.
|
suggestion. If there are changes, commit them.
|
||||||
* Push the changes.
|
* Push the changes.
|
||||||
* Drop the RC variable to 0 in `CMakeLists.txt`, *CALAMARES_VERSION_RC*.
|
|
||||||
* Check `README.md` and the
|
|
||||||
[Coding Guide](https://github.com/calamares/calamares/wiki/Develop-Code),
|
|
||||||
make sure it's all still
|
|
||||||
relevant. Run `ci/calamaresstyle` to check the C++ code style.
|
|
||||||
Run pycodestyle on recently-modified Python modules, fix what makes sense.
|
|
||||||
* Check defaults in `settings.conf` and other configuration files.
|
* Check defaults in `settings.conf` and other configuration files.
|
||||||
|
* Drop the RC variable to 0 in `CMakeLists.txt`, *CALAMARES_VERSION_RC*.
|
||||||
* Edit `CHANGES` and set the date of the release.
|
* Edit `CHANGES` and set the date of the release.
|
||||||
* Commit both. This is usually done with commit-message
|
* Commit both. This is usually done with commit-message
|
||||||
*Changes: pre-release housekeeping*.
|
*Changes: pre-release housekeeping*.
|
||||||
@ -73,44 +55,16 @@
|
|||||||
On success, it prints out a suitable signature- and SHA256 blurb
|
On success, it prints out a suitable signature- and SHA256 blurb
|
||||||
for use in the release announcement.
|
for use in the release announcement.
|
||||||
|
|
||||||
### (2.1) Buld and Test
|
## (3) Release
|
||||||
|
|
||||||
* Build with gcc. If available, build again with Clang and double-check
|
Follow the instructions printed by the release script.
|
||||||
any warnings Clang produces.
|
|
||||||
* Run the tests; `make test` in the build directory should have no
|
|
||||||
failures (or if there are, know why they are there).
|
|
||||||
|
|
||||||
### (2.2) Tag
|
* Push the tags.
|
||||||
|
* Create a new release on GitHub.
|
||||||
* `git tag -s v1.1.0` Make sure the signing key is known in GitHub, so that the
|
* Upload tarball and signature.
|
||||||
tag is shown as a verified tag. Do not sign -rc tags.
|
|
||||||
You can use `make show-version` in the build directory to get the right
|
|
||||||
version number -- this will fail if you didn't follow step (1).
|
|
||||||
|
|
||||||
### (2.3) Tarball
|
|
||||||
|
|
||||||
* Create tarball: `git-archive-all -v calamares-1.1-rc1.tar.gz` or without
|
|
||||||
the helper script,
|
|
||||||
```
|
|
||||||
V=calamares-3.1.5
|
|
||||||
git archive -o $V.tar.gz --prefix $V/ master
|
|
||||||
```
|
|
||||||
Double check that the tarball matches the version number.
|
|
||||||
* Test tarball (e.g. unpack somewhere else and run the tests from step 0).
|
|
||||||
|
|
||||||
|
|
||||||
## (3) Housekeeping
|
|
||||||
|
|
||||||
* Generate MD5 and SHA256 checksums.
|
|
||||||
* Upload tarball.
|
|
||||||
* Announce on mailing list, notify packagers.
|
|
||||||
* Write release article.
|
|
||||||
* Publish tarball.
|
|
||||||
* Update download page.
|
|
||||||
* Publish release article on `calamares.io`.
|
* Publish release article on `calamares.io`.
|
||||||
* Publicize on social networks.
|
* Close associated milestone on GitHub if it's entirely done.
|
||||||
* Close associated milestone on GitHub if this is the actual release.
|
* Update topic on #calamares IRC channel.
|
||||||
* Publish blog post.
|
|
||||||
|
|
||||||
## (4) Post-Release
|
## (4) Post-Release
|
||||||
|
|
||||||
@ -133,3 +87,44 @@ This release contains contributions from (alphabetically by first name):
|
|||||||
## Modules ##
|
## Modules ##
|
||||||
- No module changes yet
|
- No module changes yet
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Related Material
|
||||||
|
|
||||||
|
> This section isn't directly related to any specific release,
|
||||||
|
> but bears on all releases.
|
||||||
|
|
||||||
|
## GPG Key Maintainence
|
||||||
|
|
||||||
|
Calamares uses GPG Keys for signing the tarballs and some commits
|
||||||
|
(tags, mostly). Calamares uses the **maintainer's** personal GPG
|
||||||
|
key for this. This section details some GPG activities that the
|
||||||
|
maintainer should do with those keys.
|
||||||
|
|
||||||
|
- Signing sub-key. It's convenient to use a signing sub-key specifically
|
||||||
|
for the signing of Calamares. To do so, add a key to the private key.
|
||||||
|
It's recommended to use key expiry, and to update signing keys periodically.
|
||||||
|
- Run `gpg -K` to find the key ID of your personal GPG secret key.
|
||||||
|
- Run `gpg --edit-key <keyid>` to edit that personal GPG key.
|
||||||
|
- In gpg edit-mode, use `addkey`, then pick a key type that is *sign-only*
|
||||||
|
(e.g. type 4, *RSA (sign only)*), then pick a keysize (3072 seems ok
|
||||||
|
as of 2020) and set a key expiry time, (e.g. in 18 months time).
|
||||||
|
- After generation, the secret key information is printed again, now
|
||||||
|
including the new signing subkey:
|
||||||
|
```
|
||||||
|
ssb rsa3072/0xCFDDC96F12B1915C
|
||||||
|
created: 2020-07-11 expires: 2022-01-02 usage: S
|
||||||
|
```
|
||||||
|
- Update the `RELEASE.sh` script with a new signing sub-key ID when a new
|
||||||
|
one is generated. Also announce the change of signing sub-key (e.g. on
|
||||||
|
the Calmares site or as part of a release announcement).
|
||||||
|
- Send the updated key to keyservers with `gpg --send-keys <keyid>`
|
||||||
|
- Optional: sanitize the keyring for use in development machines.
|
||||||
|
Export the current subkeys of the master key and keep **only** those
|
||||||
|
secret keys around. There is documentation
|
||||||
|
[here](https://blog.tinned-software.net/create-gnupg-key-with-sub-keys-to-sign-encrypt-authenticate/)
|
||||||
|
but be careful.
|
||||||
|
- Export the public key material with `gpg --export --armor <keyid>`,
|
||||||
|
possibly also setting an output file.
|
||||||
|
- Upload that public key to the relevant GitHub profile.
|
||||||
|
- Upload that public key to the Calamares site.
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
#
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2018 Adriaan de Groot <groot@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
#
|
||||||
### USAGE
|
### USAGE
|
||||||
#
|
#
|
||||||
# Release script for Calamares
|
# Release script for Calamares
|
||||||
@ -78,7 +81,7 @@ if test "x$BUILD_DEFAULT" = "xtrue" ; then
|
|||||||
rm -rf "$BUILDDIR"
|
rm -rf "$BUILDDIR"
|
||||||
mkdir "$BUILDDIR" || { echo "Could not create build directory." ; exit 1 ; }
|
mkdir "$BUILDDIR" || { echo "Could not create build directory." ; exit 1 ; }
|
||||||
( cd "$BUILDDIR" && cmake .. && make -j4 ) || { echo "Could not perform test-build in $BUILDDIR." ; exit 1 ; }
|
( cd "$BUILDDIR" && cmake .. && make -j4 ) || { echo "Could not perform test-build in $BUILDDIR." ; exit 1 ; }
|
||||||
( cd "$BUILDDIR" && make test ) || { echo "Tests failed in $BUILDDIR." ; exit 1 ; }
|
( cd "$BUILDDIR" && make test ) || { echo "Tests failed in $BUILDDIR ." ; exit 1 ; }
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Build with clang
|
### Build with clang
|
||||||
@ -95,7 +98,7 @@ if test "x$BUILD_CLANG" = "xtrue" ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$BUILD_ONLY" = "xtrue" ; then
|
if test "x$BUILD_ONLY" = "xtrue" ; then
|
||||||
echo "Builds completed, release stopped. Build remains in $BUILDDIR."
|
echo "Builds completed, release stopped. Build remains in $BUILDDIR ."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -106,20 +109,20 @@ else
|
|||||||
# Presumably -B was given; just do the cmake part
|
# Presumably -B was given; just do the cmake part
|
||||||
rm -rf "$BUILDDIR"
|
rm -rf "$BUILDDIR"
|
||||||
mkdir "$BUILDDIR" || { echo "Could not create build directory." ; exit 1 ; }
|
mkdir "$BUILDDIR" || { echo "Could not create build directory." ; exit 1 ; }
|
||||||
( cd "$BUILDDIR" && cmake .. ) || { echo "Could not run cmake in $BUILDDIR." ; exit 1 ; }
|
( cd "$BUILDDIR" && cmake .. ) || { echo "Could not run cmake in $BUILDDIR ." ; exit 1 ; }
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Get version number for this release
|
### Get version number for this release
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
V=$( cd "$BUILDDIR" && make show-version | grep ^CALAMARES_VERSION | sed s/^[A-Z_]*=// )
|
V=$( cd "$BUILDDIR" && make show-version | grep ^CALAMARES_VERSION | sed s/^[A-Z_]*=// )
|
||||||
test -n "$V" || { echo "Could not obtain version in $BUILDDIR." ; exit 1 ; }
|
test -n "$V" || { echo "Could not obtain version in $BUILDDIR ." ; exit 1 ; }
|
||||||
|
|
||||||
### Create signed tag
|
### Create signed tag
|
||||||
#
|
#
|
||||||
# This is the signing key ID associated with the GitHub account adriaandegroot,
|
# This is the signing key ID associated with the GitHub account adriaandegroot,
|
||||||
# which is used to create all "verified" tags in the Calamares repo.
|
# which is used to create all "verified" tags in the Calamares repo.
|
||||||
KEY_ID="61A7D26277E4D0DB"
|
KEY_ID="CFDDC96F12B1915C"
|
||||||
git tag -u "$KEY_ID" -m "Release v$V" "v$V" || { echo "Could not sign tag v$V." ; exit 1 ; }
|
git tag -u "$KEY_ID" -m "Release v$V" "v$V" || { echo "Could not sign tag v$V." ; exit 1 ; }
|
||||||
|
|
||||||
### Create the tarball
|
### Create the tarball
|
||||||
@ -139,7 +142,7 @@ TMPDIR=$(mktemp -d --suffix="-calamares-$D")
|
|||||||
test -d "$TMPDIR" || { echo "Could not create tarball-build directory." ; exit 1 ; }
|
test -d "$TMPDIR" || { echo "Could not create tarball-build directory." ; exit 1 ; }
|
||||||
tar xzf "$TAR_FILE" -C "$TMPDIR" || { echo "Could not unpack tarball." ; exit 1 ; }
|
tar xzf "$TAR_FILE" -C "$TMPDIR" || { echo "Could not unpack tarball." ; exit 1 ; }
|
||||||
test -d "$TMPDIR/$TAR_V" || { echo "Tarball did not contain source directory." ; exit 1 ; }
|
test -d "$TMPDIR/$TAR_V" || { echo "Tarball did not contain source directory." ; exit 1 ; }
|
||||||
( cd "$TMPDIR/$TAR_V" && cmake . && make -j4 && make test ) || { echo "Tarball build failed in $TMPDIR." ; exit 1 ; }
|
( cd "$TMPDIR/$TAR_V" && cmake . && make -j4 && make test ) || { echo "Tarball build failed in $TMPDIR ." ; exit 1 ; }
|
||||||
|
|
||||||
### Cleanup
|
### Cleanup
|
||||||
#
|
#
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2014 Aurélien Gâteau <agateau@kde.org>
|
||||||
|
# SPDX-FileCopyrightText: 2019 Adriaan de Groot <groot@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
# Do not create a backup file
|
# Do not create a backup file
|
||||||
suffix=none
|
suffix=none
|
||||||
|
|
||||||
|
@ -1,7 +1,16 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2014 Aurélien Gâteau <agateau@kde.org>
|
||||||
|
# SPDX-FileCopyrightText: 2019 Adriaan de Groot <groot@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
#
|
||||||
# Calls astyle with settings matching Calamares coding style
|
# Calls astyle with settings matching Calamares coding style
|
||||||
# Requires astyle >= 2.04 and clang-format-7
|
# Requires astyle >= 2.04 and clang-format-7 -8 or -9
|
||||||
|
#
|
||||||
|
# Clang-format-10 is **not** supported, since it changes a default
|
||||||
|
# that re-introduces a space into empty function bodies; this
|
||||||
|
# can be turned off with a style setting, but that breaks
|
||||||
|
# older format versions which don't recognize the setting.
|
||||||
#
|
#
|
||||||
# You can pass in directory names, in which case the files
|
# You can pass in directory names, in which case the files
|
||||||
# in that directory (NOT below it) are processed.
|
# in that directory (NOT below it) are processed.
|
||||||
@ -38,8 +47,10 @@ done
|
|||||||
|
|
||||||
style_some()
|
style_some()
|
||||||
{
|
{
|
||||||
|
if test -n "$*" ; then
|
||||||
$AS --options=$(dirname $0)/astylerc --quiet "$@"
|
$AS --options=$(dirname $0)/astylerc --quiet "$@"
|
||||||
$CF -i -style=file "$@"
|
$CF -i -style=file "$@"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if test "x$any_dirs" = "xyes" ; then
|
if test "x$any_dirs" = "xyes" ; then
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
#
|
#
|
||||||
# SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
|
# SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
# License-Filename: LICENSES/BSD2
|
|
||||||
#
|
#
|
||||||
usage = """
|
usage = """
|
||||||
Validates a Calamares config file -- YAML syntax -- against a schema.
|
Validates a Calamares config file -- YAML syntax -- against a schema.
|
||||||
|
@ -3,4 +3,7 @@
|
|||||||
|
|
||||||
Calamares doesn't seem to geenerate any false positives,
|
Calamares doesn't seem to geenerate any false positives,
|
||||||
so the model-file is empty.
|
so the model-file is empty.
|
||||||
|
|
||||||
|
SPDX-FileCopyrightText: 2017 Adriaan de Groot <groot@kde.org>
|
||||||
|
SPDX-License-Identifier: BSD-2-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
cd "$WORKSPACE"
|
|
||||||
cppcheck --enable=all --inconclusive --xml --xml-version=2 src 2> cppcheck.xml
|
|
@ -1,5 +1,8 @@
|
|||||||
# Build configuration on Travis.
|
# Build configuration on Travis.
|
||||||
#
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2018 Adriaan de Groot <groot@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
#
|
||||||
# Defines a CMAKE_ARGS variable for use with cmake
|
# Defines a CMAKE_ARGS variable for use with cmake
|
||||||
#
|
#
|
||||||
# This file is sourced by travis.sh, and exports the variables
|
# This file is sourced by travis.sh, and exports the variables
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
#
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2017 Adriaan de Groot <groot@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
#
|
||||||
# Travis CI script for use on every-commit:
|
# Travis CI script for use on every-commit:
|
||||||
# - build and install Calamares
|
# - build and install Calamares
|
||||||
#
|
#
|
||||||
@ -24,7 +27,7 @@ section "cmake $CMAKE_ARGS $SRCDIR"
|
|||||||
cmake $CMAKE_ARGS $SRCDIR || { echo "! CMake failed" ; exit 1 ; }
|
cmake $CMAKE_ARGS $SRCDIR || { echo "! CMake failed" ; exit 1 ; }
|
||||||
|
|
||||||
section "make"
|
section "make"
|
||||||
make -j2 || { echo "! Make recheck" ; pwd -P ; df -h ; make -j1 VERBOSE=1 ; echo "! Make failed" ; exit 1 ; }
|
make -j2 VERBOSE=1 || { echo "! Make recheck" ; pwd -P ; df -h ; make -j1 VERBOSE=1 ; echo "! Make failed" ; exit 1 ; }
|
||||||
|
|
||||||
section "make install"
|
section "make install"
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
#
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2017 Adriaan de Groot <groot@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
#
|
||||||
# Travis CI script for weekly (cron) use:
|
# Travis CI script for weekly (cron) use:
|
||||||
# - use the coverity tool to build and and upload results
|
# - use the coverity tool to build and and upload results
|
||||||
#
|
#
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
#
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2017 Adriaan de Groot <groot@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
#
|
||||||
# Travis build driver script:
|
# Travis build driver script:
|
||||||
# - the regular CI runs, triggered by commits, run a script that builds
|
# - the regular CI runs, triggered by commits, run a script that builds
|
||||||
# and installs calamares, and then runs the tests.
|
# and installs calamares, and then runs the tests.
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
### LICENSE
|
### LICENSE
|
||||||
# === This file is part of Calamares - <https://github.com/calamares> ===
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
|
||||||
# SPDX-FileCopyrightText: 2019-2020 Adriaan de Groot <groot@kde.org>
|
# SPDX-FileCopyrightText: 2019-2020 Adriaan de Groot <groot@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
#
|
#
|
||||||
# This file is Free Software: you can redistribute it and/or modify
|
# This file is Free Software: you can redistribute it and/or modify
|
||||||
# it under the terms of the 2-clause BSD License.
|
# it under the terms of the 2-clause BSD License.
|
||||||
@ -29,7 +29,7 @@
|
|||||||
### END USAGE
|
### END USAGE
|
||||||
|
|
||||||
# The files that are translated; should match the contents of .tx/config
|
# The files that are translated; should match the contents of .tx/config
|
||||||
TX_FILE_LIST="lang/calamares_en.ts lang/python.pot src/modules/dummypythonqt/lang/dummypythonqt.pot calamares.desktop"
|
TX_FILE_LIST="lang/calamares_en.ts lang/python.pot calamares.desktop"
|
||||||
|
|
||||||
### COMMAND ARGUMENTS
|
### COMMAND ARGUMENTS
|
||||||
#
|
#
|
||||||
@ -125,7 +125,7 @@ tx_sum()
|
|||||||
|
|
||||||
# Remove linenumbers from .ts (XML) and .pot
|
# Remove linenumbers from .ts (XML) and .pot
|
||||||
sed -i'' -e '/<location filename/d' "$WORKTREE_NAME/lang/calamares_en.ts"
|
sed -i'' -e '/<location filename/d' "$WORKTREE_NAME/lang/calamares_en.ts"
|
||||||
sed -i'' -e '/^#: src..*[0-9]$/d' $WORKTREE_NAME/lang/python.pot $WORKTREE_NAME/src/modules/dummypythonqt/lang/dummypythonqt.pot
|
sed -i'' -e '/^#: src..*[0-9]$/d' $WORKTREE_NAME/lang/python.pot
|
||||||
|
|
||||||
_SUM=$( cd $WORKTREE_NAME && cat $TX_FILE_LIST | $SHA256 )
|
_SUM=$( cd $WORKTREE_NAME && cat $TX_FILE_LIST | $SHA256 )
|
||||||
echo "$_SUM"
|
echo "$_SUM"
|
||||||
|
12
ci/txpull.sh
12
ci/txpull.sh
@ -1,11 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
### LICENSE
|
### LICENSE
|
||||||
# === This file is part of Calamares - <https://github.com/calamares> ===
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
|
||||||
# SPDX-FileCopyrightText: 2017-2020 Adriaan de Groot <groot@kde.org>
|
|
||||||
# SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac <teo@kde.org>
|
# SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac <teo@kde.org>
|
||||||
|
# SPDX-FileCopyrightText: 2017-2020 Adriaan de Groot <groot@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
#
|
#
|
||||||
# This file is Free Software: you can redistribute it and/or modify
|
# This file is Free Software: you can redistribute it and/or modify
|
||||||
# it under the terms of the 2-clause BSD License.
|
# it under the terms of the 2-clause BSD License.
|
||||||
@ -64,7 +64,7 @@ tx pull --force --source --all
|
|||||||
# so clean them up after pulling.
|
# so clean them up after pulling.
|
||||||
#
|
#
|
||||||
drop_language() {
|
drop_language() {
|
||||||
rm -rf lang/python/"$1" src/modules/dummypythonqt/lang/"$1" lang/calamares_"$1".ts
|
rm -rf lang/python/"$1" lang/calamares_"$1".ts
|
||||||
grep -v "\\[$1]" calamares.desktop > calamares.desktop.new
|
grep -v "\\[$1]" calamares.desktop > calamares.desktop.new
|
||||||
mv calamares.desktop.new calamares.desktop
|
mv calamares.desktop.new calamares.desktop
|
||||||
}
|
}
|
||||||
@ -126,7 +126,7 @@ for MODULE_DIR in $(find src/modules -maxdepth 1 -mindepth 1 -type d) ; do
|
|||||||
# Convert PO files to MO files
|
# Convert PO files to MO files
|
||||||
for POFILE in $(find ${MODULE_DIR} -name "*.po") ; do
|
for POFILE in $(find ${MODULE_DIR} -name "*.po") ; do
|
||||||
sed -i'' '/^"Content-Type/s/CHARSET/UTF-8/' $POFILE
|
sed -i'' '/^"Content-Type/s/CHARSET/UTF-8/' $POFILE
|
||||||
msgfmt -o ${POFILE%.po}.mo $POFILE
|
# msgfmt -o ${POFILE%.po}.mo $POFILE
|
||||||
done
|
done
|
||||||
git add --verbose ${MODULE_DIR}/lang/*
|
git add --verbose ${MODULE_DIR}/lang/*
|
||||||
git commit "$AUTHOR" --message="i18n: [${MODULE_NAME}] $BOILERPLATE" | true
|
git commit "$AUTHOR" --message="i18n: [${MODULE_NAME}] $BOILERPLATE" | true
|
||||||
@ -136,7 +136,7 @@ done
|
|||||||
|
|
||||||
for POFILE in $(find lang -name "python.po") ; do
|
for POFILE in $(find lang -name "python.po") ; do
|
||||||
sed -i'' '/^"Content-Type/s/CHARSET/UTF-8/' $POFILE
|
sed -i'' '/^"Content-Type/s/CHARSET/UTF-8/' $POFILE
|
||||||
msgfmt -o ${POFILE%.po}.mo $POFILE
|
# msgfmt -o ${POFILE%.po}.mo $POFILE
|
||||||
done
|
done
|
||||||
git add --verbose lang/python*
|
git add --verbose lang/python*
|
||||||
git commit "$AUTHOR" --message="i18n: [python] $BOILERPLATE" | true
|
git commit "$AUTHOR" --message="i18n: [python] $BOILERPLATE" | true
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
### LICENSE
|
### LICENSE
|
||||||
# === This file is part of Calamares - <https://github.com/calamares> ===
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
|
||||||
# SPDX-FileCopyrightText: 2017-2020 Adriaan de Groot <groot@kde.org>
|
|
||||||
# SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac <teo@kde.org>
|
# SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac <teo@kde.org>
|
||||||
|
# SPDX-FileCopyrightText: 2017-2020 Adriaan de Groot <groot@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
#
|
#
|
||||||
# This file is Free Software: you can redistribute it and/or modify
|
# This file is Free Software: you can redistribute it and/or modify
|
||||||
# it under the terms of the 2-clause BSD License.
|
# it under the terms of the 2-clause BSD License.
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
#
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
#
|
||||||
# Reduce a translation file -- generally, a Timezone translation -- by
|
# Reduce a translation file -- generally, a Timezone translation -- by
|
||||||
# dropping untranslated strings. An untranslated string is one that
|
# dropping untranslated strings. An untranslated string is one that
|
||||||
# has an empty translation **and** is marked unfinished.
|
# has an empty translation **and** is marked unfinished.
|
||||||
|
172
ci/txstats.py
172
ci/txstats.py
@ -1,5 +1,8 @@
|
|||||||
#! /usr/bin/env python3
|
#! /usr/bin/env python3
|
||||||
#
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2018 Adriaan de Groot <groot@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
#
|
||||||
# Uses the Transifex API to get a list of enabled languages,
|
# Uses the Transifex API to get a list of enabled languages,
|
||||||
# and outputs CMake settings for inclusion into CMakeLists.txt.
|
# and outputs CMake settings for inclusion into CMakeLists.txt.
|
||||||
#
|
#
|
||||||
@ -8,8 +11,35 @@
|
|||||||
# Run it with a -v command-line option to get extra output on
|
# Run it with a -v command-line option to get extra output on
|
||||||
# actual translation percentages.
|
# actual translation percentages.
|
||||||
import sys
|
import sys
|
||||||
|
import argparse
|
||||||
|
|
||||||
def get_tx_credentials():
|
class TXError(Exception):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
class TransifexGetter(object):
|
||||||
|
"""
|
||||||
|
Get language data from Transifex.
|
||||||
|
|
||||||
|
The object does all the work in __init__, after that
|
||||||
|
the only relevant data is .languages, a dictionary
|
||||||
|
of language data.
|
||||||
|
"""
|
||||||
|
def __init__(self):
|
||||||
|
token = self.get_tx_credentials()
|
||||||
|
if token is None:
|
||||||
|
raise TXError("Could not get Transifex API token")
|
||||||
|
|
||||||
|
import requests
|
||||||
|
r = requests.get("https://api.transifex.com/organizations/calamares/projects/calamares/resources/calamares/", auth=("api", token))
|
||||||
|
if r.status_code != 200:
|
||||||
|
raise TXError("Could not get Transifex data from API")
|
||||||
|
|
||||||
|
j = r.json()
|
||||||
|
self.languages = j["stats"]
|
||||||
|
|
||||||
|
|
||||||
|
def get_tx_credentials(self):
|
||||||
"""
|
"""
|
||||||
Gets the API token out of the user's .transifexrc (this is supposed
|
Gets the API token out of the user's .transifexrc (this is supposed
|
||||||
to be secure).
|
to be secure).
|
||||||
@ -26,7 +56,92 @@ def get_tx_credentials():
|
|||||||
except IOError as e:
|
except IOError as e:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def output_langs(all_langs, label, filterfunc):
|
|
||||||
|
class BogusGetter(object):
|
||||||
|
"""
|
||||||
|
Fake language data.
|
||||||
|
|
||||||
|
This object pretends to retrieve data, and returns fixed language lists and percentages,
|
||||||
|
for testing purposes without hitting Transifex servers all the time.
|
||||||
|
"""
|
||||||
|
def __init__(self):
|
||||||
|
self.languages = dict()
|
||||||
|
for lang, completion in ( ("sq", 100), ("ar", 44), ("as", 28), ("de", 15), ("da", 4), ("ts", 82) ):
|
||||||
|
self.languages[lang] = dict(translated=dict(stringcount=686, percentage=(completion/100.0)))
|
||||||
|
|
||||||
|
|
||||||
|
class PrintOutputter(object):
|
||||||
|
"""
|
||||||
|
Output via print-statements.
|
||||||
|
"""
|
||||||
|
def __init__(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def print(self, s):
|
||||||
|
print(s)
|
||||||
|
|
||||||
|
def __enter__(self):
|
||||||
|
return self
|
||||||
|
|
||||||
|
def __exit__(self, e, v, tb):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
class EditingOutputter(object):
|
||||||
|
"""
|
||||||
|
Edit CMakeLists in-place.
|
||||||
|
"""
|
||||||
|
def __init__(self):
|
||||||
|
with open("CMakeLists.txt", "r") as f:
|
||||||
|
lines = f.readlines()
|
||||||
|
|
||||||
|
mark = None
|
||||||
|
for l in lines:
|
||||||
|
# Note that we didn't strip the lines, so need the \n here
|
||||||
|
if l.startswith("# Total ") and l.endswith(" languages\n"):
|
||||||
|
mark = lines.index(l)
|
||||||
|
break
|
||||||
|
if mark is None:
|
||||||
|
raise TXError("No CMakeLists.txt lines for TX stats found")
|
||||||
|
self.pre_lines = lines[:mark]
|
||||||
|
|
||||||
|
nextmark = mark + 1
|
||||||
|
for l in lines[mark+1:]:
|
||||||
|
if l.startswith("set( _tx_"):
|
||||||
|
nextmark += 1
|
||||||
|
continue
|
||||||
|
if l.startswith(" "):
|
||||||
|
nextmark += 1
|
||||||
|
continue
|
||||||
|
break
|
||||||
|
if nextmark > mark + 12 or nextmark > len(lines) - 4:
|
||||||
|
# Try to catch runaway nextmarks: we know there should
|
||||||
|
# be four set-lines, which are unlikely to be 3 lines each;
|
||||||
|
# similarly the CMakeLists.txt is supposed to end with
|
||||||
|
# some boilerplate.
|
||||||
|
raise TXError("Could not find end of TX settings in CMakeLists.txt")
|
||||||
|
self.post_lines = lines[nextmark:]
|
||||||
|
|
||||||
|
self.mid_lines = []
|
||||||
|
print("# Editing CMakeLists.txt in-place")
|
||||||
|
|
||||||
|
def print(self, s):
|
||||||
|
# Add the implicit \n from print()
|
||||||
|
self.mid_lines.append(s + "\n")
|
||||||
|
if s.startswith("#"):
|
||||||
|
print(s)
|
||||||
|
|
||||||
|
def __enter__(self):
|
||||||
|
return self
|
||||||
|
|
||||||
|
def __exit__(self, e, v, tb):
|
||||||
|
if e is None:
|
||||||
|
with open("CMakeLists.txt", "w") as f:
|
||||||
|
f.write("".join(self.pre_lines + self.mid_lines + self.post_lines))
|
||||||
|
print("# CMakeLists.txt updated")
|
||||||
|
|
||||||
|
|
||||||
|
def output_langs(all_langs, outputter, label, filterfunc):
|
||||||
"""
|
"""
|
||||||
Output (via print) all of the languages in @p all_langs
|
Output (via print) all of the languages in @p all_langs
|
||||||
that satisfy the translation-percentage filter @p filterfunc.
|
that satisfy the translation-percentage filter @p filterfunc.
|
||||||
@ -42,12 +157,13 @@ def output_langs(all_langs, label, filterfunc):
|
|||||||
|
|
||||||
while len(out) > width - len(prefix):
|
while len(out) > width - len(prefix):
|
||||||
chunk = out[:out[:width].rfind(" ")]
|
chunk = out[:out[:width].rfind(" ")]
|
||||||
print("%s%s" % (prefix, chunk))
|
outputter.print("%s%s" % (prefix, chunk))
|
||||||
out = out[len(chunk)+1:]
|
out = out[len(chunk)+1:]
|
||||||
prefix = " "
|
prefix = " "
|
||||||
print("%s%s" % (prefix, out))
|
outputter.print("%s%s" % (prefix, out))
|
||||||
|
|
||||||
def get_tx_stats(token, verbose):
|
|
||||||
|
def get_tx_stats(languages, outputter, verbose):
|
||||||
"""
|
"""
|
||||||
Does an API request to Transifex with the given API @p token, getting
|
Does an API request to Transifex with the given API @p token, getting
|
||||||
the translation statistics for the main body of texts. Then prints
|
the translation statistics for the main body of texts. Then prints
|
||||||
@ -56,12 +172,6 @@ def get_tx_stats(token, verbose):
|
|||||||
|
|
||||||
If @p verbose is True, prints out language stats as well.
|
If @p verbose is True, prints out language stats as well.
|
||||||
"""
|
"""
|
||||||
import requests
|
|
||||||
|
|
||||||
r = requests.get("https://api.transifex.com/organizations/calamares/projects/calamares/resources/calamares/", auth=("api", token))
|
|
||||||
if r.status_code != 200:
|
|
||||||
return 1
|
|
||||||
|
|
||||||
suppressed_languages = ( "es_ES", ) # In Transifex, but not used
|
suppressed_languages = ( "es_ES", ) # In Transifex, but not used
|
||||||
# Some languages go into the "incomplete" list by definition,
|
# Some languages go into the "incomplete" list by definition,
|
||||||
# regardless of their completion status: this can have various reasons.
|
# regardless of their completion status: this can have various reasons.
|
||||||
@ -71,13 +181,11 @@ def get_tx_stats(token, verbose):
|
|||||||
# and it's at-the-least ok.
|
# and it's at-the-least ok.
|
||||||
incomplete_languages = (
|
incomplete_languages = (
|
||||||
"eo", # Not supported by QLocale < 5.12.1
|
"eo", # Not supported by QLocale < 5.12.1
|
||||||
|
"ie", # Not supported by Qt at least through 5.15.0
|
||||||
)
|
)
|
||||||
|
|
||||||
all_langs = []
|
all_langs = []
|
||||||
|
outputter.print("# Total %d languages" % len(languages))
|
||||||
j = r.json()
|
|
||||||
languages = j["stats"]
|
|
||||||
print("# Total %d languages" % len(languages))
|
|
||||||
for lang_name in languages:
|
for lang_name in languages:
|
||||||
if lang_name in suppressed_languages:
|
if lang_name in suppressed_languages:
|
||||||
continue
|
continue
|
||||||
@ -91,23 +199,35 @@ def get_tx_stats(token, verbose):
|
|||||||
|
|
||||||
if verbose:
|
if verbose:
|
||||||
for s, l in sorted(all_langs, reverse=True):
|
for s, l in sorted(all_langs, reverse=True):
|
||||||
print("# %16s\t%6.2f" % (l, s * 100.0))
|
outputter.print("# %16s\t%6.2f" % (l, s * 100.0))
|
||||||
output_langs(all_langs, "complete", lambda s : s == 1.0)
|
output_langs(all_langs, outputter, "complete", lambda s : s == 1.0)
|
||||||
output_langs(all_langs, "good", lambda s : 1.0 > s >= 0.75)
|
output_langs(all_langs, outputter, "good", lambda s : 1.0 > s >= 0.75)
|
||||||
output_langs(all_langs, "ok", lambda s : 0.75 > s >= 0.05)
|
output_langs(all_langs, outputter, "ok", lambda s : 0.75 > s >= 0.05)
|
||||||
output_langs(all_langs, "incomplete", lambda s : 0.05 > s)
|
output_langs(all_langs, outputter, "incomplete", lambda s : 0.05 > s)
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
verbose = (sys.argv[-1] == "-v")
|
parser = argparse.ArgumentParser(description="Update Transifex Statistics")
|
||||||
cred = get_tx_credentials()
|
parser.add_argument("--verbose", "-v", help="Show statistics", action="store_true")
|
||||||
if cred:
|
parser.add_argument("--bogus", "-n", help="Use bogus data (do not query Transifex)", action="store_true")
|
||||||
return get_tx_stats(cred, verbose)
|
parser.add_argument("--edit", "-e", help="Edit CMakeLists.txt in-place", action="store_true")
|
||||||
|
args = parser.parse_args()
|
||||||
|
try:
|
||||||
|
if args.bogus:
|
||||||
|
getter = BogusGetter()
|
||||||
else:
|
else:
|
||||||
print("! Could not find API token in ~/.transifexrc")
|
getter = TransifexGetter()
|
||||||
return 1
|
if args.edit:
|
||||||
|
outputter = EditingOutputter()
|
||||||
|
else:
|
||||||
|
outputter = PrintOutputter()
|
||||||
|
with outputter:
|
||||||
|
return get_tx_stats(getter.languages, outputter, args.verbose)
|
||||||
|
except TXError as e:
|
||||||
|
print("! " + str(e))
|
||||||
|
return 1;
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
# SPDX-FileCopyrightText: 2014 Teo Mrnjavac <teo@kde.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
|
IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
|
||||||
MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
|
MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
|
||||||
ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
|
ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- SPDX-FileCopyrightText: no
|
||||||
|
SPDX-License-Identifier: CC0-1.0
|
||||||
|
-->
|
||||||
<!DOCTYPE policyconfig PUBLIC
|
<!DOCTYPE policyconfig PUBLIC
|
||||||
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
||||||
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
|
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2020 Adriaan de Groot <adridg@FreeBSD.org>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
PORTNAME= calamares
|
PORTNAME= calamares
|
||||||
DISTVERSION= 3.2.25
|
DISTVERSION= 3.2.25
|
||||||
|
@ -1,19 +1,10 @@
|
|||||||
# === This file is part of Calamares - <https://github.com/calamares> ===
|
# === This file is part of Calamares - <https://calamares.io> ===
|
||||||
#
|
#
|
||||||
# Copyright 2020, Gaël PORTAY <gael.portay@gmail.com>
|
# SPDX-FileCopyrightText: 2020 Gaël PORTAY <gael.portay@gmail.com>
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
#
|
#
|
||||||
# Calamares is free software: you can redistribute it and/or modify
|
# Calamares is Free Software: see the License-Identifier above.
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
#
|
||||||
# Calamares is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with Calamares. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
_calamares()
|
_calamares()
|
||||||
{
|
{
|
||||||
|
2
data/config-appimage/branding/default/squid.png.license
Normal file
2
data/config-appimage/branding/default/squid.png.license
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SPDX-FileCopyrightText: 2014 Teo Mrnjavac <teo@kde.org>
|
||||||
|
SPDX-License-Identifier: GPL-3.0-or-later
|
@ -1,3 +1,6 @@
|
|||||||
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
#
|
||||||
# Configure one or more display managers (e.g. SDDM)
|
# Configure one or more display managers (e.g. SDDM)
|
||||||
# with a "best effort" approach.
|
# with a "best effort" approach.
|
||||||
---
|
---
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
#
|
||||||
# Configuration for the "finished" page, which is usually shown only at
|
# Configuration for the "finished" page, which is usually shown only at
|
||||||
# the end of the installation (successful or not).
|
# the end of the installation (successful or not).
|
||||||
---
|
---
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
#
|
||||||
# NOTE: you must have ckbcomp installed and runnable
|
# NOTE: you must have ckbcomp installed and runnable
|
||||||
# on the live system, for keyboard layout previews.
|
# on the live system, for keyboard layout previews.
|
||||||
---
|
---
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
#
|
||||||
---
|
---
|
||||||
# This settings are used to set your default system time zone.
|
# This settings are used to set your default system time zone.
|
||||||
# Time zones are usually located under /usr/share/zoneinfo and
|
# Time zones are usually located under /usr/share/zoneinfo and
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
#
|
||||||
# Configuration for the one-user-system user module.
|
# Configuration for the one-user-system user module.
|
||||||
#
|
#
|
||||||
# Besides these settings, the user module also places the following
|
# Besides these settings, the user module also places the following
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
#
|
||||||
# Configuration for the welcome module. The welcome page
|
# Configuration for the welcome module. The welcome page
|
||||||
# displays some information from the branding file.
|
# displays some information from the branding file.
|
||||||
# Which parts it displays can be configured through
|
# Which parts it displays can be configured through
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
#
|
||||||
# Configuration file for Calamares
|
# Configuration file for Calamares
|
||||||
# Syntax is YAML 1.2
|
# Syntax is YAML 1.2
|
||||||
---
|
---
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
# Example Filesystem
|
# Example Filesystem
|
||||||
|
|
||||||
|
<!-- SPDX-FileCopyrightText: no
|
||||||
|
SPDX-License-Identifier: CC0-1.0
|
||||||
|
-->
|
||||||
|
|
||||||
This is a filesystem that will be used as / in an example distro,
|
This is a filesystem that will be used as / in an example distro,
|
||||||
*if* you build the `example-distro` target and use the default
|
*if* you build the `example-distro` target and use the default
|
||||||
unpackfs configuration. It should hold files and configuration
|
unpackfs configuration. It should hold files and configuration
|
||||||
|
@ -1,2 +1,5 @@
|
|||||||
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
#
|
||||||
# Global .profile -- add /sbin_1
|
# Global .profile -- add /sbin_1
|
||||||
PATH=$PATH:/sbin_1:/xbin
|
PATH=$PATH:/sbin_1:/xbin
|
||||||
|
@ -1 +1,4 @@
|
|||||||
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
#
|
||||||
root:x:0:
|
root:x:0:
|
||||||
|
@ -1 +1,4 @@
|
|||||||
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
#
|
||||||
This is an example /etc/issue file.
|
This is an example /etc/issue file.
|
||||||
|
@ -1,486 +1,10 @@
|
|||||||
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
#
|
||||||
# This file lists locales that you wish to have built. You can find a list
|
# This file lists locales that you wish to have built. You can find a list
|
||||||
# of valid supported locales at /usr/share/i18n/SUPPORTED, and you can add
|
# of valid supported locales at /usr/share/i18n/SUPPORTED, and you can add
|
||||||
# user defined locales to /usr/local/share/i18n/SUPPORTED. If you change
|
# user defined locales to /usr/local/share/i18n/SUPPORTED. If you change
|
||||||
# this file, you need to rerun locale-gen.
|
# this file, you need to rerun locale-gen.
|
||||||
|
|
||||||
|
|
||||||
# aa_DJ ISO-8859-1
|
|
||||||
# aa_DJ.UTF-8 UTF-8
|
|
||||||
# aa_ER UTF-8
|
|
||||||
# aa_ER@saaho UTF-8
|
|
||||||
# aa_ET UTF-8
|
|
||||||
# af_ZA ISO-8859-1
|
|
||||||
# af_ZA.UTF-8 UTF-8
|
|
||||||
# ak_GH UTF-8
|
|
||||||
# am_ET UTF-8
|
|
||||||
# an_ES ISO-8859-15
|
|
||||||
# an_ES.UTF-8 UTF-8
|
|
||||||
# anp_IN UTF-8
|
|
||||||
# ar_AE ISO-8859-6
|
|
||||||
# ar_AE.UTF-8 UTF-8
|
|
||||||
# ar_BH ISO-8859-6
|
|
||||||
# ar_BH.UTF-8 UTF-8
|
|
||||||
# ar_DZ ISO-8859-6
|
|
||||||
# ar_DZ.UTF-8 UTF-8
|
|
||||||
# ar_EG ISO-8859-6
|
|
||||||
# ar_EG.UTF-8 UTF-8
|
|
||||||
# ar_IN UTF-8
|
|
||||||
# ar_IQ ISO-8859-6
|
|
||||||
# ar_IQ.UTF-8 UTF-8
|
|
||||||
# ar_JO ISO-8859-6
|
|
||||||
# ar_JO.UTF-8 UTF-8
|
|
||||||
# ar_KW ISO-8859-6
|
|
||||||
# ar_KW.UTF-8 UTF-8
|
|
||||||
# ar_LB ISO-8859-6
|
|
||||||
# ar_LB.UTF-8 UTF-8
|
|
||||||
# ar_LY ISO-8859-6
|
|
||||||
# ar_LY.UTF-8 UTF-8
|
|
||||||
# ar_MA ISO-8859-6
|
|
||||||
# ar_MA.UTF-8 UTF-8
|
|
||||||
# ar_OM ISO-8859-6
|
|
||||||
# ar_OM.UTF-8 UTF-8
|
|
||||||
# ar_QA ISO-8859-6
|
|
||||||
# ar_QA.UTF-8 UTF-8
|
|
||||||
# ar_SA ISO-8859-6
|
|
||||||
# ar_SA.UTF-8 UTF-8
|
|
||||||
# ar_SD ISO-8859-6
|
|
||||||
# ar_SD.UTF-8 UTF-8
|
|
||||||
# ar_SS UTF-8
|
|
||||||
# ar_SY ISO-8859-6
|
|
||||||
# ar_SY.UTF-8 UTF-8
|
|
||||||
# ar_TN ISO-8859-6
|
|
||||||
# ar_TN.UTF-8 UTF-8
|
|
||||||
# ar_YE ISO-8859-6
|
|
||||||
# ar_YE.UTF-8 UTF-8
|
|
||||||
# as_IN UTF-8
|
|
||||||
# ast_ES ISO-8859-15
|
|
||||||
# ast_ES.UTF-8 UTF-8
|
|
||||||
# ayc_PE UTF-8
|
|
||||||
# az_AZ UTF-8
|
|
||||||
# be_BY CP1251
|
|
||||||
# be_BY.UTF-8 UTF-8
|
|
||||||
# be_BY@latin UTF-8
|
|
||||||
# bem_ZM UTF-8
|
|
||||||
# ber_DZ UTF-8
|
|
||||||
# ber_MA UTF-8
|
|
||||||
# bg_BG CP1251
|
|
||||||
# bg_BG.UTF-8 UTF-8
|
|
||||||
# bhb_IN.UTF-8 UTF-8
|
|
||||||
# bho_IN UTF-8
|
|
||||||
# bn_BD UTF-8
|
|
||||||
# bn_IN UTF-8
|
|
||||||
# bo_CN UTF-8
|
|
||||||
# bo_IN UTF-8
|
|
||||||
# br_FR ISO-8859-1
|
|
||||||
# br_FR.UTF-8 UTF-8
|
|
||||||
# br_FR@euro ISO-8859-15
|
|
||||||
# brx_IN UTF-8
|
|
||||||
# bs_BA ISO-8859-2
|
|
||||||
# bs_BA.UTF-8 UTF-8
|
|
||||||
# byn_ER UTF-8
|
|
||||||
# ca_AD ISO-8859-15
|
|
||||||
# ca_AD.UTF-8 UTF-8
|
|
||||||
# ca_ES ISO-8859-1
|
|
||||||
# ca_ES.UTF-8 UTF-8
|
|
||||||
# ca_ES.UTF-8@valencia UTF-8
|
|
||||||
# ca_ES@euro ISO-8859-15
|
|
||||||
# ca_ES@valencia ISO-8859-15
|
|
||||||
# ca_FR ISO-8859-15
|
|
||||||
# ca_FR.UTF-8 UTF-8
|
|
||||||
# ca_IT ISO-8859-15
|
|
||||||
# ca_IT.UTF-8 UTF-8
|
|
||||||
# ce_RU UTF-8
|
|
||||||
# ckb_IQ UTF-8
|
|
||||||
# cmn_TW UTF-8
|
|
||||||
# crh_UA UTF-8
|
|
||||||
# cs_CZ ISO-8859-2
|
|
||||||
# cs_CZ.UTF-8 UTF-8
|
|
||||||
# csb_PL UTF-8
|
|
||||||
# cv_RU UTF-8
|
|
||||||
# cy_GB ISO-8859-14
|
|
||||||
# cy_GB.UTF-8 UTF-8
|
|
||||||
# da_DK ISO-8859-1
|
|
||||||
# da_DK.UTF-8 UTF-8
|
|
||||||
# de_AT ISO-8859-1
|
|
||||||
# de_AT.UTF-8 UTF-8
|
|
||||||
# de_AT@euro ISO-8859-15
|
|
||||||
# de_BE ISO-8859-1
|
|
||||||
# de_BE.UTF-8 UTF-8
|
|
||||||
# de_BE@euro ISO-8859-15
|
|
||||||
# de_CH ISO-8859-1
|
|
||||||
# de_CH.UTF-8 UTF-8
|
|
||||||
# de_DE ISO-8859-1
|
|
||||||
# de_DE.UTF-8 UTF-8
|
|
||||||
# de_DE@euro ISO-8859-15
|
|
||||||
# de_LI.UTF-8 UTF-8
|
|
||||||
# de_LU ISO-8859-1
|
|
||||||
# de_LU.UTF-8 UTF-8
|
|
||||||
# de_LU@euro ISO-8859-15
|
|
||||||
# doi_IN UTF-8
|
|
||||||
# dv_MV UTF-8
|
|
||||||
# dz_BT UTF-8
|
|
||||||
# el_CY ISO-8859-7
|
|
||||||
# el_CY.UTF-8 UTF-8
|
|
||||||
# el_GR ISO-8859-7
|
|
||||||
# el_GR.UTF-8 UTF-8
|
|
||||||
# en_AG UTF-8
|
|
||||||
# en_AU ISO-8859-1
|
|
||||||
# en_AU.UTF-8 UTF-8
|
|
||||||
# en_BW ISO-8859-1
|
|
||||||
# en_BW.UTF-8 UTF-8
|
|
||||||
# en_CA ISO-8859-1
|
|
||||||
en_CA.UTF-8 UTF-8
|
en_CA.UTF-8 UTF-8
|
||||||
# en_DK ISO-8859-1
|
|
||||||
# en_DK.ISO-8859-15 ISO-8859-15
|
|
||||||
# en_DK.UTF-8 UTF-8
|
|
||||||
# en_GB ISO-8859-1
|
|
||||||
# en_GB.ISO-8859-15 ISO-8859-15
|
|
||||||
# en_GB.UTF-8 UTF-8
|
|
||||||
# en_HK ISO-8859-1
|
|
||||||
# en_HK.UTF-8 UTF-8
|
|
||||||
# en_IE ISO-8859-1
|
|
||||||
# en_IE.UTF-8 UTF-8
|
|
||||||
# en_IE@euro ISO-8859-15
|
|
||||||
# en_IN UTF-8
|
|
||||||
# en_NG UTF-8
|
|
||||||
# en_NZ ISO-8859-1
|
|
||||||
# en_NZ.UTF-8 UTF-8
|
|
||||||
# en_PH ISO-8859-1
|
|
||||||
# en_PH.UTF-8 UTF-8
|
|
||||||
# en_SG ISO-8859-1
|
|
||||||
# en_SG.UTF-8 UTF-8
|
|
||||||
# en_US ISO-8859-1
|
|
||||||
# en_US.ISO-8859-15 ISO-8859-15
|
|
||||||
en_US.UTF-8 UTF-8
|
en_US.UTF-8 UTF-8
|
||||||
# en_ZA ISO-8859-1
|
|
||||||
# en_ZA.UTF-8 UTF-8
|
|
||||||
# en_ZM UTF-8
|
|
||||||
# en_ZW ISO-8859-1
|
|
||||||
# en_ZW.UTF-8 UTF-8
|
|
||||||
# eo ISO-8859-3
|
|
||||||
# eo.UTF-8 UTF-8
|
|
||||||
# eo_US.UTF-8 UTF-8
|
|
||||||
# es_AR ISO-8859-1
|
|
||||||
# es_AR.UTF-8 UTF-8
|
|
||||||
# es_BO ISO-8859-1
|
|
||||||
# es_BO.UTF-8 UTF-8
|
|
||||||
# es_CL ISO-8859-1
|
|
||||||
# es_CL.UTF-8 UTF-8
|
|
||||||
# es_CO ISO-8859-1
|
|
||||||
# es_CO.UTF-8 UTF-8
|
|
||||||
# es_CR ISO-8859-1
|
|
||||||
# es_CR.UTF-8 UTF-8
|
|
||||||
# es_CU UTF-8
|
|
||||||
# es_DO ISO-8859-1
|
|
||||||
# es_DO.UTF-8 UTF-8
|
|
||||||
# es_EC ISO-8859-1
|
|
||||||
# es_EC.UTF-8 UTF-8
|
|
||||||
# es_ES ISO-8859-1
|
|
||||||
# es_ES.UTF-8 UTF-8
|
|
||||||
# es_ES@euro ISO-8859-15
|
|
||||||
# es_GT ISO-8859-1
|
|
||||||
# es_GT.UTF-8 UTF-8
|
|
||||||
# es_HN ISO-8859-1
|
|
||||||
# es_HN.UTF-8 UTF-8
|
|
||||||
# es_MX ISO-8859-1
|
|
||||||
# es_MX.UTF-8 UTF-8
|
|
||||||
# es_NI ISO-8859-1
|
|
||||||
# es_NI.UTF-8 UTF-8
|
|
||||||
# es_PA ISO-8859-1
|
|
||||||
# es_PA.UTF-8 UTF-8
|
|
||||||
# es_PE ISO-8859-1
|
|
||||||
# es_PE.UTF-8 UTF-8
|
|
||||||
# es_PR ISO-8859-1
|
|
||||||
# es_PR.UTF-8 UTF-8
|
|
||||||
# es_PY ISO-8859-1
|
|
||||||
# es_PY.UTF-8 UTF-8
|
|
||||||
# es_SV ISO-8859-1
|
|
||||||
# es_SV.UTF-8 UTF-8
|
|
||||||
# es_US ISO-8859-1
|
|
||||||
# es_US.UTF-8 UTF-8
|
|
||||||
# es_UY ISO-8859-1
|
|
||||||
# es_UY.UTF-8 UTF-8
|
|
||||||
# es_VE ISO-8859-1
|
|
||||||
# es_VE.UTF-8 UTF-8
|
|
||||||
# et_EE ISO-8859-1
|
|
||||||
# et_EE.ISO-8859-15 ISO-8859-15
|
|
||||||
# et_EE.UTF-8 UTF-8
|
|
||||||
# eu_ES ISO-8859-1
|
|
||||||
# eu_ES.UTF-8 UTF-8
|
|
||||||
# eu_ES@euro ISO-8859-15
|
|
||||||
# eu_FR ISO-8859-1
|
|
||||||
# eu_FR.UTF-8 UTF-8
|
|
||||||
# eu_FR@euro ISO-8859-15
|
|
||||||
# fa_IR UTF-8
|
|
||||||
# ff_SN UTF-8
|
|
||||||
# fi_FI ISO-8859-1
|
|
||||||
# fi_FI.UTF-8 UTF-8
|
|
||||||
# fi_FI@euro ISO-8859-15
|
|
||||||
# fil_PH UTF-8
|
|
||||||
# fo_FO ISO-8859-1
|
|
||||||
# fo_FO.UTF-8 UTF-8
|
|
||||||
# fr_BE ISO-8859-1
|
|
||||||
# fr_BE.UTF-8 UTF-8
|
|
||||||
# fr_BE@euro ISO-8859-15
|
|
||||||
# fr_CA ISO-8859-1
|
|
||||||
# fr_CA.UTF-8 UTF-8
|
|
||||||
# fr_CH ISO-8859-1
|
|
||||||
# fr_CH.UTF-8 UTF-8
|
|
||||||
# fr_FR ISO-8859-1
|
|
||||||
# fr_FR.UTF-8 UTF-8
|
|
||||||
# fr_FR@euro ISO-8859-15
|
|
||||||
# fr_LU ISO-8859-1
|
|
||||||
# fr_LU.UTF-8 UTF-8
|
|
||||||
# fr_LU@euro ISO-8859-15
|
|
||||||
# fur_IT UTF-8
|
|
||||||
# fy_DE UTF-8
|
|
||||||
# fy_NL UTF-8
|
|
||||||
# ga_IE ISO-8859-1
|
|
||||||
# ga_IE.UTF-8 UTF-8
|
|
||||||
# ga_IE@euro ISO-8859-15
|
|
||||||
# gd_GB ISO-8859-15
|
|
||||||
# gd_GB.UTF-8 UTF-8
|
|
||||||
# gez_ER UTF-8
|
|
||||||
# gez_ER@abegede UTF-8
|
|
||||||
# gez_ET UTF-8
|
|
||||||
# gez_ET@abegede UTF-8
|
|
||||||
# gl_ES ISO-8859-1
|
|
||||||
# gl_ES.UTF-8 UTF-8
|
|
||||||
# gl_ES@euro ISO-8859-15
|
|
||||||
# gu_IN UTF-8
|
|
||||||
# gv_GB ISO-8859-1
|
|
||||||
# gv_GB.UTF-8 UTF-8
|
|
||||||
# ha_NG UTF-8
|
|
||||||
# hak_TW UTF-8
|
|
||||||
# he_IL ISO-8859-8
|
|
||||||
# he_IL.UTF-8 UTF-8
|
|
||||||
# hi_IN UTF-8
|
|
||||||
# hne_IN UTF-8
|
|
||||||
# hr_HR ISO-8859-2
|
|
||||||
# hr_HR.UTF-8 UTF-8
|
|
||||||
# hsb_DE ISO-8859-2
|
|
||||||
# hsb_DE.UTF-8 UTF-8
|
|
||||||
# ht_HT UTF-8
|
|
||||||
# hu_HU ISO-8859-2
|
|
||||||
# hu_HU.UTF-8 UTF-8
|
|
||||||
# hy_AM UTF-8
|
|
||||||
# hy_AM.ARMSCII-8 ARMSCII-8
|
|
||||||
# ia_FR UTF-8
|
|
||||||
# id_ID ISO-8859-1
|
|
||||||
# id_ID.UTF-8 UTF-8
|
|
||||||
# ig_NG UTF-8
|
|
||||||
# ik_CA UTF-8
|
|
||||||
# is_IS ISO-8859-1
|
|
||||||
# is_IS.UTF-8 UTF-8
|
|
||||||
# it_CH ISO-8859-1
|
|
||||||
# it_CH.UTF-8 UTF-8
|
|
||||||
# it_IT ISO-8859-1
|
|
||||||
# it_IT.UTF-8 UTF-8
|
|
||||||
# it_IT@euro ISO-8859-15
|
|
||||||
# iu_CA UTF-8
|
|
||||||
# iw_IL ISO-8859-8
|
|
||||||
# iw_IL.UTF-8 UTF-8
|
|
||||||
# ja_JP.EUC-JP EUC-JP
|
|
||||||
# ja_JP.UTF-8 UTF-8
|
|
||||||
# ka_GE GEORGIAN-PS
|
|
||||||
# ka_GE.UTF-8 UTF-8
|
|
||||||
# kk_KZ PT154
|
|
||||||
# kk_KZ RK1048
|
|
||||||
# kk_KZ.UTF-8 UTF-8
|
|
||||||
# kl_GL ISO-8859-1
|
|
||||||
# kl_GL.UTF-8 UTF-8
|
|
||||||
# km_KH UTF-8
|
|
||||||
# kn_IN UTF-8
|
|
||||||
# ko_KR.EUC-KR EUC-KR
|
|
||||||
# ko_KR.UTF-8 UTF-8
|
|
||||||
# kok_IN UTF-8
|
|
||||||
# ks_IN UTF-8
|
|
||||||
# ks_IN@devanagari UTF-8
|
|
||||||
# ku_TR ISO-8859-9
|
|
||||||
# ku_TR.UTF-8 UTF-8
|
|
||||||
# kw_GB ISO-8859-1
|
|
||||||
# kw_GB.UTF-8 UTF-8
|
|
||||||
# ky_KG UTF-8
|
|
||||||
# lb_LU UTF-8
|
|
||||||
# lg_UG ISO-8859-10
|
|
||||||
# lg_UG.UTF-8 UTF-8
|
|
||||||
# li_BE UTF-8
|
|
||||||
# li_NL UTF-8
|
|
||||||
# lij_IT UTF-8
|
|
||||||
# ln_CD UTF-8
|
|
||||||
# lo_LA UTF-8
|
|
||||||
# lt_LT ISO-8859-13
|
|
||||||
# lt_LT.UTF-8 UTF-8
|
|
||||||
# lv_LV ISO-8859-13
|
|
||||||
# lv_LV.UTF-8 UTF-8
|
|
||||||
# lzh_TW UTF-8
|
|
||||||
# mag_IN UTF-8
|
|
||||||
# mai_IN UTF-8
|
|
||||||
# mg_MG ISO-8859-15
|
|
||||||
# mg_MG.UTF-8 UTF-8
|
|
||||||
# mhr_RU UTF-8
|
|
||||||
# mi_NZ ISO-8859-13
|
|
||||||
# mi_NZ.UTF-8 UTF-8
|
|
||||||
# mk_MK ISO-8859-5
|
|
||||||
# mk_MK.UTF-8 UTF-8
|
|
||||||
# ml_IN UTF-8
|
|
||||||
# mn_MN UTF-8
|
|
||||||
# mni_IN UTF-8
|
|
||||||
# mr_IN UTF-8
|
|
||||||
# ms_MY ISO-8859-1
|
|
||||||
# ms_MY.UTF-8 UTF-8
|
|
||||||
# mt_MT ISO-8859-3
|
|
||||||
# mt_MT.UTF-8 UTF-8
|
|
||||||
# my_MM UTF-8
|
|
||||||
# nan_TW UTF-8
|
|
||||||
# nan_TW@latin UTF-8
|
|
||||||
# nb_NO ISO-8859-1
|
|
||||||
# nb_NO.UTF-8 UTF-8
|
|
||||||
# nds_DE UTF-8
|
|
||||||
# nds_NL UTF-8
|
|
||||||
# ne_NP UTF-8
|
|
||||||
# nhn_MX UTF-8
|
|
||||||
# niu_NU UTF-8
|
|
||||||
# niu_NZ UTF-8
|
|
||||||
# nl_AW UTF-8
|
|
||||||
# nl_BE ISO-8859-1
|
|
||||||
# nl_BE.UTF-8 UTF-8
|
|
||||||
# nl_BE@euro ISO-8859-15
|
|
||||||
# nl_NL ISO-8859-1
|
|
||||||
# nl_NL.UTF-8 UTF-8
|
|
||||||
# nl_NL@euro ISO-8859-15
|
|
||||||
# nn_NO ISO-8859-1
|
|
||||||
# nn_NO.UTF-8 UTF-8
|
|
||||||
# nr_ZA UTF-8
|
|
||||||
# nso_ZA UTF-8
|
|
||||||
# oc_FR ISO-8859-1
|
|
||||||
# oc_FR.UTF-8 UTF-8
|
|
||||||
# om_ET UTF-8
|
|
||||||
# om_KE ISO-8859-1
|
|
||||||
# om_KE.UTF-8 UTF-8
|
|
||||||
# or_IN UTF-8
|
|
||||||
# os_RU UTF-8
|
|
||||||
# pa_IN UTF-8
|
|
||||||
# pa_PK UTF-8
|
|
||||||
# pap_AN UTF-8
|
|
||||||
# pap_AW UTF-8
|
|
||||||
# pap_CW UTF-8
|
|
||||||
# pl_PL ISO-8859-2
|
|
||||||
# pl_PL.UTF-8 UTF-8
|
|
||||||
# ps_AF UTF-8
|
|
||||||
# pt_BR ISO-8859-1
|
|
||||||
# pt_BR.UTF-8 UTF-8
|
|
||||||
# pt_PT ISO-8859-1
|
|
||||||
# pt_PT.UTF-8 UTF-8
|
|
||||||
# pt_PT@euro ISO-8859-15
|
|
||||||
# quz_PE UTF-8
|
|
||||||
# raj_IN UTF-8
|
|
||||||
# ro_RO ISO-8859-2
|
|
||||||
# ro_RO.UTF-8 UTF-8
|
|
||||||
# ru_RU ISO-8859-5
|
|
||||||
# ru_RU.CP1251 CP1251
|
|
||||||
# ru_RU.KOI8-R KOI8-R
|
|
||||||
# ru_RU.UTF-8 UTF-8
|
|
||||||
# ru_UA KOI8-U
|
|
||||||
# ru_UA.UTF-8 UTF-8
|
|
||||||
# rw_RW UTF-8
|
|
||||||
# sa_IN UTF-8
|
|
||||||
# sat_IN UTF-8
|
|
||||||
# sc_IT UTF-8
|
|
||||||
# sd_IN UTF-8
|
|
||||||
# sd_IN@devanagari UTF-8
|
|
||||||
# sd_PK UTF-8
|
|
||||||
# se_NO UTF-8
|
|
||||||
# shs_CA UTF-8
|
|
||||||
# si_LK UTF-8
|
|
||||||
# sid_ET UTF-8
|
|
||||||
# sk_SK ISO-8859-2
|
|
||||||
# sk_SK.UTF-8 UTF-8
|
|
||||||
# sl_SI ISO-8859-2
|
|
||||||
# sl_SI.UTF-8 UTF-8
|
|
||||||
# so_DJ ISO-8859-1
|
|
||||||
# so_DJ.UTF-8 UTF-8
|
|
||||||
# so_ET UTF-8
|
|
||||||
# so_KE ISO-8859-1
|
|
||||||
# so_KE.UTF-8 UTF-8
|
|
||||||
# so_SO ISO-8859-1
|
|
||||||
# so_SO.UTF-8 UTF-8
|
|
||||||
# sq_AL ISO-8859-1
|
|
||||||
# sq_AL.UTF-8 UTF-8
|
|
||||||
# sq_MK UTF-8
|
|
||||||
# sr_ME UTF-8
|
|
||||||
# sr_RS UTF-8
|
|
||||||
# sr_RS@latin UTF-8
|
|
||||||
# ss_ZA UTF-8
|
|
||||||
# st_ZA ISO-8859-1
|
|
||||||
# st_ZA.UTF-8 UTF-8
|
|
||||||
# sv_FI ISO-8859-1
|
|
||||||
# sv_FI.UTF-8 UTF-8
|
|
||||||
# sv_FI@euro ISO-8859-15
|
|
||||||
# sv_SE ISO-8859-1
|
|
||||||
# sv_SE.ISO-8859-15 ISO-8859-15
|
|
||||||
# sv_SE.UTF-8 UTF-8
|
|
||||||
# sw_KE UTF-8
|
|
||||||
# sw_TZ UTF-8
|
|
||||||
# szl_PL UTF-8
|
|
||||||
# ta_IN UTF-8
|
|
||||||
# ta_LK UTF-8
|
|
||||||
# tcy_IN.UTF-8 UTF-8
|
|
||||||
# te_IN UTF-8
|
|
||||||
# tg_TJ KOI8-T
|
|
||||||
# tg_TJ.UTF-8 UTF-8
|
|
||||||
# th_TH TIS-620
|
|
||||||
# th_TH.UTF-8 UTF-8
|
|
||||||
# the_NP UTF-8
|
|
||||||
# ti_ER UTF-8
|
|
||||||
# ti_ET UTF-8
|
|
||||||
# tig_ER UTF-8
|
|
||||||
# tk_TM UTF-8
|
|
||||||
# tl_PH ISO-8859-1
|
|
||||||
# tl_PH.UTF-8 UTF-8
|
|
||||||
# tn_ZA UTF-8
|
|
||||||
# tr_CY ISO-8859-9
|
|
||||||
# tr_CY.UTF-8 UTF-8
|
|
||||||
# tr_TR ISO-8859-9
|
|
||||||
# tr_TR.UTF-8 UTF-8
|
|
||||||
# ts_ZA UTF-8
|
|
||||||
# tt_RU UTF-8
|
|
||||||
# tt_RU@iqtelif UTF-8
|
|
||||||
# ug_CN UTF-8
|
|
||||||
# ug_CN@latin UTF-8
|
|
||||||
# uk_UA KOI8-U
|
|
||||||
# uk_UA.UTF-8 UTF-8
|
|
||||||
# unm_US UTF-8
|
|
||||||
# ur_IN UTF-8
|
|
||||||
# ur_PK UTF-8
|
|
||||||
# uz_UZ ISO-8859-1
|
|
||||||
# uz_UZ.UTF-8 UTF-8
|
|
||||||
# uz_UZ@cyrillic UTF-8
|
|
||||||
# ve_ZA UTF-8
|
|
||||||
# vi_VN UTF-8
|
|
||||||
# wa_BE ISO-8859-1
|
|
||||||
# wa_BE.UTF-8 UTF-8
|
|
||||||
# wa_BE@euro ISO-8859-15
|
|
||||||
# wae_CH UTF-8
|
|
||||||
# wal_ET UTF-8
|
|
||||||
# wo_SN UTF-8
|
|
||||||
# xh_ZA ISO-8859-1
|
|
||||||
# xh_ZA.UTF-8 UTF-8
|
|
||||||
# yi_US CP1255
|
|
||||||
# yi_US.UTF-8 UTF-8
|
|
||||||
# yo_NG UTF-8
|
|
||||||
# yue_HK UTF-8
|
|
||||||
# zh_CN GB2312
|
|
||||||
# zh_CN.GB18030 GB18030
|
|
||||||
# zh_CN.GBK GBK
|
|
||||||
# zh_CN.UTF-8 UTF-8
|
|
||||||
# zh_HK BIG5-HKSCS
|
|
||||||
# zh_HK.UTF-8 UTF-8
|
|
||||||
# zh_SG GB2312
|
|
||||||
# zh_SG.GBK GBK
|
|
||||||
# zh_SG.UTF-8 UTF-8
|
|
||||||
# zh_TW BIG5
|
|
||||||
# zh_TW.EUC-TW EUC-TW
|
|
||||||
# zh_TW.UTF-8 UTF-8
|
|
||||||
# zu_ZA ISO-8859-1
|
|
||||||
# zu_ZA.UTF-8 UTF-8
|
|
||||||
|
@ -1,2 +1,5 @@
|
|||||||
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
#
|
||||||
# Global .profile -- add /sbin_1
|
# Global .profile -- add /sbin_1
|
||||||
PATH=$PATH:/sbin_1:/xbin
|
PATH=$PATH:/sbin_1:/xbin
|
||||||
|
@ -1 +1,5 @@
|
|||||||
#! /bin/true
|
#! /bin/true
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
#
|
||||||
|
@ -1 +1,5 @@
|
|||||||
#! /bin/true
|
#! /bin/true
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: no
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
#
|
||||||
|
2
data/images/boot-environment.svg.license
Normal file
2
data/images/boot-environment.svg.license
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SPDX-FileCopyrightText: 2015 Teo Mrnjavac <teo@kde.org>
|
||||||
|
SPDX-License-Identifier: GPL-3.0-or-later
|
2
data/images/bugs.svg.license
Normal file
2
data/images/bugs.svg.license
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SPDX-FileCopyrightText: 2015 Teo Mrnjavac <teo@kde.org>
|
||||||
|
SPDX-License-Identifier: GPL-3.0-or-later
|
2
data/images/fail.svgz.license
Normal file
2
data/images/fail.svgz.license
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SPDX-FileCopyrightText: 2014 Teo Mrnjavac <teo@kde.org>
|
||||||
|
SPDX-License-Identifier: GPL-3.0-or-later
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user