[packages/xorg-driver-input-fpit] Rel 12; xf86XInputSetScreen was removed from xserver
arekm
arekm at pld-linux.org
Sun Mar 15 12:51:07 CET 2026
commit f14fb62537e7bce3ed47de3d98f7f7c09f7d1fca
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Mar 15 12:51:00 2026 +0100
Rel 12; xf86XInputSetScreen was removed from xserver
xorg-driver-input-fpit-const-fix.patch | 54 ++++++++++++++++++++++++++++++++++
xorg-driver-input-fpit.spec | 4 ++-
2 files changed, 57 insertions(+), 1 deletion(-)
---
diff --git a/xorg-driver-input-fpit.spec b/xorg-driver-input-fpit.spec
index 3da2fd6..9648ebd 100644
--- a/xorg-driver-input-fpit.spec
+++ b/xorg-driver-input-fpit.spec
@@ -2,12 +2,13 @@ Summary: X.org input driver for Fujitsu Stylistic Tablet PCs
Summary(pl.UTF-8): Sterownik wejściowy X.org dla komputerów Fujitsu Stylistic Tablet
Name: xorg-driver-input-fpit
Version: 1.4.0
-Release: 11
+Release: 12
License: MIT
Group: X11/Applications
Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-input-fpit-%{version}.tar.bz2
# Source0-md5: 042c95fec145d8b57ca62714131ff3f1
Patch0: am.patch
+Patch1: %{name}-const-fix.patch
URL: http://xorg.freedesktop.org/
BuildRequires: autoconf >= 2.57
BuildRequires: automake
@@ -37,6 +38,7 @@ FinePoint MP800 także będą działać z tym sterownikiem.
%prep
%setup -q -n xf86-input-fpit-%{version}
%patch -P0 -p1
+%patch -P1 -p1
%build
%{__libtoolize}
diff --git a/xorg-driver-input-fpit-const-fix.patch b/xorg-driver-input-fpit-const-fix.patch
new file mode 100644
index 0000000..f6cb034
--- /dev/null
+++ b/xorg-driver-input-fpit-const-fix.patch
@@ -0,0 +1,54 @@
+--- a/src/xf86Fpit.c 2026-03-15 11:43:41.897236909 +0100
++++ b/src/xf86Fpit.c 2026-03-15 12:01:21.516564889 +0100
+@@ -251,7 +251,7 @@
+ /* Read data into buffer */
+ len = xf86ReadSerial(pInfo->fd, priv->fpitData+priv->fpitIndex, BUFFER_SIZE-priv->fpitIndex);
+ if (len <= 0) {
+- Error("error reading FPIT device");
++ ErrorF("error reading FPIT device\n");
+ priv->fpitIndex = 0;
+ return;
+ }
+@@ -324,7 +324,6 @@
+ device = pInfo->dev;
+
+ xf86FpitConvert(pInfo, 0, 2, x, y, 0, 0, 0, 0, &conv_x, &conv_y);
+- xf86XInputSetScreen(pInfo, priv->screen_no, conv_x, conv_y);
+
+ /* coordinates are ready we can send events */
+
+@@ -459,7 +458,7 @@
+ if (pInfo->fd < 0) {
+ pInfo->fd = xf86OpenSerial(pInfo->options);
+ if (pInfo->fd < 0) {
+- Error("Unable to open Fpit touchscreen device");
++ ErrorF("Unable to open Fpit touchscreen device\n");
+ return !Success;
+ }
+
+@@ -488,7 +487,7 @@
+ case DEVICE_CLOSE:
+ dev->public.on = FALSE;
+ if (pInfo->fd >= 0) {
+- RemoveEnabledDevice(pInfo->fd);
++ xf86RemoveEnabledDevice(pInfo);
+ }
+ xf86CloseSerial(pInfo->fd);
+ pInfo->fd = -1;
+@@ -550,14 +549,14 @@
+ xf86DeleteInput(pInfo, 0);
+ }
+
+-static char *default_options[] = {
++static const char *default_options[] = {
+ "BaudRate", "19200", "StopBits", "0", "DataBits", "8", "Parity", "None", "Vmin", "10", "Vtime", "1", "FlowControl", "None", NULL
+ };
+
+ static int xf86FpitInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags)
+ {
+ FpitPrivatePtr priv = NULL;
+- char *str;
++ const char *str;
+ int rc;
+
+ rc = xf86FpitAllocate(drv, pInfo);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-input-fpit.git/commitdiff/f14fb62537e7bce3ed47de3d98f7f7c09f7d1fca
More information about the pld-cvs-commit
mailing list