summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-02-01 09:32:33 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2023-02-01 10:26:43 +0100
commit54e164077a2805c816cc73d1db94af629fec2efe (patch)
treec9a92da15a9e74eb5812492cdd3daced7bf63096 /kde-plasma
parentkde-plasma/plasma-thunderbolt: drop 5.25.5-r1 (diff)
downloadgentoo-54e164077a2805c816cc73d1db94af629fec2efe.tar.gz
gentoo-54e164077a2805c816cc73d1db94af629fec2efe.tar.bz2
gentoo-54e164077a2805c816cc73d1db94af629fec2efe.zip
kde-plasma/plasma-workspace: drop 5.25.5-r5
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma')
-rw-r--r--kde-plasma/plasma-workspace/Manifest1
-rw-r--r--kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-delay-ksplash-until-after-env-setup.patch82
-rw-r--r--kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-fix-setpassword.patch39
-rw-r--r--kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-fonts-honor-and-present-system-defaults.patch55
-rw-r--r--kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-geolocation-deadlock.patch194
-rw-r--r--kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-layout-save.patch33
-rw-r--r--kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-lock-layout.patch113
-rw-r--r--kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-prevent-panel-go-out-of-screen.patch25
-rw-r--r--kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-relayout.patch22
-rw-r--r--kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-systray-double-destroy.patch24
-rw-r--r--kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-widgetexplorer-recurse-containments.patch26
-rw-r--r--kde-plasma/plasma-workspace/plasma-workspace-5.25.5-r5.ebuild229
12 files changed, 0 insertions, 843 deletions
diff --git a/kde-plasma/plasma-workspace/Manifest b/kde-plasma/plasma-workspace/Manifest
index e52db83c3114..1d9403c158d7 100644
--- a/kde-plasma/plasma-workspace/Manifest
+++ b/kde-plasma/plasma-workspace/Manifest
@@ -1,3 +1,2 @@
-DIST plasma-workspace-5.25.5.tar.xz 18638932 BLAKE2B f83aabf84b775c0bf9d1e60db03f94400e3363fa8f45767bdc471706682cda7323fae4948cffa156188cc7ed2d30d05349a385dd370ef941c16464ddddf8fa01 SHA512 0c6cf5104b584b34a8bcb45d57069fed3b25e871fccf1bfefd47d8fc1b595867c1c4f0fcfcc0e07847534e1e77ce8ed1f3be1ac6cb7eea8669a9c7649c8466cb
DIST plasma-workspace-5.26.5.tar.xz 17470516 BLAKE2B 4809ad1ec93e4e6d27b17197457b76f5971ea6c74ac64f64e68ecfe828068f7f33af69bdd03411a4cd0cf8fb26080ebf9c85741eacc0e53d6b782af4eabb4b8a SHA512 9fb840d3f36e1cb25126a715d5599bf89680b0c3ff2a674f07f83246dc15358e15c7e31565d39570e33f6b4d3292822d5fdde05e4795f2eef13e1a0ff2f1c687
DIST plasma-workspace-5.26.90.tar.xz 18481828 BLAKE2B 1594718737ae9f7be98a6e06b691e61bb519cf73755af01ce0a5a1b58a2172a9003974e2a85d0c000edf579139e6ef9a8800d071167812522f492f6b17de7479 SHA512 ecd3a107496e7a6d1a9e9093118f9cf4e1a8746140302e201dc48ba896b5b7d51e4dfa13bd87c3a7e8548221c978470d0635fe1221205a412b66e5c585a634ac
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-delay-ksplash-until-after-env-setup.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-delay-ksplash-until-after-env-setup.patch
deleted file mode 100644
index 9fcea5a32cbe..000000000000
--- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-delay-ksplash-until-after-env-setup.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-From 536ba654e43741a18d2b71ee519f1daefeaa7ffd Mon Sep 17 00:00:00 2001
-From: Fushan Wen <qydwhotmail@gmail.com>
-Date: Sat, 4 Jun 2022 18:15:10 +0800
-Subject: [PATCH 1/2] startkde: `Q_UNUSED` ksplash
-
-Variable 'ksplash' is assigned a value that is never used. (CWE-563)
-
-(cherry picked from commit 6bebf9a7e636d6655ede49ce48d33f2254ac75f0)
----
- startkde/startplasma-x11.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/startkde/startplasma-x11.cpp b/startkde/startplasma-x11.cpp
-index 817de3511..a80c515fc 100644
---- a/startkde/startplasma-x11.cpp
-+++ b/startkde/startplasma-x11.cpp
-@@ -59,6 +59,7 @@ int main(int argc, char **argv)
-
- setupCursor(false);
- QScopedPointer<QProcess, KillBeforeDeleter> ksplash(setupKSplash());
-+ Q_UNUSED(ksplash)
-
- runEnvironmentScripts();
-
---
-2.37.3
-
-
-From 5e54fbd0b351e43cb68c193bf684dd8cdbd11210 Mon Sep 17 00:00:00 2001
-From: Harald Sitter <sitter@kde.org>
-Date: Tue, 13 Sep 2022 13:54:04 +0200
-Subject: [PATCH 2/2] delay ksplash until after env is set up
-
-otherwise we can dbus invoke with the wrong environment. specifically
-this happens with the latest qtbase changes that introduced color
-picking support on wayland. when we start a qguiapplication with
-incomplete environment that dbus invokes the xdg-portal system and that
-in turn has an incomplete environment resulting in theming and the likes
-not properly applying because the portal doesn't know that it runs
-inside a plasma session.
-
-https://invent.kde.org/qt/qt/qtbase/-/commit/2dc083df009a45c5dacfea27b0affeb85b01f847
-
-BUG: 458865
-(cherry picked from commit 9bf0e56da84de5e9bd2b3ff28bdb2cb1af6de91e)
-
-asturmlechner 2022-09-14: Backported to Plasma/5.25 branch
----
- startkde/startplasma-x11.cpp | 10 ++++++----
- 1 file changed, 6 insertions(+), 4 deletions(-)
-
-diff --git a/startkde/startplasma-x11.cpp b/startkde/startplasma-x11.cpp
-index a80c515fc..d1722771b 100644
---- a/startkde/startplasma-x11.cpp
-+++ b/startkde/startplasma-x11.cpp
-@@ -57,10 +57,6 @@ int main(int argc, char **argv)
- }
- }
-
-- setupCursor(false);
-- QScopedPointer<QProcess, KillBeforeDeleter> ksplash(setupKSplash());
-- Q_UNUSED(ksplash)
--
- runEnvironmentScripts();
-
- out << "startkde: Starting up...\n";
-@@ -80,6 +76,12 @@ int main(int argc, char **argv)
- // variables (e.g. LANG and LC_*)
- importSystemdEnvrionment();
-
-+ // NOTE: Do not start QGuiApplications before setting up the environment. We'd be at risk of dbus invoking other
-+ // processes with an incomplete environment.
-+ setupCursor(false);
-+ QScopedPointer<QProcess, KillBeforeDeleter> ksplash(setupKSplash());
-+ Q_UNUSED(ksplash)
-+
- if (!startPlasmaSession(false))
- return 1;
-
---
-2.37.3
-
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-fix-setpassword.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-fix-setpassword.patch
deleted file mode 100644
index 7351b8808819..000000000000
--- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-fix-setpassword.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 84dcfc45b9a354827b9bbf6ae58902d04e8fe915 Mon Sep 17 00:00:00 2001
-From: Marco Martin <notmart@gmail.com>
-Date: Wed, 28 Sep 2022 11:33:33 +0200
-Subject: [PATCH] set setInteractiveAuthorizationAllowed on SetPassword call
-
-is important that the setpasswod call uses interactive authorization,
-otherwise will be denied, unless the user had been modified beforehand
-so an authorization was already granted
-
-BUG:459309
----
- kcms/users/src/user.cpp | 11 ++++++++---
- 1 file changed, 8 insertions(+), 3 deletions(-)
-
-diff --git a/kcms/users/src/user.cpp b/kcms/users/src/user.cpp
-index 020ebee097..87745582c5 100644
---- a/kcms/users/src/user.cpp
-+++ b/kcms/users/src/user.cpp
-@@ -217,9 +217,14 @@ void User::setPassword(const QString &password)
- {
- // Blocking because we need to wait for the password to be changed before we
- // can ask the user about also possibly changing their KWallet password
-- auto invocation = m_dbusIface->SetPassword(saltPassword(password), QString());
-- invocation.waitForFinished();
-- if (!invocation.isError()) {
-+
-+ auto mc = QDBusMessage::createMethodCall(m_dbusIface->service(), m_dbusIface->path(), m_dbusIface->interface(), "SetPassword");
-+ mc.setArguments({saltPassword(password), QString()});
-+ mc.setInteractiveAuthorizationAllowed(true);
-+ auto message = QDBusConnection::systemBus().call(mc);
-+
-+ // Not an error or invalid message
-+ if (message.type() == QDBusMessage::ReplyMessage) {
- Q_EMIT passwordSuccessfullyChanged();
- }
- }
---
-GitLab
-
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-fonts-honor-and-present-system-defaults.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-fonts-honor-and-present-system-defaults.patch
deleted file mode 100644
index 4e2b579646fc..000000000000
--- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-fonts-honor-and-present-system-defaults.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From dc24b7c1c4e2c9dfb74090f716da029e44e209ff Mon Sep 17 00:00:00 2001
-From: Harald Sitter <sitter@kde.org>
-Date: Mon, 19 Sep 2022 12:39:54 +0200
-Subject: [PATCH] fonts: honor & present system defaults
-
-previously we'd pretend that a missing value meant our "plasma-ish"
-defaults would apply but that is utterly false. when no hitting is set,
-no hinting is set. this can happen when the system default fontconfigs
-don't set up any hinting.
-
-BUG: 416140
-
-
-(cherry picked from commit 5dd8cc919f54bf28152a80e1fa6f3f649ea4e47a)
----
- kcms/fonts/fontsaasettings.cpp | 9 +++++----
- 1 file changed, 5 insertions(+), 4 deletions(-)
-
-diff --git a/kcms/fonts/fontsaasettings.cpp b/kcms/fonts/fontsaasettings.cpp
-index a7159b0e63..e7192aa89d 100644
---- a/kcms/fonts/fontsaasettings.cpp
-+++ b/kcms/fonts/fontsaasettings.cpp
-@@ -1,5 +1,6 @@
- /*
- SPDX-FileCopyrightText: 2020 Benjamin Port <benjamin.port@enioka.com>
-+ SPDX-FileCopyrightText: 2022 Harald Sitter <sitter@kde.org>
-
- SPDX-License-Identifier: GPL-2.0-or-later
- */
-@@ -211,18 +212,18 @@ public:
- // sub pixel
- KXftConfig::SubPixel::Type spType = KXftConfig::SubPixel::NotSet;
- xft.getSubPixelType(spType);
-- // if it is not set, we set it to rgb
-+ // if it is not set, we have no subpixel hinting
- if (spType == KXftConfig::SubPixel::NotSet) {
-- spType = KXftConfig::SubPixel::Rgb;
-+ spType = KXftConfig::SubPixel::None;
- }
- setSubPixel(spType);
-
- // hinting
- KXftConfig::Hint::Style hStyle = KXftConfig::Hint::NotSet;
- xft.getHintStyle(hStyle);
-- // if it is not set, we set it to slight hinting
-+ // if it is not set, we have no hinting
- if (hStyle == KXftConfig::Hint::NotSet) {
-- hStyle = KXftConfig::Hint::Slight;
-+ hStyle = KXftConfig::Hint::None;
- }
- setHinting(hStyle);
-
---
-GitLab
-
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-geolocation-deadlock.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-geolocation-deadlock.patch
deleted file mode 100644
index 70bd28419472..000000000000
--- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-geolocation-deadlock.patch
+++ /dev/null
@@ -1,194 +0,0 @@
-https://invent.kde.org/plasma/plasma-workspace/-/commit/d693026676cc6bf2b7c23e9ff4b620679cf15d10
-
-From d693026676cc6bf2b7c23e9ff4b620679cf15d10 Mon Sep 17 00:00:00 2001
-From: Nicolas Fella <nicolas.fella@gmx.de>
-Date: Mon, 15 Aug 2022 18:36:56 +0200
-Subject: [PATCH] [dataengines/geolocation] Port from KIO::http_post to
- QNetworkAccessManager
-
-Not only does this slightly simplify the code, it also avoids a deadlock in kded when automatic proxy detection is enabled
-
-BUG: 449984
-
-BUG: 457341
-(cherry picked from commit 98cadd48c21c89b81fdeb3499a557a6551a09d8a)
----
- dataengines/geolocation/CMakeLists.txt | 2 +-
- dataengines/geolocation/location_ip.cpp | 84 ++++++++++---------------
- 2 files changed, 35 insertions(+), 51 deletions(-)
-
-diff --git a/dataengines/geolocation/CMakeLists.txt b/dataengines/geolocation/CMakeLists.txt
-index 175687bd4d..6ae707643c 100644
---- a/dataengines/geolocation/CMakeLists.txt
-+++ b/dataengines/geolocation/CMakeLists.txt
-@@ -36,7 +36,7 @@ target_link_libraries(plasma_engine_geolocation
- kcoreaddons_add_plugin(plasma-geolocation-ip SOURCES location_ip.cpp INSTALL_NAMESPACE plasma/geolocationprovider)
- ecm_qt_declare_logging_category(plasma-geolocation-ip HEADER geolocdebug.h IDENTIFIER DATAENGINE_GEOLOCATION CATEGORY_NAME org.kde.plasma.dataengine.geolocation)
- target_compile_definitions(plasma-geolocation-ip PRIVATE -DQT_NO_KEYWORDS)
--target_link_libraries(plasma-geolocation-ip plasma-geolocation-interface KF5::KIOCore KF5::NetworkManagerQt)
-+target_link_libraries(plasma-geolocation-ip plasma-geolocation-interface KF5::NetworkManagerQt)
-
- pkg_check_modules(LIBGPS libgps IMPORTED_TARGET)
-
-diff --git a/dataengines/geolocation/location_ip.cpp b/dataengines/geolocation/location_ip.cpp
-index 27b530810c..3c5a202b89 100644
---- a/dataengines/geolocation/location_ip.cpp
-+++ b/dataengines/geolocation/location_ip.cpp
-@@ -12,15 +12,14 @@
-
- #include "location_ip.h"
- #include "geolocdebug.h"
--#include <KIO/Job>
--#include <KIO/TransferJob>
--#include <KJob>
- #include <KSharedConfig>
- #include <NetworkManagerQt/Manager>
- #include <NetworkManagerQt/WirelessDevice>
- #include <QJsonArray>
- #include <QJsonDocument>
- #include <QJsonObject>
-+#include <QNetworkAccessManager>
-+#include <QNetworkReply>
- #include <QUrl>
-
- class Ip::Private : public QObject
-@@ -30,19 +29,21 @@ public:
- Private(Ip *q)
- : q(q)
- {
-+ m_nam.setRedirectPolicy(QNetworkRequest::NoLessSafeRedirectPolicy);
-+ m_nam.setStrictTransportSecurityEnabled(true);
-+ m_nam.enableStrictTransportSecurityStore(true,
-+ QStandardPaths::writableLocation(QStandardPaths::GenericCacheLocation) + QLatin1String("/plasmashell/hsts/"));
- }
-
-- void readGeoLocation(KJob *job)
-+ void readGeoLocation(QNetworkReply *reply)
- {
- m_geoLocationResolved = true;
-- if (job && job->error()) {
-- qCCritical(DATAENGINE_GEOLOCATION) << "error: " << job->errorString();
-- m_geoLocationPayload.clear();
-+ if (reply->error()) {
-+ qCCritical(DATAENGINE_GEOLOCATION) << "error: " << reply->errorString();
- checkUpdateData();
- return;
- }
-- const QJsonObject json = QJsonDocument::fromJson(m_geoLocationPayload).object();
-- m_geoLocationPayload.clear();
-+ const QJsonObject json = QJsonDocument::fromJson(reply->readAll()).object();
-
- auto accuracyIt = json.find(QStringLiteral("accuracy"));
- if (accuracyIt != json.end()) {
-@@ -62,52 +63,28 @@ public:
-
- void clear()
- {
-- m_geoLocationPayload.clear();
-- m_countryPayload.clear();
- m_countryResolved = false;
- m_geoLocationResolved = false;
- m_data.clear();
- }
-
-- void geoLocationData(KIO::Job *job, const QByteArray &data)
-- {
-- Q_UNUSED(job)
--
-- if (data.isEmpty()) {
-- return;
-- }
-- m_geoLocationPayload.append(data);
-- }
--
-- void countryData(KIO::Job *job, const QByteArray &data)
-- {
-- Q_UNUSED(job)
--
-- if (data.isEmpty()) {
-- return;
-- }
-- m_countryPayload.append(data);
-- }
--
-- void readCountry(KJob *job)
-+ void readCountry(QNetworkReply *reply)
- {
- m_countryResolved = true;
-- if (job && job->error()) {
-- qCCritical(DATAENGINE_GEOLOCATION) << "error: " << job->errorString();
-- m_countryPayload.clear();
-+ if (reply->error()) {
-+ qCCritical(DATAENGINE_GEOLOCATION) << "error: " << reply->errorString();
- checkUpdateData();
- return;
- }
-
-- const QJsonObject json = QJsonDocument::fromJson(m_countryPayload).object();
-- m_countryPayload.clear();
-+ const QJsonObject json = QJsonDocument::fromJson(reply->readAll()).object();
-
- m_data[QStringLiteral("country")] = json.value(QStringLiteral("country_name")).toString();
- m_data[QStringLiteral("country code")] = json.value(QStringLiteral("country_code")).toString();
-+
- checkUpdateData();
- }
-
--private:
- void checkUpdateData()
- {
- if (!m_countryResolved || !m_geoLocationResolved) {
-@@ -117,11 +94,10 @@ private:
- }
-
- Ip *q;
-- QByteArray m_geoLocationPayload;
-- QByteArray m_countryPayload;
- bool m_countryResolved = false;
- bool m_geoLocationResolved = false;
- Plasma::DataEngine::Data m_data;
-+ QNetworkAccessManager m_nam;
- };
-
- Ip::Ip(QObject *parent, const QVariantList &args)
-@@ -176,18 +152,26 @@ void Ip::update()
- }
- const QByteArray postData = QJsonDocument(request).toJson(QJsonDocument::Compact);
- const QString apiKey = QStringLiteral("60e8eae6-3988-4ada-ad48-2cfddddf216b");
-- KIO::TransferJob *datajob =
-- KIO::http_post(QUrl(QStringLiteral("https://location.services.mozilla.com/v1/geolocate?key=%1").arg(apiKey)), postData, KIO::HideProgressInfo);
-- datajob->addMetaData(QStringLiteral("content-type"), QStringLiteral("application/json"));
-
- qCDebug(DATAENGINE_GEOLOCATION) << "Fetching https://location.services.mozilla.com/v1/geolocate";
-- connect(datajob, &KIO::TransferJob::data, d, &Ip::Private::geoLocationData);
-- connect(datajob, &KIO::TransferJob::result, d, &Ip::Private::readGeoLocation);
--
-- datajob = KIO::http_post(QUrl(QStringLiteral("https://location.services.mozilla.com/v1/country?key=%1").arg(apiKey)), postData, KIO::HideProgressInfo);
-- datajob->addMetaData(QStringLiteral("content-type"), QStringLiteral("application/json"));
-- connect(datajob, &KIO::TransferJob::data, d, &Ip::Private::countryData);
-- connect(datajob, &KIO::TransferJob::result, d, &Ip::Private::readCountry);
-+ QNetworkRequest locationRequest(QUrl(QStringLiteral("https://location.services.mozilla.com/v1/geolocate?key=%1").arg(apiKey)));
-+ locationRequest.setHeader(QNetworkRequest::ContentTypeHeader, QStringLiteral("application/json"));
-+ QNetworkReply *locationReply = d->m_nam.post(locationRequest, postData);
-+
-+ connect(locationReply, &QNetworkReply::finished, this, [this, locationReply] {
-+ locationReply->deleteLater();
-+ d->readGeoLocation(locationReply);
-+ });
-+
-+ qCDebug(DATAENGINE_GEOLOCATION) << "Fetching https://location.services.mozilla.com/v1/country";
-+ QNetworkRequest countryRequest(QUrl(QStringLiteral("https://location.services.mozilla.com/v1/country?key=%1").arg(apiKey)));
-+ countryRequest.setHeader(QNetworkRequest::ContentTypeHeader, QStringLiteral("application/json"));
-+ QNetworkReply *countryReply = d->m_nam.post(countryRequest, postData);
-+
-+ connect(countryReply, &QNetworkReply::finished, this, [this, countryReply] {
-+ countryReply->deleteLater();
-+ d->readCountry(countryReply);
-+ });
- }
-
- K_PLUGIN_CLASS_WITH_JSON(Ip, "plasma-geolocation-ip.json")
---
-GitLab
-
-
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-layout-save.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-layout-save.patch
deleted file mode 100644
index ed298549128a..000000000000
--- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-layout-save.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-https://invent.kde.org/plasma/plasma-workspace/-/commit/b983f1c758552346083ffe0b3d47173b487ae426
-
-From b983f1c758552346083ffe0b3d47173b487ae426 Mon Sep 17 00:00:00 2001
-From: Aaron Rainbolt <arraybolt3@gmail.com>
-Date: Wed, 19 Oct 2022 14:16:26 -0500
-Subject: [PATCH] Save layout immediately after a resolution change triggered
- relayout
-
-(cherry picked from commit f33cd92fbfb765299018bddc2a86ac5326731231)
----
- components/containmentlayoutmanager/appletslayout.cpp | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/components/containmentlayoutmanager/appletslayout.cpp b/components/containmentlayoutmanager/appletslayout.cpp
-index 70970e8919..c3e957cbd9 100644
---- a/components/containmentlayoutmanager/appletslayout.cpp
-+++ b/components/containmentlayoutmanager/appletslayout.cpp
-@@ -80,6 +80,11 @@ AppletsLayout::AppletsLayout(QQuickItem *parent)
- } else if (!m_geometryBeforeResolutionChange.isEmpty()) {
- m_layoutManager->layoutGeometryChanged(newGeom, m_geometryBeforeResolutionChange);
- m_geometryBeforeResolutionChange = QRectF();
-+
-+ // If the user doesn't move a widget after this is done, the widget positions won't be saved and they will be in the wrong
-+ // places on next login, so save them now.
-+
-+ save();
- }
- }
- m_layoutChanges = NoChange;
---
-GitLab
-
-
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-lock-layout.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-lock-layout.patch
deleted file mode 100644
index 422b22a678dd..000000000000
--- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-lock-layout.patch
+++ /dev/null
@@ -1,113 +0,0 @@
-https://invent.kde.org/plasma/plasma-workspace/-/commit/0a01c8910309fb9f289fe0aa58492e106d154548
-
-From 0a01c8910309fb9f289fe0aa58492e106d154548 Mon Sep 17 00:00:00 2001
-From: Marco Martin <notmart@gmail.com>
-Date: Sun, 25 Sep 2022 16:47:31 -0500
-Subject: [PATCH] Introduce a lock that blocks relayouts and config writes
-
-The resize of the layout area can happen either by screen resolution
-change or available screen area change (a panel appears or is resized)
-This is not an atomic operation, as width and height are usually set in
-2 different operations, and even worse the layout area is resized to
- match the available one with an animation, so many intermediate resizes
-that should never cause a relayout happen.
-In normal operation an event compression timer limits the actual
-relayouts to hopefully one, but if the system is really slowed down
-(for instance, startup) the timer may expire and cause relayouts in
-non useful sizes, losing the needed configuration
-In combination with
-
-The lock blocks all relayout and config writes when the size of the
-layout area doesn't correspond to corona availablescreenrect, which are
-the only "settled" cases.
-
-BUG:413645
---- a/components/containmentlayoutmanager/appletslayout.cpp
-+++ b/components/containmentlayoutmanager/appletslayout.cpp
-@@ -56,9 +56,10 @@ AppletsLayout::AppletsLayout(QQuickItem *parent)
- connect(m_layoutChangeTimer, &QTimer::timeout, this, [this]() {
- // We can't assume m_containment to be valid: if we load in a plasmoid that can run also
- // in "applet" mode, m_containment will never be valid
-- if (!m_containment) {
-+ if (!m_containment || width() <= 0 || height() <= 0 || m_relayoutLock) {
- return;
- }
-+
- const QString &serializedConfig = m_containment->config().readEntry(m_configKey, "");
- if ((m_layoutChanges & ConfigKeyChange) && !serializedConfig.isEmpty()) {
- if (!m_configKey.isEmpty() && m_containment) {
-@@ -169,6 +170,27 @@ void AppletsLayout::setFallbackConfigKey(const QString &key)
- Q_EMIT fallbackConfigKeyChanged();
- }
-
-+bool AppletsLayout::relayoutLock() const
-+{
-+ return m_relayoutLock;
-+}
-+
-+void AppletsLayout::setRelayoutLock(bool lock)
-+{
-+ if (lock == m_relayoutLock) {
-+ return;
-+ }
-+
-+ m_relayoutLock = lock;
-+
-+ if (!lock && m_layoutChanges != NoChange) {
-+ m_layoutChangeTimer->start();
-+ }
-+
-+ Q_EMIT relayoutLockChanged();
-+}
-+
-+
- QJSValue AppletsLayout::acceptsAppletCallback() const
- {
- return m_acceptsAppletCallback;
-@@ -468,7 +490,7 @@ void AppletsLayout::geometryChanged(const QRectF &newGeometry, const QRectF &old
- }
-
- // Only do a layouting procedure if we received a valid size
-- if (!newGeometry.isEmpty()) {
-+ if (!newGeometry.isEmpty() && newGeometry != oldGeometry) {
- m_layoutChanges |= SizeChange;
- m_layoutChangeTimer->start();
- }
---- a/components/containmentlayoutmanager/appletslayout.h
-+++ b/components/containmentlayoutmanager/appletslayout.h
-@@ -39,6 +39,8 @@ class AppletsLayout : public QQuickItem
- // from the screen size and plasma starts on an "unexpected" size
- Q_PROPERTY(QString fallbackConfigKey READ fallbackConfigKey WRITE setFallbackConfigKey NOTIFY fallbackConfigKeyChanged)
-
-+ Q_PROPERTY(bool relayoutLock READ relayoutLock WRITE setRelayoutLock NOTIFY relayoutLockChanged)
-+
- Q_PROPERTY(PlasmaQuick::AppletQuickItem *containment READ containment WRITE setContainment NOTIFY containmentChanged)
-
- Q_PROPERTY(QJSValue acceptsAppletCallback READ acceptsAppletCallback WRITE setAcceptsAppletCallback NOTIFY acceptsAppletCallbackChanged)
-@@ -103,6 +105,9 @@ public:
- QString fallbackConfigKey() const;
- void setFallbackConfigKey(const QString &key);
-
-+ bool relayoutLock() const;
-+ void setRelayoutLock(bool lock);
-+
- PlasmaQuick::AppletQuickItem *containment() const;
- void setContainment(PlasmaQuick::AppletQuickItem *containment);
-
-@@ -162,6 +167,7 @@ Q_SIGNALS:
-
- void configKeyChanged();
- void fallbackConfigKeyChanged();
-+ void relayoutLockChanged();
- void containmentChanged();
- void minimumItemWidthChanged();
- void minimumItemHeightChanged();
-@@ -226,6 +232,7 @@ private:
- QPointF m_mouseDownPosition = QPoint(-1, -1);
- bool m_mouseDownWasEditMode = false;
- bool m_editMode = false;
-+ bool m_relayoutLock = false;
- };
-
- Q_DECLARE_OPERATORS_FOR_FLAGS(AppletsLayout::LayoutChanges)
-GitLab
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-prevent-panel-go-out-of-screen.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-prevent-panel-go-out-of-screen.patch
deleted file mode 100644
index ef94ed3afa00..000000000000
--- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-prevent-panel-go-out-of-screen.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 9c7ac7061c5c85d63875eaee70793ba04334c1d0 Mon Sep 17 00:00:00 2001
-From: Fushan Wen <qydwhotmail@gmail.com>
-Date: Fri, 16 Sep 2022 14:34:27 +0000
-Subject: [PATCH] Revert "Revert "Prevent panel going out of screen
- boundaries""
-
-This reverts commit 17774bc4c673294a7c8a6e80660d83cce1ba8891
-
-There is still a known culprit (duplicate display names) so the hack shouldn't be reverted.
-
-CCBUG: 353975
-CCBUG: 438114
---- a/shell/panelview.cpp
-+++ b/shell/panelview.cpp
-@@ -859,6 +859,9 @@ void PanelView::moveEvent(QMoveEvent *ev)
- updateEnabledBorders();
- m_strutsTimer.start(STRUTSTIMERDELAY);
- PlasmaQuick::ContainmentView::moveEvent(ev);
-+ if (m_screenToFollow && !m_screenToFollow->geometry().contains(geometry())) {
-+ positionPanel();
-+ }
- }
-
- void PanelView::keyPressEvent(QKeyEvent *event)
-GitLab
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-relayout.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-relayout.patch
deleted file mode 100644
index efd211c26de4..000000000000
--- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-relayout.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-https://invent.kde.org/plasma/plasma-workspace/-/commit/f30431c9ed0bb70506cbc72ea337323660a0dc14
-
-From f30431c9ed0bb70506cbc72ea337323660a0dc14 Mon Sep 17 00:00:00 2001
-From: Aaron Rainbolt <arraybolt3@gmail.com>
-Date: Wed, 19 Oct 2022 14:15:16 -0500
-Subject: [PATCH] Remove unnecessary heuristic relayout function call
-
-(cherry picked from commit c344410a061862dd4802581a1ac3b9a09758ace0)
---- a/components/containmentlayoutmanager/appletslayout.cpp
-+++ b/components/containmentlayoutmanager/appletslayout.cpp
-@@ -80,10 +80,6 @@ AppletsLayout::AppletsLayout(QQuickItem *parent)
- } else if (!m_geometryBeforeResolutionChange.isEmpty()) {
- m_layoutManager->layoutGeometryChanged(newGeom, m_geometryBeforeResolutionChange);
- m_geometryBeforeResolutionChange = QRectF();
--
-- // Heuristically relayout items only when the plasma startup is fully completed
-- } else {
-- polish();
- }
- }
- m_layoutChanges = NoChange;
-GitLab
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-systray-double-destroy.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-systray-double-destroy.patch
deleted file mode 100644
index 3719f2dcae7a..000000000000
--- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-systray-double-destroy.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-https://invent.kde.org/plasma/plasma-workspace/-/commit/432d7c4b51c5a1f17af327d770266b3fe81e5ae5
-
-From 432d7c4b51c5a1f17af327d770266b3fe81e5ae5 Mon Sep 17 00:00:00 2001
-From: Nicolas Fella <nicolas.fella@gmx.de>
-Date: Tue, 27 Sep 2022 18:04:51 +0200
-Subject: [PATCH] [applets/systemtray] Don't manually destroy innerContainment
-
-It's already destroyed by the corona
-
-BUG: 420245
-(cherry picked from commit 7baa4c221e45f161adf4e00d4cf0e36d6436e90c)
---- a/applets/systemtray/container/systemtraycontainer.cpp
-+++ b/applets/systemtray/container/systemtraycontainer.cpp
-@@ -20,9 +20,6 @@ SystemTrayContainer::SystemTrayContainer(QObject *parent, const KPluginMetaData
-
- SystemTrayContainer::~SystemTrayContainer()
- {
-- if (destroyed()) {
-- m_innerContainment->destroy();
-- }
- }
-
- void SystemTrayContainer::init()
-GitLab
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-widgetexplorer-recurse-containments.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-widgetexplorer-recurse-containments.patch
deleted file mode 100644
index 1efe75b9b41d..000000000000
--- a/kde-plasma/plasma-workspace/files/plasma-workspace-5.25.5-widgetexplorer-recurse-containments.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-https://invent.kde.org/plasma/plasma-workspace/-/commit/c7ba560ccaac5e469cb2d6bf66c39e1acf967454
-https://mail.kde.org/pipermail/distributions/2022-September/001287.html
-
-From: Nicolas Fella <nicolas.fella@gmx.de>
-Date: Sun, 21 Aug 2022 16:33:50 +0200
-Subject: [PATCH] [widgetexplorer] Don't recurse into applet's containments
-
-The intention of this code appears to be finding system tray applets, since the systemtray is a containment within another applet/containment
-
-However the code causes an infinit recursion since we are calling addContainment on the same containment again
-
-The recursion also is unnecessary since corona->containments() already lists the system tray containment, so we don't need to find it by recursing through the panel's children
---- a/components/shellprivate/widgetexplorer/widgetexplorer.cpp
-+++ b/components/shellprivate/widgetexplorer/widgetexplorer.cpp
-@@ -280,10 +280,6 @@ void WidgetExplorerPrivate::addContainment(Containment *containment)
-
- foreach (Applet *applet, containment->applets()) {
- if (applet->pluginMetaData().isValid()) {
-- Containment *childContainment = applet->property("containment").value<Containment *>();
-- if (childContainment) {
-- addContainment(childContainment);
-- }
- runningApplets[applet->pluginMetaData().pluginId()]++;
- } else {
- qDebug() << "Invalid plugin metadata. :(";
-GitLab
diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.25.5-r5.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-5.25.5-r5.ebuild
deleted file mode 100644
index c642d1cafc2d..000000000000
--- a/kde-plasma/plasma-workspace/plasma-workspace-5.25.5-r5.ebuild
+++ /dev/null
@@ -1,229 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ECM_HANDBOOK="optional"
-ECM_TEST="forceoptional"
-KFMIN=5.99.0
-PVCUT=$(ver_cut 1-3)
-QTMIN=5.15.5
-VIRTUALX_REQUIRED="test"
-inherit ecm plasma.kde.org
-
-DESCRIPTION="KDE Plasma workspace"
-
-LICENSE="GPL-2" # TODO: CHECK
-SLOT="5"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
-IUSE="appstream +calendar +fontconfig geolocation gps +policykit
-screencast +semantic-desktop telemetry"
-
-REQUIRED_USE="gps? ( geolocation )"
-RESTRICT="test"
-
-# slot op: various private QtWaylandClient headers
-COMMON_DEPEND="
- dev-libs/icu:=
- >=dev-libs/wayland-1.15
- >=dev-qt/qtdbus-${QTMIN}:5
- >=dev-qt/qtdeclarative-${QTMIN}:5[widgets]
- >=dev-qt/qtgui-${QTMIN}:5=[jpeg,libinput]
- >=dev-qt/qtnetwork-${QTMIN}:5
- >=dev-qt/qtsql-${QTMIN}:5
- >=dev-qt/qtsvg-${QTMIN}:5
- >=dev-qt/qtwayland-${QTMIN}:5=
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=dev-qt/qtx11extras-${QTMIN}:5
- >=dev-qt/qtxml-${QTMIN}:5
- >=kde-frameworks/kactivities-${KFMIN}:5
- >=kde-frameworks/kactivities-stats-${KFMIN}:5
- >=kde-frameworks/karchive-${KFMIN}:5
- >=kde-frameworks/kauth-${KFMIN}:5
- >=kde-frameworks/kbookmarks-${KFMIN}:5
- >=kde-frameworks/kcompletion-${KFMIN}:5
- >=kde-frameworks/kconfig-${KFMIN}:5
- >=kde-frameworks/kconfigwidgets-${KFMIN}:5
- >=kde-frameworks/kcoreaddons-${KFMIN}:5
- >=kde-frameworks/kcrash-${KFMIN}:5
- >=kde-frameworks/kdbusaddons-${KFMIN}:5
- >=kde-frameworks/kdeclarative-${KFMIN}:5
- >=kde-frameworks/kded-${KFMIN}:5
- >=kde-frameworks/kglobalaccel-${KFMIN}:5
- >=kde-frameworks/kguiaddons-${KFMIN}:5
- >=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kiconthemes-${KFMIN}:5
- >=kde-frameworks/kidletime-${KFMIN}:5
- >=kde-frameworks/kinit-${KFMIN}:5
- >=kde-frameworks/kio-${KFMIN}:5
- >=kde-frameworks/kitemmodels-${KFMIN}:5
- >=kde-frameworks/kitemviews-${KFMIN}:5
- >=kde-frameworks/kjobwidgets-${KFMIN}:5
- >=kde-frameworks/knewstuff-${KFMIN}:5
- >=kde-frameworks/knotifications-${KFMIN}:5
- >=kde-frameworks/knotifyconfig-${KFMIN}:5
- >=kde-frameworks/kpackage-${KFMIN}:5
- >=kde-frameworks/kpeople-${KFMIN}:5
- >=kde-frameworks/krunner-${KFMIN}:5
- >=kde-frameworks/kservice-${KFMIN}:5
- >=kde-frameworks/ktexteditor-${KFMIN}:5
- >=kde-frameworks/ktextwidgets-${KFMIN}:5
- >=kde-frameworks/kunitconversion-${KFMIN}:5
- >=kde-frameworks/kwallet-${KFMIN}:5
- >=kde-frameworks/kwayland-${KFMIN}:5
- >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
- >=kde-frameworks/kwindowsystem-${KFMIN}:5
- >=kde-frameworks/kxmlgui-${KFMIN}:5
- >=kde-frameworks/plasma-${KFMIN}:5
- >=kde-frameworks/prison-${KFMIN}:5[qml]
- >=kde-frameworks/solid-${KFMIN}:5
- >=kde-plasma/breeze-${PVCUT}:5
- >=kde-plasma/kscreenlocker-${PVCUT}:5
- >=kde-plasma/kwin-${PVCUT}:5
- >=kde-plasma/layer-shell-qt-${PVCUT}:5
- >=kde-plasma/libkscreen-${PVCUT}:5
- >=kde-plasma/libksysguard-${PVCUT}:5
- >=kde-plasma/libkworkspace-${PVCUT}:5
- >=media-libs/phonon-4.11.0
- sci-libs/libqalculate:=
- sys-libs/zlib
- x11-libs/libICE
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libxcb
- x11-libs/libXcursor
- x11-libs/libXfixes
- x11-libs/libXrender
- x11-libs/libXtst
- x11-libs/xcb-util
- x11-libs/xcb-util-image
- appstream? ( dev-libs/appstream[qt5] )
- calendar? ( >=kde-frameworks/kholidays-${KFMIN}:5 )
- fontconfig? (
- >=dev-qt/qtprintsupport-${QTMIN}:5
- media-libs/fontconfig
- x11-libs/libXft
- x11-libs/xcb-util-image
- )
- geolocation? ( >=kde-frameworks/networkmanager-qt-${KFMIN}:5 )
- gps? ( sci-geosciences/gpsd )
- policykit? ( virtual/libcrypt:= )
- screencast? (
- >=dev-qt/qtgui-${QTMIN}:5=[egl]
- media-libs/libglvnd
- >=media-video/pipewire-0.3:=
- x11-libs/libdrm
- )
- semantic-desktop? ( >=kde-frameworks/baloo-${KFMIN}:5 )
- telemetry? ( dev-libs/kuserfeedback:5 )
-"
-DEPEND="${COMMON_DEPEND}
- >=dev-libs/plasma-wayland-protocols-1.6.0
- >=dev-qt/qtconcurrent-${QTMIN}:5
- >=dev-util/wayland-scanner-1.19.0
- x11-base/xorg-proto
- fontconfig? ( x11-libs/libXrender )
- test? ( >=dev-libs/wayland-protocols-1.24 )
-"
-RDEPEND="${COMMON_DEPEND}
- app-text/iso-codes
- >=dev-qt/qdbus-${QTMIN}:*
- >=dev-qt/qtgraphicaleffects-${QTMIN}:5
- >=dev-qt/qtpaths-${QTMIN}:5
- >=dev-qt/qtquickcontrols-${QTMIN}:5[widgets]
- >=dev-qt/qtquickcontrols2-${QTMIN}:5
- kde-apps/kio-extras:5
- >=kde-frameworks/kirigami-${KFMIN}:5
- >=kde-frameworks/kquickcharts-${KFMIN}:5
- >=kde-plasma/milou-${PVCUT}:5
- >=kde-plasma/plasma-integration-${PVCUT}:5
- sys-apps/dbus
- x11-apps/xmessage
- x11-apps/xprop
- x11-apps/xrdb
- x11-apps/xsetroot
- !<kde-plasma/breeze-5.22.90:5
- !<kde-plasma/plasma-desktop-5.23.90:5
- policykit? ( sys-apps/accountsservice )
-"
-BDEPEND="
- >=dev-qt/qtwaylandscanner-${QTMIN}:5
- virtual/pkgconfig
-"
-PDEPEND=">=kde-plasma/kde-cli-tools-${PVCUT}:5"
-
-PATCHES=(
- "${FILESDIR}/${PN}-5.24.80-split-libkworkspace.patch" # downstream
- "${FILESDIR}/${PN}-5.22.5-krunner-cwd-at-home.patch" # TODO upstream: KDE-bug 432975, bug 767478
- "${FILESDIR}/${P}-widgetexplorer-recurse-containments.patch" # https://mail.kde.org/pipermail/distributions/2022-September/001287.html
- "${FILESDIR}/${P}-delay-ksplash-until-after-env-setup.patch" # KDE-bug 458865 w/ Qt 5.15.6
- "${FILESDIR}/${P}-fonts-honor-and-present-system-defaults.patch" # KDE-bug 416140
- "${FILESDIR}/${P}-prevent-panel-go-out-of-screen.patch" # git master and Plasma/5.24 branch double revert
- "${FILESDIR}/${P}-fix-setpassword.patch" # Plasma/5.25 branch, KDE-bug 459309
- "${FILESDIR}/${P}-systray-double-destroy.patch" # Plasma/5.24 branch, KDE-bug 420245
- "${FILESDIR}/${P}-geolocation-deadlock.patch" # Plasma/5.24 branch, KDE-bug 449984, KDE-bug 457341
- "${FILESDIR}/${P}-lock-layout.patch" # Plasma/5.24 branch, KDE-bug 413645
- "${FILESDIR}/${P}-relayout.patch" # Plasma/5.24 branch
- "${FILESDIR}/${P}-layout-save.patch" # Plasma/5.24 branch
-)
-
-src_prepare() {
- ecm_src_prepare
-
- cmake_comment_add_subdirectory libkworkspace
- # delete colliding libkworkspace translations
- if [[ ${KDE_BUILD_TYPE} = release ]]; then
- find po -type f -name "*po" -and -name "libkworkspace*" -delete || die
- fi
-
- # TODO: try to get a build switch upstreamed
- if ! use screencast; then
- sed -e "s/^pkg_check_modules.*PipeWire/#&/" -i CMakeLists.txt || die
- fi
-
- # TODO: try to get a build switch upstreamed
- if use geolocation; then
- use gps || sed -e "s/^pkg_check_modules.*LIBGPS/#&/" \
- -i dataengines/geolocation/CMakeLists.txt || die
- fi
-
- if ! use policykit; then
- cmake_run_in kcms cmake_comment_add_subdirectory users
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_xembed-sni-proxy=OFF
- -DCMAKE_DISABLE_FIND_PACKAGE_PackageKitQt5=ON
- $(cmake_use_find_package appstream AppStreamQt)
- $(cmake_use_find_package calendar KF5Holidays)
- $(cmake_use_find_package fontconfig Fontconfig)
- $(cmake_use_find_package geolocation KF5NetworkManagerQt)
- $(cmake_use_find_package semantic-desktop KF5Baloo)
- $(cmake_use_find_package telemetry KUserFeedback)
- )
-
- ecm_src_configure
-}
-
-src_install() {
- ecm_src_install
-
- # default startup and shutdown scripts
- insinto /etc/xdg/plasma-workspace/env
- doins "${FILESDIR}"/10-agent-startup.sh
-
- insinto /etc/xdg/plasma-workspace/shutdown
- doins "${FILESDIR}"/10-agent-shutdown.sh
- fperms +x /etc/xdg/plasma-workspace/shutdown/10-agent-shutdown.sh
-}
-
-pkg_postinst () {
- ecm_pkg_postinst
-
- elog "To enable gpg-agent and/or ssh-agent in Plasma sessions,"
- elog "edit ${EPREFIX}/etc/xdg/plasma-workspace/env/10-agent-startup.sh"
- elog "and ${EPREFIX}/etc/xdg/plasma-workspace/shutdown/10-agent-shutdown.sh"
-}