1
0

Plasma 6.1.5. sddm-kcm6 needed a patch change.

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks/plasma6-workspace?expand=0&rev=38
This commit is contained in:
Christophe Marin 2024-09-11 07:58:02 +00:00 committed by Git OBS Bridge
commit 54c31b9ab7
19 changed files with 1479 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,27 @@
From 846222c0dac6747256fd3d474db174643e84fee0 Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Sat, 1 Oct 2016 19:22:36 +0200
Subject: [PATCH] Ignore default sddm face icons
They are not compatible with the theme
---
diff --git a/lookandfeel/components/UserList.qml b/lookandfeel/components/UserList.qml
index 2095aae5b..8feee1600 100644
--- a/lookandfeel/components/UserList.qml
+++ b/lookandfeel/components/UserList.qml
@@ -54,7 +54,13 @@ ListView {
interactive: count > 1
delegate: UserDelegate {
- avatarPath: model.icon || ""
+ avatarPath: {
+ var incompatible = /\/usr\/share\/sddm\/faces\/((root)?)\.face\.icon$/
+ if (!model.icon || incompatible.test(model.icon))
+ return ""
+
+ return model.icon
+ }
iconSource: model.iconName || "user-identity"
fontSize: view.fontSize
needsPassword: model.needsPassword !== undefined ? model.needsPassword : true

View File

@ -0,0 +1,133 @@
From a437cb34a3cacc0daae012a26cb5a28407a6f873 Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Wed, 28 Feb 2018 17:10:14 +0100
Subject: [PATCH] Revert "No icons on the desktop by default"
This reverts commit 240d0d6fe1e5db88e304199339396bd48c23e130.
We want those icons in openSUSE. They've always been there and there is no
reason not to have them.
---
kioworkers/desktop/CMakeLists.txt | 1 +
kioworkers/desktop/Home.desktop | 88 ++++++++++++++++++++++++++++++++++++++++
kioworkers/desktop/kio_desktop.cpp | 4 ++
3 files changed, 93 insertions(+)
create mode 100644 kioworkers/desktop/Home.desktop
Index: plasma-workspace-5.17.80git.20221219T021648~0ddf86c99/kioworkers/desktop/CMakeLists.txt
===================================================================
--- plasma-workspace-5.17.80git.20221219T021648~0ddf86c99.orig/kioworkers/desktop/CMakeLists.txt 2022-12-19 03:16:48.000000000 +0100
+++ plasma-workspace-5.17.80git.20221219T021648~0ddf86c99/kioworkers/desktop/CMakeLists.txt 2022-12-19 11:17:42.513241900 +0100
@@ -24,3 +24,4 @@
########### install files ###############
install(FILES directory.desktop directory.trash DESTINATION ${KDE_INSTALL_DATADIR}/kio_desktop)
+install(FILES Home.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kio_desktop/DesktopLinks)
Index: plasma-workspace-5.17.80git.20221219T021648~0ddf86c99/kioworkers/desktop/Home.desktop
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ plasma-workspace-5.17.80git.20221219T021648~0ddf86c99/kioworkers/desktop/Home.desktop 2022-12-19 11:17:42.513241900 +0100
@@ -0,0 +1,88 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Home
+Name[ca]=Inici
+Name[ca@valencia]=Inici
+Name[cs]=Můj adresář
+Name[da]=Hjem
+Name[de]=Persönlicher Ordner
+Name[el]=Προσωπικός φάκελος
+Name[en_GB]=Home
+Name[es]=Inicio
+Name[et]=Kodu
+Name[eu]=Etxea
+Name[fi]=Koti
+Name[fr]=Dossier personnel
+Name[gl]=Persoal
+Name[he]=בית
+Name[hu]=Saját mappa
+Name[is]=Heimamappa
+Name[it]=Home
+Name[ja]=ホーム
+Name[ko]=홈
+Name[lt]=Pradžia
+Name[nl]=Home
+Name[nn]=Heim
+Name[pa]=ਘਰ
+Name[pl]=Katalog domowy
+Name[pt]=Pasta Pessoal
+Name[pt_BR]=Pasta Pessoal
+Name[ru]=Домашняя папка
+Name[se]=Ruoktu
+Name[sk]=Domov
+Name[sl]=Dom
+Name[sr]=Домаће
+Name[sr@ijekavian]=Домаће
+Name[sr@ijekavianlatin]=Domaće
+Name[sr@latin]=Domaće
+Name[sv]=Hem
+Name[tr]=Başlangıç
+Name[uk]=Домівка
+Name[x-test]=xxHomexx
+Name[zh_CN]=主文件夹
+Name[zh_TW]=家目錄
+GenericName=Personal Files
+GenericName[ca]=Fitxers personals
+GenericName[ca@valencia]=Fitxers personals
+GenericName[cs]=Osobní soubory
+GenericName[da]=Personlige filer
+GenericName[de]=Persönliche Dateien
+GenericName[el]=Προσωπικά αρχεία
+GenericName[en_GB]=Personal Files
+GenericName[es]=Archivos personales
+GenericName[et]=Isiklikud failid
+GenericName[eu]=Fitxategi pertsonalak
+GenericName[fi]=Omat tiedostot
+GenericName[fr]=Fichiers personnels
+GenericName[gl]=Ficheiros persoais
+GenericName[he]=קבצים אישיים
+GenericName[hu]=Személyes fájlok
+GenericName[is]=Einkaskrár
+GenericName[it]=File personali
+GenericName[ja]=個人のファイル
+GenericName[ko]=개인적인 파일
+GenericName[lt]=Asmeniniai failai
+GenericName[nl]=Persoonlijke bestanden
+GenericName[nn]=Personlege filer
+GenericName[pa]=ਨਿੱਜੀ ਫਾਇਲਾਂ
+GenericName[pl]=Pliki osobiste
+GenericName[pt]=Ficheiros Pessoais
+GenericName[pt_BR]=Arquivos pessoais
+GenericName[ru]=Личные файлы
+GenericName[se]=Iežat fiillat
+GenericName[sk]=Osobné súbory
+GenericName[sl]=Osebne datoteke
+GenericName[sr]=Лични фајлови
+GenericName[sr@ijekavian]=Лични фајлови
+GenericName[sr@ijekavianlatin]=Lični fajlovi
+GenericName[sr@latin]=Lični fajlovi
+GenericName[sv]=Personliga filer
+GenericName[tr]=Kişisel Dosyalar
+GenericName[uk]=Особисті файли
+GenericName[x-test]=xxPersonal Filesxx
+GenericName[zh_CN]=个人文件
+GenericName[zh_TW]=個人檔案
+URL[$e]=$HOME
+Icon=user-home
+Type=Link
+
Index: plasma-workspace-5.17.80git.20221219T021648~0ddf86c99/kioworkers/desktop/kio_desktop.cpp
===================================================================
--- plasma-workspace-5.17.80git.20221219T021648~0ddf86c99.orig/kioworkers/desktop/kio_desktop.cpp 2022-12-19 03:16:48.000000000 +0100
+++ plasma-workspace-5.17.80git.20221219T021648~0ddf86c99/kioworkers/desktop/kio_desktop.cpp 2022-12-19 11:17:42.513241900 +0100
@@ -76,6 +76,10 @@
// Copy the .directory file
QFile::copy(QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("kio_desktop/directory.desktop")), desktopPath + "/.directory");
+ // Copy the trash link
+ QFile::copy(QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("kio_desktop/directory.trash")),
+ desktopPath + "/trash.desktop");
+
// Copy the desktop links
QSet<QString> links;
const auto dirs =

View File

