Sync from SUSE:SLFO:Main xf86-input-libinput revision 320a9023dedb53d89ed181ed56dd9a75

This commit is contained in:
Adrian Schröter 2024-05-04 02:05:09 +02:00
commit f5be7a9add
7 changed files with 710 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

14
n_enable-tapping.patch Normal file
View File

@ -0,0 +1,14 @@
Author: Stefan Dirsch
Subject: Enable tapping by default on touchpads
Signed-off-by: Stefan Dirsch
diff -u -r xf86-input-libinput-0.15.0.orig/conf/40-libinput.conf xf86-input-libinput-0.15.0/conf/40-libinput.conf
--- xf86-input-libinput-0.15.0.orig/conf/40-libinput.conf 2015-12-15 14:34:18.100266000 +0100
+++ xf86-input-libinput-0.15.0/conf/40-libinput.conf 2015-12-15 14:34:42.522281000 +0100
@@ -18,6 +19,7 @@
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
+ Option "Tapping" "On"
EndSection
Section "InputClass"

BIN
xf86-input-libinput-1.4.0.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

511
xf86-input-libinput.changes Normal file
View File

@ -0,0 +1,511 @@
-------------------------------------------------------------------
Fri Aug 25 16:29:15 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 1.4.0:
* Tablets now have BTN_STYLUS3 mapped to X button 8 (i.e. the
first usable one after the LMR buttons).
* Tablet now have the left-handed property available so we can
actually change them to left-handed.
-------------------------------------------------------------------
Tue Apr 4 12:15:12 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.3.0
The main feature in this version is support for the new 'custom' pointer
acceleration profile in libinput 1.23.0. This acceleration profile is
quite flexible, so it is exposed via several properties:
- "libinput Accel Custom Fallback Points" and "libinput Accel Custom Fallback Step"
- "libinput Accel Custom Motion Points" and "libinput Accel Custom Motion Step"
- "libinput Accel Custom Scroll Points" and "libinput Accel Custom Scroll Points"
For details on what these mean, please see the man page and the
libinput documentation:
https://wayland.freedesktop.org/libinput/doc/latest/pointer-acceleration.html
In addition, the "libinput Accel Profiles Available" and
"libinput Accel Profile Enabled" properties have been expanded to 3 values. For
backwards compatibility, the "libinput Accel Profile Enabled" continues
to support setting 2 values only.
-------------------------------------------------------------------
Tue Jan 25 12:58:08 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Enable tarball sig url too, verify tarball via keyring.
-------------------------------------------------------------------
Mon Jan 24 10:25:04 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.2.1
* few typos and misc minor fixes
* property added to turn off new high-resolution wheel scrolling
API
-------------------------------------------------------------------
Fri Nov 19 16:00:25 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- enable build on s390x (JIRA#SLE-18632)
-------------------------------------------------------------------
Fri Oct 8 11:58:43 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- reverted previous change; the issue was broken ckb-next, not
the usage of libinput v120 API (boo#1190646)
-------------------------------------------------------------------
Tue Oct 5 11:17:29 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- switch to libinput v120 API broke the driver, so disable it for
now via patching config.h in specfile after running configure
(boo#1190646)
-------------------------------------------------------------------
Mon Sep 20 08:47:19 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.2.0
* This release introduces support for touchpad gestures that will
be available as part of X server 21.1. Additionally high-resolution
scrolling data is now acquired from libinput if available and sent
downstream to X server. The default scroll distance has been bumped
to 120 in the process, but this should not affect correctly written
clients.
-------------------------------------------------------------------
Wed Jun 23 23:09:49 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.1.0
* This release adds a new driver-specific option:
ScrollPixelDistance. This option converts movement "pixels"
from libinput into the server's "scroll unit" definition and
can thus help speeding up or slowing down two-finger/edge scrolling.
-------------------------------------------------------------------
Fri Apr 16 13:15:02 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.0.1
* Only one fix, the code to set the tap button mapping property
didn't correctly check for a valid device, causing memory
corruption and a crash if called after a device was disabled.
Or, in more user-friendly terms: if your X session crashed
after calling `xinput disable $touchpad-device`, this release
has the fix for it.
-------------------------------------------------------------------
Tue Apr 6 08:29:47 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 1.0.0
* The biggest change here is the license change to MIT. Due to an unfortunate
copy/paste error, the actual license text used was the Historical Permission
Notice and Disclaimer license. With the ack of the various contributors, the
driver is now using the MIT license text as intended. The actual impact is
low, the HPND is virtually identical to the MIT license anyway (ianal,
consult your legal dept if you have one).
* The only other notable change: cancelled touch points are now lifted
correctly. Where libinput cancels a touch, e.g. in response to a palm being
detected, the touch point previously got stuck in the down state. This is
fixed now.
-------------------------------------------------------------------
Fri Mar 12 22:08:14 UTC 2021 - Dirk Müller <dmueller@suse.com>
- refresh spec file (move licenses to licensedir)
-------------------------------------------------------------------
Tue May 19 10:36:33 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 0.30.0
* Only one noticeable change: the scroll button lock
configuration option available in recent libinput versions
is now exposed as the usual set of properties by this driver.
-------------------------------------------------------------------
Tue Aug 20 13:03:34 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>
- Update to version 0.29.0
* Only one real fix: we now check for the tool type as well as
the serial when we create subdevices for tablet tools.
Previously there were some cases where the eraser device
wasn't created correctly.
-------------------------------------------------------------------
Tue Jul 30 12:05:30 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>
- move xorg.conf.d snippet from /etc/X11/xorg.conf.d to
/usr/share/X11/xorg.conf.d (boo#1139692)
-------------------------------------------------------------------
Mon Feb 4 17:43:06 UTC 2019 - sndirsch@suse.com
- Update to version 0.28.2
* This release contains a bugfix that will likely trigger in future releases
of libinput. The driver assumed wrongly that any wheel event has a nonzero
discrete event and used the discrete as a divisor. Which is obviously a bad
idea, mathematically speaking, because you never know what the future will
bring. Hint: it will bring wheel events with a discrete of zero.
-------------------------------------------------------------------
Mon Oct 15 12:44:36 UTC 2018 - sndirsch@suse.com
- Update to version 0.28.1
* Only two commits, only one that really matters: previously the
driver used the per-device slot number to fetch the tracking IDs
from a driver-internal array. Because devices re-use slots, this
could cause a tracking ID mismatch when two touchscreens had the
finger down at the same time. This is now fixed by switching to
libinput's seat-wide slot number instead.
-------------------------------------------------------------------
Wed Jul 11 10:38:50 UTC 2018 - sndirsch@suse.com
- Update to version 0.28.0
* This version adds a feature to expose the touch count for touch
devices through the X device. It makes it possible for clients
to adjust their UI based on the number of supported touches by
this device.
* Also, the draglock code had a bug and would call memset with
an invalid size, causing memory corruption. You're advised to
update, especially if you expect someone to use the draglock
options.
-------------------------------------------------------------------
Thu Apr 12 09:44:31 UTC 2018 - sndirsch@suse.com
- Update to version 0.27.1
* Just one bugfix, a regression introduced by the new property
handling in 0.27.0 caused the property to toggle left-handed
to not be initialized on all devices that required it.
- supersedes U_Fix-left-handed-property.patch
-------------------------------------------------------------------
Thu Apr 5 18:21:40 UTC 2018 - bjorn.lie@gmail.com
- Add U_Fix-left-handed-property.patch: Fix "left handed" property
not set on all pointers (fdo#105667).
-------------------------------------------------------------------
Wed Apr 4 12:33:43 UTC 2018 - sndirsch@suse.com
- Update to version 0.27
* The libinput driver splits libinput devices into multiple X
devices (e.g. a mouse and a keyboard device) and then routes
the events accordingly. In the case where there is a user-
specific on one device, a VT switch or suspend/resume cycle
sometimes overwrote the configuration with the devices
in-order, resulting in the loss of that configuration. e.g.
if the keyboard device resumes after the mouse device, the
natural scroll setting may get overwritten with the default.
This is fixed now.
And a note to the man page, we don't support specifying
devices as /dev/input/by-id or /dev/input/by-path. It's not
worth the effort, so at least point this out in the man page.
-------------------------------------------------------------------
Tue Sep 19 08:30:26 UTC 2017 - sndirsch@suse.com
- Update to version 0.26
* A few patches that have been sitting on master for a while, of
which two are documentation patches. The most interesting patch
is for tablets: previously we didn't send a separate motion
event before the button event which caused some clients to
trigger the button event on the previous stylus position.
- obsoletes U_Only-initialize-properties.patch
-------------------------------------------------------------------
Fri Sep 1 22:32:19 UTC 2017 - zaitor@opensuse.org
- Add U_Only-initialize-properties.patch: Only initialize
properties that match capabilities on a subdevice (fdo#100900).
-------------------------------------------------------------------
Fri May 19 08:00:25 UTC 2017 - sndirsch@suse.com
- Leap 42.3 merge
* boo#1039812
-------------------------------------------------------------------
Fri May 5 10:01:51 UTC 2017 - sndirsch@suse.com
- Update to version 0.25.1
* Just one patch that's been sitting on master for a while now -
after a proximity event we immediately post a motion event.
This avoids the lines between the last known point before
proximity out and the new point.
-------------------------------------------------------------------
Thu Mar 9 10:38:01 UTC 2017 - sndirsch@suse.com
- Update to version 0.25.0
* fixing two bugs with tablet pad modes on kernel 4.9 and later.
First, we never successfully opened the sysfs files representing
the LEDs, so they didn't update as the kernel would change them.
Second, had we opened them correctly we would've likely crashed
as the property update would have been sent from within the
input thread. Both issues are fixed now, together with a fix
for a test case failure for ppc64/aarch64.
-------------------------------------------------------------------
Mon Feb 20 21:37:53 UTC 2017 - zaitor@opensuse.org
- Update to version 0.24.0:
+ Tablets now support a configurable pressure curve.
+ Tablets now have a 'area ratio' setting to be able to match the
tablet aspect ratio with that of the screen.
+ The mouse wheel's click angle now (correctly) affects how fast
the scroll wheel triggers. In particular, if you have a wheel
with a very small click angle, it won't trigger for every click
anymore.
-------------------------------------------------------------------
Mon Dec 12 13:36:44 UTC 2016 - tobias.johannes.klausmann@mni.thm.de
- Update to version 0.23.0:
A couple of cleanups, no big features added. Most of this was in
the property handling code. The most visible fix is that we now
handle addition of initially disabled devices correctly, i.e.
when a device is plugged in while the server is VT-switched
away. In the non-logind case this previously caused a segfault.
Our tablet support is good enough that we now match against
tablets too. The xorg.conf.d sort order means that if you have
the wacom driver installed, that driver will take over.
Otherwise, libinput will handle tablets.
-------------------------------------------------------------------
Fri Oct 21 17:20:45 UTC 2016 - zaitor@opensuse.org
- Update to version 0.22.0:
+ Fix the new tap button map option handling.
+ When the first device was removed (and subsequently freed by
the server) the input thread would continue to call that
device's read_input() func, eventually causing a crash.
- Drop
U_xf86-input-libinput-Fix_tap_button_map_option_handling.patch:
Fixed upstream.
-------------------------------------------------------------------
Sat Oct 15 10:22:21 UTC 2016 - zaitor@opensuse.org
- Add upstream patch to fix touchpad when lmr option is used:
U_xf86-input-libinput-Fix_tap_button_map_option_handling.patch.
Fixes fdo#97989.
-------------------------------------------------------------------
Fri Sep 30 11:11:02 UTC 2016 - zaitor@opensuse.org
- Update to version 0.20.0:
+ Most important fix is the use of input_lock() instead of the
old SIGIO stuff to handle the input thread in server 1.19.
+ This version now supports tablet pads and exposes properties
for changing the tap button mapping and the rotation.
- Rebase n_enable-tapping.patch.
- Pass --with-xorg-conf-dir to configure and modify spec following
upstream changes.
-------------------------------------------------------------------
Tue Sep 20 08:31:52 UTC 2016 - sndirsch@suse.com
- install the driver by default; added "Supplements: xorg-x11-server"
for this (bnc#999098)
-------------------------------------------------------------------
Thu Sep 15 20:53:14 UTC 2016 - zaitor@opensuse.org
- Update to version 0.19.1:
+ One of the property names had a clear typo in it, "Horizonal"
instead of "Horizontal". This update corrects this property
name.
+ A second patch was snuck in to avoid bug messages when
submitting button numbers beyond what we can handle in the
protocol.
-------------------------------------------------------------------
Thu Apr 28 13:46:21 UTC 2016 - sndirsch@suse.com
- Update to version 0.19.0
One significant change that affects packagers: the config snippet has been
renamed from 90-libinput.conf to 60-libinput.conf.
This should not show any immediate effects on most user's machines but there
is a slight potential of user configurations to change if their custom
snippets now sort after libinput instead of before.
This change is part of the two-step solution to fix the handling of wacom
tablets when the libinput driver is present. Previously, the libinput driver
would overwrite any driver assigned to any supported devices. While it does
not yet bind to tablet devices by default, some tablets also look like
a keyboard, causing those devices to stop working. For those devices, the
wacom driver is the better option.
Since the X server is lacking an option to conditionally bind InputClass
snippets based on current values (git master has a NoMatch* option), the
safe alternative is to bump the libinput priority down and, at the same
time, bump the wacom driver's priority up.
For the cases where the wacom driver should not handle any device, simply
uninstalling it is sufficient.
- refreshed n_enable-tapping.patch
-------------------------------------------------------------------
Thu Apr 7 15:29:09 UTC 2016 - sndirsch@suse.com
- Update to version 0.18.0:
This release adds support for tablet tool devices. Now, this support should
be taken with a grain of salt, it works differently to the xf86-input-wacom
driver and thus some capability differences can be observed:
First, pad support is still missing, i.e. you cannot use the buttons on the
tablet bit itself.
There are no specific configuration options just yet, and the way we are
aiming for libinput support, many of the options you are used to may not
exist ever.
The most important part: tool support is handled dynamically. As a tool is
first brought into proximity, a new X device is created for that tool only
(no multiplexing of tools through the same X device). Clients may expect a
static list of tools, so for those you will need to bring the tool into
proximity before starting the client.
In short, do not use this driver for tablets on production workstations yet.
-------------------------------------------------------------------
Fri Feb 26 17:35:44 UTC 2016 - zaitor@opensuse.org
- Update to version 0.17.0:
+ Fix compiler warnings about missing tablet event cases.
+ Add property/option for enabling/disabling tap-n-drag.
+ Fix default tapping drag lock property value.
+ Allow hotplugging a device immediately.
+ Change creating subdevices to something more generic.
-------------------------------------------------------------------
Thu Dec 24 12:47:56 UTC 2015 - tobias.johannes.klausmann@mni.thm.de
- Update to version 0.16.0:
This release fixes a long-standing issue with mixed devices that expose a
pointer and a keyboard interface at the same time. X requires a strict
separation between pointers and keyboards, these devices were usually
initialized as pointers and exhibited some keyboard functionality issues
(e.g. XKB layouts didn't get applied correctly). With this release, the xorg
libinput driver splits such devices into multiple X devices, one for the
keyboard and one for the pointer, routing the events as necessary and thus
fixing those issues.
- Changes to package:
+ Remove patch U_xf86_input_libinput_mem_leak_fix.patch: included in this
release.
-------------------------------------------------------------------
Tue Dec 15 18:34:38 UTC 2015 - zaitor@opensuse.org
- Add U_xf86_input_libinput_mem_leak_fix.patch: Plug two memory
leaks, patch from upstream git.
- Correct minimum version of BuildRequires pkgconfig(libinput).
-------------------------------------------------------------------
Wed Oct 28 13:28:42 UTC 2015 - sndirsch@suse.com
- Update to version 0.15.0:
This release adds new properties to select the pointer acceleration profile.
See the libinput documentation for more details
http://wayland.freedesktop.org/libinput/doc/latest/pointer-acceleration.html
Note that this driver now installs a xorg.conf.d snippet in the usual
locations. This snippet will assign libinput to mouse, touchpad, keyboard
and touch devices but will skip tablets and joysticks (we don't support
thoss in libinput yet). The filename of the snippet means it will sort after
evdev and synaptics and thus override either driver.
- n_enable-tapping.patch
* enables tapping for touchpads in upstream xorg.conf.d snippet
- removed superseded xorg.conf.d snippet
-------------------------------------------------------------------
Sun Sep 27 10:35:03 UTC 2015 - mpluskal@suse.com
- Add gpg signature
-------------------------------------------------------------------
Mon Aug 31 21:30:30 UTC 2015 - zaitor@opensuse.org
- Update to version 0.14.0:
+ Rename a local variable to not shadow the BSD strmode(3)
function.
+ Remove unneeded header, epoll(7) interface is not directly
used.
+ Rename main source file to x86libinput.c.
+ gitignore: add patterns for automake test suite and misc other
bits.
+ Add drag lock support.
+ Add an option to disable horizontal scrolling.
+ Revamp server fd opening.
+ Use xf86OpenSerial instead of a direct open() call.
+ Fix typo in libinput.man.
-------------------------------------------------------------------
Tue Aug 4 16:51:08 UTC 2015 - zaitor@opensuse.org
- Update to version 0.13.0:
+ Fix compiler warnings about touchpad gestures.
+ man: minor man page improvements.
+ Add a property for Disable While Typing.
-------------------------------------------------------------------
Sat Jul 25 08:05:49 UTC 2015 - zaitor@opensuse.org
- Update to version 0.12.0:
+ Support buttons > BTN_BACK on mice.
+ Add a property for tap drag lock.
- Drop autoconf, automake and libtool BuildRequires, also stop
running autoreconf before configure. They were needed in the past
but we do not carry any patches anymore.
- Remove emtpy post/postun sections.
-------------------------------------------------------------------
Sun Jun 7 17:05:39 UTC 2015 - zaitor@opensuse.org
- Update to version 0.11.0:
+ Only init abs axes if we don't have acceleration.
+ Use the new unaccelerated valuator ValuatorMask features.
+ Fix missing scroll methods default/scroll button property.
-------------------------------------------------------------------
Sat May 23 00:39:18 UTC 2015 - zaitor@opensuse.org
- Update to version 0.10.0:
+ Group scroll distances into a struct.
+ Add option "ButtonMapping" (fdo#90206).
+ man: add two linebreaks to make things easier to visually
parse.
+ Move the option parsing into helper functions.
+ Add a property for middle button emulation.
-------------------------------------------------------------------
Fri Apr 24 15:20:02 UTC 2015 - sndirsch@suse.com
- xf86-input-libinput 0.9.0
* A couple of cosmetic changes but one addition of a new set of
properties: properties named "libinput something Default" show
the libinput default for a device. For example:
libinput Click Methods Available (284): 1, 1
libinput Click Method Enabled (285): 0, 1
libinput Click Method Enabled Default (286): 1, 0
This device has software buttons and clickfingers available,
clickfingers is currently enabled, software buttons is the
default for this device.
-------------------------------------------------------------------
Wed Apr 22 16:02:59 UTC 2015 - sndirsch@suse.com
- no longer install driver package by default, i.e. commented out
"Supplements: xorg-x11-server" in specfile
- 90-libinput.conf: enable tapping on touchpads by default
(http://lists.opensuse.org/opensuse-factory/2015-04/msg00233.html)
-------------------------------------------------------------------
Tue Apr 14 01:22:03 UTC 2015 - hrvoje.senjan@gmail.com
- Install license in main package
- Install 90-libinput.conf config file (boo#926942)
-------------------------------------------------------------------
Fri Mar 20 20:40:41 UTC 2015 - tobias.johannes.klausmann@mni.thm.de
- New package xf86-input-libinput with initial version 0.8.0:
xf86-input-libinput is a libinput-based X.Org driver. The actual driver bit
is quite limited, most of the work is done by libinput, the driver itself
passes on the events (and wrangles them a bit where needed).

View File

@ -0,0 +1,80 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQGiBD8b0wYRBACph9kRJmP+4+JGsCgFlFoy4vFO0DCG+jmkQN0n1wdInt/N/UtA
sZToO72AUmfmYizA+IEbzBrx0UnUo3w3BDmHxUWf/akZiPUz9AA/YFY4xC3MY2OK
VN2Jz6YSce4zJ5jd2ZRobHm4HuIf/8yqSCcsv7FNfrLaTNIFRs5gYYsqZwCgwmkp
RSLRc8WAnHrTWNQDaEFM2rUEAKTjrTjMN8+KGd0BxNX7HiTSqQP++nXNwAYs1oWB
Yt82YHj9SvRCqCzD1pzJQivYnlNoWDza1VeMnfdAvkdia8z4lYbO/RunXZJvra3Z
VDm+izq+uwUAyvFuEYnNz09VSqwXKT6+XW0Xtz2vHq52r6DS6mK8cGJHZ5OhrRjq
UEYxA/9STh+QfA98xtNoRcf52E/46r7IpCj440oRVc9lMfxQZrLGQNqp7sPdIhGQ
CCo2NUII5hkhdAG71kpbfSXU4Sh32p1cU1KYCAkDFfb49bKuAs+Pff8v6FGZxTdd
AinPZr4BbsYJatk818aTCnu0+s7L8jL5GPfeyuyEMKwzVBx2mLQpUGV0ZXIgSHV0
dGVyZXIgKFdoby1UKSA8b2ZmaWNlQHdoby10Lm5ldD6IRgQQEQIABgUCPyZd9AAK
CRAxKkm802WJtQJ2AKCuZPqsSxFtrHh3vMLXpzmF1Gk1DgCgrV7f+A9NpkYzPiQK
nyzX3kb53jqIRgQQEQIABgUCQApO8gAKCRAkkHkTqLdyOKXuAJ0awetW7KLequ5w
bRIYcbDukt9QsgCffAvxsB3YXORG9PnYx3Qd2WKiFdGIRgQQEQIABgUCQAyMfAAK
CRAtURMMV/bnvdD+AJ9AuFu4uEHlqANyLjE6F+0lNfqHzACffl/TTo26T6ikwSFi
puniCtS/w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HqORuvyOSILLzlG60N67w3NJ9vbvpIzNWc
XddyWOA/Boj0+XTgCrb3PodQ/CicKCVXceo78BvFfGwpAf7rdKIK/RvomKgN1/qn
rhWCDFLdY785zT5qSFykwBW6IBalyzafJkeTKTH5OF6eTTlX7r9LWTYfl/eqbsTi
h6o+KbSzm1IcSDEv0P2SHWKP6XLVxCE4qqG1sN8qTJh2+104p21NfWCIZBGhKpCE
vG9X2uFJpQ8dP7/OfV7dNbkBDQQ/G9MIEAQAk56jmDlmFUfDtQ+9yep23QHmQm16
1JMlyLsqgTnSpl/9ECZkrO1n7GvoT3w4Y+motBrNgvEIP9D85POm+KfQy5H9DOkW
mI1LQiQaUufca7Fep8+sWc0GuEUXX9WCZsNrYmtTDF88W8EFNmyqWBJvDbBmgVET
BndNhL7DDdsCNrsAAwUD/3vTI1a//OVw8wJVATfB8GFubM08j/GVXEDqjpjXm5E1
hi75D6wXV5sac61o8T6JTtVnFkI1C9Gzf623ann0+uYlRyRyWf3KU7YBpQj4S+SU
wOdJbXdCNdwgAWFixZrMKJ1xEv+rXIJX+K69za4trDq2OR4ID4qRMzqOb3SjqMP6
iEYEGBECAAYFAj8b0wgACgkQ4jt+cLRn8L+vIwCgg7y9oJK4NeDX1e6zXNOeytZy
9hoAnigKVkYBlc2jpAKdD+bULpWgw+sz
=Q/D0
-----END PGP PUBLIC KEY BLOCK-----

79
xf86-input-libinput.spec Normal file
View File

@ -0,0 +1,79 @@
#
# spec file for package xf86-input-libinput
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: xf86-input-libinput
Version: 1.4.0
Release: 0
Summary: Libinput driver for the Xorg X server
License: MIT
Group: System/X11/Servers/XF86_4
URL: https://xorg.freedesktop.org
Source0: %{url}/releases/individual/driver/%{name}-%{version}.tar.xz
Source1: %{url}/releases/individual/driver/%{name}-%{version}.tar.xz.sig
Source2: %{name}.keyring
Patch0: n_enable-tapping.patch
BuildRequires: pkgconfig
BuildRequires: pkgconfig(inputproto) >= 2.2
BuildRequires: pkgconfig(libinput) >= 1.11.0
BuildRequires: pkgconfig(xorg-macros) >= 1.13
BuildRequires: pkgconfig(xorg-server) >= 1.10
BuildRequires: pkgconfig(xproto)
Supplements: xorg-x11-server
# This was part of the xorg-x11-driver-input package up to version 7.6
Conflicts: xorg-x11-driver-input <= 7.6
%{x11_abi_xinput_req}
%description
xf86-input-libinput is a libinput-based X.Org driver. The actual driver bit
is quite limited, most of the work is done by libinput, the driver itself
passes on the events (and wrangles them a bit where needed).
%package devel
Summary: Libinput driver for the Xorg X server -- Development Files
Group: Development/Libraries/X11
Requires: %{name} = %{version}
%description devel
xf86-input-libinput is a libinput-based X.Org driver. The actual driver bit
is quite limited, most of the work is done by libinput, the driver itself
passes on the events (and wrangles them a bit where needed).
%prep
%autosetup -p1
%build
%configure --with-xorg-conf-dir="%{_datadir}/X11/xorg.conf.d/"
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%files
%license COPYING*
%dir %{_libdir}/xorg/modules/input
%{_datadir}/X11/xorg.conf.d/40-libinput.conf
%dir %{_datadir}/X11/xorg.conf.d
%{_libdir}/xorg/modules/input/libinput_drv.so
%{_mandir}/man4/libinput.4%{?ext_man}
%files devel
%{_includedir}/xorg/libinput-properties.h
%{_libdir}/pkgconfig/xorg-libinput.pc
%changelog