git: 27f1b6178458 - 2022Q1 - devel/kf5-kcmutils: add upstream bug fix
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Mar 2022 19:03:36 UTC
The branch 2022Q1 has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=27f1b617845824a7ffe65e2f67a897c7ae66031b commit 27f1b617845824a7ffe65e2f67a897c7ae66031b Author: Tobias C. Berner <tcberner@FreeBSD.org> AuthorDate: 2022-03-18 17:22:18 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2022-03-18 19:00:30 +0000 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 (cherry picked from commit a3d334a7096f43ea8492a952825c6d20fdcf3cae) --- devel/kf5-kcmutils/Makefile | 4 ++++ devel/kf5-kcmutils/distinfo | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 DISTVERSION= ${KDE_FRAMEWORKS_VERSION} +PORTREVISION= 1 CATEGORIES= devel kde kde-frameworks +PATCH_SITES= https://invent.kde.org/frameworks/kcmutils/-/commit/ +PATCHFILES= c9c58de65c07c8a940cb4c9b91777450698f635c.diff:-p1 + MAINTAINER= kde@FreeBSD.org COMMENT= KF5 utilities for working with KCModules diff --git a/devel/kf5-kcmutils/distinfo b/devel/kf5-kcmutils/distinfo index d7d48d7d0b75..299fcc21f3d0 100644 --- a/devel/kf5-kcmutils/distinfo +++ b/devel/kf5-kcmutils/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1638649303 +TIMESTAMP = 1647630011 SHA256 (KDE/frameworks/5.89.0/kcmutils-5.89.0.tar.xz) = 15fe79b0d38bf5af298ede402f9c928ea7a05a5ddcdcf8c28a9e5b9a36ea497d SIZE (KDE/frameworks/5.89.0/kcmutils-5.89.0.tar.xz) = 171720 +SHA256 (KDE/frameworks/5.89.0/c9c58de65c07c8a940cb4c9b91777450698f635c.diff) = 7c85d0054d14cda0974633069826712b6ae82606c4ab8252116a9742d640f249 +SIZE (KDE/frameworks/5.89.0/c9c58de65c07c8a940cb4c9b91777450698f635c.diff) = 1314