pkgsrc-Bugs archive

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

pkg/38200: x11/xclip 0.10



>Number:         38200
>Category:       pkg
>Synopsis:       x11/xclip 0.10
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 08 19:55:01 +0000 2008
>Originator:     Sergey Svishchev
>Release:        4.0
>Organization:
>Environment:
>Description:
Changes between 0.08 and 0.10:

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.

All Debian patches have been applied.

Changed dir to / when staying running so that the current directory can
be umounted if necessary.
>How-To-Repeat:

>Fix:
Index: x11/xclip/Makefile
===================================================================
RCS file: /vol/1/cvsup/pkgsrc/x11/xclip/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- x11/xclip/Makefile  8 Jun 2007 17:49:54 -0000       1.11
+++ x11/xclip/Makefile  20 Jan 2008 19:52:30 -0000
@@ -1,17 +1,16 @@
 # $NetBSD: Makefile,v 1.11 2007/06/08 17:49:54 wiz 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
+GNU_CONFIGURE= YES
+USE_TOOLS+=    gmake
 
 .include "../../x11/libXmu/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: x11/xclip/PLIST
===================================================================
RCS file: /vol/1/cvsup/pkgsrc/x11/xclip/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- x11/xclip/PLIST     3 Mar 2003 04:17:41 -0000       1.2
+++ x11/xclip/PLIST     2 Dec 2007 23:11:09 -0000
@@ -1,3 +1,6 @@
 @comment $NetBSD: PLIST,v 1.2 2003/03/03 04:17:41 jschauma Exp $
 bin/xclip
-${IMAKE_MAN_DIR}/xclip.${IMAKE_MANNEWSUFFIX}
+bin/xclip-copyfile
+bin/xclip-cutfile
+bin/xclip-pastefile
+man/man1/xclip.1
Index: x11/xclip/distinfo
===================================================================
RCS file: /vol/1/cvsup/pkgsrc/x11/xclip/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- x11/xclip/distinfo  8 Jun 2007 17:49:54 -0000       1.3
+++ x11/xclip/distinfo  2 Dec 2007 22:25:08 -0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.3 2007/06/08 17:49:54 wiz Exp $
+$NetBSD$
 
-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
Index: x11/xclip/patches/patch-aa
===================================================================
RCS file: x11/xclip/patches/patch-aa
diff -N x11/xclip/patches/patch-aa
--- x11/xclip/patches/patch-aa  8 Jun 2007 17:49:54 -0000       1.1
+++ /dev/null   1 Jan 1970 00:00:00 -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