summaryrefslogtreecommitdiff
path: root/x11/imwheel
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-04-27 13:32:01 +0000
committerzuntum <zuntum>2001-04-27 13:32:01 +0000
commit0fe0fa357b0be98aa111e232f47af89c128b8081 (patch)
tree5181532815f65fafca577c14131154f17a48d7a4 /x11/imwheel
parent6988d7caccb80ab23b7f5e75d7a87166579aace8 (diff)
downloadpkgsrc-0fe0fa357b0be98aa111e232f47af89c128b8081.tar.gz
Initial import of imwheel-0.9.9
This is a not so short little ditty that does the simple conversion of mouse button presses into key presses. By grabbing only the 4th and 5th mouse buttons the program is able to receive input from the Intellimouse series mice. The wheel button can always be used as middle button, this program does not affect how the XServer reacts towards it. A mouse with a wheel button is a 3 button mouse, and should be configured as such! Note that other wheeled mice such as the Logitech MouseMan+ or TrackMan+ are Intellimouse compatible and can be used with this as well. For more information on setting up your wheeled mouse to work with X, see either the imwheel man page or the FAQ. Fixes pkg/12515 by Philipp Huber <uebs@gmx.at>
Diffstat (limited to 'x11/imwheel')
-rw-r--r--x11/imwheel/Makefile17
-rw-r--r--x11/imwheel/distinfo6
-rw-r--r--x11/imwheel/patches/patch-aa13
-rw-r--r--x11/imwheel/patches/patch-ab18
-rw-r--r--x11/imwheel/pkg/DESCR14
-rw-r--r--x11/imwheel/pkg/MESSAGE7
-rw-r--r--x11/imwheel/pkg/PLIST5
7 files changed, 80 insertions, 0 deletions
diff --git a/x11/imwheel/Makefile b/x11/imwheel/Makefile
new file mode 100644
index 00000000000..6da198f391d
--- /dev/null
+++ b/x11/imwheel/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/27 13:32:01 zuntum Exp $
+#
+
+DISTNAME= imwheel-0.9.9
+CATEGORIES= x11
+MASTER_SITES= http://jonatkins.org/imwheel/files/
+
+MAINTAINER= zuntum@netbsd.org
+HOMEPAGE= http://jcatki.dhs.org/imwheel/
+COMMENT= tool which helps to use mousewheels
+
+GNU_CONFIGURE= YES
+USE_X11BASE= YES
+
+CONFIGURE_ARGS+=--disable-gpm
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/imwheel/distinfo b/x11/imwheel/distinfo
new file mode 100644
index 00000000000..0699c202edd
--- /dev/null
+++ b/x11/imwheel/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/04/27 13:32:01 zuntum Exp $
+
+SHA1 (imwheel-0.9.9.tar.gz) = cbf5d40f764d4b7382538954b68bb9a6c4faa336
+Size (imwheel-0.9.9.tar.gz) = 411882 bytes
+SHA1 (patch-aa) = f869d434415e526b24451205383009be76829f28
+SHA1 (patch-ab) = 2547c10c55626568e9447f2a5f2258e83d26e506
diff --git a/x11/imwheel/patches/patch-aa b/x11/imwheel/patches/patch-aa
new file mode 100644
index 00000000000..9df25da2355
--- /dev/null
+++ b/x11/imwheel/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/27 13:32:01 zuntum Exp $
+
+--- getopt/Makefile.in.orig Thu Feb 22 08:41:45 2001
++++ getopt/Makefile.in
+@@ -79,7 +79,7 @@
+ mdump_dist = @mdump_dist@
+ suid = @suid@
+
+-CFLAGS = -O6 -s -Wall
++CFLAGS+= -s -Wall
+ noinst_LIBRARIES = libgetopt.a
+ libgetopt_a_SOURCES = getopt.c getopt1.c getopt.h
+
diff --git a/x11/imwheel/patches/patch-ab b/x11/imwheel/patches/patch-ab
new file mode 100644
index 00000000000..bedd5094caa
--- /dev/null
+++ b/x11/imwheel/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/04/27 13:32:01 zuntum Exp $
+
+--- Makefile.in.orig Thu Feb 22 08:41:40 2001
++++ Makefile.in
+@@ -581,9 +581,11 @@
+ @SUID_TRUE@ progname=$(DESTDIR)$(bindir)/`echo imwheel|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'` ; \
+ @SUID_TRUE@ chown @suid@ $$progname ; \
+ @SUID_TRUE@ chmod u+s $$progname
+-@SUID_TRUE@ install -m 644 imwheelrc /etc/imwheelrc
++@SUID_TRUE@ install -d ${PREFIX}/share/examples/imwheel
++@SUID_TRUE@ install -c -m 644 imwheelrc ${PREFIX}/share/examples/imwheel/imwheelrc
+ @SUID_FALSE@install-exec-hook:
+-@SUID_FALSE@ install -m 644 imwheelrc /etc/imwheelrc
++@SUID_FALSE@ install -d ${PREFIX}/share/examples/imwheel
++@SUID_FALSE@ install -c -m 644 imwheelrc ${PREFIX}/share/examples/imwheel/imwheelrc
+
+ extras: $(EXTRA_PROGRAMS)
+
diff --git a/x11/imwheel/pkg/DESCR b/x11/imwheel/pkg/DESCR
new file mode 100644
index 00000000000..a00575e8be6
--- /dev/null
+++ b/x11/imwheel/pkg/DESCR
@@ -0,0 +1,14 @@
+This is a not so short little ditty that does the simple conversion of mouse
+button presses into key presses. By grabbing only the 4th and 5th mouse
+buttons the program is able to receive input from the Intellimouse series
+mice. The wheel button can always be used as middle button, this program
+does not affect how the XServer reacts towards it. A mouse with a wheel
+button is a 3 button mouse, and should be configured as such!
+
+Note that other wheeled mice such as the Logitech MouseMan+ or TrackMan+ are
+Intellimouse compatible and can be used with this as well. For more
+information on setting up your wheeled mouse to work with X, see either the
+imwheel man page or the FAQ.
+
+Don't forget to add "ZAxisMapping 4 5" to the Pointer Section
+of your XF86Config file!
diff --git a/x11/imwheel/pkg/MESSAGE b/x11/imwheel/pkg/MESSAGE
new file mode 100644
index 00000000000..e4a1298dac8
--- /dev/null
+++ b/x11/imwheel/pkg/MESSAGE
@@ -0,0 +1,7 @@
+======================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2001/04/27 13:32:01 zuntum Exp $
+
+Don't forget to add "ZAxisMapping 4 5" to the Pointer Section
+of your XF86Config file!
+
+======================================================================
diff --git a/x11/imwheel/pkg/PLIST b/x11/imwheel/pkg/PLIST
new file mode 100644
index 00000000000..c69defa8d00
--- /dev/null
+++ b/x11/imwheel/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/27 13:32:01 zuntum Exp $
+bin/imwheel
+man/man1/imwheel.1
+share/examples/imwheel/imwheelrc
+@dirrm share/examples/imwheel