Mass change of LicenseRef-KDE-Accepted-* licenses
by Miroslav Suchý
Lots of packages in Fedora use license LicenseRef-KDE-Accepted-GPL and LicenseRef-KDE-Accepted-LGPL. These licenses were
never approved. It took lots of time to discuss it and document it. We finally come with:
https://docs.fedoraproject.org/en-US/legal/update-existing-packages/#_lic...
(copy for your convience)
> KDE project uses LicenseRef-KDE-Accepted-* licenses. This was discussed here and here. The consensus is that upstream
license LicenseRef-KDE-Accepted-GPL should be replaced in Fedora by GPL-2.0-only OR GPL-3.0-only. And upstream license
LicenseRef-KDE-Accepted-LGPL should be replaced by LGPL-2.1-only OR LGPL-3.0-only.
It is used 123 times in our spec files (full list at the bottom of this email). I am willing to do the mass change (with
my proven package hat on). I welcome your feedback. If no one stops me with a reason by end of this month, I will do the
change early next month.
$ grepLicenseRef-KDE-Accepted *
akonadiconsole.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-or-later AND LGPL-2.1-or-later AND LicenseRef-KDE-Accepted-GPL
akonadi-mime.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND
LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
akonadi-search.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only
AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL AND (MIT OR Apache-2.0) AND MIT
calendarsupport.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-or-later AND LicenseRef-KDE-Accepted-GPL
incidenceeditor.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-or-later AND LicenseRef-KDE-Accepted-GPL
kactivitymanagerd.spec:License: CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.1-only AND
LGPL-3.0-only AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepte
d-LGPL
kalendar.spec:License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND
GPL-3.0-only AND GPL-3.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-only A
ND LGPL-2.1-or-later AND LGPL-3.0-only AND LGPL-3.0-or-later AND LicenseRef-KDE-Accepted-GPL AND
LicenseRef-KDE-Accepted-LGPL
kdepim-addons.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Acce
pted-GPL AND LicenseRef-KDE-Accepted-LGPL
kdepim-runtime.spec:License: AGPL-3.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND
GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND LGPL-2.0-only AN
D LGPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-only AND LGPL-3.0-or-later AND LicenseRef-KDE-Accepted-GPL AND
LicenseRef-KDE-Accepted-LGPL
kdeplasma-addons.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
GPL-3.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only
AND LGPL-2.1-or-later AND LGPL-3.0-only AND LGPL-3.0-or-later AND LicenseRef-KDE-Accepted-GPL AND
LicenseRef-KDE-Accepted-LGPL AND MIT
kf5-akonadi-mime.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND
LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
kf5-akonadi-search.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-o
nly AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL
kf5-akonadi-server.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LicenseRef
-KDE-Accepted-GPL AND MIT
kf5-attica.spec:License: CC0-1.0 AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
kf5-bluez-qt.spec:License: CC0-1.0, LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL
kf5-calendarsupport.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-or-later AND LicenseRef-KDE-Accepted-GPL
kf5-frameworkintegration.spec:License: CC0-1.0 AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL
kf5-incidenceeditor.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-or-later AND LicenseRef-KDE-Accepted-GPL
kf5-kactivities.spec:License: CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL AND MIT
kf5-kactivities-stats.spec:License: CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-or-later
AND LGPL-2.1-only AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-GPL
AND LicenseRef-KDE-Accepted-LGPL
kf5-kbookmarks.spec:License: CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL
kf5-kcmutils.spec:License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-3.0-only AND LGPL-2.0-only
AND LGPL-2.0-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-
GPL AND LicenseRef-KDE-Accepted-LGPL
kf5-kconfig.spec:License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.0-only AND
LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND LicenseRef-KDE-Accep
ted-LGPL AND MIT
kf5-kconfigwidgets.spec:License: CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only
AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL AND MIT
kf5-kcoreaddons.spec:License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND
GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND
LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL
kf5-kdbusaddons.spec:License: CC0-1.0 AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL
kf5-kdeclarative.spec:License: CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-or-later AND
LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-
KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL AND MIT
kf5-kdesu.spec:License: CC0-1.0 AND GPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND
LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
kf5-kdoctools.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND
LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
kf5-kemoticons.spec:License: CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.0-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL
kf5-kfilemetadata.spec:License: BSD-3-Clause AND CC0-1.0 AND LGPL-2.1-only AND LGPL-2.1-or-later AND
LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
kf5-kglobalaccel.spec:License: CC0-1.0 AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL
kf5-kguiaddons.spec:License: BSD-2-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND LicenseRef-KDE-Acc
epted-GPL AND LicenseRef-KDE-Accepted-LGPL
kf5-kiconthemes.spec:License: CC0-1.0 AND GPL-2.0-only AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND
LGPL-2.1-only AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-GPL AND Licen
seRef-KDE-Accepted-LGPL
kf5-kidletime.spec:License: CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL AND MIT
kf5-kimageformats.spec:License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND LGPL-2.0-or-later AND LGPL-2.1-only
AND LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-
LGPL
kf5-kinit.spec:License: BSD-3-Clause AND CC0-1.0 AND LGPL-2.0-only AND LGPL-2.1-only AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL
kf5-kio.spec:License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only
AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1
-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL AND MIT
kf5-kirigami2-addons.spec:License: BSD-2-Clause AND CC-BY-SA-4.0 AND CC0-1.0 AND GPL-2.0-only AND
GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2
.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL AND
LicenseRef-KFQF-Accepted-GPL
kf5-kirigami2.spec:License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND FSFAP AND GPL-2.0-or-later AND
GPL-2.1-or-later AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND Licen
seRef-KDE-Accepted-LGPL AND MIT AND LGPL-2.1-or-later
kf5-kitemmodels.spec:License: CC0-1.0 AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND
LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
kf5-ki18n.spec:License: BSD-3-Clause AND CC0-1.0 AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND
LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL AND ODbL-1.0
kf5-kjobwidgets.spec:License: CC0-1.0 AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL
kf5-knewstuff.spec:License: BSD-2-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-3.0-only AND LGPL-2.0-or-later AND
LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Acc
epted-GPL AND LicenseRef-KDE-Accepted-LGPL
kf5-knotifications.spec:License: BSD-3-Clause AND CC0-1.0 AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND
LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
kf5-kontactinterface.spec:License: BSD-3-Clause AND CC0-1.0 AND LGPL-2.0-only AND LGPL-2.0-or-later AND
LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
kf5-kparts.spec:License: CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND
LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
kf5-kpimtextedit.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-onl
y AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL
kf5-kquickcharts.spec:License: BSD-2-Clause AND CC0-1.0 AND LGPL-2.1-only AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL AND MIT
kf5-krunner.spec:License: BSD-2-Clause AND CC0-1.0 AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND
LicenseRef-KDE-Accepted-GPL
kf5-kservice.spec:License: CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND
LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND LicenseRef-KDE-Acce
pted-GPL AND LicenseRef-KDE-Accepted-LGPL
kf5-ktextwidgets.spec:License: CC0-1.0 AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-only
AND LicenseRef-KDE-Accepted-LGPL
kf5-kwayland.spec:License: BSD-3-Clause AND CC0-1.0 AND LGPL-2.1-only AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
AND MIT AND MIT-CMU
kf5-kwidgetsaddons.spec:License: CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND
LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND LGPL-3.0-or-later
AND LicenseRef-KDE-Accepted-LGPL
kf5-kwindowsystem.spec:License: CC0-1.0 AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL AND MIT
kf5-kxmlgui.spec:License: BSD-2-Clause AND CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND
LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KDE-
Accepted-LGPL
kf5-mailcommon.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Acc
epted-GPL AND LicenseRef-KDE-Accepted-LGPL
kf5-mailimporter.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-or-later AND LicenseRef-KDE-Accepted-GPL
kf5-messagelib.spec:License: BSD-3-Clause AND BSL-1.0 AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only
AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LG
PL-3.0-only AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL
kf5-modemmanager-qt.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-3.0-only AND LGPL-2.1-only AND
LGPL-3.0-only AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-
LGPL
kf5-networkmanager-qt.spec:License: CC0-1.0 AND GPL-2.0-only AND GPL-3.0-only AND LGPL-2.1-only AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL
kf5-pimcommon.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-or-later AND LicenseRef-KDE-Accepted-GPL
kf5-plasma.spec:License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND
GPL-3.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND L
GPL-3.0-only AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL
kf5-solid.spec:License: BSD-3-Clause AND CC0-1.0 AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL
kf6-attica.spec:License: CC0-1.0 AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL.txt
kf6-baloo.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND L
icenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL AND bzip2-1.0.6
kf6-frameworkintegration.spec:License: CC0-1.0 AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL
kf6-kbookmarks.spec:License: CC0-1.0 AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL
kf6-kcmutils.spec:License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.0-only AND
LGPL-2.0-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
kf6-kcolorscheme.spec:License: BSD-2-Clause and CC0-1.0 and LGPL-2.0-or-later and LGPL-2.1-only and LGPL-3.0-only and
LicenseRef-KDE-Accepted-LGPL
kf6-kdeclarative.spec:License: CC0-1.0 AND GPL-2.0-only AND GPL-3.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND
LicenseRef-KDE-Accepted-GPL AND MIT
kf6-kdesu.spec:License: CC0-1.0 AND GPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL
kf6-kdoctools.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND
LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
kf6-kfilemetadata.spec:License: BSD-3-Clause AND CC0-1.0 AND LGPL-2.1-only AND LGPL-2.1-or-later AND
LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
kf6-kglobalaccel.spec:# The following are in the LICENSES folder but go unused: LGPL-2.1-only, LGPL-3.0-only,
LicenseRef-KDE-Accepted-LGPL
kf6-kiconthemes.spec:License: CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND
LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND LicenseRef-KDE-A
ccepted-GPL AND LicenseRef-KDE-Accepted-LGPL
kf6-kirigami-addons.spec:License: BSD-2-Clause AND CC-BY-SA-4.0 AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later
AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.
1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL AND
LicenseRef-KFQF-Accepted-GPL
kf6-kirigami.spec:License: BSD-3-Clause AND CC0-1.0 AND FSFAP AND GPL-2.0-or-later AND LGPL-2.0-or-later AND
LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KDE-
Accepted-LGPL AND MIT
kf6-ki18n.spec:License: BSD-3-Clause AND CC0-1.0 AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL AND ODbL-1.0
kf6-kjobwidgets.spec:# The following are in the LICENSES folder, but go unused: LGPL-3.0-only, LicenseRef-KDE-Accepted-LGPL
kf6-kmoretools.spec:License: BSD-2-Clause and CC0-1.0 and LGPL-2.1-only and LGPL-2.1-or-later and LGPL-3.0-only and
LicenseRef-KDE-Accepted-LGPL
kf6-knewstuff.spec:License: BSD-2-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-3.0-only AND LGPL-2.0-or-later AND
LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Acc
epted-GPL AND LicenseRef-KDE-Accepted-LGPL
kf6-knotifications.spec:License: BSD-3-Clause AND CC0-1.0 AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND
LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
kf6-kparts.spec:License: CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND
LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
kf6-krunner.spec:License: BSD-2-Clause AND CC0-1.0 AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND
LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
kf6-kservice.spec:# The following licenses are in the LICENSES folder but go unused: GPL-2.0-only, GPL-2.0-or-later,
GPL-3.0-only, LicenseRef-KDE-Accepted-GPL
kf6-kservice.spec:License: CC0-1.0 AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL
kf6-ktextwidgets.spec:License: CC0-1.0 AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-only
AND LicenseRef-KDE-Accepted-LGPL
kf6-kxmlgui.spec:License: BSD-2-Clause AND CC0-1.0 AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND
LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
kf6-modemmanager-qt.spec:License: GPL-2.0-only AND GPL-3.0-only AND LGPL-2.1-only AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL
kf6-networkmanager-qt.spec:License: LGPL-2.0-or-later AND GPL-2.0-only AND GPL-3.0-only AND LGPL-2.1-only AND
LGPL-3.0-only AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepte
d-LGPL AND CC0-1.0
kglobalacceld.spec:License: CC0-1.0 AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL
kgpg.spec:License: CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LicenseRef-KDE-Accepted-GPL
kinfocenter.spec:License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND FSFAP AND GPL-2.0-only AND GPL-2.0-or-later AND
GPL-3.0-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-K
DE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL
kleopatra.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only AND
LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-LGPL
kmail.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only
AND LGPL-2.0-or-later AND LicenseRef-KDE-Accepted-GPL
kontactinterface.spec:License: BSD-3-Clause AND CC0-1.0 AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later
AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
korganizer.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND
LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
kpimtextedit.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-only AN
D LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL
ksystemstats.spec:License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-3.0-only AND
LicenseRef-KDE-Accepted-GPL
kwin.spec:License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
GPL-3.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1
-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL AND MIT
libksysguard.spec:License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND
GPL-3.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only AND Lic
enseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL
mailcommon.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Accepte
d-GPL AND LicenseRef-KDE-Accepted-LGPL
mailimporter.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-or-later AND LicenseRef-KDE-Accepted-GPL
messagelib.spec:License: BSD-3-Clause AND BSL-1.0 AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3
.0-only AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL
mimetreeparser.spec:License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND FSFULLR AND GPL-2.0-only AND GPL-2.0-or-later
AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.
1-only AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL
pimcommon.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND
LGPL-2.0-or-later AND LicenseRef-KDE-Accepted-GPL
plasma-activities.spec:License: CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-3.0-only
AND LicenseRef-KDE-Accepted-LGPL AND MIT
plasma-activities-stats.spec:License: CC0-1.0, GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-or-later
AND LGPL-2.1-only AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-GPL A
ND LicenseRef-KDE-Accepted-LGPL
plasma-desktop.spec:License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND
GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND L
GPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL
plasma-disks.spec:License: BSD-3-Clause AND CC0-1.0 AND FSFAP AND GPL-2.0-only AND GPL-3.0-only AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL
plasma-drkonqi.spec:License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND
GPL-3.0-only AND LGPL-2.1-only AND LGPL-3.0-only AND LGPL-3.0-or-later AND L
icenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL
plasma-firewall.spec:License: BSD-3-Clause AND CC0-1.0 AND FSFAP AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only
AND GPL-3.0-or-later AND LicenseRef-KDE-Accepted-GPL
plasma-integration.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-3.0-only AND LGPL-2.0-only AND
LGPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-only AND LicenseRef-KD
E-Accepted-LGPL
plasma-phonebook.spec:%license
LICENSES/{CC0-1.0.txt,GPL-2.0-only,GPL-3.0-only,GPL-3.0-or-later,LGPL-2.0-or-later,LicenseRef-KDE-Accepted-GPL}.txt
plasma-systemmonitor.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-3.0-only AND LGPL-2.0-or-later AND
LGPL-2.1-only AND LGPL-3.0-only AND LGPL-3.0-or-later AND LicenseRef-
KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL
plasma-thunderbolt.spec:License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-3.0-only AND LicenseRef-KDE-Accepted-GPL
plasma-vault.spec:License: CC0-1.0 AND GPL-2.0-only AND GPL-3.0-only AND LGPL-2.1-only AND LGPL-3.0-only AND
LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Accepted-LGPL
qaccessibilityclient.spec:License: CC0-1.0 AND LGPL-2.1-only AND LGPL-3.0-only AND LicenseRef-KDE-Accepted-LGPL
rocs.spec:License: BSD-2-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.1-only AND
LGPL-3.0-only AND LicenseRef-KDE-Accepted-GPL AND LicenseRef-KDE-Acc
epted-LGPL
spacebar.spec:%license LICENSES/{GPL-2.0-or-later,LicenseRef-KDE-Accepted-GPL}.txt
umbrello.spec:License: CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND
LGPL-2.0-only AND LGPL-2.0-or-later AND LicenseRef-KDE-Accepted-GPL
zanshin.spec:License: CC0-1.0 AND GPL-2.0-only AND GPL-3.0-only AND LicenseRef-KDE-Accepted-GPL AND MIT
--
Miroslav Suchy, RHCA
Red Hat, Manager, Packit and CPT, #brno, #fedora-buildsys
4 months
Announce: Log Detective - AI tool to analyze build logs failures
by Jiri Kyjovsky
Hey, Fedora devs!
Ever find yourself lost in the labyrinth of build logs, desperately seeking
the elusive culprit behind a failed build? Enter Log Detective – your
future personal AI guru dedicated to unravelling the mysteries of build log
failures within the RPM community.
*What is Log Detective?*
Log Detective will be an AI tool for analyzing failed build logs in the RPM
community. We are currently in the early stage of development and plan to
train the AI using real-world data from maintainers, creating a specialized
model for error identification. Thus we created a data collection portal
[1], where you can contribute your failed build logs.
*Why Log Detective?*
Diving into build logs feels like navigating a jungle of thousands of
lines. When a build fails, spotting the glitch easily turns into a
head-scratcher even for pros. "ERROR" in logs doesn't guarantee always a
quick fix, and these errors don't reveal themselves at the log's end.
Untangling this requires a keen understanding of packaging difficulties.
*Help us shape the future of Log Detective!*
We're reaching out to developers like you to contribute by uploading your
recent failed build logs on our website [1] and explaining why the build
failed. Your input is crucial in building the dataset that will train Log
Detective's AI model. By participating, you're playing a key role in
creating a tool to streamline error resolution for the entire RPM
community. Join us in making Fedora even more powerful!
*How to contribute data to Log Detective data collection website?*
Visit log-detective.com [1] and share your recent failed build. We can
fetch the logs from build systems like Copr [2], Koji [3], services like
Packit [4] or arbitrary URL. Highlight the lines in the log associated with
the failure and describe how it can be fixed. The more detailed, the
merrier for our final tool, and the more hints for you and other developers
when your build fails in future.
*Join the Log Detective!*
Drop by our GitHub repository [5] to share your ideas. Let's collaborate to
build a tool that changes the game for handling build log failures.
Log Detective isn't just a tool, it's your AI sidekick for defeating build
log challenges. Be part of the revolution!
Cheers,
The Log Detective Crew
[1] - https://log-detective.com/
[2] - https://copr.fedorainfracloud.org/
[3] - https://koji.fedoraproject.org/
[4] - https://packit.dev/
[5] - https://github.com/fedora-copr/log-detective-website
4 months
Intend to unretire stgit
by Felix Maurer
Hi,
I intend to get stgit unretired and want to maintain it in the future.
The package has been in Fedora up to f38 but has since been orphaned
and, following that, retired. The reason for orphaning it was lack of
time of the maintainer, especially as stgit got rewritten in Rust and
required significant packaging effort to get all dependencies into
Fedora. The dependencies are now all packaged (thanks to all the
packagers dealing with these numerous Rust dependencies!).
As stgit has been retired for a while, a re-review is needed. I already
created the review request for stgit at [1].
Thanks,
Felix
[1]: https://bugzilla.redhat.com/show_bug.cgi?id=2260849
4 months
SWIG 4.2 Python transition
by Florian Weimer
Quoting CHANGES from SWIG 4.2.0:
“
2023-12-20: wsfulton
#2190 Replace SWIG_Python_str_AsChar with SWIG_PyUnicode_AsUTF8AndSize.
SWIG_Python_str_AsChar has undefined behaviour when Py_LIMITED_API is defined
as it returns a pointer to a string in a PyBytes object that no longer exists.
SWIG_PyUnicode_AsUTF8AndSize is an efficient replacement, but requires a
different API and the caller to decrement the refcount on the intermediate
PyObject in the Py_LIMITED_API < 0x030A0000 implementation. The alternative
would have required copying the returned char * string as was done in a
previous implementation requiring a call to the defunct SWIG_Python_str_DelForPy3
function.
*** POTENTIAL INCOMPATIBILITY ***
”
This function is somewhat widely used:
<https://codesearch.debian.net/search?q=SWIG_Python_str_AsChar&literal=1>
I tried to fix the ldns bindings like this:
diff --git a/contrib/python/ldns_rdf.i b/contrib/python/ldns_rdf.i
index 5d7448fd..60daf1a7 100644
--- a/contrib/python/ldns_rdf.i
+++ b/contrib/python/ldns_rdf.i
@@ -56,7 +56,11 @@
*/
%typemap(arginit, noblock=1) const ldns_rdf *
{
+#if SWIG_VERSION >= 0x040200
+ PyObject *$1_bytes = NULL;
+#else
char *$1_str = NULL;
+#endif
}
/*
@@ -66,11 +70,17 @@
%typemap(in, noblock=1) const ldns_rdf * (void* argp, $1_ltype tmp = 0, int res)
{
if (Python_str_Check($input)) {
+ const char *argstr;
+#if SWIG_VERSION >= 0x040200
+ argstr = SWIG_PyUnicode_AsUTF8AndSize($input, NULL, &$1_bytes);
+#else
$1_str = SWIG_Python_str_AsChar($input);
- if ($1_str == NULL) {
+ argstr = $1_str;
+#endif
+ if (argstr == NULL) {
%argument_fail(SWIG_TypeError, "char *", $symname, $argnum);
}
- tmp = ldns_dname_new_frm_str($1_str);
+ tmp = ldns_dname_new_frm_str(argstr);
if (tmp == NULL) {
%argument_fail(SWIG_TypeError, "char *", $symname, $argnum);
}
@@ -90,10 +100,17 @@
*/
%typemap(freearg, noblock=1) const ldns_rdf *
{
+#if SWIG_VERSION >= 0x040200
+ if ($1_bytes != NULL) {
+ /* Is not NULL only when a conversion form string occurred. */
+ Py_XDECREF($1_bytes);
+ }
+#else
if ($1_str != NULL) {
/* Is not NULL only when a conversion form string occurred. */
SWIG_Python_str_DelForPy3($1_str); /* Is a empty macro for Python < 3. */
}
+#endif
}
%nodefaultctor ldns_struct_rdf; /* No default constructor. */
Submitted upstream as <https://github.com/NLnetLabs/ldns/pull/232>.
Maybe that will get some useful comments; I don't know much about SWIG.
(The core of the change above is the call to
SWIG_PyUnicode_AsUTF8AndSize and Py_XDECREF call for the bytes object.)
In the past, this kind of problem would have just compiled and resulted
in a run-time error when the Python extension module is loaded. In some
cases, issues went completely unnoticed because the Python bindins were
unused. But with GCC 14, it is necessary to fix calls to undeclared
functions.
Thanks,
Florian
4 months
Self Introduction: Neftali Yagua
by Neftalí Yagua
Dear Community!
My name is Neftalí Yagua, a Software Engineer from Venezuela since 2004,
I'm worked with Linux since 1997, my beginnings with RHEL have been with
RedHat, but I have been using Fedora for about 10 years, and I love it, I
want to be an active part of the community, develop and maintain sources
for Fedora. I would even like to make a distribution based on Fedora.
I am currently working on the development of plugins for Cockpit, to try to
integrate myself and at the same time have some control over the projects.
http://links.neftaliyagua.com/ls/click?upn=lAjBpxZAYTGU0gh6HQsXzgI75bmeb7...
Additionally, I will be collaborating with the translations into Spanish. I
have experience in multiple programming languages.
Please, if you think I can contribute something to a project you are
working on, invite me.
http://links.neftaliyagua.com/ls/click?upn=lAjBpxZAYTGU0gh6HQsXzi95GQNLYu...
http://links.neftaliyagua.com/ls/click?upn=lAjBpxZAYTGU0gh6HQsXzuW-2BqCoh...
http://links.neftaliyagua.com/ls/click?upn=lAjBpxZAYTGU0gh6HQsXzr8QK3Perh...
Linux User: 507122 Ubuntu User: 30642
-- Regards, Neftali Yagua
4 months
Self Introduction: Jacek Migacz
by Jacek Migacz
Dear Community!
My name is Jacek Migacz; a software engineer from Poland.
I'm currently maintaining curl and emacs on Red Hat Enterprise Linux.
I am eager to learn from the collective wisdom of the community and
contribute in meaningful ways.
--
Regards,
Jacek
4 months
mingw packaging: equivalent of %cmake_build, %cmake_install macros?
by Eric Smith
I'm trying to add mingw build support to the fmt package spec. I've done
this previously with the pugixml and zipios packages, and submitted the
spec diffs to the package maintainer of those.. Both packages use cmake.
Both in the %build section use %cmake then %cmake_build, and in the
%install section use %cmake_install. As expert neither on cmake nor on
mingw, I'm somewhat baffled as to why there are %cmake_build and
%cmake_install macros, but no corresponding %mingw_cmake_build and
%mingw_cmake_install macros. Is there some equivalent that just happens to
not be obvious to me? What I found worked for both pugixml and zipios was:
original: %cmake; %cmake_build
original install: %cmake_install
added for mingw build: %mingw_cmake (and did not add anything equivalent
to %cmake_build)
added for mingw install: %mingw_make_install; %{?mingw_debug_install_post)
Unfortunately this simple attempt failed for fmt. The %mingw_cmake doesn't
cause an error, but also doesn't build fmt. The attempted
%mingw_make_install results in: "make: *** No rule to make target
'install'. Stop." Perhaps this has to do with the fmt build also using
Ninja, which pugixml and zipios do not.
If anyone can offer advice, it would be much appreciated. I started from
the specs from the packages:
pugixml-1.13-4
zipios-2.2.5.0-7
fmt-10.0.0-3
My modified spec files are at:
http://www.brouhaha.com/~eric/fedora-packaging-test/
Best regards,
Eric
@brouhaha
4 months