mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
package/x11r7/xdriver_xf86-input-mouse: remove package
In version 2.0.0 Linux support was removed: https://lists.x.org/archives/xorg-announce/2025-August/003624.html "This mouse driver is primarily used with BSD, GNU Hurd, illumos, & Solaris systems. Linux systems should instead use either xf86-input- libinput or xf86-input-evdev. While versions 1.9.5 and earlier had rudimentary support for Linux as well, that has been removed in this release." Alternative packages can not be selected due to udev dependencies. Signed-off-by: Bernd Kuhls <bernd@kuhls.net> [Julien: add extra info in Config.in.legacy comment] Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
ab8fdd0b90
commit
63a49b514d
@@ -1040,7 +1040,6 @@ package/x11r7/xcursor-transparent-theme/0001-fix-symlink.patch lib_patch.Upstrea
|
||||
package/x11r7/xdriver_xf86-input-evdev/0001-build-get-rid-of-sdkdir.patch lib_patch.Upstream
|
||||
package/x11r7/xdriver_xf86-input-joystick/0001-build-get-rid-of-sdkdir.patch lib_patch.Upstream
|
||||
package/x11r7/xdriver_xf86-input-libinput/0001-build-get-rid-of-sdkdir.patch lib_patch.Upstream
|
||||
package/x11r7/xdriver_xf86-input-mouse/0001-build-get-rid-of-sdkdir.patch lib_patch.Upstream
|
||||
package/x11r7/xdriver_xf86-input-synaptics/0001-build-get-rid-of-sdkdir.patch lib_patch.Upstream
|
||||
package/x11r7/xdriver_xf86-video-fbturbo/0001-sunxi_x_g2d-drop-unused-dri2-include.patch lib_patch.Upstream
|
||||
package/x11r7/xdriver_xf86-video-fbturbo/0002-Use-own-thunk-functions-instead-of-fbdevHW-Weak.patch lib_patch.Upstream
|
||||
|
||||
@@ -146,6 +146,14 @@ endif
|
||||
|
||||
comment "Legacy options removed in 2026.02"
|
||||
|
||||
config BR2_PACKAGE_XDRIVER_XF86_INPUT_MOUSE
|
||||
bool "xf86-input-mouse removed"
|
||||
select BR2_LEGACY
|
||||
help
|
||||
Linux support was removed upstream in version
|
||||
2.0.0. Upstream recommends to switch to xf86-input-evdev or
|
||||
xf86-input-libinput.
|
||||
|
||||
config BR2_PACKAGE_HOST_JSMIN
|
||||
bool "host-jsmin has been removed"
|
||||
select BR2_LEGACY
|
||||
|
||||
@@ -152,7 +152,6 @@ if BR2_PACKAGE_XORG7
|
||||
source "package/x11r7/xdriver_xf86-input-evdev/Config.in"
|
||||
source "package/x11r7/xdriver_xf86-input-joystick/Config.in"
|
||||
source "package/x11r7/xdriver_xf86-input-libinput/Config.in"
|
||||
source "package/x11r7/xdriver_xf86-input-mouse/Config.in"
|
||||
source "package/x11r7/xdriver_xf86-input-synaptics/Config.in"
|
||||
source "package/x11r7/xdriver_xf86-input-tslib/Config.in"
|
||||
source "package/x11r7/xdriver_xf86-input-vmmouse/Config.in"
|
||||
|
||||
@@ -1,81 +0,0 @@
|
||||
From aef3d9bca4d77db833f71d50b1c84b16c69d7deb Mon Sep 17 00:00:00 2001
|
||||
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
Date: Sun, 23 Oct 2016 22:53:21 +0200
|
||||
Subject: [PATCH] build: get rid of sdkdir
|
||||
|
||||
Use of sdkdir causes problems during cross-compilation, where the full
|
||||
path is then appended to the DESTDIR, leading to host paths being
|
||||
appended in the target:
|
||||
https://bugs.busybox.net/show_bug.cgi?id=8696
|
||||
|
||||
Other drivers (e.g. keyboard) got rid of sdkdir. Do the same.
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
---
|
||||
Makefile.am | 3 ---
|
||||
configure.ac | 10 ----------
|
||||
include/Makefile.am | 4 +++-
|
||||
xorg-mouse.pc.in | 3 +--
|
||||
4 files changed, 4 insertions(+), 16 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 7142485..efe66cb 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -34,9 +34,6 @@ ChangeLog:
|
||||
|
||||
dist-hook: ChangeLog INSTALL
|
||||
|
||||
-# Provide an sdk location that is writable by this module
|
||||
-DISTCHECK_CONFIGURE_FLAGS = --with-sdkdir='$${includedir}/xorg'
|
||||
-
|
||||
if LINT
|
||||
# Check source code with tools like lint & sparse
|
||||
lint:
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 15d9047..515681d 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -60,16 +60,6 @@ AC_ARG_WITH(xorg-module-dir,
|
||||
inputdir=${moduledir}/input
|
||||
AC_SUBST(inputdir)
|
||||
|
||||
-# X Server SDK location is required to install xf86-mouse-properties.h
|
||||
-# This location is also relayed in the xorg-mouse.pc file
|
||||
-sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
|
||||
-
|
||||
-# Workaround overriding sdkdir to be able to create a tarball when user has no
|
||||
-# write permission in sdkdir. See DISTCHECK_CONFIGURE_FLAGS in Makefile.am
|
||||
-AC_ARG_WITH([sdkdir], [], [sdkdir="$withval"])
|
||||
-AC_SUBST([sdkdir])
|
||||
-
|
||||
-
|
||||
# Work out which OS mouse driver we need to build
|
||||
case $host_os in
|
||||
linux*)
|
||||
diff --git a/include/Makefile.am b/include/Makefile.am
|
||||
index 27ce0fb..2b85e4e 100644
|
||||
--- a/include/Makefile.am
|
||||
+++ b/include/Makefile.am
|
||||
@@ -1 +1,3 @@
|
||||
-sdk_HEADERS = xf86-mouse-properties.h
|
||||
+# Location formerly known as 'sdkdir'
|
||||
+xorgincludedir = $(includedir)/xorg
|
||||
+xorginclude_HEADERS = xf86-mouse-properties.h
|
||||
diff --git a/xorg-mouse.pc.in b/xorg-mouse.pc.in
|
||||
index 57df596..8355e61 100644
|
||||
--- a/xorg-mouse.pc.in
|
||||
+++ b/xorg-mouse.pc.in
|
||||
@@ -1,6 +1,7 @@ prefix=@prefix@
|
||||
-sdkdir=@sdkdir@
|
||||
+prefix=@prefix@
|
||||
+includedir=@includedir@
|
||||
|
||||
Name: xorg-mouse
|
||||
Description: X.Org mouse input driver for non-evdev OS'es
|
||||
Version: @PACKAGE_VERSION@
|
||||
-Cflags: -I${sdkdir}
|
||||
+Cflags: -I${includedir}/xorg
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
config BR2_PACKAGE_XDRIVER_XF86_INPUT_MOUSE
|
||||
bool "xf86-input-mouse"
|
||||
select BR2_PACKAGE_XORGPROTO
|
||||
help
|
||||
X.Org driver for mouse input devices
|
||||
@@ -1,5 +0,0 @@
|
||||
# From https://lists.x.org/archives/xorg-announce/2023-May/003392.html
|
||||
sha256 4fde8ae9b44352e2a208584c36528ee3ed13cf5fe4417208a9785daccefd9968 xf86-input-mouse-1.9.5.tar.xz
|
||||
sha512 ed9bd9cb9a05dac0ff1bfb4e4704cb2e94117afb400aa9e0b7ccdbb102bc6db1b0d3af7cb6f99d0892f8fc306f1643286291c0fa7114af8e65864412bd6c1afa xf86-input-mouse-1.9.5.tar.xz
|
||||
# Locally computed
|
||||
sha256 5b066654bdb61a1ef41f38cceda752897bbddb6e60e20f5889cab436a9b7b813 COPYING
|
||||
@@ -1,15 +0,0 @@
|
||||
################################################################################
|
||||
#
|
||||
# xdriver_xf86-input-mouse
|
||||
#
|
||||
################################################################################
|
||||
|
||||
XDRIVER_XF86_INPUT_MOUSE_VERSION = 1.9.5
|
||||
XDRIVER_XF86_INPUT_MOUSE_SOURCE = xf86-input-mouse-$(XDRIVER_XF86_INPUT_MOUSE_VERSION).tar.xz
|
||||
XDRIVER_XF86_INPUT_MOUSE_SITE = https://xorg.freedesktop.org/archive/individual/driver
|
||||
XDRIVER_XF86_INPUT_MOUSE_LICENSE = MIT
|
||||
XDRIVER_XF86_INPUT_MOUSE_LICENSE_FILES = COPYING
|
||||
XDRIVER_XF86_INPUT_MOUSE_DEPENDENCIES = xserver_xorg-server xorgproto
|
||||
XDRIVER_XF86_INPUT_MOUSE_AUTORECONF = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user