diff options
author | tnn <tnn@pkgsrc.org> | 2008-03-08 20:42:02 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-03-08 20:42:02 +0000 |
commit | fade273e39e2c84e1e14271404b3cd31e31bc98c (patch) | |
tree | c2632501960904b5348eb52582504b48c640a8ff /x11/xclip | |
parent | becd384669212c97ab3f2f3bf021cd724fd89ae9 (diff) | |
download | pkgsrc-fade273e39e2c84e1e14271404b3cd31e31bc98c.tar.gz |
PR pkg/38200: Sergey Svishchev: Update x11/xclip to 0.10.
(also add DESTDIR support)
Version 0.10 (Peter Astrand)
The performance has been greatly enhanced, especially over
slow networks. Two helper scripts, xclip-copyfile and
xclip-pastefile, has been added. Taken together, xclip can now
be used as an alternative to sftp/scp, thus avoiding password
prompt when X11 forwarding has already been setup.
Autoconf is now used instead of Imake.
The maintainer and web site address has been updated.
All Debian patches have been applied.
Version 0.09: (Baruch Even)
Changed dir to / when staying running so that the current directory can
be umounted if necessary.
Diffstat (limited to 'x11/xclip')
-rw-r--r-- | x11/xclip/Makefile | 15 | ||||
-rw-r--r-- | x11/xclip/PLIST | 7 | ||||
-rw-r--r-- | x11/xclip/distinfo | 9 | ||||
-rw-r--r-- | x11/xclip/patches/patch-aa | 58 |
4 files changed, 17 insertions, 72 deletions
diff --git a/x11/xclip/Makefile b/x11/xclip/Makefile index 0f020a8fccc..d307f14d78c 100644 --- a/x11/xclip/Makefile +++ b/x11/xclip/Makefile @@ -1,17 +1,18 @@ -# $NetBSD: Makefile,v 1.11 2007/06/08 17:49:54 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/08 20:42:02 tnn Exp $ # -DISTNAME= xclip-0.08 -PKGREVISION= 3 +DISTNAME= xclip-0.10 CATEGORIES= x11 -MASTER_SITES= http://people.debian.org/~kims/xclip/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xclip/} MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://people.debian.org/~kims/xclip/ +HOMEPAGE= http://sourceforge.net/projects/xclip/ COMMENT= Command line interface to the X windows clipboard -WRKSRC= ${WRKDIR}/xclip -USE_IMAKE= YES +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= YES +USE_TOOLS+= gmake .include "../../x11/libXmu/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/x11/xclip/PLIST b/x11/xclip/PLIST index cb3cad7bf33..564fd1fa127 100644 --- a/x11/xclip/PLIST +++ b/x11/xclip/PLIST @@ -1,3 +1,6 @@ -@comment $NetBSD: PLIST,v 1.2 2003/03/03 04:17:41 jschauma Exp $ +@comment $NetBSD: PLIST,v 1.3 2008/03/08 20:42:02 tnn Exp $ bin/xclip -${IMAKE_MAN_DIR}/xclip.${IMAKE_MANNEWSUFFIX} +bin/xclip-copyfile +bin/xclip-cutfile +bin/xclip-pastefile +man/man1/xclip.1 diff --git a/x11/xclip/distinfo b/x11/xclip/distinfo index d0f1c757292..63be16913b7 100644 --- a/x11/xclip/distinfo +++ b/x11/xclip/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.3 2007/06/08 17:49:54 wiz Exp $ +$NetBSD: distinfo,v 1.4 2008/03/08 20:42:02 tnn Exp $ -SHA1 (xclip-0.08.tar.gz) = 2b20daab0523a2b4b2cab1f24887481556eadb8b -RMD160 (xclip-0.08.tar.gz) = 644c0418b44ce533fd39e37ec2dd888a394e8f7d -Size (xclip-0.08.tar.gz) = 27914 bytes -SHA1 (patch-aa) = 4a9039454a8494f398daa1dbaae52014d8d5d4dc +SHA1 (xclip-0.10.tar.gz) = 2f0b17eb93c41ed0271dc551d415373531e49a75 +RMD160 (xclip-0.10.tar.gz) = abe93080669cae4fed3deb8491fcf86fa9da0cc1 +Size (xclip-0.10.tar.gz) = 56219 bytes diff --git a/x11/xclip/patches/patch-aa b/x11/xclip/patches/patch-aa deleted file mode 100644 index d42959d0dfa..00000000000 --- a/x11/xclip/patches/patch-aa +++ /dev/null @@ -1,58 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2007/06/08 17:49:54 wiz Exp $ - -KDE integration (from Debian bug 172812) - ---- xclib.c.orig Mon Dec 17 01:14:40 2001 -+++ xclib.c Thu Dec 12 13:16:57 2002 -@@ -100,7 +100,7 @@ - ) - { - /* a property for other windows to put their selection into */ -- Atom pty, inc, pty_type; -+ Atom pty, inc, pty_type, targets; - int pty_format; - - /* buffer for XGetWindowProperty to dump data into */ -@@ -111,6 +111,7 @@ - unsigned char *ltxt; - - pty = XInternAtom(dpy, "XCLIP_OUT", False); -+ targets = XInternAtom(dpy, "TARGETS", False); - - switch (*context) - { -@@ -353,7 +354,9 @@ - * transfers only) - */ - XEvent res; /* response to event */ -- Atom inc; -+ Atom inc, targets; -+ -+ targets = XInternAtom(dpy, "TARGETS", False); - - switch (*context) - { -@@ -369,7 +372,22 @@ - *pos = 0; - - /* put the data into an property */ -- if (len > XC_CHUNK) -+ if (evt.xselectionrequest.target == targets) -+ { -+ Atom types[2] = { targets, XA_STRING }; -+ -+ /* send data all at once (not using INCR) */ -+ XChangeProperty( -+ dpy, -+ *win, -+ *pty, -+ targets, -+ 8, -+ PropModeReplace, -+ (unsigned char*) types, -+ (int)sizeof(types) -+ ); -+ } else if (len > XC_CHUNK) - { - /* INCR Atom to set response property to */ - inc = XInternAtom(dpy, "INCR", False); |