Update Plasma to 5.23.1

This commit is contained in:
Andreas Cord-Landwehr
2021-10-24 10:29:47 +02:00
parent aadebff0e7
commit 00436908e5
63 changed files with 201 additions and 340 deletions

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/bluedevil-5.22.5.tar.xz"
SRC_URI[sha256sum] = "a21094de5445e662786ab7ce7274106f9bd8a25233de363eea73403ce62fcc05"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/bluedevil-5.23.1.tar.xz"
SRC_URI[sha256sum] = "2a3f42ee03d342673ac5ab4f91fd858f5d0003b798257d6cb7304c79c40eb4bb"

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/breeze-5.22.5.tar.xz"
SRC_URI[sha256sum] = "e3fc4ca04cc0df694ab90fa4f9e8ca72512adae2c0320ce3f9702dddda029426"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/breeze-5.23.1.tar.xz"
SRC_URI[sha256sum] = "ac11dc5f9347d870cbe33f2452bbc738e92e9d3dfc2dc8c2f5c0896476181481"

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/discover-5.22.5.tar.xz"
SRC_URI[sha256sum] = "c9809ec8f3f26909ce9901d6f7cd03cf52d4854431cfdf5340a4daa8404842b0"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/discover-5.23.1.tar.xz"
SRC_URI[sha256sum] = "44255c9b1a8df70a4c710396ccbdaf1725f93694a040d4197e4bf45285e6ee71"

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/kactivitymanagerd-5.22.5.tar.xz"
SRC_URI[sha256sum] = "22ab64377d595e0384285d95fe21464ab63a7644d2303cc0002b495f85412a19"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/kactivitymanagerd-5.23.1.tar.xz"
SRC_URI[sha256sum] = "eabc518b1476f17257c6f42c986611604903aa9efc42d35fd9d3fd15839fea09"

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/kde-cli-tools-5.22.5.tar.xz"
SRC_URI[sha256sum] = "90cb373ea112b844541d9c52000635b02ccdf2fe2da0fc7901b1a5a8b8df45ca"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/kde-cli-tools-5.23.1.tar.xz"
SRC_URI[sha256sum] = "da1a08c54b3e085916c5157e1339ccb397e41dbfd68ce3334591e0ddbed0a7e2"

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/kdecoration-5.22.5.tar.xz"
SRC_URI[sha256sum] = "b577202eefaad7b95e701c1ce14108fbfe4ae6fd73ce46c369a2a7a329211bef"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/kdecoration-5.23.1.tar.xz"
SRC_URI[sha256sum] = "1587aeab3743cb426318d4639e53b81c6227d114fc96b082b897cde6a2b0c327"

View File

@@ -5,12 +5,13 @@
DESCRIPTION = "KScreen"
HOMEPAGE = ""
LICENSE = "GPL-2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0-only.txt;md5=9e2385fe012386d34dcc5c9863070881"
PR = "r0"
DEPENDS = " \
qtdeclarative \
qtsensors \
qtwayland-native \
kdbusaddons \
plasma-framework \
kconfigwidgets \

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/kscreen-5.22.5.tar.xz"
SRC_URI[sha256sum] = "6bfab1f10532599e16d1112e794626b105b4c80c41659665ffdf710bc29d1e60"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/kscreen-5.23.1.tar.xz"
SRC_URI[sha256sum] = "af143f2d3b25478437ff894b0afe094a69df8dab055bba3c6311d0735f431fc9"

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/kscreenlocker-5.22.5.tar.xz"
SRC_URI[sha256sum] = "28edcf841db79554ac113c8619d20f978b2ab81bfd5d5be25f973506f262f180"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/kscreenlocker-5.23.1.tar.xz"
SRC_URI[sha256sum] = "a0c41353285b41372eecce77d643e3332a34a391c52fb44064498f4321abb563"

View File

@@ -13,6 +13,7 @@ DEPENDS = " \
kwindowsystem \
kguiaddons \
kwayland \
qtwayland-native \
"
inherit cmake_plasma

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/kwayland-integration-5.22.5.tar.xz"
SRC_URI[sha256sum] = "4cbc301227a507fb2ac42e08130c79ff58a9905ebd444ddd64c78bb1e834fb4d"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/kwayland-integration-5.23.1.tar.xz"
SRC_URI[sha256sum] = "f73510f65bff5dac0b9eb1715af58f7a95f312a9dbe816d853e78a9539c10d6a"

