pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xclip PR pkg/38200: Sergey Svishchev: Update x11/x...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/53d3bec8b9ba
branches:  trunk
changeset: 539587:53d3bec8b9ba
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Mar 08 20:42:02 2008 +0000

description:
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:

 x11/xclip/Makefile         |  15 ++++++-----
 x11/xclip/PLIST            |   7 +++-
 x11/xclip/distinfo         |   9 +++---
 x11/xclip/patches/patch-aa |  58 ----------------------------------------------
 4 files changed, 17 insertions(+), 72 deletions(-)

diffs (117 lines):

diff -r e2c06f072c4e -r 53d3bec8b9ba x11/xclip/Makefile
--- a/x11/xclip/Makefile        Sat Mar 08 19:01:19 2008 +0000
+++ b/x11/xclip/Makefile        Sat Mar 08 20:42:02 2008 +0000
@@ -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@localhost
-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 -r e2c06f072c4e -r 53d3bec8b9ba x11/xclip/PLIST
--- a/x11/xclip/PLIST   Sat Mar 08 19:01:19 2008 +0000
+++ b/x11/xclip/PLIST   Sat Mar 08 20:42:02 2008 +0000
@@ -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 -r e2c06f072c4e -r 53d3bec8b9ba x11/xclip/distinfo
--- a/x11/xclip/distinfo        Sat Mar 08 19:01:19 2008 +0000
+++ b/x11/xclip/distinfo        Sat Mar 08 20:42:02 2008 +0000
@@ -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 -r e2c06f072c4e -r 53d3bec8b9ba x11/xclip/patches/patch-aa
--- a/x11/xclip/patches/patch-aa        Sat Mar 08 19:01:19 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index