Fix spelling/wording issues
This commit is contained in:
parent
3f29fadbce
commit
db238d9ce7
71
backport-Fix-spelling-wording-issues.patch
Normal file
71
backport-Fix-spelling-wording-issues.patch
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
From abf0fa611efcf0fdbf8be224d4cc39a48b36e92e Mon Sep 17 00:00:00 2001
|
||||||
|
From: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||||
|
Date: Sun, 16 Jan 2022 10:51:03 -0800
|
||||||
|
Subject: [PATCH] Fix spelling/wording issues
|
||||||
|
|
||||||
|
Found by using:
|
||||||
|
codespell --builtin clear,rare,usage,informal,code,names
|
||||||
|
|
||||||
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
||||||
|
---
|
||||||
|
README | 2 +-
|
||||||
|
man/evdev.man | 2 +-
|
||||||
|
src/emuWheel.c | 2 +-
|
||||||
|
src/evdev.c | 2 +-
|
||||||
|
4 files changed, 4 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/README b/README
|
||||||
|
index 0b27180..ad1ccd7 100644
|
||||||
|
--- a/README
|
||||||
|
+++ b/README
|
||||||
|
@@ -9,7 +9,7 @@ Xorg mailing list:
|
||||||
|
|
||||||
|
http://lists.freedesktop.org/mailman/listinfo/xorg
|
||||||
|
|
||||||
|
-The master development code repository can be found at:
|
||||||
|
+The primary development code repository can be found at:
|
||||||
|
|
||||||
|
git://anongit.freedesktop.org/git/xorg/driver/xf86-input-evdev
|
||||||
|
|
||||||
|
diff --git a/man/evdev.man b/man/evdev.man
|
||||||
|
index e39736a..266396d 100644
|
||||||
|
--- a/man/evdev.man
|
||||||
|
+++ b/man/evdev.man
|
||||||
|
@@ -194,7 +194,7 @@ Invert the given axis. Default: off. Property: "Evdev Axis Inversion".
|
||||||
|
.BI "Option \*qIgnoreAbsoluteAxes\*q \*q" Bool \*q
|
||||||
|
Ignore the specified type of axis. Default: unset. The X server cannot deal
|
||||||
|
with devices that have both relative and absolute axes. Evdev tries to guess
|
||||||
|
-wich axes to ignore given the device type and disables absolute axes for
|
||||||
|
+which axes to ignore given the device type and disables absolute axes for
|
||||||
|
mice and relative axes for tablets, touchscreens and touchpad. These options
|
||||||
|
allow to forcibly disable an axis type. Mouse wheel axes are exempt and will
|
||||||
|
work even if relative axes are ignored. No property, this configuration must
|
||||||
|
diff --git a/src/emuWheel.c b/src/emuWheel.c
|
||||||
|
index c82c240..2b66ade 100644
|
||||||
|
--- a/src/emuWheel.c
|
||||||
|
+++ b/src/emuWheel.c
|
||||||
|
@@ -50,7 +50,7 @@ static Atom prop_wheel_inertia = 0;
|
||||||
|
static Atom prop_wheel_timeout = 0;
|
||||||
|
static Atom prop_wheel_button = 0;
|
||||||
|
|
||||||
|
-/* Local Funciton Prototypes */
|
||||||
|
+/* Local Function Prototypes */
|
||||||
|
static int EvdevWheelEmuInertia(InputInfoPtr pInfo, WheelAxisPtr axis, int value);
|
||||||
|
|
||||||
|
/* Filter mouse button events */
|
||||||
|
diff --git a/src/evdev.c b/src/evdev.c
|
||||||
|
index 6b5eadd..13ffbdf 100644
|
||||||
|
--- a/src/evdev.c
|
||||||
|
+++ b/src/evdev.c
|
||||||
|
@@ -1933,7 +1933,7 @@ EvdevInit(DeviceIntPtr device)
|
||||||
|
* So, unless you have a small screen, you won't be enjoying it much;
|
||||||
|
* consequently, absolute axes are generally ignored.
|
||||||
|
*
|
||||||
|
- * However, currenly only a device with absolute axes can be registered
|
||||||
|
+ * However, currently only a device with absolute axes can be registered
|
||||||
|
* as a touch{pad,screen}. Thus, given such a device, absolute axes are
|
||||||
|
* used and relative axes are ignored.
|
||||||
|
*/
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -3,12 +3,14 @@
|
|||||||
|
|
||||||
Name: xorg-x11-drv-evdev
|
Name: xorg-x11-drv-evdev
|
||||||
Version: 2.10.6
|
Version: 2.10.6
|
||||||
Release: 5
|
Release: 6
|
||||||
License: MIT
|
License: MIT
|
||||||
Summary: Xorg X11 evdev input driver
|
Summary: Xorg X11 evdev input driver
|
||||||
URL: https://www.x.org
|
URL: https://www.x.org
|
||||||
Source0: https://www.x.org/pub/individual/driver/xf86-input-evdev-%{version}.tar.bz2
|
Source0: https://www.x.org/pub/individual/driver/xf86-input-evdev-%{version}.tar.bz2
|
||||||
|
|
||||||
|
Patch0: backport-Fix-spelling-wording-issues.patch
|
||||||
|
|
||||||
BuildRequires: autoconf automake libtool xorg-x11-server-devel
|
BuildRequires: autoconf automake libtool xorg-x11-server-devel
|
||||||
BuildRequires: libudev-devel mtdev-devel libevdev-devel xorg-x11-util-macros >= 1.3.0
|
BuildRequires: libudev-devel mtdev-devel libevdev-devel xorg-x11-util-macros >= 1.3.0
|
||||||
|
|
||||||
@ -61,6 +63,9 @@ autoreconf --force -v --install || exit 1
|
|||||||
%{_mandir}/man4/evdev.4*
|
%{_mandir}/man4/evdev.4*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 01 2024 lingsheng <lingsheng1@h-partners.com> - 2.10.6-6
|
||||||
|
- Fix spelling/wording issues
|
||||||
|
|
||||||
* Tue Oct 25 2022 wangkerong <wangkerong@h-partners.com> - 2.10.6-5
|
* Tue Oct 25 2022 wangkerong <wangkerong@h-partners.com> - 2.10.6-5
|
||||||
- rebuild for next release
|
- rebuild for next release
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
version_control: github
|
version_control: git
|
||||||
src_repo: eurolinux-enterprise-linux-sources/xorg-x11-drv-evdev
|
src_repo: https://gitlab.freedesktop.org/xorg/driver/xf86-input-evdev.git
|
||||||
tag_prefix:
|
tag_prefix: xf86-input-evdev-
|
||||||
seperator: .
|
separator: .
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user