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

Andreas Sturmlechner noreply at phabricator.kde.org
Thu May 7 21:17:12 BST 2020


asturmlechner added a comment.


  In D29514#665912 <https://phabricator.kde.org/D29514#665912>, @ngraham wrote:
  
  > In D29514#665911 <https://phabricator.kde.org/D29514#665911>, @asturmlechner wrote:
  >
  > > In D29514#665869 <https://phabricator.kde.org/D29514#665869>, @ngraham wrote:
  > >
  > > > Hmm, on my system, the file is located at `/usr/src/xserver/include/xserver-properties.h`, and this doesn't seen to find it:
  > >
  > >
  > > Where is synaptics-properties.h located on your system, if you even have been building touchpad kcm so far?
  >
  >
  > It's in `/usr/include/xorg`.
  >
  > I must confess I've never actually been able to build it, so I appreciate your efforts here to fix that.
  
  
  In that case yes it must have failed so far during build, now cmake will warn you already. It is now the same as with Evdev, Libinput and Synaptics, if you don't have them in system paths you would have to somehow feed the alternative paths to cmake.
  
  In D29514#665912 <https://phabricator.kde.org/D29514#665912>, @ngraham wrote:
  
  > What I'd really like is the ability to build just the libinput one if I don't have the synaptics dev stuff installed.
  
  
  Me too, unfortunately that will take a bit more work untangling the bits. In our source package I use this patch which enables me to bundle only the four headers and get rid of them as build dependencies, then point cmake to the bundle dir: https://gitweb.gentoo.org/repo/gentoo.git/tree/kde-plasma/plasma-desktop/files/plasma-desktop-5.18.5-override-include-dirs.patch

REPOSITORY
  R119 Plasma Desktop

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

To: asturmlechner, #plasma, zzag
Cc: ngraham, broulik, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, 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/69e2a415/attachment.htm>


More information about the Plasma-devel mailing list