View File

@@ -17,6 +17,7 @@ DEPENDS = " \
kwayland \
plasma-wayland-protocols \
qtwaylandscanner-kde-native \
wayland-protocols \
"
inherit cmake_plasma

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/kwayland-server-5.22.5.tar.xz"
SRC_URI[sha256sum] = "dd64bdd629b239621d687d8deceff6e0da88542c6b67140c5ff8b654155bf39d"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/kwayland-server-5.23.1.tar.xz"
SRC_URI[sha256sum] = "ebad1a6dc1bf246cab9ca8ba0a13edd578646cb333ce09303d79d78727a59d57"

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/kwin-5.22.5.tar.xz"
SRC_URI[sha256sum] = "128daed41c1b9e65ddad3fe2ce3aea821ef54af520d3d39cde059b2c2bfcf5a3"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/kwin-5.23.1.tar.xz"
SRC_URI[sha256sum] = "5838d7ab84babc5bd3cb3df9f7e38fc01c98ba1bf584b6d43e4528dd03598b31"

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/layer-shell-qt-5.22.5.tar.xz"
SRC_URI[sha256sum] = "ffcc705ae4fadabc3422b8331a8d6334e2ce197ca6fadd7343c0a48927d32f45"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/layer-shell-qt-5.23.1.tar.xz"
SRC_URI[sha256sum] = "c79c2306ee9f6a672612b37f28074609748f5570b7785d4096e5573f12fb9e0a"

View File

@@ -17,6 +17,7 @@ PR = "r0"
DEPENDS = " \
qtx11extras \
qtwayland-native \
kwayland \
"

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/libkscreen-5.22.5.tar.xz"
SRC_URI[sha256sum] = "5b4fcaebacc3a4cb62e599a796dca89a30c5ac10937ba3ef9a28998c84ca16e3"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/libkscreen-5.23.1.tar.xz"
SRC_URI[sha256sum] = "3930d578f55e5d5be95da1f3fe298b15623afcea0a9c73005cb983589204d043"

View File

@@ -6,12 +6,14 @@
DESCRIPTION = "KSysGuard library"
HOMEPAGE = ""
LICENSE = "LGPL-2.1"
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
LIC_FILES_CHKSUM = "file://LICENSES/LGPL-2.1-only.txt;md5=147a320ed8b16b036829a0c71d424153"
PR = "r0"
DEPENDS = " \
libnl \
libcap \
libpcap \
lmsensors \
kcompletion \
kconfig \
kconfigwidgets \

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/libksysguard-5.22.5.tar.xz"
SRC_URI[sha256sum] = "a522ab976baafa8c1b80cbfe6a4d7718aa8c8623f84294d25c5d43429dd472c2"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/libksysguard-5.23.1.tar.xz"
SRC_URI[sha256sum] = "083ddf436a9678e6e3d9c900d2c974586a313e58f60a32b7cb6600338ec78189"

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/milou-5.22.5.tar.xz"
SRC_URI[sha256sum] = "f7c22b46d9a5081206f78e9964f515055876b7b4e9e6075d5fcc50b85c783fb4"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/milou-5.23.1.tar.xz"
SRC_URI[sha256sum] = "8f91c04785af3ed86ddf1fce18fe67f5b70cabf0827750cdec119e496723ff10"

View File

@@ -5,8 +5,8 @@
DESCRIPTION = "Plasma Integration"
HOMEPAGE = ""
LICENSE = "LGPL-3.0"
LIC_FILES_CHKSUM = "file://COPYING.LGPL-3;md5=e6a600fd5e1d9cbde2d983680233ad02"
LICENSE = "LGPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSES/LGPL-2.0-only.txt;md5=da48810c4ddf8e49efa031294a26b98c"
PR = "r0"
DEPENDS = " \

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/plasma-integration-5.22.5.tar.xz"
SRC_URI[sha256sum] = "28c743f1a911042dac1dd86ae615748b7b5422e8d4b47bff34d31cf4bdb6f270"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/plasma-integration-5.23.1.tar.xz"
SRC_URI[sha256sum] = "ca2b3487de16646bc5d2120adfd9d58cee69570a0eb64630ea075a93cdddcb71"

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/plasma-nano-5.22.5.tar.xz"
SRC_URI[sha256sum] = "50ba3ec6f8619936fdac8bf2eff03e595828e8b7c2f7e5adcb8001e07a451945"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/plasma-nano-5.23.1.tar.xz"
SRC_URI[sha256sum] = "0a980893e7b928780ad9ff80b45e1c8706ce779e155fb43f664b0f3ea5086df9"

