Christophe Marin 2024-10-23 07:43:02 +00:00 committed by Git OBS Bridge
commit 12ce7ab806
21 changed files with 665 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,45 @@
From e4e1a5f5d90d84363637806437ffb3f2758fbc88 Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Wed, 20 Mar 2024 09:38:27 +0100
Subject: [PATCH] Remove some features with questionable security
- Don't allow installing third-party themes from the store
- Don't recommend to clear the kwallet password
---
src/ui/Advanced.qml | 1 -
src/ui/main.qml | 7 -------
2 files changed, 8 deletions(-)
diff --git a/src/ui/Advanced.qml b/src/ui/Advanced.qml
index d6f1827..ca777ee 100644
--- a/src/ui/Advanced.qml
+++ b/src/ui/Advanced.qml
@@ -45,7 +45,6 @@ Kirigami.Page {
// to appear when the user checks the checkbox, not all the
// time when the checkbox is checked.
if (checked && kcm.KDEWalletAvailable()) {
- autologinMessage.visible = true;
}
}
}
diff --git a/src/ui/main.qml b/src/ui/main.qml
index ef8ee86..dbe143e 100644
--- a/src/ui/main.qml
+++ b/src/ui/main.qml
@@ -34,13 +34,6 @@ KCM.GridViewKCM {
text: i18nc("@action:button", "Install From File…")
icon.name: "document-import"
onTriggered: themeDialog.open()
- },
- NewStuff.Action {
- text: i18nc("@action:button as in, \"get new SDDM themes\"", "Get New…")
- configFile: "sddmtheme.knsrc"
- onEntryEvent: function(entry, event) {
- kcm.themesModel.populate();
- }
}
]
--
2.46.0

View File

