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:22:27 UTC 2015


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

(Updated Nov. 10, 2015, 2:22 p.m.)


Review request for Plasma.


Changes
-------

review board is doing something really weird, seeing changes where there aren't meant to be any, then unseeing them?


Repository: plasma-desktop


Description (updated)
-------

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/2fd1d34e/attachment.html>


More information about the Plasma-devel mailing list