<table><tr><td style="">dfaure created this revision.<br />dfaure added reviewers: mart, arichardson, davidedmundson, mpyne.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />dfaure requested review of this revision.
</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/D20748">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>If we parsed the service type from a qrc file (like kpackagetool does)<br />
then it's wrong to later on say we can't find the file defining that<br />
service type.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>make uninstall in kpackage, then<br />
XDG_DATA_DIRS=$KDEDIR/share <builddir>/bin/kpackagetool5 --appstream-metainfo . --appstream-metainfo-output /tmp/a.xml</p>

<p>Used to say: Unable to find service type for service "KPackage/Generic" listed in "./metadata.desktop"<br />
even though it parsed ":/kservicetypes5/kpackage-generic.desktop" before.</p>

<p>For this we need to extract and store the name of the service type we're<br />
parsing (key "X-KDE-ServiceType").</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R244 KCoreAddons</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D20748">https://phabricator.kde.org/D20748</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/lib/plugin/desktopfileparser.cpp<br />
src/lib/plugin/desktopfileparser_p.h</div></div></div><br /><div><strong>To: </strong>dfaure, mart, arichardson, davidedmundson, mpyne<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>