Review Request 126014: fix: kcms/input and kcms/touchpad should not be built if XInput is not present.

Johan Ouwerkerk jm.ouwerkerk at gmail.com
Tue Nov 10 14:19:44 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126014/
-----------------------------------------------------------

Review request for Plasma.


Repository: plasma-desktop


Description
-------

Previously the presence of evdev headers would enable the kcms/input KCM module, and the presence of synaptics driver headers would enable the touchpad module.
However, both kcms unconditionally depend on XInput in some way in a (sub) CMakelists.txt file and deliberately break the build if it is not present or not properly detected.

As per the convention in the kcm modules shipped by plasma-desktop, inclusion of the kcms/input and kcms/touchpad subdirectory is made conditional on XInput being present and properly detected during the cmake configure stage.

This patch can be pulled from the fix-cmake-xinput-dep branch at: git at github.com:cmacq2/plasma-desktop.git


Diffs
-----

  kcms/CMakeLists.txt 321fbebba49dad32d237f3941dea9fedaf1a8e5a 

Diff: https://git.reviewboard.kde.org/r/126014/diff/


Testing
-------

Built without XInput development files, using kdesrc-build.


Thanks,

Johan Ouwerkerk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20151110/946d34b2/attachment.html>


More information about the Plasma-devel mailing list