<table><tr><td style="">broulik created this revision.<br />broulik added reviewers: Frameworks, davidedmundson, kossebau, kfunk, habacker.<br />Herald added projects: Frameworks, Build System.<br />Herald added subscribers: kde-buildsystem, kde-frameworks-devel.<br />broulik 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/D29051">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>It serves as a replacement for <tt style="background: #ebebeb; font-size: 13px;">kdbusaddons_generate_dbus_service_file</tt>.</p>
<p>An application can be a DBus-activated service just fine without using KDBusAddons.<br />
Moreover, this new module uses named arguments for future-proofing, and adds support for specifying a <tt style="background: #ebebeb; font-size: 13px;">SystemdService</tt>.<br />
It also cleans up the confusion on what the "path" is about: Rather than requiring to specify executable and path separately, we just extract the executable file name on Windows, if necessary.</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Was able to generate a kded service file</li>
<li class="remarkup-list-item">Was able to generate a kded service file with <tt style="background: #ebebeb; font-size: 13px;">SystemdUnit</tt></li>
<li class="remarkup-list-item">Verified that it moaned when executable wasn't an absolute path</li>
<li class="remarkup-list-item">Untested on Windwos</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R240 Extra CMake Modules</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D29051">https://phabricator.kde.org/D29051</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>modules/ECMGenerateDBusServiceFile.cmake</div></div></div><br /><div><strong>To: </strong>broulik, Frameworks, davidedmundson, kossebau, kfunk, habacker<br /><strong>Cc: </strong>kde-frameworks-devel, kde-buildsystem, LeGast00n, cblack, bencreasy, michaelh, ngraham, bruns<br /></div>