summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorbjs <bjs>2008-09-08 05:31:01 +0000
committerbjs <bjs>2008-09-08 05:31:01 +0000
commita550a0fff981985762392b88318a82404ae2c620 (patch)
tree72050cf424343956e24c1aab2584cc99e619edec /x11
parentc70e083b989412be98b917558f8dd2899f264313 (diff)
downloadpkgsrc-a550a0fff981985762392b88318a82404ae2c620.tar.gz
Import openbsd-input-ws-1.2 from pkgsrc-wip. This driver should work
with a vast majority of wsmouse-compatible pointing devices on both NetBSD and OpenBSD.
Diffstat (limited to 'x11')
-rw-r--r--x11/openbsd-input-ws/DESCR1
-rw-r--r--x11/openbsd-input-ws/MESSAGE12
-rw-r--r--x11/openbsd-input-ws/Makefile24
-rw-r--r--x11/openbsd-input-ws/PLIST4
-rw-r--r--x11/openbsd-input-ws/distinfo6
-rw-r--r--x11/openbsd-input-ws/patches/patch-aa12
6 files changed, 59 insertions, 0 deletions
diff --git a/x11/openbsd-input-ws/DESCR b/x11/openbsd-input-ws/DESCR
new file mode 100644
index 00000000000..837ca787eea
--- /dev/null
+++ b/x11/openbsd-input-ws/DESCR
@@ -0,0 +1 @@
+Matthieu Herrb's wscons pointing device driver for modular X.org.
diff --git a/x11/openbsd-input-ws/MESSAGE b/x11/openbsd-input-ws/MESSAGE
new file mode 100644
index 00000000000..8650854a58b
--- /dev/null
+++ b/x11/openbsd-input-ws/MESSAGE
@@ -0,0 +1,12 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2008/09/08 05:31:01 bjs Exp $
+
+To use this driver, your xorg.conf file should have an entry like this:
+
+ Identifier "Mouse0"
+ Driver "ws"
+ Option "Device" "/dev/wsmouse"
+
+This should work with many wscons pointing devices, especially the zaurus.
+Please see the ws(4) manual page for more information.
+===========================================================================
diff --git a/x11/openbsd-input-ws/Makefile b/x11/openbsd-input-ws/Makefile
new file mode 100644
index 00000000000..d134154e91f
--- /dev/null
+++ b/x11/openbsd-input-ws/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/09/08 05:31:01 bjs Exp $
+#
+
+DISTNAME= openbsd-input-ws-1.2
+CATEGORIES= x11
+MASTER_SITES= http://xenocara.org/src/
+
+MAINTAINER= bjs@NetBSD.org
+HOMEPAGE= http://xenocara.org/
+COMMENT= OpenBSD's wscons input driver for modular X.org
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+ONLY_FOR_PLATFORM= NetBSD-*-* OpenBSD-*-*
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+.include "../../x11/modular-xorg-server/buildlink3.mk"
+.include "../../x11/xproto/buildlink3.mk"
+.include "../../x11/inputproto/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/openbsd-input-ws/PLIST b/x11/openbsd-input-ws/PLIST
new file mode 100644
index 00000000000..dec20114da0
--- /dev/null
+++ b/x11/openbsd-input-ws/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/09/08 05:31:01 bjs Exp $
+lib/xorg/modules/input/ws_drv.la
+man/man4/ws.4
+@comment @dirrm lib/xorg/modules/input
diff --git a/x11/openbsd-input-ws/distinfo b/x11/openbsd-input-ws/distinfo
new file mode 100644
index 00000000000..e79145db0a1
--- /dev/null
+++ b/x11/openbsd-input-ws/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/09/08 05:31:01 bjs Exp $
+
+SHA1 (openbsd-input-ws-1.2.tar.gz) = a313e27f8c3ce999e71b23eab9102e6332d16f9d
+RMD160 (openbsd-input-ws-1.2.tar.gz) = 39d3244c5e11a3902fc385d68ece8704faf305bf
+Size (openbsd-input-ws-1.2.tar.gz) = 318780 bytes
+SHA1 (patch-aa) = 4de8a3514d7dc5f3d90cfdc0b228aababf4f2fe2
diff --git a/x11/openbsd-input-ws/patches/patch-aa b/x11/openbsd-input-ws/patches/patch-aa
new file mode 100644
index 00000000000..d6e28901396
--- /dev/null
+++ b/x11/openbsd-input-ws/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/09/08 05:31:01 bjs Exp $
+
+--- src/ws.c.orig 2007-08-23 15:10:33.000000000 -0400
++++ src/ws.c
+@@ -139,6 +139,7 @@ InputDriverRec WS = {
+ NULL,
+ wsPreInit,
+ NULL,
++ NULL,
+ 0
+ };
+