Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946491 - kde plugin configs missing KPackageStructure - kclock-24.08.3, kweather-24.08.3
Summary: kde plugin configs missing KPackageStructure - kclock-24.08.3, kweather-24.08.3
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-14 23:00 UTC by Binary Runner
Modified: 2024-12-14 23:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Binary Runner 2024-12-14 23:00:52 UTC
I have fresh install and KDE regularly spits following errors:


KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kclock_1x2", fileName: "") does not match requested format "Plasma/Applet"

KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kweather_1x4", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kweather_1x4/metadata.json") does not match requested format "Plasma/Applet"

After I added KPackageStructure to the mentioned metadata files, the errors disappered. The starts of the first 3 lines of the metadata.json files now looks like this:

{
      "KPackageStructure": "Plasma/Applet",
      "KPlugin": {
Comment 1 Andreas Sturmlechner gentoo-dev 2024-12-14 23:25:11 UTC
emerge --info?
KDE is a community. So where exactly do you see those errors? Does that mean something crashes, or is it just warning spam?

This is the origin of the file, for kclock:
https://invent.kde.org/utilities/kclock/-/blob/master/src/plasmoid/KClock_1x2/package/metadata.json?ref_type=heads

If anything, this would be for upstream to fix - you could file a bug on bugs.kde.org, or even better, submit a fix on invent.kde.org after establishing your approach is correct.