the module for finding the library is simple and kdeui now has to
link to both X11 and XCB libraries but this allows clients that
make use of the KDE window management API to not use Xlib API.
previously one had to set KDESU_USE_SUDO_DEFAULT to build kdesu
with sudo support and no message has been printed to show that it
was/was not found in the features log.
it is bogus with the CMake automoc, requires additional guards in
the source code and some components do not support it at all. Also,
Link Time Optimizations (LTO) seem to be doing exactly what
KDE4_ENABLE_FINAL was supposed to do (basicly) so no point in
trying to support something that modern compilers can already do
for us.
for compatibilty reasons automoc4 support is not removed but it
shall be in the future. automoc4 has not been maintained for a
while (last commit is from 2011) and the stable release is from
2009.
CMake version >= 2.8.6 provides the functionality for mocking so
I see no reason to not make use of it.
This silences the following compile warnings with newer GNU libc:
warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
REVIEW: 121147
since the kdoctools removal meinproc is not available, replace
its usage in the macro for creating manual pages with xsltproc.
have in mind this is not tested and usually (from what I've seen)
xsltproc is executed like this:
xsltproc --path <resources dir> -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl <input> --output <output file>
in case this commit breaks something there will be a follow up but
since none of our components make use of it I will not bother much
for now.