diff options
authorTobias C. Berner <tcberner@FreeBSD.org>2022-03-18 17:22:18 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2022-03-18 18:06:55 +0000
commita3d334a7096f43ea8492a952825c6d20fdcf3cae (patch)
parent12d5808d717879636b73d4123f698ffcbeff09c5 (diff)
devel/kf5-kcmutils: add upstream bug fix
From [1] Fix KPluginSelector KCMs missing their metadata on plugin loading For the KWin KCMs we need the full metadata, because we read the plugin keyword. Without the X-KDE-ConfigModule key, plugins used to create a symlink in the kservices5 folder to their metadata, which then goes through the legacy code path we would read all the metadata. This includes the plugin keyword. When consumers would this key, but have an old KWin version which used the KPluginSelector class and a kcmutils version which reads X-KDE-ConfigModule, but does not include this bugfix, the plugin keyword will be empty and thus the config files can not be located. This makes it hard to fix the loading on kcmutils < 5.91, but keeping the code working with KWin < 5.24. Note: ports in main are not affected by this issue, as only plasma 5.23.x in conjunction with KDE Frameworks >= 5.88 is affected. Which is what the quarterly tree is currently shipping. [1] https://invent.kde.org/frameworks/kcmutils/commit/c9c58de65c07c8a940cb4c9b91777450698f635c Upstream PR: https://bugs.kde.org/show_bug.cgi?id=444378
2 files changed, 7 insertions, 1 deletions
diff --git a/devel/kf5-kcmutils/Makefile b/devel/kf5-kcmutils/Makefile
index 083f94959e25..801cf244dadd 100644
--- a/devel/kf5-kcmutils/Makefile
+++ b/devel/kf5-kcmutils/Makefile
@@ -1,7 +1,11 @@
PORTNAME= kcmutils
CATEGORIES= devel kde kde-frameworks
+PATCH_SITES= https://invent.kde.org/frameworks/kcmutils/-/commit/
+PATCHFILES= c9c58de65c07c8a940cb4c9b91777450698f635c.diff:-p1
COMMENT= KF5 utilities for working with KCModules
diff --git a/devel/kf5-kcmutils/distinfo b/devel/kf5-kcmutils/distinfo
index d0ac7b69c424..4404456b0d2f 100644
--- a/devel/kf5-kcmutils/distinfo
+++ b/devel/kf5-kcmutils/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1644208948
+TIMESTAMP = 1647623899
SHA256 (KDE/frameworks/5.91.0/kcmutils-5.91.0.tar.xz) = 1a195d83a092c493f10f372e245107277c275a418563cbc443a884ef4e4e3901
SIZE (KDE/frameworks/5.91.0/kcmutils-5.91.0.tar.xz) = 171980
+SHA256 (KDE/frameworks/5.91.0/c9c58de65c07c8a940cb4c9b91777450698f635c.diff) = 7c85d0054d14cda0974633069826712b6ae82606c4ab8252116a9742d640f249
+SIZE (KDE/frameworks/5.91.0/c9c58de65c07c8a940cb4c9b91777450698f635c.diff) = 1314