D29514: Add FindXorgServer.cmake and use it for touchpad KCM

Andreas Sturmlechner noreply at phabricator.kde.org
Thu May 7 19:25:44 BST 2020


asturmlechner created this revision.
asturmlechner added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
asturmlechner requested review of this revision.

REVISION SUMMARY
  x11 backend of the touchpad KCM uses xserver-properties.h that is part of
  xorg-server package. As XORG_INCLUDE_DIRS seems to be empty, so far, it was
  relying on Synaptics_INCLUDE_DIRS implicitly and worked only if the header
  happened to be in the same directory as Synaptics' which is the case most of
  the time.
  
  FindXorgServer.cmake is just a copy of FindXorgLibinput, adapted accordingly.

TEST PLAN
  Pointed Synaptics_INCLUDE_DIRS somewhere else than /usr/include/xorg and build
  succeeded.

REPOSITORY
  R119 Plasma Desktop

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29514

AFFECTED FILES
  CMakeLists.txt
  cmake/modules/FindXorgServer.cmake
  kcms/CMakeLists.txt
  kcms/touchpad/backends/x11.cmake

To: asturmlechner, #plasma
Cc: broulik, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200507/e5ad31f8/attachment.htm>


More information about the Plasma-devel mailing list