<table><tr><td style="">mart created this revision.<br />mart added a reviewer: Plasma.<br />Restricted Application added a project: KWin.<br />Restricted Application added subscribers: KWin, kwin, plasma-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D4202" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>as the plasmapkg2 utility is dead, scripts and tabboxes couldn't<br />
be installed anymore, as plasmapkg2 was launched with an hardcoded<br />
package type (and had a bunch of custom code for it)<br />
and no packagestructure for the relevant package types existed.</p>
<p>the port of scripts and tabboxes to kpackage in kwin is quite<br />
incomplete and somewhat strange (given the fact that was started by<br />
looking manually for the file as it couldn't link to libplasma)</p>
<p>this makes things a bit better as now scripts and tabboxes have an actual<br />
package structure, making it installable by kpackagetool5.<br />
in the future, the port should be completed and replace all the manual lookup<br />
of files with package::filePath as it should work now given that valid<br />
structures exist</p>
<p>BUG:374766</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>tabbox plugins and kwin scripts can be installed from knewstuff<br />
again and can be successfully loaded</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>BRANCH</strong><div><div>phab/packageplugins</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4202" rel="noreferrer">https://phabricator.kde.org/D4202</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
kcmkwin/kwintabbox/main.cpp<br />
packageplugins/CMakeLists.txt<br />
packageplugins/scripts/CMakeLists.txt<br />
packageplugins/scripts/kwin-packagestructure-scripts.desktop<br />
packageplugins/scripts/scripts.cpp<br />
packageplugins/scripts/scripts.h<br />
packageplugins/windowswitcher/CMakeLists.txt<br />
packageplugins/windowswitcher/kwin-packagestructure-windowswitcher.desktop<br />
packageplugins/windowswitcher/windowswitcher.cpp<br />
packageplugins/windowswitcher/windowswitcher.h</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>mart, Plasma<br /><strong>Cc: </strong>plasma-devel, kwin, KWin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas<br /></div>