NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xsrc/51771: Use newer xinput features



>Number:         51771
>Category:       xsrc
>Synopsis:       Use newer xinput features
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    xsrc-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 04 08:15:00 +0000 2017
>Originator:     Yorick Hardy
>Release:        NetBSD 7.99.53
>Organization:
 
>Environment:
System: NetBSD HOME 7.99.53 NetBSD 7.99.53 (YORICK.amd64) #0: Sun Jan 1 16:42:47 SAST 2017 root@HOME:/root/build.amd64.local/obj/sys/arch/amd64/compile/YORICK.amd64 amd64
Architecture: x86_64
Machine: amd64
>Description:
The manual page xinput(1) lists more functionality that our xinput provides, these features
are not selected at compile time. I propose that we enable these features.
>How-To-Repeat:
>Fix:
Index: external/mit/xorg/bin/xinput/Makefile
===================================================================
RCS file: /cvsroot/src/external/mit/xorg/bin/xinput/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- external/mit/xorg/bin/xinput/Makefile	23 May 2011 17:44:41 -0000	1.5
+++ external/mit/xorg/bin/xinput/Makefile	4 Jan 2017 07:39:53 -0000
@@ -3,12 +3,13 @@
 .include <bsd.own.mk>
 
 PROG=	xinput
-SRCS=	buttonmap.c feedback.c list.c property.c setint.c setmode.c \
-	setptr.c state.c test.c xinput.c
+SRCS=	buttonmap.c feedback.c hierarchy.c list.c property.c setcp.c setint.c \
+	setmode.c setptr.c state.c test.c test_xi2.c transform.c xinput.c
 
-CPPFLAGS+=	-DVERSION='"1.4.0"'
+CPPFLAGS+=	-DVERSION='"1.6.2"'
+CPPFLAGS+=	-DHAVE_XI2 -DHAVE_XI22
 
-LDADD+=	-lXi -lX11 -lm
+LDADD+=	-lXi -lX11 -lXrandr -lXinerama -lm
 DPADD+=	${LIBXI} ${LIBM}
 .PATH:	${X11SRCDIR.${PROG}}/src
 .PATH:	${X11SRCDIR.${PROG}}/man



Home | Main Index | Thread Index | Old Index