<table><tr><td style="">marten created this revision.<br />marten added a reviewer: Breeze.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />marten 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/D28755">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>In the situation, for example, where a master source tree may be shared among a number of build systems via NFS (each build system needs its own writeable build directory, of course). However, building the Breeze icons needs write access to the source tree for the SVG validation check, which is run in CMAKE_CURRENT_SOURCE_DIR:</p>
<p>[100%] Validating SVG<br />
breezeicons/validate_svg.sh: line 3: xmlerrors: Read-only file system<br />
rm: cannot remove 'xmlerrors': No such file or directory<br />
make[2]: <strong>* [CMakeFiles/breeze-validate-svg.dir/build.make:58: CMakeFiles/breeze-validate-svg] Error 1<br />
make[1]: </strong>* [CMakeFiles/Makefile2:231: CMakeFiles/breeze-validate-svg.dir/all] Error 2<br />
make: *** [Makefile:130: all] Error 2</p>
<p>This change writes the temporary XML error file to CMAKE_CURRENT_BINARY_DIR, which can be relied on to be writeable.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Build Breeze Icons with this change, observed that the SVG validation check completes with no 'read-only file system' errors.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R266 Breeze Icons</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28755">https://phabricator.kde.org/D28755</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt<br />
validate_svg.sh</div></div></div><br /><div><strong>To: </strong>marten, Breeze<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns<br /></div>