Import vmwh, a handy vmware userland helper for X.
vmwh is a vmware helper for X11, developed on OpenBSD to run in userland alongside the vmt(4) vmware kernel driver and the vmmouse Xorg driver. It detects when the mouse cursor switches back to the host ("ungrabs") and sends the guest's X11 clipboard data (read from xclip) to the host through the vmware backdoor, which gets put onto the host's clipboard. It then detects when the mouse cursor switches back to the guest ("grabs") and replaces the X11 clipboard contents (via xclip) with the host's, which is read through the vmware backdoor. OK jasper@
This commit is contained in:
parent
bb5c5ea3a9
commit
09ccaf282e
31
sysutils/vmwh/Makefile
Normal file
31
sysutils/vmwh/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2010/11/07 18:06:00 dcoppa Exp $
|
||||
|
||||
ONLY_FOR_ARCHS =amd64 i386
|
||||
|
||||
COMMENT = vmware userland helper for X
|
||||
|
||||
V = 0.20101029
|
||||
DISTNAME = jcs-vmwh-ebb7669
|
||||
PKGNAME = vmwh-${V}
|
||||
CATEGORIES = sysutils x11
|
||||
|
||||
HOMEPAGE = https://github.com/jcs/vmwh/
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MASTER_SITES = http://distfiles.nl/
|
||||
|
||||
WANTLIB += c
|
||||
|
||||
RUN_DEPENDS = ::x11/xclip
|
||||
|
||||
FAKE_FLAGS = PREFIX="${PREFIX}" \
|
||||
INSTALL_PROGRAM="${INSTALL_PROGRAM}"
|
||||
|
||||
NO_REGRESS = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
5
sysutils/vmwh/distinfo
Normal file
5
sysutils/vmwh/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (jcs-vmwh-ebb7669.tar.gz) = hAlj8kttmlgkK5O+GxPQXw==
|
||||
RMD160 (jcs-vmwh-ebb7669.tar.gz) = r4zhwKOP341OHzNZ4Oj3ihYFG9Q=
|
||||
SHA1 (jcs-vmwh-ebb7669.tar.gz) = KTz+KBv6Vmaxc2Q3anzRRyye1vQ=
|
||||
SHA256 (jcs-vmwh-ebb7669.tar.gz) = zSzB0aJcIk6Hbz8f+zbii4JORZug4hzhANmPUkpCpTw=
|
||||
SIZE (jcs-vmwh-ebb7669.tar.gz) = 4481
|
13
sysutils/vmwh/patches/patch-Makefile
Normal file
13
sysutils/vmwh/patches/patch-Makefile
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2010/11/07 18:06:00 dcoppa Exp $
|
||||
--- Makefile.orig Thu Nov 4 16:40:17 2010
|
||||
+++ Makefile Thu Nov 4 16:40:52 2010
|
||||
@@ -1,7 +1,8 @@
|
||||
# vim:ts=8
|
||||
|
||||
CC = cc
|
||||
-CFLAGS = -O2 -Wall -Wunused -Wmissing-prototypes -Wstrict-prototypes
|
||||
+CFLAGS ?= -O2 -Wall
|
||||
+CFLAGS += -Wunused -Wmissing-prototypes -Wstrict-prototypes
|
||||
#CFLAGS += -g
|
||||
|
||||
PREFIX = /usr/local
|
8
sysutils/vmwh/pkg/DESCR
Normal file
8
sysutils/vmwh/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
||||
vmwh is a vmware helper for X11, developed on OpenBSD to run in userland
|
||||
alongside the vmt(4) vmware kernel driver and the vmmouse Xorg driver.
|
||||
It detects when the mouse cursor switches back to the host ("ungrabs")
|
||||
and sends the guest's X11 clipboard data (read from xclip) to the host
|
||||
through the vmware backdoor, which gets put onto the host's clipboard.
|
||||
It then detects when the mouse cursor switches back to the guest
|
||||
("grabs") and replaces the X11 clipboard contents (via xclip) with the
|
||||
host's, which is read through the vmware backdoor.
|
5
sysutils/vmwh/pkg/MESSAGE
Normal file
5
sysutils/vmwh/pkg/MESSAGE
Normal file
@ -0,0 +1,5 @@
|
||||
To copy and paste from/to xterm, you have to put:
|
||||
|
||||
XTerm*selectToClipboard:true
|
||||
|
||||
into your ~/.Xdefaults
|
2
sysutils/vmwh/pkg/PLIST
Normal file
2
sysutils/vmwh/pkg/PLIST
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/11/07 18:06:00 dcoppa Exp $
|
||||
@bin bin/vmwh
|
Loading…
Reference in New Issue
Block a user