@ -0,0 +1,45 @@
From 2c4bf2d4c0be461fb9125de867543a1d89468fdd Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Tue, 11 Jul 2017 13:13:13 +0200
Subject: [PATCH] Support default.session symlink
Display it under a different name, otherwise it is indistinguishable from
a normal session. Use it as default when the combobox is disabled.
---
src/sessionmodel.cpp | 6 ++++++
src/ui/Advanced.qml | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/sessionmodel.cpp b/src/sessionmodel.cpp
index 249340b..586002d 100644
--- a/src/sessionmodel.cpp
+++ b/src/sessionmodel.cpp
@@ -96,6 +96,12 @@ void SessionModel::loadDir(const QString &path, SessionType type)
isHidden = line.mid(7).toLower() == QLatin1String("true");
}
}
+
+ if (session == QLatin1String( "default.desktop" )) {
+ si->name = tr("(System Default)");
+ isHidden = false;
+ }
+
if (!isHidden) {
// add to sessions list
d->sessions.push_back(si);
diff --git a/src/ui/Advanced.qml b/src/ui/Advanced.qml
index 5f78ca6..635a099 100644
--- a/src/ui/Advanced.qml
+++ b/src/ui/Advanced.qml
@@ -38,7 +38,7 @@ Kirigami.Page {
kcm.sddmSettings.session = autologinSession.currentValue
} else {
kcm.sddmSettings.user = ""
- kcm.sddmSettings.session = ""
+ kcm.sddmSettings.session = "default.desktop"
}
// Deliberately imperative because we only want the message
--
2.47.0

View File

@ -0,0 +1,91 @@
From 957d6a8d4dc546e64d39c7d49599e67ab4be6b38 Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Tue, 19 Jan 2021 20:45:33 +0100
Subject: [PATCH] Read and write autologin user to
/etc/sysconfig/displaymanager
That's where SDDM reads from.
---
sddmauthhelper.cpp | 30 ++++++++++++++++++++++++++++++
src/sddmsettingsbase.cpp | 6 ++++--
2 files changed, 34 insertions(+), 2 deletions(-)
diff --git a/sddmauthhelper.cpp b/sddmauthhelper.cpp
index 2a38b40..0702465 100644
--- a/sddmauthhelper.cpp
+++ b/sddmauthhelper.cpp
@@ -19,6 +19,8 @@
#include <QMimeDatabase>
#include <QMimeType>
#include <QSharedPointer>
+#include <QSaveFile>
+#include <QRegularExpression>
#include <KArchive>
#include <KCompressionDevice>
@@ -310,6 +312,34 @@ ActionReply SddmAuthHelper::save(const QVariantMap &args)
QString groupName = configFields[1];
QString keyName = configFields[2];
+ if (groupName == QLatin1String("Autologin") && keyName == QLatin1String("User")) {
+ QString sysconfFileName = QStringLiteral("/etc/sysconfig/displaymanager");
+ QFile sysconf(sysconfFileName);
+ QSaveFile newconf(sysconfFileName);
+ if (!sysconf.open(QIODevice::ReadOnly) || !newconf.open(QIODevice::WriteOnly)) {
+ return ActionReply::HelperErrorReply();
+ }
+
+ QString sysconfData = QString::fromUtf8(sysconf.readAll());
+ if (sysconfData.isEmpty()) {
+ return ActionReply::HelperErrorReply();
+ }
+
+ QRegularExpression re(QStringLiteral("^DISPLAYMANAGER_AUTOLOGIN=.*$"), QRegularExpression::MultilineOption);
+ auto match = re.match(sysconfData);
+ if (!match.hasMatch()) {
+ return ActionReply::HelperErrorReply();
+ }
+
+ sysconfData.replace(match.capturedStart(), match.capturedLength(),
+ QStringLiteral("DISPLAYMANAGER_AUTOLOGIN=\"%0\"").arg(iterator.value().toString()));
+
+ QByteArray newData = sysconfData.toUtf8();
+ if (newconf.write(newData) != newData.length() || !newconf.commit()) {
+ return ActionReply::HelperErrorReply();
+ }
+ }
+
// if there is an identical keyName in "sddm.conf" we want to delete it so SDDM doesn't read from the old file
// hierarchically SDDM prefers "etc/sddm.conf" to "/etc/sddm.conf.d/some_file.conf"
diff --git a/src/sddmsettingsbase.cpp b/src/sddmsettingsbase.cpp
index e6e4af0..cbf3b3d 100644
--- a/src/sddmsettingsbase.cpp
+++ b/src/sddmsettingsbase.cpp
@@ -9,6 +9,7 @@
#include <QDebug>
#include <QDir>
+#include <QSettings>
#include <algorithm>
@@ -45,12 +46,13 @@ unsigned int SddmSettingsBase::defaultMaximumUid() const
QString SddmSettingsBase::defaultUser() const
{
- return m_defaultConfig->group(QStringLiteral("AutoLogin")).readEntry("User");
+ QSettings sysconfSettings(QStringLiteral("/etc/sysconfig/displaymanager"), QSettings::IniFormat);
+ return sysconfSettings.value(QStringLiteral("DISPLAYMANAGER_AUTOLOGIN")).toString();
}
QString SddmSettingsBase::defaultSession() const
{
- return m_defaultConfig->group(QStringLiteral("AutoLogin")).readEntry("Session");
+ return m_defaultConfig->group(QStringLiteral("AutoLogin")).readEntry("Session", "default.desktop");
}
bool SddmSettingsBase::defaultRelogin() const
--
2.45.2

View File

@ -0,0 +1,39 @@
From 5ac4a6e63e3dfb143f24f4ae9ca50b3295f4c0fa Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Sat, 7 Jul 2018 20:34:44 +0200
Subject: [PATCH] Don't add a (Wayland) suffix to Wayland sessions
It got removed from sddm as well.
---
src/sessionmodel.cpp | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/src/sessionmodel.cpp b/src/sessionmodel.cpp
index 9b00fa6..a4dfee1 100644
--- a/src/sessionmodel.cpp
+++ b/src/sessionmodel.cpp
@@ -47,6 +47,7 @@ SessionModel::~SessionModel()
void SessionModel::loadDir(const QString &path, SessionType type)
{
+ Q_UNUSED(type);
QDir dir(path);
dir.setNameFilters(QStringList() << QStringLiteral("*.desktop"));
dir.setFilter(QDir::Files);
@@ -77,13 +78,6 @@ void SessionModel::loadDir(const QString &path, SessionType type)
if (line.startsWith(QLatin1String("Name="))) {
si->name = line.mid(5);
- if (type == SessionTypeWayland) {
- // we want to exactly match the SDDM prompt which is formatted in this way
- // with the exact same check
- if (!si->name.endsWith(QLatin1String(" (Wayland)"))) {
- si->name = i18nc("%1 is the name of a session", "%1 (Wayland)", si->name);
- }
- }
}
if (line.startsWith(QLatin1String("Exec="))) {
si->exec = line.mid(5);
--
2.41.0

BIN
plasma.keyring Normal file

Binary file not shown.

3
sddm-kcm-6.1.3.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0cf14ce1254ffb697502a92d7e22125e6d44bb08e75e61ffdf584265ebc2aced
size 98800

16
sddm-kcm-6.1.3.tar.xz.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmaWVVgACgkQ11dEg7tX
sY1TtA/9HMfJ6zjeigZ2jwDSf72XowcAHOyW79pyVRMqOcrXnaSF0nSujnF12+L9
cMD/Ui/T9D1U5JytQzmWux9TrMmQfuS2lzd/poqmdXFqGp9sbx8hZvKNoDwvgCqM
ssiNRmb6OqQZgdBSgossAFDa7RZVvvGJ+ie/A/cpA/eddAHBBpd9wptgtts+TTBg
Bm6JeBcRZxiFWMyh43BHaAW2C49bbYjxuGatHOhQ4MyXJR5jasFBkCXlNo8tbJ6w
WL1RzVg+sKnxwNKOwrdSkCSVy1LS75c3D8tqGB6a0eKQNE1tYOfZVnEAFEIl8opX
F38kRZroN3nOKGe7feBgMOysOCSVVxahq3EhC58xbgHfg5QaDEdj2dJJ53wSsqtE
NYB1acs0am/27zCXNfcx5uiPepoEnYQTovqwR/2WLHQ1pOp+mUqzunUvFcEQJM0u
0xrijVnNA/pgxVCLhPs8iJNEykOzIsmOPRXU4wMdv5r1qiqgYVJsjXZGaw6LcK8o
XEgBUPTSNNGEjaUZIXM/HTXOploM06eAJBhU4MtVyXkB/mi4YHo2Os4LMc9lruBI
3kTxCnHE8lakAQyouvNXz/csyLbJrvBfuESeUK+aOBMk8Oqrp1HoFe35trZybvgO
qOai6IPoH3IMiaFliuPK1D0MlD3wptksJYfrCTTXzTndnjtXIls=
=aEKs
-----END PGP SIGNATURE-----

3
sddm-kcm-6.1.4.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:204f6099ecb140eb588ce9074ffcc1442112e291d2cddee86c31983c9f4e14a0
size 98828

16
sddm-kcm-6.1.4.tar.xz.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmayGN8ACgkQ11dEg7tX
sY2i+RAAtz5CylpVWyTq16N8EEWcc79Y8W4tSTbpyHZ0NE/NDoahG5ZMbhQrnqSy
ezUzqKdIhMfBYh5lBUZ7cOJwxiqgyfCIJiXP3IXGlehewZUqBZIqIy77kszCsbYy
yavjXmNPDJRTzi7NffkbUmLdXFJUqIzKmw1BKC7Obepn2szhJczdGn6Bwi7vDFD1
1DTDRGTuSjYmnIxXfyzCjsQ156sM6cwXfeSCZ9Efl09R6f2JpyNTOEhZ7yBPEz0p
MAtEPSNpeQBnXsKwuPRauHPYuIcEC6+HtKg1HhqlWe12A7m23ncZFV457kZBE3Xh
ovTgDkcB/ySKN5mJ8DoclcAPfF+Mm8qWfcRXmxIjldCNV2SXh1RnVpPNUahilV6h
i2MXtFYB1c4b1oh6AVuN53Pwdjb0+97vgB3KHdOxs0qe9lkV40j+4YN89z2eiAzj
3BqHlu79ctmbXlV0kpxweE3Kfmw5kgNtlRG4DL6CnTgXveQPb2IB7B3CEisChuce
BGDX/j7/fjCUxT+IerVpFTATZFXADoSMQV1SgTl72FVB09mD1M+JLsyuk6kN6tSx
CRJJJq3djdCcwerR5Lw9CqEltiIoQ6PG1KkOCBWW0nbMFzT2yEeF+APUKJDr6jDL
iDr2vdjUNF3Fp4FhX30YgrZbL8JmW3f8CGemRbW1THJLZVE2qYw=
=R0Hk
-----END PGP SIGNATURE-----

3
sddm-kcm-6.1.5.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:009235174d372079ee3aadf51e0bd7da1a382d1852ae65b0b96710b226698e9c
size 98940

16
sddm-kcm-6.1.5.tar.xz.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmbgCSMACgkQ11dEg7tX
sY3g8BAAkQ0PPxo/mh/vgtgy4r4RfgFPhsPagUXbh0SKuLmlNNlwBlxwXqxoYfbh
ORqTpZyjX0dw+kLXMsjkAGcQy6yZlJXQXaOkGZDAJxN5B2rXm4yMlYho9CI0Xnjd
YF8TS3TQeSAOZ1iwjK3oxpw99Dc+7aUuXprCbYqwwNDrgNpIrpU4Gyj40UTAK39M
vPy6x8VcDLNuROKlHy31niKWGf8saLbeNJf74RPOJDbotGiFYj9T7pSCkX3+/txY
2/C/kcbI1XP4VPFFOafvSZd18yAEKqSHD8N9fwQ0dQxQLD/z3714OZPZ5TSn4+mc
AnMn9fSTBIrkHAe9bs/niAYnH48i3Pgurdxnu9kbXWaNOKY1T4l8xPR/kEvqQRX4
m7CjpH9Z2CZkoNdasIOhP9tfrAUWo2hBIbMTv2PfhbwGZvfisRxZWbnIDYMPm16k
Q/ktQ4YiHC3zfSAFs2JgBnUZMbkso6d4Wv9IQtrzi9JwciEnL5aWNT4Y2Qg6hZYO
778vGhgifxDtx+4qRdskHHTRND1CnMY05jdCOkYLKUBvnoAiPTywmxuvUTko0fUe
DPkU568eksz8aIFUyMKkGKLkxrcaIu5hL3HPMcGlrMtH+JS2UE++it14A6c1zfft
HwIWn/3Hb09vxMY+EQqwgbrxGem6Ld5SYD7zEAjtNyYvZBdtrzU=
=Ktp0
-----END PGP SIGNATURE-----

3
sddm-kcm-6.2.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d5c6cc98c190789d1b886dba8140396588ead6125341cf5231adf95a6368851f
size 99980

16
sddm-kcm-6.2.0.tar.xz.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmb+kLQACgkQ11dEg7tX
sY3cQg//WxqhpaD/UgzCCMz6JwH5nByu2y/HLYzS+e6evC/AhJj5w/fpphg6W7Do
AuJvDarYoWUW9KWaMHNWlArC5LNsxSpdhjTo0LaL+TDAQUwvWCeJV9Jj1BActmhC
MI0Q70aurqVklBE0fLan74FNXCdjKNig7uh4+Z8CeJPPgc7H4I9Ek7g0AWvdz6FG
rDhpOViGKQaLNvvoqGNLn3V9+p7Hz1m0VCs02s+ER6wYMwBeWcUAmdxP4pbvoVt+
M7HSetLfTtXrP/atwDR01q0+x8SkNMNX1+DXXTCqO+X2mgFs4Fiz5Kyh4/rY5vIm
f+owHkhWtSl98uYW+Gdgx+IGD8SWtV1993l2r9EzcSQG3w44u4a+snEuk5m2f9dq
hKOSlnUmLZh8blM3yCmfzV87TvqQafbzpyDTT8lCEeptG6+jzEs3gQ4tDE58BDsQ
+ywkVLPr+f6UHQY6/PXB5wlzPrznftpp8G9kvKMXpckP0YlyBR77Y5xZj6ztZwjY
I09V5x3/ZKVoY604XmuoS0oK05sSlgjzr9pCSWgo32Yi+3R63+UfjK4LVj7JoPOx
zNdxHtJKFcYa8rXAtLxGQ/I5saqsWnxJyvJKKfUTVGCEi4Lka/NR4h+l/uxMtAZZ
0p30BvPyYtSvhvuKLoyn2x58zO8phGgNkx+1ulR+jsnFDrnGUU8=
=H/Qh
-----END PGP SIGNATURE-----

3
sddm-kcm-6.2.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5a5d31062236d24165f457eb8829f5466c9d2aef4aa6a9f3586f8253d653bfc1
size 100520

16
sddm-kcm-6.2.1.tar.xz.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmcOa1UACgkQ11dEg7tX
sY3xSw//dMMvpNthxMM5kGGM9u2a5fafND/S9aMdFSJnsAvwacir3SoEua7bSNR5
bzTLTxtGW9aprEGAtjP2Kx9SOV0TMXjwRfoiU7mqGw8EYGmcCrF+mzBcsTMwaZaM
RGHA1NoQdhStMo9E7QYnEvlTBPMiBvO84mdzqRBZWHQpSVOiiM8rsQ3p/EFluBwP
icruHVTRcjMA0TBODcjyZjBVtSwsxa9R0aFnmvc3NFOBsGQHG8grpZcC7gXWmtbZ
7WqWfoKyKTlsnWRZjZyLjfRi6h0pNEtB0xY2iQTBoTT9a2Ik6fxjXEtY497frhs/
uWwG1I5LhwtObrZjtM0ygehH+XVoZ9Xdmcgt4hMM9n1BwDfBKRyjAk7PzsJDopDz
bWSx7MBOWT7GCg02w7UaCBw+1PusMlE6FS4LZVCJCMxtmm1WHuuqym86orBQEHrZ
Q78PHkrHvFUBiU4+oGyjYWIa24eAEzLM48PIVikbYs3rj5hee5CeC5xHL5OK6FcX
KGmO9LHk1DGVVue2GzfienQtriOLA5NrKLy25DdWki5UPX9Pfk9Y3RxjXQD7Fn6f
x+dqNypEx53+WeBh9Wn6fBAhrpZv4OC2YfnQG0tZROboKGhmXbbKfnGVP958vViI
KG4xg6ytJCx4CdgwvDSZu99b+QafWZil2Eku/JLrCkQM/hYnYXE=
=peOF
-----END PGP SIGNATURE-----

3
sddm-kcm-6.2.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:67c87ee531d6534c65f3fcb8c377b5ca0ff8339c935565b98986caa3fc2ac4de
size 100616

16
sddm-kcm-6.2.2.tar.xz.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmcXoZ8ACgkQ11dEg7tX
sY0SZg/7BUpiTP3AjziYJRmtCSwvJNJF7Vq4TbGHM1GwPtgPQvgEZ6VTzGpIVrrG
G7g+gRvhD8xjdjkliQcKHcmEsXCLYAi1L8Cmjj7W2qa8HEwlTt7YoqbDklp5qsvC
AR/c3i3frfhlsft4nSQak2GA6AQYJDyicCD+Wy+rZMC6EnWJYRzO9pvFQYXywggt
7DiVqgedR79Z2yz3pOIri6YW6Bgip13k8y1tnKngUey92llQEqMMoiLOXw6L+WiU
ob/OmtJHdrNCMvisIxLoPKqwQ+dsHscetRHZFIH7Dc8c0cxaQLuH71ORbgFPLb3E
/b0Siak0ogjrk8BDtVSJQxV4hnUyCImQbWqrPhCq/55dJ90pEmyTQgf3HkdJi6FK
4//KumHhDgcaRBDWybdUda9XuanGZluMDOk18qzb4WR6sLkNDwAxsepmapNO8RJN
LTf9poUm2srrUzChoWO10U6JrakS5z+DyPETS61RJz5wL+qwC60JV46mlW2YVCYG
ewSlpZA5HMnpZ1RsRraNx0tcxhuGoAl2mNge9FI0r7u6FL9EZ79QBwSGxON0xlo7
4/WI6k5Fr9r5kVWMR8K7us4cVvYIO+KtwuZWhcV2I3GX9KPOB7ZCxlKlb34Kxf96
4p3go/Xdcedj5wRg+ibKztDYELyDKumCEERIceYk+3LzeBFX9oc=
=OilY
-----END PGP SIGNATURE-----

214
sddm-kcm6.changes Normal file
View File

@ -0,0 +1,214 @@
-------------------------------------------------------------------
Tue Oct 22 14:09:01 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.2:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.2
- Changes since 6.2.1:
* Fix autologin session value
* Resolve and de-duplicate theme paths (kde#482484)
* update version for new release
- Refresh 0001-Support-default.session-symlink.patch
-------------------------------------------------------------------
Tue Oct 15 16:53:57 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.1:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.1
- Changes since 6.2.0:
* update version for new release
-------------------------------------------------------------------
Sat Oct 5 10:44:41 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.2.0:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.2.0
- Changes since 6.1.90:
* update version for new release
* Drop unused Qt5Compat import
-------------------------------------------------------------------
Tue Sep 17 14:55:01 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.90:
* New feature release
* For more details see https://kde.org/announcements/plasma/6/6.1.90
- Changes since 6.1.5:
* update version for new release
* Port everything to Kirigami.Dialog
* Adopt card style for wallpaper changer dialog too
* Clean up preview dialog QML code a bit
* Put the preview image in a card
* Don't unnecessarily set sourceSize on preview image (kde#492950)
* Fix needssave state management (kde#490937)
* Move to modern KDE_COMPILERSETTINGS_LEVEL
* Use file descriptor to install theme
* Fix visual window artifact
* Port header InlineMessage to frameless style
* update version for new release
- Rebase patches:
* 0001-Remove-some-features-with-questionable-security.patch
* 0002-Read-and-write-autologin-user-to-etc-sysconfig-displ.patch
-------------------------------------------------------------------
Tue Sep 10 14:55:32 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.5:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.5
- Changes since 6.1.4:
* Fix needssave state management (kde#490937)
* update version for new release
- Rebase 0001-Support-default.session-symlink.patch
-------------------------------------------------------------------
Tue Aug 6 13:29:11 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.4:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.4
- Changes since 6.1.3:
* update version for new release
* Fix visual window artifact
-------------------------------------------------------------------
Tue Jul 16 13:25:43 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.3:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.3
- Changes since 6.1.2:
* update version for new release
-------------------------------------------------------------------
Tue Jul 2 17:34:35 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.2:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.2
- Changes since 6.1.1:
* update version for new release
-------------------------------------------------------------------
Tue Jun 25 17:15:57 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.1:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.1
- Changes since 6.1.0:
* update version for new release
-------------------------------------------------------------------
Thu Jun 13 10:59:01 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.1.0:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.1.0
- Changes since 6.0.90:
* update version for new release
-------------------------------------------------------------------
Sat May 25 11:20:16 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.90:
* New feature release
* For more details see https://kde.org/announcements/plasma/6/6.0.90
- Changes since 6.0.5:
* update version for new release
* Move sddm user check to a new function in authhelper
* Mark risky KNS content
* Reset cursor theme and size to defaults if they are unset in Plasma
* Allow unsetting values when syncing Plasma settings
* Adapt to Qt6 QVariant::isNull() changes
* Sync the current kwin output configuration
-------------------------------------------------------------------
Wed May 22 07:43:23 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.5:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.5
- Changes since 6.0.4:
* update version for new release
-------------------------------------------------------------------
Wed Apr 17 08:13:58 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.4:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.4
- Changes since 6.0.3:
* update version for new release
-------------------------------------------------------------------
Tue Mar 26 18:07:01 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.3:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.3
- Changes since 6.0.2:
* update version for new release
* Sync the current kwin output configuration
* Reset cursor theme and size to defaults if they are unset in Plasma
* Allow unsetting values when syncing Plasma settings
* Adapt to Qt6 QVariant::isNull() changes
-------------------------------------------------------------------
Wed Mar 20 08:44:42 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Add patch to disable some questionable features (bsc#1217188):
* 0001-Remove-some-features-with-questionable-security.patch
-------------------------------------------------------------------
Wed Mar 13 09:10:41 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.2:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.2
- Changes since 6.0.1:
* update version for new release
-------------------------------------------------------------------
Wed Mar 6 08:40:34 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.1:
* New bugfix release
* For more details see https://kde.org/announcements/plasma/6/6.0.1
- Changes since 6.0.0:
* update version for new release
-------------------------------------------------------------------
Mon Mar 4 18:52:32 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Add Provides/Obsoletes to replace Plasma 5
-------------------------------------------------------------------
Wed Feb 21 18:36:41 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.0:
* New bugfix release
* Release announcement not available yet
- Changes since 5.93.0:
* update version for new release
-------------------------------------------------------------------
Wed Jan 31 17:38:30 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 5.93.0 (6.0 RC 2):
* New bugfix release
* See https://kde.org/announcements/megarelease/6/rc2/ for details
- No code changes since 5.92.0
-------------------------------------------------------------------
Mon Jan 15 21:09:17 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 5.92.0 (6.0 RC 1)
* For more details please see:
https://kde.org/announcements/megarelease/6/rc1/
-------------------------------------------------------------------
Fri Aug 25 08:27:48 UTC 2023 - Christophe Marin <christophe@krop.fr>
- Init sddm-kcm6

93
sddm-kcm6.spec Normal file
View File

@ -0,0 +1,93 @@
#
# spec file for package sddm-kcm6
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define kf6_version 6.5.0
%define qt6_version 6.7.0
%define rname sddm-kcm
%bcond_without released
Name: sddm-kcm6
Version: 6.2.2
Release: 0
Summary: A sddm control module for KDE
License: GPL-2.0-only
URL: https://projects.kde.org/projects/kdereview/sddm-kcm/repository
Source: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz
%if %{with released}
Source1: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig
Source2: plasma.keyring
%endif
# PATCH-FIX-OPENSUSE
Patch1: 0001-Support-default.session-symlink.patch
Patch2: 0002-Read-and-write-autologin-user-to-etc-sysconfig-displ.patch
Patch3: 0003-Don-t-add-a-Wayland-suffix-to-Wayland-sessions.patch
# PATCH-FEATURE (?)-OPENSUSE
Patch4: 0001-Remove-some-features-with-questionable-security.patch
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
BuildRequires: pkgconfig
BuildRequires: cmake(KF6Archive) >= %{kf6_version}
BuildRequires: cmake(KF6Auth) >= %{kf6_version}
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
BuildRequires: cmake(KF6KCMUtils) >= %{kf6_version}
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
BuildRequires: cmake(KF6NewStuff) >= %{kf6_version}
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
BuildRequires: cmake(Qt6Quick) >= %{qt6_version}
BuildRequires: cmake(Qt6QuickWidgets) >= %{qt6_version}
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
Supplements: (sddm and plasma6-workspace)
Provides: kcm_sddm = %{version}
Obsoletes: kcm_sddm < %{version}
Obsoletes: kcm_sddm-lang < %{version}
%description
SDDM control module for Plasma. It provides a graphical frontend for the SDDM.
%lang_package
%prep
%autosetup -p1 -n %{rname}-%{version}
%build
%cmake_kf6
%kf6_build
%install
%kf6_install
%find_lang kcm_sddm
%files
%doc README.md
%license LICENSES/*
%{_kf6_bindir}/sddmthemeinstaller
%{_kf6_applicationsdir}/kcm_sddm.desktop
%{_kf6_dbuspolicydir}/org.kde.kcontrol.kcmsddm.conf
%{_kf6_knsrcfilesdir}/sddmtheme.knsrc
%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_sddm.so
%{_kf6_sharedir}/dbus-1/system-services/org.kde.kcontrol.kcmsddm.service
%{_kf6_sharedir}/polkit-1/actions/org.kde.kcontrol.kcmsddm.policy
%{_kf6_libexecdir}/kauth/kcmsddm_authhelper
%files lang -f kcm_sddm.lang
%changelog