NetBSD Problem Report #51771
From yorickhardy@gmail.com Wed Jan 4 08:10:36 2017
Return-Path: <yorickhardy@gmail.com>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 9D1457A26C
for <gnats-bugs@gnats.NetBSD.org>; Wed, 4 Jan 2017 08:10:36 +0000 (UTC)
Message-Id: <586cadf9.cb911c0a.66b4.44ab@mx.google.com>
Date: Wed, 04 Jan 2017 10:10:29 +0200
From: yorickhardy@gmail.com
Reply-To: yorickhardy@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Use newer xinput features
X-Send-Pr-Version: 3.95
>Number: 51771
>Category: xsrc
>Synopsis: Use newer xinput features
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: xsrc-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Jan 04 08:15:00 +0000 2017
>Closed-Date: Wed Jan 04 16:11:33 +0000 2017
>Last-Modified: Wed Jan 04 16:11:33 +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
>Release-Note:
>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/51771 CVS commit: src/external/mit/xorg/bin/xinput
Date: Wed, 4 Jan 2017 10:44:07 -0500
Module Name: src
Committed By: christos
Date: Wed Jan 4 15:44:06 UTC 2017
Modified Files:
src/external/mit/xorg/bin/xinput: Makefile
Log Message:
PR/51771: Yorick Hardy: Use newer xinput features
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/mit/xorg/bin/xinput/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 04 Jan 2017 16:11:33 +0000
State-Changed-Why:
Fixed by christos.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.