View File

@@ -4,8 +4,8 @@
DESCRIPTION = "Plasma NM"
HOMEPAGE = ""
LICENSE = "GPL-2"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0-only.txt;md5=9e2385fe012386d34dcc5c9863070881"
PR = "r0"
DEPENDS = " \
@@ -44,6 +44,7 @@ EXTRA_OECMAKE += " \
FILES_SOLIBSDEV = ""
FILES_${PN} += " \
${libdir}/*.so \
${libdir}/plugins/plasma/network/vpn/*.so \
${libdir}/qml/org/kde/plasma/networkmanagement \
${datadir}/plasma/plasmoids/org.kde.plasma.networkmanagement \
${datadir}/kcm_networkmanagement/qml/*.qml \

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/plasma-nm-5.22.5.tar.xz"
SRC_URI[sha256sum] = "7fab9fa175a7b0caf21ff19dddda9d1ea4d05cd3962fe1a2c726404203b9fc49"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/plasma-nm-5.23.1.tar.xz"
SRC_URI[sha256sum] = "d1d578c0386c2506f2cf361cd81f7060e6edcc7546d1716fb7299e34332f5063"

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/plasma-pa-5.22.5.tar.xz"
SRC_URI[sha256sum] = "40ade6a4f7b19ae378d0db621f238f5c197d7a1a78379b5c92e9a1a88929b5ab"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/plasma-pa-5.23.1.tar.xz"
SRC_URI[sha256sum] = "a79f1971a5acdeccb9e7363560b1828f35cac4faeb3c8036d8cdd1243565a57e"

View File

@@ -25,10 +25,7 @@ DEPENDS = " \
kpeople \
kwin \
gstreamer1.0 \
"
SRC_URI_append = " \
file://0001-Simplify-apps-model.patch \
modemmanager-qt \
"
inherit cmake_plasma
@@ -38,10 +35,12 @@ FILES_${PN} += " \
${libdir}/qml/org/kde/plasma/private/mobileshell/* \
${libdir}/qml/org/kde/plasma/private/kpeoplehelper/* \
${libdir}/qml/org/kde/plasma/private/mobilehomescreencomponents/* \
${libdir}/qml/org/kde/plasma/mm/* \
${datadir}/kpackage/genericqml/org.kde.phone.dialer/* \
${datadir}/plasma/shells/org.kde.plasma.phone/* \
${datadir}/plasma/shells/org.kde.plasma.phoneshell/* \
${datadir}/plasma/plasmoids/* \
${datadir}/plasma/quicksettings/* \
${datadir}/plasma/look-and-feel/org.kde.plasma.phone/* \
${datadir}/telepathy/clients/Plasma.Dialer.client \
${datadir}/kwin/scripts/org.kde.phone.multitasking/* \

View File