@ -0,0 +1,211 @@
From 1a5f040113e1d27f9298bfdcdf55e8f2012acb5a Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Sun, 10 Mar 2024 19:51:29 +0100
Subject: [PATCH] Revert "krunner: Remove kconf_update code"
This reverts commit 713f14f3fa6515e73796d86d7b442f39f288b5e9.
We need the migration for upgrades from < 15.4, which openQA tests
still.
Changes after revert: Set Version=6 and use QGuiApplication for QAction.
---
krunner/CMakeLists.txt | 1 +
krunner/update/CMakeLists.txt | 13 ++++
krunner/update/krunnerglobalshortcuts.cpp | 76 ++++++++++++++++++++++
krunner/update/krunnerglobalshortcuts2.upd | 3 +
krunner/update/krunnerhistory.cpp | 50 ++++++++++++++
krunner/update/krunnerhistory.upd | 3 +
6 files changed, 146 insertions(+)
create mode 100644 krunner/update/CMakeLists.txt
create mode 100644 krunner/update/krunnerglobalshortcuts.cpp
create mode 100644 krunner/update/krunnerglobalshortcuts2.upd
create mode 100644 krunner/update/krunnerhistory.cpp
create mode 100644 krunner/update/krunnerhistory.upd
diff --git a/krunner/CMakeLists.txt b/krunner/CMakeLists.txt
index c17bac6479..c7fead06d6 100644
--- a/krunner/CMakeLists.txt
+++ b/krunner/CMakeLists.txt
@@ -52,3 +52,4 @@ ecm_install_configured_files(
)
install(FILES completions/krunner.zsh RENAME _krunner DESTINATION ${KDE_INSTALL_ZSHAUTOCOMPLETEDIR})
+add_subdirectory(update)
diff --git a/krunner/update/CMakeLists.txt b/krunner/update/CMakeLists.txt
new file mode 100644
index 0000000000..0fbac69b3d
--- /dev/null
+++ b/krunner/update/CMakeLists.txt
@@ -0,0 +1,13 @@
+set(krunnerglobalshortcuts_SRCS
+ krunnerglobalshortcuts.cpp
+)
+
+add_executable(krunnerglobalshortcuts ${krunnerglobalshortcuts_SRCS})
+
+target_link_libraries(krunnerglobalshortcuts KF6::CoreAddons KF6::Service KF6::Runner KF6::ConfigCore KF6::GlobalAccel KF6::XmlGui)
+
+add_executable(krunnerhistory krunnerhistory.cpp)
+target_link_libraries(krunnerhistory KF6::Runner KF6::ConfigCore Plasma::Activities)
+
+install(TARGETS krunnerglobalshortcuts krunnerhistory DESTINATION ${KDE_INSTALL_LIBDIR}/kconf_update_bin/)
+install(FILES krunnerglobalshortcuts2.upd krunnerhistory.upd DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
diff --git a/krunner/update/krunnerglobalshortcuts.cpp b/krunner/update/krunnerglobalshortcuts.cpp
new file mode 100644
index 0000000000..513d2ac74d
--- /dev/null
+++ b/krunner/update/krunnerglobalshortcuts.cpp
@@ -0,0 +1,76 @@
+/*
+ SPDX-FileCopyrightText: 2019 Kai Uwe Broulik <kde@broulik.de>
+ SPDX-FileCopyrightText: 2020 David Redondo <kde@david-redondo.de>
+
+ SPDX-License-Identifier: GPL-2.0-or-later
+*/
+
+#include <QGuiApplication>
+#include <QDebug>
+#include <QStandardPaths>
+
+#include <KActionCollection>
+#include <KConfig>
+#include <KConfigGroup>
+#include <KDesktopFile>
+#include <KGlobalAccel>
+#include <KSharedConfig>
+
+int main(int argc, char **argv)
+{
+ QGuiApplication app(argc, argv);
+
+ const QString oldComponentName = QStringLiteral("krunner");
+ const QString oldDesktopFile = QStringLiteral("krunner.desktop");
+ const QString newDesktopFile = QStringLiteral("org.kde.krunner.desktop");
+
+ // Since we need to fake those actions, read the translated names from the desktop file
+ KDesktopFile df(QStandardPaths::GenericDataLocation, QStringLiteral("kglobalaccel/") + newDesktopFile);
+ QString displayName = QStringLiteral("KRunner");
+ if (!df.readName().isEmpty()) {
+ displayName = df.readName();
+ }
+ const QString clipboardActionName = df.actionGroup(QStringLiteral("RunClipboard"))
+ .readEntry(QStringLiteral("Name"), //
+ QStringLiteral("Run command on clipboard contents"));
+
+ KActionCollection shortCutActions(nullptr, newDesktopFile);
+ shortCutActions.setComponentDisplayName(displayName);
+ // The actions are intentionally allocated and never cleaned up, because otherwise KGlobalAccel
+ // will mark them as inactive
+ auto runCommandAction = new QAction(displayName);
+ shortCutActions.addAction(QStringLiteral("_launch"), runCommandAction);
+ auto runClipboardAction = new QAction(clipboardActionName);
+ shortCutActions.addAction(QStringLiteral("RunClipboard"), runClipboardAction);
+
+ QList<QKeySequence> oldRunCommand;
+ QList<QKeySequence> oldRunClipboard;
+
+ // It can happen that the old component is not active so we do it unconditionally
+ KActionCollection oldActions(nullptr, oldComponentName);
+ QAction oldRunCommandAction, oldRunClipboardAction;
+ oldActions.addAction(QStringLiteral("run command"), &oldRunCommandAction);
+ oldActions.addAction(QStringLiteral("run command on clipboard contents"), &oldRunClipboardAction);
+ oldRunCommand = KGlobalAccel::self()->globalShortcut(oldComponentName, oldRunCommandAction.objectName());
+ oldRunClipboard = KGlobalAccel::self()->globalShortcut(oldComponentName, oldRunClipboardAction.objectName());
+ KGlobalAccel::self()->setShortcut(&oldRunCommandAction, {});
+ KGlobalAccel::self()->setShortcut(&oldRunClipboardAction, {});
+ KGlobalAccel::self()->removeAllShortcuts(&oldRunCommandAction);
+ KGlobalAccel::self()->removeAllShortcuts(&oldRunClipboardAction);
+ KGlobalAccel::self()->cleanComponent(oldComponentName);
+
+ if (KGlobalAccel::isComponentActive(oldDesktopFile)) {
+ oldRunCommand = KGlobalAccel::self()->globalShortcut(oldDesktopFile, runCommandAction->objectName());
+ oldRunClipboard = KGlobalAccel::self()->globalShortcut(oldDesktopFile, runClipboardAction->objectName());
+ KGlobalAccel::self()->cleanComponent(oldDesktopFile);
+ }
+
+ if (!oldRunCommand.isEmpty()) {
+ KGlobalAccel::self()->setShortcut(runCommandAction, oldRunCommand, KGlobalAccel::NoAutoloading);
+ }
+ if (!oldRunClipboard.isEmpty()) {
+ KGlobalAccel::self()->setShortcut(runClipboardAction, oldRunClipboard, KGlobalAccel::NoAutoloading);
+ }
+
+ return 0;
+}
diff --git a/krunner/update/krunnerglobalshortcuts2.upd b/krunner/update/krunnerglobalshortcuts2.upd
new file mode 100644
index 0000000000..84c7197382
--- /dev/null
+++ b/krunner/update/krunnerglobalshortcuts2.upd
@@ -0,0 +1,3 @@
+Version=6
+Id=5.22KRunnerGlobalShortcuts
+Script=krunnerglobalshortcuts
diff --git a/krunner/update/krunnerhistory.cpp b/krunner/update/krunnerhistory.cpp
new file mode 100644
index 0000000000..9e3c29ef4a
--- /dev/null
+++ b/krunner/update/krunnerhistory.cpp
@@ -0,0 +1,50 @@
+/*
+ SPDX-FileCopyrightText: 2020 Alexander Lohnau <alexander.lohnau@gmx.de>
+
+ SPDX-License-Identifier: GPL-2.0-or-later
+*/
+
+#include <QCoreApplication>
+#include <QTimer>
+
+#include <PlasmaActivities/Consumer>
+#include <KConfigGroup>
+#include <KSharedConfig>
+
+using namespace Qt::StringLiterals;
+
+int main(int argc, char **argv)
+{
+ QCoreApplication app(argc, argv);
+
+ // Migrate data to state data file
+ KSharedConfigPtr krunnerrc = KSharedConfig::openConfig("krunnerrc");
+ KConfigGroup stateData = krunnerrc->group(u"PlasmaRunnerManager"_s);
+ KSharedConfigPtr newStateLocation = KSharedConfig::openConfig("krunnerstaterc", KConfig::NoGlobals, QStandardPaths::GenericDataLocation);
+ stateData.reparent(newStateLocation.data());
+ stateData.sync();
+
+ // Migrate history to activity aware config
+ auto consumer = new KActivities::Consumer();
+ // Wait a bit for consumer to be initialized
+ QObject::connect(consumer, &KActivities::Consumer::serviceStatusChanged, consumer, [consumer, newStateLocation, krunnerrc]() {
+ const QString history = krunnerrc->group(u"General"_s).readEntry("history");
+ QStringList activities = consumer->activities();
+ if (activities.isEmpty()) {
+ activities.append(QStringLiteral("00000000-0000-0000-0000-000000000000"));
+ }
+ KConfigGroup newHistory = newStateLocation->group(u"PlasmaRunnerManager"_s).group(u"History"_s);
+ for (const QString &activity : std::as_const(activities)) {
+ newHistory.writeEntry(activity, history);
+ }
+ newHistory.sync();
+ // Delete old values
+ krunnerrc->group(u"General"_s).deleteEntry("history");
+ krunnerrc->deleteGroup(u"PlasmaRunnerManager"_s);
+ krunnerrc->group(QStringLiteral("PlasmaRunnerManager")).writeEntry("migrated", true);
+ krunnerrc->sync();
+ qApp->exit();
+ });
+
+ return QCoreApplication::exec();
+}
diff --git a/krunner/update/krunnerhistory.upd b/krunner/update/krunnerhistory.upd
new file mode 100644
index 0000000000..bb3c0502b0
--- /dev/null
+++ b/krunner/update/krunnerhistory.upd
@@ -0,0 +1,3 @@
+Version=6
+Id=5.21KRunnerHistory
+Script=krunnerhistory
--
2.44.0

25
0001-Use-qdbus6.patch Normal file
View File

@ -0,0 +1,25 @@
From a897020dc3bbd7aa47f8bdf8c724bdce81206ca5 Mon Sep 17 00:00:00 2001
From: Christophe Marin <christophe@krop.fr>
Date: Sun, 9 Jul 2023 00:06:52 +0200
Subject: [PATCH] Use qdbus6
---
startkde/startplasma-wayland.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/startkde/startplasma-wayland.cpp b/startkde/startplasma-wayland.cpp
index caeadd70a..f7ae977de 100644
--- a/startkde/startplasma-wayland.cpp
+++ b/startkde/startplasma-wayland.cpp
@@ -56,7 +56,7 @@ int main(int argc, char **argv)
runEnvironmentScripts();
if (!qEnvironmentVariableIsSet("DBUS_SESSION_BUS_ADDRESS")) {
- out << "startplasmacompositor: Could not start D-Bus. Can you call qdbus?\n";
+ out << "startplasmacompositor: Could not start D-Bus. Can you call qdbus6?\n";
return 1;
}
setupPlasmaEnvironment();
--
2.41.0

7
_constraints Normal file
View File

@ -0,0 +1,7 @@
<constraints>
<hardware>
<disk>
<size unit="G">5</size>
</disk>
</hardware>
</constraints>

View File

@ -0,0 +1,26 @@
Hide YaST modules from the applications menu. boo#951888
diff --git a/menu/desktop/plasma-applications.menu b/menu/desktop/plasma-applications.menu
index a5315a718..e71213d10 100644
--- a/menu/desktop/plasma-applications.menu
+++ b/menu/desktop/plasma-applications.menu
@@ -338,7 +338,10 @@
<Name>Settingsmenu</Name>
<Directory>kf5-settingsmenu.directory</Directory>
<Include>
- <Category>Settings</Category>
+ <And>
+ <Category>Settings</Category>
+ <Not><Category>X-SuSE-YaST</Category></Not>
+ </And>
</Include>
</Menu>
<Menu>
@@ -348,6 +351,7 @@
<And>
<Category>System</Category>
<Not><Category>X-KDE-More</Category></Not>
+ <Not><Category>X-SuSE-YaST</Category></Not>
</And>
</Include>
<Menu>

View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmaWVRgACgkQ11dEg7tX
sY2fBw/6A9/xPLTnGjp+pUa/QQtWf2/f5kQUZam6ecj6ulbprDZxoGxmMp0kJqB9
/Aup4wvoxab+K2C3yXDSpO4KYWu1d8hcDhMwVojbp3HoPBXPf0ikm0Ojyjj5+fCR
g+ASjfFCQWRDHhXn5RSRXBQNrObkrm0wTYyXz0AJP0JURaeEYHBqEMrxDgGspmpA
09uUS7ehs2kTgn0YBCcb2CoBCiCXtCVzDiSKAJ1qWhFIU7vfRtxZm1h5HMUWaFvF
Z6klV3PfcN8RLW3sjUtHz4GiD/udnGX6PcY3iPZRTBJfJniKRAXtKTrki6F+QYRj
UpQ76DwNVfTwCW/GGQzEDKV3cotnbjBwsyHIBmIsZRKjBKDcwOWOngvpVf2AHUBs
uDvr+MhcttBWJY9M3j6mx0z2qQgNiNt0F2j0hZqYKnFzue6IEwKbC90QJ+qVJvoG
r+lq0NWmbCkv/OSE0AXNEEGkGiZB5bDQif5vFfaRE9H4bHsU5XdeRV3YGMfNeq2N
4aS//mSgO64F76auMUp39AQnInGzPD7hEq1cdoSjx1g0QB6iK18P43GZZzSVpnpn
JB6T3KhqVL0XrBDKtGnYns95dz7NFqYxuNivZByUIl0zN6sN8IxzaufeoRQk7ksb
dgrsbi83ymGjOS/EiwA66DYwJJzvnzrTww+OEFiT9wz5ok0m174=
=34aw
-----END PGP SIGNATURE-----

View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmayGJwACgkQ11dEg7tX
sY33Lw/7B/EnOJyI+U3sTX+vJAdQIfB+TxDLoac62rzmXnZHhvVqSk/xaLJh/Oct
31O+Px/BypNpj2TsEqHhU0sJuxNCWy8qdD7R92evLB9+3+kRVgWYjSL7AOSLAg4y
WxWMsT2pEYCJ50Fh85N5a8x+s3WPgaHxv0/00o+gX+iFm+FtojjWJL5TodRKwI3I
6i3eJ0eT7Mjg1jW0IEiVOIBoytp/TBRfnwEJHjdurmlvjDw7RD8umkiPbYW6MPFf
AdsagAJw8i+3un/WdNCd8g82/MPiM9XyLFzg7UcgNIRiljj86l7S63c6tiCzccQ7
9Vz9Xkmw9ZBKVdOVum55E4VoL4tiyF8CU3aodLZFiIJpMAnCC4QQvlqA0P/B8wwF
c1VUP2XyXiz3/SS7+HDZsJ9R/uiSjDi3KUcD8dqgk9FIRJPVUXPxb/nSWtd8m1rD
VmzS6lJSHcRljytFrP2VT6ra5jMyQGI0nl1MJbVIc2vm5wMPAnT3Ch4lqvZnl/WZ
h9yrML/te5EtqtuNXM35opbMXcPWakEYFPNJVuuHUf8HVxDzBynJRrhPiD0xzr1e
lFeMvGG2ZuTI5/3qNO9TrTj2MYDZEBMmnXVJ2qfZY0VHch2ReyHP+qFhnlpYnMps
jncbg2fa6wEGZr0pHiHoQ6gOuz8Cy4VqBygGXxw56rsStGmkPXM=
=VB+O
-----END PGP SIGNATURE-----

View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmbgCNMACgkQ11dEg7tX
sY2rmRAAklsJcdpjicO1J1Kkw55tUKs5aRvMhb4jT0hSP6nvRqDUGwbaJeXU79ph
0ZRXq00p8UnxVLSDhWdhOX7ztcpsUNpxCWfwl9z2p0OjwjTt6qVFp8RZ8YyS6/96
s/KqxeeWaxY4eWAmFydzfwsMhL1txH+erhjyfYCPHIrFNQyCHIKk7bzOpl9IEUsJ
Aa7EGAnOk4AslsYNQD31acCDvEx6sp5hoy+XqLiam9xEllSpmtjfrBORnhmNuaeS
c0EgkwpsbiPPRnGM3Vv2ojCioMcjq3NNoamuubx6K591hO+aTdT5FaQ1KIa2djeX
2qSnLHdqxE0b/queme8I66txDfTuUQmshTZKx8dXRp+Emr+GY8bdlsfYSVuN8I0Q
tn5f6oC8yuveg9dtnSLZEbLsjkrz09vc1sQMd7mTSqCfVje+6sJkD+G2cr8W6UqS
j22PCn8QUy3ASud8AMeN32wJvWQEVSd28lqSFuQm1zjlL0YcUq/Cn+oWdrKNJwk5
k7/J4ezexAQfQv6fmBHln2J2bvkaIeKKKa/FBQChqTfgh3klOedaj4JvWlqoba7F
KOy4sFosoaBDcSMqaXQADbjAf/U1nlbYtelC1qpdc2CofMAsFOzwe25C3jv2YTGr
+vo95uIky2uORumfstXgYU+0y3A9ZDYfXgpSa47dBD1JC6/I88s=
=39Xn
-----END PGP SIGNATURE-----

BIN
plasma.keyring Normal file

Binary file not shown.

324
plasma6-workspace.changes Normal file
View File

@ -0,0 +1,324 @@
-------------------------------------------------------------------
Tue Sep 10 14:55:08 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:
* update version for new release
* ScreenPool: add fake screens initially (kde#484687)
* dataengines/weather/dwd: Fix searching places with umlauts
* Fixes for touchscreen interaction
* applets/systemtray: stop overriding delegates' tooltip locations (kde#470650,kde#490555)
* klipper: fix copying cells when images are ignored (kde#491488)
* [dataengines/hotplug] Don't crash when there is no default file manager
* xembedsniproxy: Guard against crash when xcb_query_tree_reply is null (kde#491509)
* Fix svg images (kde#491369)
* kcm_regionandlang: always run localectl (kde#479213)
* Make X-KDE-Init-Phase a proper number in JSON and remove obsolete X-KDE-Init-Symbol values
* libkmpris: refresh player when track list changes (kde#490569)
* applets/mediacontroller: use Play/Pause to control players
* shell/panelview: restart unhide timer on drag leave
* appiumtests: disable clipboardtest
* update version for new release
-------------------------------------------------------------------
Tue Aug 6 13:28:34 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
* Watch for Look and Feel changed
* applets/batterymonitor: Fix property names to show the right tool-tip text
* applets/mediacontroller: Fix label width overflow in horizontal panel
* Track screen change
* Respect centered images size (kde#490425,kde#489250)
* xembed-sni-proxy: Check if descendant windows want button events
* freespacenotifier: Rework to not warn for read only partitions
* startplasma: Also set environment variable when it is not currently set (kde#490432)
* notifications: When doing a drag and drop, set the supported action to cpoy (kde#469644)
* krunner: Fix icon property name for additionalActions list
* kastatsfavoritesmodel: Fix a crash
-------------------------------------------------------------------
Tue Jul 16 13:25:21 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
* klipper: Avoid incorrect wayland roundtrips (kde#489096)
* klipper: Fix a potential null dereferencing (kde#489096)
* kcm/users: decode URI-encoded file for avatar image
* kastatsfavoritesmodel.cpp: prefer .value() over operator[] (kde#482887)
* xembedsniproxy: Warp pointer to click location on wayland (kde#489286)
* klipper: add missing static keyword in `SystemClipboard`
* update version for new release
-------------------------------------------------------------------
Tue Jul 2 17:34:31 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
* libtaskmanager: improve efficiency when window icon frequently changes (kde#487390)
* Do not hide panel settings when a panel-parented dialog takes focus (kde#487161)
* update version for new release
-------------------------------------------------------------------
Tue Jun 25 17:14:48 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
* Don't emit appletDeleted 2 times
* applets/systemtray: Read "padding" instead of "margin" of dialog
* Mapping for mouse events considering transforms (kde#488173)
* Enforce formfactor when changing location (kde#488174)
* update version for new release
* kcm_regionandlang: fix incorrect paper size example for some locales (kde#488083)
* shell/kconf_update: don't remove shortcut added in 6.1 (kde#488494)
-------------------------------------------------------------------
Mon Jun 17 20:56:13 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update tarball, got respun
-------------------------------------------------------------------
Thu Jun 13 18:14:12 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- sddm.conf: Use breeze-openSUSE as theme
-------------------------------------------------------------------
Thu Jun 13 10:58:53 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
- Too many changes to list here
- Drop patches, now upstream:
* 0001-Authenticate-local-clients.patch
* 0002-Remove-iceauth-dependency.patch
* 0001-Fix-writing-ICEAuthority-file.patch
* 0001-Revert-startkde-Close-systemd-session-when-startplas.patch
* 0002-startkde-Close-systemd-session-when-startplasma-exit.patch
-------------------------------------------------------------------
Mon Jun 10 12:38:47 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Add patch to fix a regression introduced by the preceding change
(kde#487912, boo#1226110):
* 0001-Fix-writing-ICEAuthority-file.patch
-------------------------------------------------------------------
Sat Jun 8 11:09:20 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Let plasma6-session require libqt5-qtwayland if necessary
-------------------------------------------------------------------
Fri Jun 7 19:14:12 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Add patches to avoid that upgrades to Plasma 6.1 kill existing
sessions (kde#488032):
* 0001-Revert-startkde-Close-systemd-session-when-startplas.patch
* 0002-startkde-Close-systemd-session-when-startplasma-exit.patch
-------------------------------------------------------------------
Fri May 31 18:56:41 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Add patches to fix ksmserver authentication (CVE-2024-36041, boo#1225774):
* 0001-Authenticate-local-clients.patch
* 0002-Remove-iceauth-dependency.patch
-------------------------------------------------------------------
Sat May 25 11:19:45 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
- Too many changes to list here
-------------------------------------------------------------------
Wed May 22 07:43:19 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
* systemmonitor: create configEngine for config items
* kcm/fonts: use correct signal handlers for UI controls
* applets/systemtray: Fix wrong icons color in settings window
* Remove nasty processEvents() which led to a crash on exit
* Initialize member vars to avoid using uninitialized values
* applets/clipboard: Show appropriate placeholder message with no search results (kde#486300)
* kcms/icons: filter out GNOME's Adwaita and High Contrast icon themes (kde#486409)
* applets/kicker: fix potential crash when modifying preferred applications
* components/calendar: respect numbering system from local language
-------------------------------------------------------------------
Wed Apr 17 08:13:41 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
- Too many changes to list here
-------------------------------------------------------------------
Tue Mar 26 18:06:33 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
- Too many changes to list here
-------------------------------------------------------------------
Mon Mar 18 07:37:42 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Let plasma6-session-x11 provide+obsolete plasma5-session to ensure
that upgrades end up with the X11 session as well.
-------------------------------------------------------------------
Wed Mar 13 09:10:27 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
* kcms/wallpaper: check if config ui has saveConfig
* kcms/wallpaper: format main.qml
* shell: properly demarshall DBus argument for color
* libkmpris: always update active player index on rows inserted (kde#483027)
* libkmpris: work around nonstandard players (kde#482603)
* [applets/systemtray] Load icons with Plasma palette (kde#482645)
* applets/battery: hide battery percentage option when no batteries available (kde#482089)
* wallpapers/image: save the last position for slideshow on exit (kde#482543)
* PanelView: Remove redundant reading of the same config key
* Fix panels being set to floating by upgrades
* libkmpris: assert active player always matches active index
* libkmpris: set active player index to -1 when no player matches active player (kde#482756)
* libkmpris: fix container not being deleted when its identity is empty
* runners/services: Increase category relevance when service name starts with query
* libkmpris: prevent an empty icon from being used (kde#482908)
* appiumtests: move kcm tests to their own folder
* shell: read wallpaper config from plugin instead of local file (kde#481741)
* wallpapers/image: remove unused connection
* shell: Avoid reserving a screen edge if no surface role has been created yet (kde#482399)
* kcm/regionandlang: fix Setting LANG to C mangles preview strings (kde#482234)
* update version for new release
- Redirect stdout in waitforkded.conf
- Drop patches, now upstream:
* 0001-Fix-panels-being-set-to-floating-by-upgrades.patch
-------------------------------------------------------------------
Sun Mar 10 19:08:46 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Add patch to reinstate krunner shortcut migration from < 5.22:
* 0001-Revert-krunner-Remove-kconf_update-code.patch
-------------------------------------------------------------------
Sat Mar 9 21:20:25 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Fix panels floating after upgrade (kde#483136):
* Add 0001-Fix-panels-being-set-to-floating-by-upgrades.patch
* Add waitforkded.conf systemd dropin
-------------------------------------------------------------------
Wed Mar 6 08:40:33 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
* applets/systemtray: Prefer Icon over IconName (kde#479712)
* Make sure AppItem is up to date with sycoca when checking isValid() (kde#481855)
* kcms/nightcolor: Fix DayNightView on edge cases (kde#482032)
* applets: add missing website in metadata
* libkmpris: find active player index in filter proxy model (kde#481992)
* libkmpris: connect to signals from base class
* appiumtests: add test for SystemDialog
* Show panels on entering edit mode and "add widgets" (kde#448393)
* Notifications: Only convert absolute paths to file URLs (kde#481759)
* applets/cameraindicator: add bug report button
* Revert "panelview: Take focus from other Plasma windows when clicked" (kde#481671)
* components/dialogs: fall back to null target when dialogButtonBox is null
-------------------------------------------------------------------
Mon Mar 4 18:52:28 UTC 2024 - Christophe Marin <christophe@krop.fr>
- Add Provides/Obsoletes to replace Plasma 5
-------------------------------------------------------------------
Mon Mar 4 17:35:10 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Pull in kwayland-integration6 when necessary
-------------------------------------------------------------------
Wed Feb 21 18:36:39 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Update to 6.0.0:
* New bugfix release
* Release announcement not available yet
- Too many changes to list here
-------------------------------------------------------------------
Wed Jan 31 17:38:01 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
- Too many changes to list here
-------------------------------------------------------------------
Wed Jan 17 18:40:00 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/
-------------------------------------------------------------------
Sat Dec 30 20:21:12 UTC 2023 - Fabian Vogt <fabian@ritter-vogt.de>
- Remove redundant redundant blank line + %license
- Remove meanwhile obsolete provides/obsoletes
-------------------------------------------------------------------
Thu Dec 28 13:03:02 UTC 2023 - Neal Gompa <ngompa@opensuse.org>
- Split X11 session into a subpackage
-------------------------------------------------------------------
Fri Dec 1 22:15:55 UTC 2023 - Christophe Marin <christophe@krop.fr>
- Demote drkonqi6 from required to recommended. The performances
are (very) bad with gdb and LTO.
-------------------------------------------------------------------
Tue Nov 14 17:53:42 UTC 2023 - Fabian Vogt <fabian@ritter-vogt.de>
- Drop obsolete migration code
- Move some requirements between pattern, plasma6-workspace and
plasma6-session
- Make kio-extras6 a hard dep
-------------------------------------------------------------------
Mon Nov 13 21:50:26 UTC 2023 - Fabian Vogt <fabian@ritter-vogt.de>
- Merge plasma6-session-wayland into plasma6-session
- Use fdupes again, without -s it's fine
- Add sddm-qt6-branding-openSUSE package containing sddm.conf
- Add 0001-lookandfeel-sddm-theme-metadata.desktop-Add-QtVersio.patch
-------------------------------------------------------------------
Tue Jul 4 20:48:13 UTC 2023 - Christophe Marin <christophe@krop.fr>
- Init plasma6-workspace

633
plasma6-workspace.spec Normal file
View File

@ -0,0 +1,633 @@
#
# spec file for package plasma6-workspace
#
# 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/
#
# TODO Remove when gpsd has a qt6 flavor
%global __qml_requires_opts --qtver 6
%global __requires_exclude qt6qmlimport\\((org\\.kde\\.plasma\\.private|org\\.kde\\.plasma\\.workspace|org\\.kde\\.notificationmanager|org\\.kde\\.plasma\\.lookandfeel|org\\.kde\\.plasma\\.wallpapers|org\\.kde\\.taskmanager|org\\.kde\\.holidayeventshelperplugin|org\\.kde\\.kscreenlocker).*
%define kf6_version 6.2.0
%define qt6_version 6.6.0
%define rname plasma-workspace
# Full Plasma 6 version (e.g. 6.0.0)
%{!?_plasma6_bugfix: %global _plasma6_bugfix %{version}}
# Latest ABI-stable Plasma (e.g. 6.0 in KF6, but 6.0.80 in KUF)
%{!?_plasma6_version: %define _plasma6_version %(echo %{_plasma6_bugfix} | awk -F. '{print $1"."$2}')}
%bcond_without released
Name: plasma6-workspace
Version: 6.1.5
Release: 0
Summary: The KDE Plasma Workspace Components
License: GPL-2.0-or-later
URL: https://www.kde.org/
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
Source3: sddm.conf
Source4: waitforkded.conf
# PATCH-FIX-UPSTREAM
# PATCHES 501-??? are PATCH-FIX-OPENSUSE
Patch501: 0001-Use-qdbus6.patch
Patch502: 0001-Ignore-default-sddm-face-icons.patch
# boo#951888
Patch503: dont-show-yast-modules-in-the-applications-menu.patch
# As long as migration from Leap < 15.4 is still relevant, breaks openQA otherwise.
Patch504: 0001-Revert-krunner-Remove-kconf_update-code.patch
# PATCH-FEATURE-OPENSUSE
Patch506: 0001-Revert-No-icons-on-the-desktop-by-default.patch
BuildRequires: fdupes
BuildRequires: kf6-breeze-icons
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
# Due to KWinDBusInterface not having a cmake version config file, we need to BR kwin6-devel instead
# BuildRequires: cmake(KWinDBusInterface) >= %%{_plasma6_bugfix}
BuildRequires: kwin6-devel >= %{_plasma6_bugfix}
BuildRequires: pkgconfig
BuildRequires: qt6-gui-private-devel >= %{qt6_version}
BuildRequires: qt6-waylandclient-private-devel >= %{qt6_version}
BuildRequires: update-desktop-files
BuildRequires: cmake(AppStreamQt) >= 1.0
BuildRequires: cmake(Breeze) >= %{_plasma6_bugfix}
BuildRequires: cmake(KExiv2Qt6)
BuildRequires: cmake(KF6Archive) >= %{kf6_version}
BuildRequires: cmake(KF6Auth) >= %{kf6_version}
BuildRequires: cmake(KF6Baloo) >= %{kf6_version}
BuildRequires: cmake(KF6CoreAddons) >= %{kf6_version}
BuildRequires: cmake(KF6Crash) >= %{kf6_version}
BuildRequires: cmake(KF6DBusAddons) >= %{kf6_version}
BuildRequires: cmake(KF6Declarative) >= %{kf6_version}
BuildRequires: cmake(KF6DocTools) >= %{kf6_version}
BuildRequires: cmake(KF6GlobalAccel) >= %{kf6_version}
BuildRequires: cmake(KF6GuiAddons) >= %{kf6_version}
BuildRequires: cmake(KF6Holidays) >= %{kf6_version}
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
BuildRequires: cmake(KF6IconThemes) >= %{kf6_version}
BuildRequires: cmake(KF6IdleTime) >= %{kf6_version}
BuildRequires: cmake(KF6ItemModels) >= %{kf6_version}
BuildRequires: cmake(KF6KCMUtils) >= %{kf6_version}
BuildRequires: cmake(KF6KDED) >= %{kf6_version}
BuildRequires: cmake(KF6KIO) >= %{kf6_version}
BuildRequires: cmake(KF6KirigamiPlatform) >= %{kf6_version}
BuildRequires: cmake(KF6NetworkManagerQt) >= %{kf6_version}
BuildRequires: cmake(KF6NewStuff) >= %{kf6_version}
BuildRequires: cmake(KF6Notifications) >= %{kf6_version}
BuildRequires: cmake(KF6NotifyConfig) >= %{kf6_version}
BuildRequires: cmake(KF6Package) >= %{kf6_version}
BuildRequires: cmake(KF6Prison) >= %{kf6_version}
BuildRequires: cmake(KF6QuickCharts) >= %{kf6_version}
BuildRequires: cmake(KF6Runner) >= %{kf6_version}
BuildRequires: cmake(KF6Screen) >= %{_plasma6_bugfix}
BuildRequires: cmake(KF6Solid) >= %{kf6_version}
BuildRequires: cmake(KF6StatusNotifierItem) >= %{kf6_version}
BuildRequires: cmake(KF6Svg) >= %{kf6_version}
BuildRequires: cmake(KF6TextEditor) >= %{kf6_version}
BuildRequires: cmake(KF6TextWidgets) >= %{kf6_version}
BuildRequires: cmake(KF6UnitConversion) >= %{kf6_version}
BuildRequires: cmake(KF6UserFeedback) >= %{kf6_version}
BuildRequires: cmake(KF6Wallet) >= %{kf6_version}
BuildRequires: cmake(KPipeWire) >= %{_plasma6_bugfix}
BuildRequires: cmake(KScreenLocker) >= %{_plasma6_bugfix}
BuildRequires: cmake(KSysGuard) >= %{_plasma6_bugfix}
BuildRequires: cmake(KWayland) >= %{_plasma6_bugfix}
BuildRequires: cmake(LayerShellQt) >= %{_plasma6_bugfix}
BuildRequires: cmake(Phonon4Qt6)
BuildRequires: cmake(Plasma) >= %{_plasma6_bugfix}
BuildRequires: cmake(Plasma5Support) >= %{_plasma6_bugfix}
BuildRequires: cmake(PlasmaActivities) >= %{_plasma6_bugfix}
BuildRequires: cmake(PlasmaActivitiesStats) >= %{_plasma6_bugfix}
BuildRequires: cmake(PlasmaQuick) >= %{_plasma6_bugfix}
BuildRequires: cmake(PlasmaWaylandProtocols) >= 1.6
BuildRequires: cmake(PolkitQt6-1)
BuildRequires: cmake(QCoro6)
BuildRequires: cmake(Qt6Concurrent) >= %{qt6_version}
BuildRequires: cmake(Qt6Core5Compat) >= %{qt6_version}
BuildRequires: cmake(Qt6DBus) >= %{qt6_version}
BuildRequires: cmake(Qt6Gui) >= %{qt6_version}
BuildRequires: cmake(Qt6Network) >= %{qt6_version}
BuildRequires: cmake(Qt6PrintSupport) >= %{qt6_version}
BuildRequires: cmake(Qt6Qml) >= %{qt6_version}
BuildRequires: cmake(Qt6Quick) >= %{qt6_version}
BuildRequires: cmake(Qt6QuickWidgets) >= %{qt6_version}
BuildRequires: cmake(Qt6ShaderTools) >= %{qt6_version}
BuildRequires: cmake(Qt6Sql) >= %{qt6_version}
BuildRequires: cmake(Qt6Svg) >= %{qt6_version}
BuildRequires: cmake(Qt6Test) >= %{qt6_version}
BuildRequires: cmake(Qt6WaylandClient) >= %{qt6_version}
BuildRequires: cmake(Qt6WaylandCompositor) >= %{qt6_version}
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
BuildRequires: cmake(ScreenSaverDBusInterface) >= %{_plasma6_bugfix}
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(icu-i18n)
BuildRequires: pkgconfig(icu-uc)
BuildRequires: pkgconfig(libcanberra)
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libgps)
BuildRequires: pkgconfig(libpipewire-0.3)
BuildRequires: pkgconfig(libqalculate) >= 2.0
BuildRequires: pkgconfig(sm)
BuildRequires: pkgconfig(wayland-client) >= 1.15
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-composite)
BuildRequires: pkgconfig(xcb-damage)
BuildRequires: pkgconfig(xcb-image)
BuildRequires: pkgconfig(xcb-randr)
BuildRequires: pkgconfig(xcb-shm)
BuildRequires: pkgconfig(xcb-util)
BuildRequires: pkgconfig(xcb-xfixes)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xft)
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: pkgconfig(xrender)
BuildRequires: pkgconfig(xtst)
BuildRequires: pkgconfig(zlib)
Requires: iso-codes
Requires: iso-codes-lang
Requires: plasma6-workspace-libs = %{version}-%{release}
# Needed for kcm_users
Requires: accountsservice
# contains default style, cursors, etc
Requires: breeze6 >= %{_plasma6_bugfix}
# Only recommended due to poor performances with LTO (https://sourceware.org/bugzilla/show_bug.cgi?id=23710)
Recommends: drkonqi6 >= %{_plasma6_bugfix}
# dialog/platformtheme/etc
Requires: kf6-frameworkintegration-plugin
Requires: kactivitymanagerd6
# used within startup
Requires: kde-cli-tools6 >= %{_plasma6_bugfix}
Requires: kf6-kded
Requires: kf6-kquickcharts
Requires: kglobalacceld6 >= %{_plasma6_bugfix}
Requires: kirigami-addons6 >= 0.10.0
Requires: kscreen6 >= %{_plasma6_bugfix}
Requires: kscreenlocker6 >= %{_plasma6_bugfix}
Requires: kwin6 >= %{_plasma6_bugfix}
Requires: libkscreen6-plugin >= %{_plasma6_bugfix}
Requires: qt6-tools-qdbus
# heavily used by plasma
Requires: qt6-declarative-imports >= %{qt6_version}
Requires: kf6-kconfig-imports
# needed by krunner
Requires: milou6 >= %{_plasma6_bugfix}
Requires: qt6-sql-sqlite >= %{qt6_version}
Recommends: ocean-sound-theme6 >= %{_plasma6_bugfix}
# Used by KCMs
Requires: kf6-knewstuff-imports >= %{kf6_version}
# Used by system monitoring applets
Requires: ksystemstats6
# Used by the user feedback KCM
Requires: kf6-kuserfeedback-imports
# krdb uses xrdb with cpp preprocessing
Requires: cpp
Requires: xrdb
Requires: xsetroot
# Used by the zsh completion script
Requires: %{_bindir}/grep
# Qt6 SDDM greeter
Requires: (sddm-greeter-qt6 if sddm)
# For wallpaper thumbnails
# Not to be mistaken for kio-extras5
Requires: kio-extras
# Hardcode versions of plasma6-framework-components, as upstream doesn't keep backwards compability there
%requires_ge plasma6-framework-components
# The lockscreen has a button to open a virtual keyboard
Recommends: qt6-virtualkeyboard-imports >= %{qt6_version}
# For dmenudbusmenuproxy
Recommends: (appmenu-gtk2-module if libgtk-2_0-0)
Recommends: (appmenu-gtk3-module if libgtk-3-0)
# plasma6-desktop 'Provides' kdebase4-workspace < 5.3.0
Conflicts: kdebase4-workspace < 5.3.0
Provides: plasma5-workspace = %{version}
Obsoletes: plasma5-workspace < %{version}
Obsoletes: plasma5-workspace-lang < %{version}
# Use to be a separate package in plasma5
Provides: gmenudbusmenuproxy = %{version}
Obsoletes: gmenudbusmenuproxy < %{version}
# If installed, it force-enables itself which can cause issues
# gmenudbusmenuproxy used to conflict with this package
Conflicts: unity-gtk-module-common
# Use to be a separate package in plasma5
Provides: xembedsniproxy = %{version}
Obsoletes: xembedsniproxy < %{version}
# Used to be provided/obsoleted by xembedsniproxy
Provides: xembed-sni-proxy = %{version}
Obsoletes: xembed-sni-proxy < %{version}
# Dropped functionality
Obsoletes: khotkeys5 < %{version}
Obsoletes: khotkeys5-lang < %{version}
Obsoletes: ksysguard5 < %{version}
Obsoletes: ksysguard5-lang < %{version}
# Some files have been moved from kio-extras5 to plasma5-workspace in 5.4. This should prevent a possible file conflict. (boo#944656)
Conflicts: kio-extras5 < 15.08.0
Provides: plasma6-workspace-branding = %{_plasma6_bugfix}
Provides: plasma6-workspace-branding-upstream = %{version}
# plasmashell implements the dbus interface org.freedesktop.Notifications directly
Provides: dbus(org.freedesktop.Notifications)
Provides: qt6qmlimport(org.kde.plasma.shell)
Provides: qt6qmlimport(org.kde.plasma.shell.2) = 0
Provides: qt6qmlimport(org.kde.plasma.shell.panel)
Provides: qt6qmlimport(org.kde.plasma.shell.panel.0) = 1
# Was dropped in 5.20, replaced by kcm_users from p-d
Provides: kde-user-manager = %{version}
Obsoletes: kde-user-manager < %{version}
%description
This package contains the basic packages for a Plasma workspace.
%package libs
Summary: The KDE Plasma Workspace Components
%requires_ge plasma6-framework
Provides: plasma5-workspace-libs = %{version}
Obsoletes: plasma5-workspace-libs < %{version}
%description libs
This package contains the basic packages for a KDE Plasma 6 workspace.
%package devel
Summary: The KDE Plasma Workspace Components
Requires: plasma6-workspace-libs = %{version}-%{release}
Requires: cmake(KF6ItemModels) >= %{kf6_version}
Requires: cmake(LayerShellQt) >= %{_plasma6_bugfix}
Requires: cmake(Plasma) >= %{_plasma6_bugfix}
Requires: cmake(Qt6Core) >= %{qt6_version}
Requires: cmake(Qt6Gui) >= %{qt6_version}
Requires: cmake(Qt6Quick) >= %{qt6_version}
Conflicts: kapptemplate <= 16.03.80
Provides: plasma5-workspace-devel = %{version}
Obsoletes: plasma5-workspace-devel < %{version}
%description devel
This package contains the basic packages for a KDE Plasma 6 workspace.
Development files.
%package -n plasma6-session
Summary: KDE Plasma 6 Session
Requires: breeze6 >= %{_plasma6_bugfix}
Requires: breeze6-decoration >= %{_plasma6_bugfix}
Requires: kf6-kwindowsystem >= %{kf6_version}
Requires: plasma6-desktop >= %{_plasma6_bugfix}
Requires: plasma6-workspace >= %{_plasma6_bugfix}
Requires: polkit-kde-agent-6 >= %{_plasma6_bugfix}
Requires: powerdevil6 >= %{_plasma6_bugfix}
Requires: systemsettings6 >= %{_plasma6_bugfix}
# For KF5 kwayland (!)
Requires: (kwayland-integration6 if kwayland)
Requires: qt6-wayland
Requires: (libqt5-qtwayland if libQt5Gui5)
# For screen sharing and window thumbnails in plasmashell
Requires: pipewire
Requires: xdg-user-dirs
Requires: xorg-x11-server-wayland
Provides: kdebase4-session = %{version}
Obsoletes: kdebase4-session < %{version}
Provides: plasma5-session = %{version}
Obsoletes: plasma5-session < %{version}
Provides: plasma5-session-wayland = %{version}
Obsoletes: plasma5-session-wayland < %{version}
# People may want the X11 session
Recommends: plasma6-session-x11 = %{version}
BuildArch: noarch
%description -n plasma6-session
This package contains the startup scripts necessary to start a KDE
Plasma 6 session.
%package -n plasma6-session-x11
Summary: KDE Plasma 6 Session on X11
Requires: kwin6-x11 >= %{_plasma6_bugfix}
Requires: plasma6-session = %{version}
Requires: xf86-input-libinput
Requires: xorg-x11-server
Requires(post): update-alternatives
Requires(postun): update-alternatives
%description -n plasma6-session-x11
This package contains the startup scripts and programs necessary to
start a KDE Plasma 6 session on X11.
%package -n sddm-qt6-branding-openSUSE
Summary: Plasma 6 branding for SDDM
Requires: plasma6-sddm-theme-openSUSE
Requires: sddm-greeter-qt6
Supplements: (%{name} and sddm)
%description -n sddm-qt6-branding-openSUSE
This package confirms defaults for SDDM suitable for Plasma 6.
%lang_package
%prep
%autosetup -p1 -n %{rname}-%{version}
%build
%cmake_kf6 \
-DGLIBC_LOCALE_GENERATED:BOOL=TRUE \
-DGLIBC_LOCALE_GEN:BOOL=FALSE \
-DPLASMA_X11_DEFAULT_SESSION:BOOL=TRUE
%kf6_build
%install
%kf6_install
%find_lang %{name} --with-html --all-name
# Copy the icon for org.kde.kcolorschemeeditor.desktop
mkdir -p %{buildroot}%{_kf6_iconsdir}/hicolor/32x32/apps/
cp %{_kf6_iconsdir}/breeze/preferences/32/preferences-desktop-color.svg %{buildroot}%{_kf6_iconsdir}/hicolor/32x32/apps/
# Rename upstream session file to oS location
mv %{buildroot}%{_kf6_sharedir}/xsessions/{plasma,plasma6}.desktop
# Install compatibility symlink
ln -s %{_kf6_sharedir}/xsessions/plasma6.desktop %{buildroot}%{_kf6_sharedir}/xsessions/kde-plasma.desktop
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
touch %{buildroot}%{_sysconfdir}/alternatives/default-xsession.desktop
ln -s %{_sysconfdir}/alternatives/default-xsession.desktop %{buildroot}%{_datadir}/xsessions/default.desktop
install -Dm 0644 %{SOURCE3} %{buildroot}%{_prefix}/lib/sddm/sddm.conf.d/10-plasma.conf
install -Dm 0644 %{SOURCE4} %{buildroot}%{_userunitdir}/plasma-plasmashell.service.d/waitforkded.conf
%fdupes %{buildroot}%{_prefix}
%post
%ldconfig
%{systemd_user_post plasma-gmenudbusmenuproxy.service plasma-kcminit-phase1.service plasma-kcminit.service \
plasma-krunner.service plasma-ksmserver.service plasma-ksplash-ready.service plasma-plasmashell.service \
plasma-xembedsniproxy.service plasma-baloorunner.service plasma-restoresession.service plasma-ksplash.service}
%preun
%{systemd_user_preun plasma-gmenudbusmenuproxy.service plasma-kcminit-phase1.service plasma-kcminit.service \
plasma-krunner.service plasma-ksmserver.service plasma-ksplash-ready.service plasma-plasmashell.service \
plasma-xembedsniproxy.service plasma-baloorunner.service plasma-restoresession.service plasma-ksplash.service}
%postun
%ldconfig
%{systemd_user_postun plasma-gmenudbusmenuproxy.service plasma-kcminit-phase1.service plasma-kcminit.service \
plasma-krunner.service plasma-ksmserver.service plasma-ksplash-ready.service plasma-plasmashell.service \
plasma-xembedsniproxy.service plasma-baloorunner.service plasma-restoresession.service plasma-ksplash.service}
%ldconfig_scriptlets libs
%post -n plasma6-session-x11
%{_sbindir}/update-alternatives --install %{_datadir}/xsessions/default.desktop \
default-xsession.desktop %{_datadir}/xsessions/plasma6.desktop 25
%postun -n plasma6-session-x11
[ -f %{_datadir}/xsessions/plasma6.desktop ] || %{_sbindir}/update-alternatives \
--remove default-xsession.desktop %{_datadir}/xsessions/plasma6.desktop
%files
%license LICENSES/*
%dir %{_kf6_configdir}/menus
%config %{_kf6_configdir}/menus/plasma-applications.menu
%config %{_kf6_configdir}/plasmanotifyrc
%config %{_kf6_configdir}/taskmanagerrulesrc
%doc %lang(en) %{_kf6_htmldir}/en/PolicyKit-kde/
%doc %lang(en) %{_kf6_htmldir}/en/kcontrol/
%doc %lang(en) %{_kf6_htmldir}/en/klipper/
%exclude %{_kf6_libdir}/libkfontinst.so
%exclude %{_kf6_libdir}/libkfontinstui.so
%dir %{_datadir}/zsh
%dir %{_datadir}/zsh/site-functions
%{_datadir}/zsh/site-functions/_plasmashell
%{_datadir}/zsh/site-functions/_krunner
%{_kf6_applicationsdir}/kcm_autostart.desktop
%{_kf6_applicationsdir}/kcm_colors.desktop
%{_kf6_applicationsdir}/kcm_cursortheme.desktop
%{_kf6_applicationsdir}/kcm_desktoptheme.desktop
%{_kf6_applicationsdir}/kcm_feedback.desktop
%{_kf6_applicationsdir}/kcm_fontinst.desktop
%{_kf6_applicationsdir}/kcm_fonts.desktop
%{_kf6_applicationsdir}/kcm_icons.desktop
%{_kf6_applicationsdir}/kcm_lookandfeel.desktop
%{_kf6_applicationsdir}/kcm_nightlight.desktop
%{_kf6_applicationsdir}/kcm_notifications.desktop
%{_kf6_applicationsdir}/kcm_regionandlang.desktop
%{_kf6_applicationsdir}/kcm_soundtheme.desktop
%{_kf6_applicationsdir}/kcm_style.desktop
%{_kf6_applicationsdir}/kcm_users.desktop
%{_kf6_applicationsdir}/kcm_wallpaper.desktop
%{_kf6_applicationsdir}/org.kde.kcolorschemeeditor.desktop
%{_kf6_applicationsdir}/org.kde.kfontinst.desktop
%{_kf6_applicationsdir}/org.kde.kfontview.desktop
%{_kf6_applicationsdir}/org.kde.plasma-fallback-session-save.desktop
%{_kf6_applicationsdir}/org.kde.plasmashell.desktop
%{_kf6_applicationsdir}/org.kde.plasmawindowed.desktop
%{_kf6_appstreamdir}/*.xml
%{_kf6_bindir}/gmenudbusmenuproxy
%{_kf6_bindir}/kcminit
%{_kf6_bindir}/kcminit_startup
%{_kf6_bindir}/kcolorschemeeditor
%{_kf6_bindir}/kde-systemd-start-condition
%{_kf6_bindir}/kfontinst
%{_kf6_bindir}/kfontview
%{_kf6_bindir}/krunner
%{_kf6_bindir}/ksmserver
%{_kf6_bindir}/ksplashqml
%{_kf6_bindir}/lookandfeeltool
%{_kf6_bindir}/plasma-apply-colorscheme
%{_kf6_bindir}/plasma-apply-cursortheme
%{_kf6_bindir}/plasma-apply-desktoptheme
%{_kf6_bindir}/plasma-apply-lookandfeel
%{_kf6_bindir}/plasma-apply-wallpaperimage
%{_kf6_bindir}/plasma-interactiveconsole
%{_kf6_bindir}/plasma-shutdown
%{_kf6_bindir}/plasma_session
%{_kf6_bindir}/plasma_waitforname
%{_kf6_bindir}/plasmashell
%{_kf6_bindir}/plasmawindowed
%{_kf6_bindir}/startplasma-wayland
%{_kf6_bindir}/xembedsniproxy
%{_kf6_configdir}/autostart/gmenudbusmenuproxy.desktop
%{_kf6_configdir}/autostart/org.kde.plasma-fallback-session-restore.desktop
%{_kf6_configdir}/autostart/org.kde.plasmashell.desktop
%{_kf6_configdir}/autostart/xembedsniproxy.desktop
%{_kf6_configkcfgdir}/colorssettings.kcfg
%{_kf6_configkcfgdir}/cursorthemesettings.kcfg
%{_kf6_configkcfgdir}/feedbacksettings.kcfg
%{_kf6_configkcfgdir}/fontssettings.kcfg
%{_kf6_configkcfgdir}/freespacenotifier.kcfg
%{_kf6_configkcfgdir}/iconssettingsbase.kcfg
%{_kf6_configkcfgdir}/launchfeedbacksettings.kcfg
%{_kf6_configkcfgdir}/lookandfeelsettings.kcfg
%{_kf6_configkcfgdir}/stylesettings.kcfg
%{_kf6_debugdir}/*.categories
%{_kf6_iconsdir}/hicolor/*/apps/kfontview.png
%{_kf6_iconsdir}/hicolor/*/mimetypes/fonts-package.png
%{_kf6_iconsdir}/hicolor/32x32/apps/preferences-desktop-color.svg
%{_kf6_iconsdir}/hicolor/scalable/apps/preferences-desktop-font-installer.svgz
%{_kf6_knsrcfilesdir}/colorschemes.knsrc
%{_kf6_knsrcfilesdir}/gtk_themes.knsrc
%{_kf6_knsrcfilesdir}/icons.knsrc
%{_kf6_knsrcfilesdir}/kfontinst.knsrc
%{_kf6_knsrcfilesdir}/lookandfeel.knsrc
%{_kf6_knsrcfilesdir}/plasma-themes.knsrc
%{_kf6_knsrcfilesdir}/plasmoids.knsrc
%{_kf6_knsrcfilesdir}/wallpaper-mobile.knsrc
%{_kf6_knsrcfilesdir}/wallpaper.knsrc
%{_kf6_knsrcfilesdir}/wallpaperplugin.knsrc
%{_kf6_knsrcfilesdir}/xcursor.knsrc
%{_kf6_kxmlguidir}/kfontview
%{_kf6_libdir}/kconf_update_bin/krunnerglobalshortcuts
%{_kf6_libdir}/kconf_update_bin/krunnerhistory
%{_kf6_libdir}/kconf_update_bin/plasmashell-6.0-keep-custom-position-of-panels
%{_kf6_libdir}/kconf_update_bin/plasmashell-6.0-keep-default-floating-setting-for-plasma-5-panels
%{_kf6_libdir}/kconf_update_bin/plasma6.0-remove-dpi-settings
%{_kf6_libdir}/kconf_update_bin/plasma6.0-remove-old-shortcuts
%{_kf6_libdir}/libkfontinst.so.*
%{_kf6_libdir}/libkfontinstui.so.*
%{_kf6_notificationsdir}/devicenotifications.notifyrc
%{_kf6_notificationsdir}/freespacenotifier.notifyrc
%{_kf6_notificationsdir}/phonon.notifyrc
%{_kf6_plasmadir}/avatars/
%{_kf6_plasmadir}/look-and-feel/
%{_kf6_plasmadir}/plasmoids/
%{_kf6_plasmadir}/wallpapers/
%{_kf6_plugindir}/kf6/kded/
%{_kf6_plugindir}/kf6/kfileitemaction/
%{_kf6_plugindir}/kf6/kio/
%{_kf6_plugindir}/kf6/krunner/
%{_kf6_plugindir}/kf6/packagestructure/
%{_kf6_plugindir}/kf6/parts/
%{_kf6_plugindir}/kf6/thumbcreator/
%{_kf6_plugindir}/phonon_platform/
%{_kf6_plugindir}/plasma/
%{_kf6_plugindir}/plasma5support/
%{_kf6_plugindir}/plasmacalendarplugins/
%{_kf6_qmldir}/org/kde/breeze/
%{_kf6_qmldir}/org/kde/colorcorrect/
%{_kf6_qmldir}/org/kde/notificationmanager/
%{_kf6_qmldir}/org/kde/plasma/
%{_kf6_qmldir}/org/kde/taskmanager/
%{_kf6_sharedir}/dbus-1/services/org.kde.KSplash.service
%{_kf6_sharedir}/dbus-1/services/org.kde.LogoutPrompt.service
%{_kf6_sharedir}/dbus-1/services/org.kde.Shutdown.service
%{_kf6_sharedir}/dbus-1/services/org.kde.fontinst.service
%{_kf6_sharedir}/dbus-1/services/org.kde.krunner.service
%{_kf6_sharedir}/dbus-1/services/org.kde.plasma.Notifications.service
%{_kf6_sharedir}/dbus-1/services/org.kde.runners.baloo.service
%{_kf6_sharedir}/dbus-1/system-services/org.kde.fontinst.service
%{_kf6_sharedir}/dbus-1/system.d/org.kde.fontinst.conf
%{_kf6_sharedir}/desktop-directories/
%{_kf6_sharedir}/kconf_update/
%{_kf6_sharedir}/kfontinst/
%{_kf6_sharedir}/kglobalaccel/org.kde.krunner.desktop
%dir %{_kf6_sharedir}/kio
%dir %{_kf6_sharedir}/kio/servicemenus
%{_kf6_sharedir}/kio/servicemenus/installfont.desktop
%{_kf6_sharedir}/kio_desktop/
%{_kf6_sharedir}/konqsidebartng/
%{_kf6_sharedir}/krunner/dbusplugins/plasma-runner-baloosearch.desktop
%{_kf6_sharedir}/kstyle/
%dir %{_kf6_sharedir}/plasma/weather
%{_kf6_sharedir}/plasma/weather/noaa_station_list.xml
%{_kf6_sharedir}/plasma5support/
%{_kf6_sharedir}/polkit-1/actions/org.kde.fontinst.policy
%{_kf6_sharedir}/solid/
%{_libexecdir}/baloorunner
%{_kf6_libexecdir}/kauth/fontinst
%{_kf6_libexecdir}/kauth/fontinst_helper
%{_kf6_libexecdir}/kauth/fontinst_x11
%{_libexecdir}/kfontprint
%{_libexecdir}/ksmserver-logout-greeter
%{_libexecdir}/plasma-changeicons
%{_libexecdir}/plasma-dbus-run-session-if-needed
%{_libexecdir}/plasma-fallback-session-restore
%{_libexecdir}/plasma-fallback-session-save
%{_libexecdir}/plasma-sourceenv.sh
%{_userunitdir}/plasma-baloorunner.service
%{_userunitdir}/plasma-core.target
%{_userunitdir}/plasma-gmenudbusmenuproxy.service
%{_userunitdir}/plasma-kcminit-phase1.service
%{_userunitdir}/plasma-kcminit.service
%{_userunitdir}/plasma-krunner.service
%{_userunitdir}/plasma-ksmserver.service
%{_userunitdir}/plasma-ksplash-ready.service
%{_userunitdir}/plasma-ksplash.service
%{_userunitdir}/plasma-plasmashell.service
%dir %{_userunitdir}/plasma-plasmashell.service.d/
%{_userunitdir}/plasma-plasmashell.service.d/waitforkded.conf
%{_userunitdir}/plasma-restoresession.service
%{_userunitdir}/plasma-workspace-{wayland,x11}.target
%{_userunitdir}/plasma-workspace.target
%{_userunitdir}/plasma-xembedsniproxy.service
%files libs
%license LICENSES/*
%{_kf6_libdir}/libcolorcorrect.so.*
%{_kf6_libdir}/libkmpris.so.*
%{_kf6_libdir}/libbatterycontrol.so.*
%{_kf6_libdir}/libkrdb.so
%{_kf6_libdir}/libkworkspace6.so.*
%{_kf6_libdir}/libnotificationmanager.so.*
%{_kf6_libdir}/libplasma-geolocation-interface.so.*
%{_kf6_libdir}/libtaskmanager.so.*
%{_kf6_libdir}/libweather_ion.so.*
%files devel
%license LICENSES/*
%{_includedir}/colorcorrect/
%{_includedir}/krdb/
%{_includedir}/kworkspace6/
%{_includedir}/notificationmanager/
%{_includedir}/plasma/
%{_includedir}/plasma5support/
%{_includedir}/taskmanager/
%{_kf6_libdir}/cmake/KRunnerAppDBusInterface/
%{_kf6_libdir}/cmake/KSMServerDBusInterface/
%{_kf6_libdir}/cmake/LibColorCorrect/
%{_kf6_libdir}/cmake/LibKWorkspace/
%{_kf6_libdir}/cmake/LibNotificationManager/
%{_kf6_libdir}/cmake/LibTaskManager/
%{_kf6_libdir}/libbatterycontrol.so
%{_kf6_libdir}/libcolorcorrect.so
%{_kf6_libdir}/libkmpris.so
%{_kf6_libdir}/libkworkspace6.so
%{_kf6_libdir}/libnotificationmanager.so
%{_kf6_libdir}/libplasma-geolocation-interface.so
%{_kf6_libdir}/libtaskmanager.so
%{_kf6_libdir}/libweather_ion.so
%{_kf6_sharedir}/dbus-1/interfaces/
%files -n plasma6-session
%license LICENSES/*
%dir %{_datadir}/wayland-sessions/
%{_kf6_sharedir}/wayland-sessions/plasmawayland.desktop
%files -n plasma6-session-x11
%{_kf6_bindir}/startplasma-x11
%ghost %{_sysconfdir}/alternatives/default-xsession.desktop
%{_kf6_sharedir}/xsessions/default.desktop
%{_kf6_sharedir}/xsessions/kde-plasma.desktop
%{_kf6_sharedir}/xsessions/plasma6.desktop
%files -n sddm-qt6-branding-openSUSE
%dir %{_prefix}/lib/sddm/
%dir %{_prefix}/lib/sddm/sddm.conf.d/
%{_prefix}/lib/sddm/sddm.conf.d/10-plasma.conf
%files lang -f %{name}.lang
%exclude %{_kf6_htmldir}/en/PolicyKit-kde
%exclude %{_kf6_htmldir}/en/kcontrol
%exclude %{_kf6_htmldir}/en/klipper
%changelog

9
sddm.conf Normal file
View File

@ -0,0 +1,9 @@
[General]
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell
[Theme]
Current=breeze-openSUSE
CursorTheme=breeze_cursors
[Wayland]
CompositorCommand=kwin_wayland --no-global-shortcuts --no-lockscreen --locale1

3
waitforkded.conf Normal file
View File

@ -0,0 +1,3 @@
[Service]
# Wait for kded to be up, which implies that kconf_update is done (kde#483136)
ExecStartPre=/bin/sh -c "exec /usr/bin/qdbus6 org.kde.kded6 /kded org.kde.kded6.loadedModules >/dev/null"