<table><tr><td style="">broulik updated this revision to Diff 38512.<br />broulik retitled this revision from "Port audio notification to libcanberra" to "Support libcanberra for audio notification".<br />broulik edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-gdcdglst34um3yc/">(Show Details)</a><br />broulik added a comment.
</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/D14397">View Revision</a></tr></table><br /><div><div><ul class="remarkup-list">
<li class="remarkup-list-item">Keep Phonon as fallback when libcanberra isn't provided</li>
</ul></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>`findCanberra` can probably move to ECM? Plasma-pa now has it, plasma-desktop used to have it, now we have it here, too.<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
<br />
Verified that without canberra it uses the Phonon one. Is there a CMake way to say "one of those two is required"? Right now you could build KNotifications without any sound support which wasn't possible before, despite the `#ifdef`s everywhere</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R289 KNotifications</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D14397?vs=38484&id=38512">https://phabricator.kde.org/D14397?vs=38484&id=38512</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14397">https://phabricator.kde.org/D14397</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
cmake/modules/FindCanberra.cmake<br />
src/CMakeLists.txt<br />
src/knotificationmanager.cpp<br />
src/notifybyaudio.cpp<br />
src/notifybyaudio.h<br />
src/notifybyaudio_canberra.cpp<br />
src/notifybyaudio_canberra.h<br />
src/notifybyaudio_phonon.cpp<br />
src/notifybyaudio_phonon.h</div></div></div><br /><div><strong>To: </strong>broulik, Frameworks, dfaure, davidedmundson, sitter, drosca, kfunk, rjvbb<br /><strong>Cc: </strong>ngraham, nicolasfella, kde-frameworks-devel, michaelh, bruns<br /></div>