Commit graph

19 commits

Author SHA1 Message Date
Nicolas Fella
12ac086128 [kcm/touchpad] Drop synaptics config
The synaptics touchpad driver has mostly been superseeded by libinput.

For libinput we have a completely different UI.

The KCM currently still supports both, making the code massively complex and
causing a huge maintanance burden.

Given the long-term focus is on Wayland and libinput drop the synaptic integration.

This doesn't prevent anyone from using Plasma X11 with Synaptics, but there will
not be a first-party config UI for it any more

See https://invent.kde.org/plasma/plasma-desktop/-/issues/79
2023-10-02 21:24:09 +00:00
Nicolas Fella
2ae001e714 Use FindUdev from ECM and its imported target 2021-10-29 14:38:27 +00:00
Alexander Lohnau
390d53cd66 SPDX fixes based on review 2021-06-25 10:36:06 +00:00
Alexander Lohnau
e1d89da146 Convert licsense headers to SPDX 2021-06-25 10:36:06 +00:00
Méven Car
0bceb1a4a8 Desktop path settings: translate default paths using xdg-user-dir translations
Reuse xdg-user-dir translation, this makes plasma-desktop depend on xdg-user-dir which is already implicitly the case.

BUG: 427805
FIXED-IN: 5.22
2021-03-18 06:54:36 +00:00
Nicolas Fella
8f2b38aeec Modernize X11-related cmake code
Use imported targets instead of variables
Use PkgConfig directly instead of wrapping calls in a find module
2021-03-08 15:01:54 +01:00
Andreas Sturmlechner
82e7a6b68d Add FindXorgServer.cmake and use it for touchpad KCM
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.

Reviewers: #plasma, zzag

Reviewed By: #plasma, zzag

Subscribers: broulik, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D29514
2020-05-07 21:19:48 +02:00
Kai Uwe Broulik
06c8b9bade [Multimedia KCM] Kill PulseAudio device setup
It is redundant with plasma-pa

Differential Revision: https://phabricator.kde.org/D14340
2018-07-26 17:02:45 +02:00
David Edmundson
744c4e3f18 Remove unused module requirement
Summary:
It was added for when FolderView did some low level GL stuff to fetch an
image for thumbnails, but now this uses higher level API.

Find -name CMakeLists.txt | xargs grep OpenGL returns nothing else

Test Plan:
Grepped for usages
Compiles fine

Reviewers: #plasma, mart

Reviewed By: #plasma, mart

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D9150
2017-12-05 14:08:00 +01:00
Weng Xuetian
ec352304d3 Add xf86-input-libinput support for X11 mouse backend.
Summary:
Added libinput support to X11 backend. It also adds an new option to backend
which is only available to libinput device currently.

Test Plan: Manually tested and inspect with xinput tool.

Reviewers: ngraham, #plasma, jriddell

Reviewed By: ngraham, #plasma, jriddell

Subscribers: subdiff, jriddell, apol, rkflx, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D8798
2017-12-04 14:23:00 -08:00
David Rosca
daa54f5f9e kcm_keyboard: Use udev device notifier when xcb-xinput is not available
XCB-XInput is not available on some distributions, use udev device discovery
there instead to reapply settings when adding new keyboard / mouse.

BUG: 346336
FIXED-IN: 5.5.0
REVIEW: 125465
2015-11-18 22:46:23 +01:00
Hrvoje Senjan
a72115b8ec Merge remote-tracking branch 'origin/Plasma/5.3' 2015-05-23 19:52:07 +02:00
Hrvoje Senjan
0a63e5499a Require xorg-evdev >= 2.8.99.1
It's the first release with EVDEV_PROP_SCROLL_DISTANCE property

CCMAIL: yue.liu@mail.com
2015-05-23 19:49:11 +02:00
Yue Liu
36fa06eac0 Add FindEvdev cmake module
BUG:347749
REVIEW:123808
2015-05-17 09:12:01 -07:00
Yue Liu
ec5bb558ca Add FindEvdev cmake module
BUG:347749
REVIEW:123808
2015-05-17 09:08:45 -07:00
Jonathan Riddell
9eb2dee331 replace reference to licence with the bsd licence as the reference often goes missing 2015-04-23 16:10:00 +02:00
David Edmundson
5d1e821379 Make touchpad KCM optional depending on whether we find synaptics
REVIEW: 122726
2015-02-26 15:15:32 +01:00
Alex Richardson
40c6977bc3 Use a proper CMake find module for libcanberra instead of pkg_check_modules
This fixes the build on e.g. FreeBSD where libcanberra is not in /usr/lib
but /usr/local/lib so that the linker complains that it cannot find
-lcanberra since the CMake variable from pkg_check_modules does not contain
an absolute path.

The CMake module was copied from the KMix repository. If there are any more
users of libcanberra it might make sense to add this to extra-cmake-modules

REVIEW: 121762
2015-01-18 21:56:13 +00:00
Jonathan Riddell
d747071a62 Add FindOpenGLES to fix cmake error if compiling using Qt built with GLES
REVIEW:119227
2014-07-11 12:18:08 +02:00