import autocutsel-0.9.0... which fixes pasting

some new gtk/qt based apps (such as firefox) use PRIMARY/CLIPBOARD
buffers, while the older ones use cutbuffer.  this little utility
keeps clipboard and cutbuffer in sync, making it able to select/paste
data from xterm<->firefox!11

ok sthen@
This commit is contained in:
martynas 2009-03-10 17:27:26 +00:00
parent c3f6814255
commit 0d9223fd3f
4 changed files with 45 additions and 0 deletions

31
x11/autocutsel/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/03/10 17:27:26 martynas Exp $
COMMENT = keep X clipboard and cutbuffer in sync
DISTNAME = autocutsel-0.9.0
CATEGORIES = x11
HOMEPAGE = http://www.nongnu.org/autocutsel/
MAINTAINER = Martynas Venckus <martynas@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = ICE SM X11 Xau Xaw Xdmcp Xext Xmu Xt c
MASTER_SITES = ${MASTER_SITE_SAVANNAH:=autocutsel/}
USE_X11 = Yes
USE_LIBTOOL = Yes
CONFIGURE_STYLE = gnu
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/autocutsel
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/autocutsel
.include <bsd.port.mk>

5
x11/autocutsel/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (autocutsel-0.9.0.tar.gz) = ukpvYyy0gVrk5cMCfCTPxQ==
RMD160 (autocutsel-0.9.0.tar.gz) = 1r/Qz7U8sV29ELS8mJ9uvcIFEek=
SHA1 (autocutsel-0.9.0.tar.gz) = exUhCxehSZ0t66ImGZM3PTvhS7I=
SHA256 (autocutsel-0.9.0.tar.gz) = vvDrwtwskvwp8AhndxIp/YOR5gKLu4vKnYCegnEZ40I=
SIZE (autocutsel-0.9.0.tar.gz) = 297595

4
x11/autocutsel/pkg/DESCR Normal file
View File

@ -0,0 +1,4 @@
Autocutsel tracks changes in the server's cutbuffer and CLIPBOARD
selection. When the CLIPBOARD is changed, it updates the cutbuffer.
When the cutbuffer is changed, it owns the CLIPBOARD selection. The
cutbuffer and CLIPBOARD selection are always synchronized.

5
x11/autocutsel/pkg/PLIST Normal file
View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/03/10 17:27:26 martynas Exp $
@bin bin/autocutsel
@bin bin/cutsel
share/doc/autocutsel/
share/doc/autocutsel/README