<table><tr><td style="">kossebau created this revision.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />kossebau 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/D23802">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Allows</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">projects linking to KService to hide deprecated API up to a given version or silence deprecation warnings before a given version, using<ul class="remarkup-list">
<li class="remarkup-list-item">-DKSERVICE_DISABLE_DEPRECATED_BEFORE_AND_AT</li>
<li class="remarkup-list-item">-DKSERVICE_DEPRECATED_WARNINGS_SINCE</li>
<li class="remarkup-list-item">-DKSERVICE_NO_DEPRECATED_WARNINGS</li>
<li class="remarkup-list-item">-DKSERVICE_NO_DEPRECATED or</li>
<li class="remarkup-list-item">-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT</li>
<li class="remarkup-list-item">-DKF_DEPRECATED_WARNINGS_SINCE</li>
<li class="remarkup-list-item">-DKF_NO_DEPRECATED_WARNINGS</li>
<li class="remarkup-list-item">-DKF_NO_DEPRECATED</li>
</ul></li>
<li class="remarkup-list-item">to build KService optionally with deprecated API excluded from the build, using "EXCLUDE_DEPRECATED_BEFORE_AND_AT" cmake argument.</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><p>Builds with EXCLUDE_DEPRECATED_BEFORE_AND_AT set to 0, 5.0.0, CURRENT and<br />
all the versions where deprecations were done.</p>
<p>Builds with EXCLUDE_DEPRECATED_BEFORE_AND_AT set to 0, 5.0.0, CURRENT and<br />
all the versions where deprecations were done.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R309 KService</div></div></div><br /><div><strong>BRANCH</strong><div><div>useECMGenerateExportHeader</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D23802">https://phabricator.kde.org/D23802</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
autotests/kplugininfotest.cpp<br />
autotests/kservicetest.cpp<br />
autotests/kservicetest.h<br />
src/CMakeLists.txt<br />
src/kdeinit/ktoolinvocation.cpp<br />
src/kdeinit/ktoolinvocation.h<br />
src/plugin/kdbusservicestarter.cpp<br />
src/plugin/kdbusservicestarter.h<br />
src/services/kplugininfo.cpp<br />
src/services/kplugininfo.h<br />
src/services/kservice.h<br />
src/sycoca/ksycoca.cpp<br />
src/sycoca/ksycoca.h<br />
tests/CMakeLists.txt</div></div></div><br /><div><strong>To: </strong>kossebau<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns<br /></div>