Add autocutsel, a tool for synchronization of clipboards in VNC

between X and Windows.

PR:		ports/59244
Submitted by:	John Nielsen <john@jnielsen.net>
Approved by:	adamw (mentor)
This commit is contained in:
Pav Lucistnik 2003-11-14 00:07:01 +00:00
parent fb6ead9f71
commit 68672f410d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93920
6 changed files with 57 additions and 0 deletions

View file

@ -3,6 +3,7 @@
SUBDIR += abacus
SUBDIR += aspostit
SUBDIR += autocutsel
SUBDIR += babytrans
SUBDIR += basket
SUBDIR += bigyear

View file

@ -0,0 +1,20 @@
# New ports collection makefile for: autocutsel
# Date created: 13 November 2003
# Whom: john@jnielsen.net
#
# $FreeBSD$
#
PORTNAME= autocutsel
PORTVERSION= 0.6.2
CATEGORIES= deskutils
MASTER_SITES= http://www.lepton.fr/tools/autocutsel/
MAINTAINER= john@jnielsen.net
COMMENT= Synchronizes the two copy/paste buffers used by X applications
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (autocutsel-0.6.2.tar.gz) = 6433673cff5e063e28a0d96b13393199

View file

@ -0,0 +1,20 @@
--- Makefile.in.orig Wed Nov 12 23:57:26 2003
+++ Makefile.in Wed Nov 12 23:59:02 2003
@@ -71,7 +71,7 @@
cutsel_SOURCES = cutsel.c
cutsel_LDADD = $(X_PRE_LIBS) $(X_LIBS) $(X_EXTRA_LIBS) -lX11 -lXext -lXt -lXmu -lXaw
-INCLUDES =
+INCLUDES = ${X11BASE}/include
EXTRA_DIST = AUTHORS COPYING ChangeLog INSTALL README TODO
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -81,7 +81,7 @@
PROGRAMS = $(bin_PROGRAMS)
-DEFS = @DEFS@ -I. -I$(srcdir) -I.
+DEFS = @DEFS@ -I. -I$(srcdir) -I
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@

View file

@ -0,0 +1,13 @@
Autocutsel synchronizes the two copy/paste buffers mainly used by X
applications. It unifies "clipboards" between VNC servers and Windows.
The 'cutsel' binary performs the synchronization whenever it is run.
The 'autocutsel' binary performs the synchronization continuously. I
suggest running it from ~/.vnc/xstartup by adding a line like this at
the top:
exec autocutsel &
WWW: http://www.lepton.fr/tools/autocutsel/
- John Nielsen
john@jnielsen.net

View file

@ -0,0 +1,2 @@
bin/autocutsel
bin/cutsel