summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Stine <battousai@gentoo.org>2006-01-16 21:56:40 +0000
committerBryan Stine <battousai@gentoo.org>2006-01-16 21:56:40 +0000
commit5e1927c06cb46b40db0578a8069b62f320ead1c7 (patch)
treec64e50e57134daba8defeb9b37c63dfbb00ccb99 /x11-drivers/xf86-input-vmmouse
parentStable on hppa. (diff)
downloadhistorical-5e1927c06cb46b40db0578a8069b62f320ead1c7.tar.gz
historical-5e1927c06cb46b40db0578a8069b62f320ead1c7.tar.bz2
historical-5e1927c06cb46b40db0578a8069b62f320ead1c7.zip
Initial import of xf86-input-vmmouse. Needs testing, perhaps a better PIC patch.
Package-Manager: portage-2.1_pre2
Diffstat (limited to 'x11-drivers/xf86-input-vmmouse')
-rw-r--r--x11-drivers/xf86-input-vmmouse/ChangeLog12
-rw-r--r--x11-drivers/xf86-input-vmmouse/files/digest-xf86-input-vmmouse-200601132
-rw-r--r--x11-drivers/xf86-input-vmmouse/files/xf86-input-vmmouse-20060113-PIC-fix.patch27
-rw-r--r--x11-drivers/xf86-input-vmmouse/metadata.xml5
-rw-r--r--x11-drivers/xf86-input-vmmouse/xf86-input-vmmouse-20060113.ebuild18
5 files changed, 64 insertions, 0 deletions
diff --git a/x11-drivers/xf86-input-vmmouse/ChangeLog b/x11-drivers/xf86-input-vmmouse/ChangeLog
new file mode 100644
index 000000000000..ce425f265712
--- /dev/null
+++ b/x11-drivers/xf86-input-vmmouse/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for x11-drivers/xf86-input-vmmouse
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-vmmouse/ChangeLog,v 1.1 2006/01/16 21:56:40 battousai Exp $
+
+*xf86-input-vmmouse-20060113 (16 Jan 2006)
+
+ 16 Jan 2006; Bryan Stine <battousai@gentoo.org>
+ +files/xf86-input-vmmouse-20060113-PIC-fix.patch,
+ +xf86-input-vmmouse-20060113.ebuild:
+ Initial import of VMWare mouse driver for Xorg. The driver and PIC fix patch
+ need testing. The patch might also be able to use some speed improvement.
+
diff --git a/x11-drivers/xf86-input-vmmouse/files/digest-xf86-input-vmmouse-20060113 b/x11-drivers/xf86-input-vmmouse/files/digest-xf86-input-vmmouse-20060113
new file mode 100644
index 000000000000..c3a2dd3f4489
--- /dev/null
+++ b/x11-drivers/xf86-input-vmmouse/files/digest-xf86-input-vmmouse-20060113
@@ -0,0 +1,2 @@
+MD5 1b8cfd2923836ee93eda69abe50dda04 x11-driver-patches-1.tar.bz2 389
+MD5 c76663758d18a7cb805e85abb628b6e4 xf86-input-vmmouse-20060113.tar.bz2 21448
diff --git a/x11-drivers/xf86-input-vmmouse/files/xf86-input-vmmouse-20060113-PIC-fix.patch b/x11-drivers/xf86-input-vmmouse/files/xf86-input-vmmouse-20060113-PIC-fix.patch
new file mode 100644
index 000000000000..4b3594ec453e
--- /dev/null
+++ b/x11-drivers/xf86-input-vmmouse/files/xf86-input-vmmouse-20060113-PIC-fix.patch
@@ -0,0 +1,27 @@
+--- xf86-input-vmmouse-20060113-orig/src/vmmouse_proto.c 2006-01-13 16:47:38.000000000 -0500
++++ xf86-input-vmmouse-20060113/src/vmmouse_proto.c 2006-01-13 16:53:37.000000000 -0500
+@@ -89,6 +89,7 @@
+
+ __asm__ __volatile__(
+ "pushl %%eax" "\n\t"
++ "pushl %%ebx" "\n\t"
+ "movl 20(%%eax), %%edi" "\n\t"
+ "movl 16(%%eax), %%esi" "\n\t"
+ "movl 12(%%eax), %%edx" "\n\t"
+@@ -102,6 +103,7 @@
+ "movl %%edx, 12(%%eax)" "\n\t"
+ "movl %%ecx, 8(%%eax)" "\n\t"
+ "movl %%ebx, 4(%%eax)" "\n\t"
++ "popl (%%ebx)" "\n\t"
+ "popl (%%eax)"
+ : "=a" (dummy)
+ : "0" (cmd)
+@@ -109,7 +111,7 @@
+ * vmware can modify the whole VM state without the compiler knowing
+ * it. So far it does not modify EFLAGS. --hpreg
+ */
+- : "ebx", "ecx", "edx", "esi", "edi", "memory"
++ : "ecx", "edx", "esi", "edi", "memory"
+ );
+ #else
+ #error "VMMouse is only supported on x86 and x86-64."
diff --git a/x11-drivers/xf86-input-vmmouse/metadata.xml b/x11-drivers/xf86-input-vmmouse/metadata.xml
new file mode 100644
index 000000000000..01c4c004e735
--- /dev/null
+++ b/x11-drivers/xf86-input-vmmouse/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>x11</herd>
+</pkgmetadata>
diff --git a/x11-drivers/xf86-input-vmmouse/xf86-input-vmmouse-20060113.ebuild b/x11-drivers/xf86-input-vmmouse/xf86-input-vmmouse-20060113.ebuild
new file mode 100644
index 000000000000..6f74ca4ab21b
--- /dev/null
+++ b/x11-drivers/xf86-input-vmmouse/xf86-input-vmmouse-20060113.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-input-vmmouse/xf86-input-vmmouse-20060113.ebuild,v 1.1 2006/01/16 21:56:40 battousai Exp $
+
+# Must be before x-modular eclass is inherited
+SNAPSHOT="yes"
+
+inherit x-modular
+
+DESCRIPTION="X.Org driver for the VMWare virtual mouse"
+KEYWORDS="~x86"
+RDEPEND=">=x11-base/xorg-server-0.99.3"
+DEPEND="${RDEPEND}
+ x11-proto/inputproto
+ x11-proto/randrproto
+ x11-proto/xproto"
+
+PATCHES="${FILESDIR}/${P}-PIC-fix.patch"