@@ -1,145 +0,0 @@
From 992950085df9762288955d8e4b5a76f4bc4b2f68 Mon Sep 17 00:00:00 2001
From: Nicolas Fella <nicolas.fella@gmx.de>
Date: Thu, 10 Jun 2021 23:17:52 +0200
Subject: [PATCH] Simplify apps model
The current code iterates over each service group separately and adds its apps. This leads to duplicate entries when an app is in multiple groups.
Since we are not actually interested in the group info, only in a flat list of all apps with some filters, we can simplify this.
---
.../applicationlistmodel.cpp | 97 ++++++++-----------
1 file changed, 40 insertions(+), 57 deletions(-)
diff --git a/components/mobilehomescreencomponents/applicationlistmodel.cpp b/components/mobilehomescreencomponents/applicationlistmodel.cpp
index 9e925da..00335d5 100644
--- a/components/mobilehomescreencomponents/applicationlistmodel.cpp
+++ b/components/mobilehomescreencomponents/applicationlistmodel.cpp
@@ -16,13 +16,12 @@
#include <QQuickWindow>
// KDE
+#include <KApplicationTrader>
#include <KIO/ApplicationLauncherJob>
#include <KNotificationJobUiDelegate>
#include <KService>
-#include <KServiceGroup>
#include <KSharedConfig>
#include <KSycoca>
-#include <KSycocaEntry>
#include <KWayland/Client/connection_thread.h>
#include <KWayland/Client/plasmawindowmanagement.h>
@@ -158,71 +157,55 @@ void ApplicationListModel::loadApplications()
auto cfg = KSharedConfig::openConfig(QStringLiteral("applications-blacklistrc"));
auto blgroup = KConfigGroup(cfg, QStringLiteral("Applications"));
- QStringList blacklist = blgroup.readEntry("blacklist", QStringList());
+ const QStringList blacklist = blgroup.readEntry("blacklist", QStringList());
beginResetModel();
m_applicationList.clear();
- KServiceGroup::Ptr group = KServiceGroup::root();
- if (!group || !group->isValid()) return;
- KServiceGroup::List subGroupList = group->entries(true);
-
QMap<int, ApplicationData> orderedList;
QList<ApplicationData> unorderedList;
QSet<QString> foundFavorites;
- // Iterate over all entries in the group
- while (!subGroupList.isEmpty()) {
- KSycocaEntry::Ptr groupEntry = subGroupList.first();
- subGroupList.pop_front();
-
- if (groupEntry->isType(KST_KServiceGroup)) {
- KServiceGroup::Ptr serviceGroup(static_cast<KServiceGroup *>(groupEntry.data()));
-
- if (!serviceGroup->noDisplay()) {
- KServiceGroup::List entryGroupList = serviceGroup->entries(true);
-
- for(KServiceGroup::List::ConstIterator it = entryGroupList.constBegin(); it != entryGroupList.constEnd(); it++) {
- KSycocaEntry::Ptr entry = (*it);
-
- if (entry->isType(KST_KServiceGroup)) {
- KServiceGroup::Ptr serviceGroup(static_cast<KServiceGroup *>(entry.data()));
- subGroupList << serviceGroup;
-
- } else if (entry->property(QStringLiteral("Exec")).isValid()) {
- KService::Ptr service(static_cast<KService *>(entry.data()));
-
- if (service->isApplication() &&
- !blacklist.contains(service->desktopEntryName()) &&
- service->showOnCurrentPlatform() &&
- !service->property(QStringLiteral("Terminal"), QVariant::Bool).toBool()) {
-
- ApplicationData data;
- data.name = service->name();
- data.icon = service->icon();
- data.storageId = service->storageId();
- data.uniqueId = service->storageId();
- data.entryPath = service->exec();
- data.startupNotify = service->property(QStringLiteral("StartupNotify")).toBool();
-
- if (m_favorites.contains(data.uniqueId)) {
- data.location = Favorites;
- foundFavorites.insert(data.uniqueId);
- } else if (m_desktopItems.contains(data.uniqueId)) {
- data.location = Desktop;
- }
+ auto filter = [blacklist](const KService::Ptr &service) -> bool {
+ if (service->noDisplay()) {
+ return false;
+ }
- auto it = m_appPositions.constFind(data.uniqueId);
- if (it != m_appPositions.constEnd()) {
- orderedList[*it] = data;
- } else {
- unorderedList << data;
- }
- }
- }
- }
- }
+ if (!service->showOnCurrentPlatform()) {
+ return false;
+ }
+
+ if (blacklist.contains(service->desktopEntryName())) {
+ return false;
+ }
+
+ return true;
+ };
+
+ const KService::List apps = KApplicationTrader::query(filter);
+
+ for (const KService::Ptr &service : apps) {
+ ApplicationData data;
+ data.name = service->name();
+ data.icon = service->icon();
+ data.storageId = service->storageId();
+ data.uniqueId = service->storageId();
+ data.entryPath = service->exec();
+ data.startupNotify = service->property(QStringLiteral("StartupNotify")).toBool();
+
+ if (m_favorites.contains(data.uniqueId)) {
+ data.location = Favorites;
+ foundFavorites.insert(data.uniqueId);
+ } else if (m_desktopItems.contains(data.uniqueId)) {
+ data.location = Desktop;
+ }
+
+ auto it = m_appPositions.constFind(data.uniqueId);
+ if (it != m_appPositions.constEnd()) {
+ orderedList[*it] = data;
+ } else {
+ unorderedList << data;
}
}
--
2.30.2

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/plasma-phone-components-5.22.5.tar.xz"
SRC_URI[sha256sum] = "40669f5218ac04d7e1aa71ffecf2376a6de5e747da1d24adee37cbe6e7e35ad4"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/plasma-phone-components-5.23.1.tar.xz"
SRC_URI[sha256sum] = "82d6798fb17cb67013fbc10aa79cc9b6c49687bb1a139c80ad4eff2ccbda9c9c"

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/plasma-systemmonitor-5.22.5.tar.xz"
SRC_URI[sha256sum] = "dd9eaaeba11da2d9640873882ed4aa573c2b3fc2f5640783965992ceda1647a3"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/plasma-systemmonitor-5.23.1.tar.xz"
SRC_URI[sha256sum] = "c8212484044840119f939ff2fcacea6a3d02c25a171a75c68145cf88be9c19cf"

View File

@@ -7,7 +7,7 @@
DESCRIPTION = "Plasma Workspace"
HOMEPAGE = ""
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24"
LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0-only.txt;md5=9e2385fe012386d34dcc5c9863070881"
PR = "r0"
DEPENDS = " \

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/plasma-workspace-5.22.5.tar.xz"
SRC_URI[sha256sum] = "f22e12dea303478d949f69b88fcf30787ef7f5d098be55595ec562aee4b13606"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/plasma-workspace-5.23.1.tar.xz"
SRC_URI[sha256sum] = "fbf979f857b3cdcc8fe6dc45c3a1d9dfe297e1120aa551a02faa339abb81efad"

View File

@@ -4,8 +4,8 @@
DESCRIPTION = "KDE Polkit Agent"
HOMEPAGE = ""
LICENSE = "GPL-2"
LIC_FILES_CHKSUM = "file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24"
LICENSE = "GPL-2.0+"
LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0-or-later.txt;md5=9e2385fe012386d34dcc5c9863070881"
PR = "r0"
DEPENDS = " \

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/polkit-kde-agent-1-5.22.5.tar.xz"
SRC_URI[sha256sum] = "60e3ea544b2b609351961fe7f299b79c9f8ff89b911b63490fa0d3afd5222ba8"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/polkit-kde-agent-1-5.23.1.tar.xz"
SRC_URI[sha256sum] = "416617237e045567daf830e23c0d3f32f3b4d9891e9a61888f735f494ccbf529"

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/powerdevil-5.22.5.tar.xz"
SRC_URI[sha256sum] = "597301e6520c17131c98a98960a1e3b7827e63ab9efed0fea5340203133f1c9f"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/powerdevil-5.23.1.tar.xz"
SRC_URI[sha256sum] = "721a5938d6cb0439943fa912b9f360b9b563a91ceff138869636f2ef45edc096"

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/systemsettings-5.22.5.tar.xz"
SRC_URI[sha256sum] = "cc7978faa1c3fcf75584a09459e69e665c17514dcf59e07287e1d80aadb975bb"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/systemsettings-5.23.1.tar.xz"
SRC_URI[sha256sum] = "7cd451319125c7b56c6f13c65462136179c39f607cc4d4e66b90079a72df6e54"

View File

@@ -1,7 +0,0 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.22.5/xdg-desktop-portal-kde-5.22.5.tar.xz"
SRC_URI[sha256sum] = "861d71bd0146c5c67d5c1774506fd201ed5be1e706d5cc9a05be0428136ca601"

View File

@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
require ${PN}.inc
SRC_URI = "https://download.kde.org/stable/plasma/5.23.1/xdg-desktop-portal-kde-5.23.1.tar.xz"
SRC_URI[sha256sum] = "f7664cc4c0ea7fcd93a15d35fc5f5b5f5c8910c07204fad35783f9d3acc1f2ae"