<table><tr><td style="">mpyne created this revision.<br />mpyne added reviewers: Frameworks, elvisangelaccio, apol, dfaure.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />mpyne 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/D17446">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>As reported in <a href="https://bugs.kde.org/show_bug.cgi?id=401888" class="remarkup-link" target="_blank" rel="noreferrer">bug 401888</a>, the current <tt style="background: #ebebeb; font-size: 13px;">kcoreaddons_add_plugin</tt> CMake macro causes deprecation warnings in extra-cmake-module's <tt style="background: #ebebeb; font-size: 13px;">KDEInstallDirs</tt> since we use an old-style install path variable (<tt style="background: #ebebeb; font-size: 13px;">PLUGIN_INSTALL_DIR</tt>).</p>
<p>This should just be <tt style="background: #ebebeb; font-size: 13px;">KDE_INSTALL_PLUGINDIR</tt> and so that's all my fix is, but since I'm not very familiar with the CMake stuff or the plugin loading code I wanted to get a review on it before I commit.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Built and installed kcoreaddons successfully, and then built and installed kactivitymanagerd (which uses kcoreaddons_add_plugin pervasively) and verified that kactivitymanagerd still builds and installs and that the plugin install dir, including its install namespace, is properly updated.</p>
<p>I also manually forced <tt style="background: #ebebeb; font-size: 13px;">KDE_INSTALL_DIRS_NO_DEPRECATED</tt> to a true value in kactivitymanagerd as recommended in the bug, and still rebuilt/installed without deprecation warnings.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R244 KCoreAddons</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17446">https://phabricator.kde.org/D17446</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>KF5CoreAddonsMacros.cmake</div></div></div><br /><div><strong>To: </strong>mpyne, Frameworks, elvisangelaccio, apol, dfaure<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>