diff options
author | adam <adam@pkgsrc.org> | 2005-01-19 15:10:12 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2005-01-19 15:10:12 +0000 |
commit | ac75d66dfe04dc49879c7034bbb0f55f6e817331 (patch) | |
tree | c4ac12075856c4deb70bf4a6243375d2a806b602 /x11/dxpc | |
parent | 0a92896d967d73c8b086d04eb3ba7c01bc4bcd57 (diff) | |
download | pkgsrc-ac75d66dfe04dc49879c7034bbb0f55f6e817331.tar.gz |
Changes 3.8.2:
* Enable build on system with gcc-3.x (which deprecate the old-style iostrams.h)
Diffstat (limited to 'x11/dxpc')
-rw-r--r-- | x11/dxpc/DESCR | 41 | ||||
-rw-r--r-- | x11/dxpc/Makefile | 20 | ||||
-rw-r--r-- | x11/dxpc/distinfo | 7 | ||||
-rw-r--r-- | x11/dxpc/patches/patch-aa | 12 |
4 files changed, 12 insertions, 68 deletions
diff --git a/x11/dxpc/DESCR b/x11/dxpc/DESCR index 528ceebb8b6..7ae772c6310 100644 --- a/x11/dxpc/DESCR +++ b/x11/dxpc/DESCR @@ -7,44 +7,3 @@ dxpc consists of two processes: the X clients are running) 2. a Server Proxy that runs on the "local" machine (the machine where the X server is running) - -(Starting in the dxpc-3.0, release, the Client Proxy and Server Proxy -are instances of the same program, called "dxpc"; command-line arguments -tell the program whether it is acting as a Client Proxy or a Server Proxy.) - -The Client Proxy mimics an X server. X client applications connect -to the Client Proxy using display "unix:8" (or "<hostname>:8"; dxpc -supports both UNIX domain and TCP sockets). The Client Proxy receives -X requests from the application, compresses them, and sends them to -the Server Proxy. The Server Proxy uncompresses the requests and -sends them to the real X server. Similarly, the Server Proxy receives -X events, replies, and errors from the real X server. It compresses -these messages and sends them to the Client Proxy, which uncompresses -them and sends them to the client application. - -dxpc attempts to exploit patterns in X protocol messages to limit -the amount of data sent between the Client Proxy and Server Proxy. -For many X message types, each field has a high probability of having -the same value as it had in some previous message of the same type. -For such fields, dxpc maintains caches of the last 'n' values, with a -least-recently-used replacement policy. If a field value in a new -message is already present in the corresponding cache, dxpc transmits -the value's index within the cache rather than the value itself. -Because the number of bits needed to represent this index is typically -much smaller than the number of bits needed to represent the value -itself, transmission of cache indices typically results in a -significant reduction in the number of bytes transmitted over -the low-bandwidth link. - -In other cases, the value of a field in an X message may differ from -that field's value in the last message of the same type by a small -value. Some X messages contain sequence numbers or timestamps that -have this property. X requests that create new objects also tend -to have this property; in a "Create Window" request, for example, -the value of the "Window ID" being created is typically equal to -"(Window ID of the last window created) + (some small positive integer)." -For fields like these, dxpc transmits the difference between the field -value in the new message and the value of the corresponding field in -the previous message of the same type. This value usually is a -small number that can be encoded in far fewer bits than the actual -field value. diff --git a/x11/dxpc/Makefile b/x11/dxpc/Makefile index 9550bbd0c5c..cade1a3f121 100644 --- a/x11/dxpc/Makefile +++ b/x11/dxpc/Makefile @@ -1,18 +1,16 @@ -# $NetBSD: Makefile,v 1.20 2004/10/03 00:18:28 tv Exp $ -# +# $NetBSD: Makefile,v 1.21 2005/01/19 15:10:12 adam Exp $ -DISTNAME= dxpc-3.8.1 -PKGREVISION= 1 -CATEGORIES= x11 -MASTER_SITES= http://www.vigor.nu/dxpc/3.8.1/ +DISTNAME= dxpc-3.8.2 +CATEGORIES= x11 +MASTER_SITES= http://www.vigor.nu/dxpc/3.8.2/ -MAINTAINER= tech-pkg@NetBSD.org -HOMEPAGE= http://www.vigor.nu/dxpc/ -COMMENT= Differential X Protocol Compressor +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.vigor.nu/dxpc/ +COMMENT= Differential X Protocol Compressor -GNU_CONFIGURE= yes -USE_X11BASE= yes USE_BUILDLINK3= yes +USE_X11= yes +GNU_CONFIGURE= yes .include "../../mk/bsd.prefs.mk" diff --git a/x11/dxpc/distinfo b/x11/dxpc/distinfo index 06b96d41193..19cb8d72aeb 100644 --- a/x11/dxpc/distinfo +++ b/x11/dxpc/distinfo @@ -1,5 +1,4 @@ -$NetBSD: distinfo,v 1.4 2004/03/26 18:39:31 minskim Exp $ +$NetBSD: distinfo,v 1.5 2005/01/19 15:10:12 adam Exp $ -SHA1 (dxpc-3.8.1.tar.gz) = 5b6a5b4754704bce1e22f16982bc92e53761d357 -Size (dxpc-3.8.1.tar.gz) = 129417 bytes -SHA1 (patch-aa) = b731a26c47d33391aece8e9485b1419189ee05b5 +SHA1 (dxpc-3.8.2.tar.gz) = 208245e27788776b9f5a6424acb65ce05feb92a0 +Size (dxpc-3.8.2.tar.gz) = 144909 bytes diff --git a/x11/dxpc/patches/patch-aa b/x11/dxpc/patches/patch-aa deleted file mode 100644 index b8183fd40c2..00000000000 --- a/x11/dxpc/patches/patch-aa +++ /dev/null @@ -1,12 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2004/03/26 18:39:31 minskim Exp $ - ---- util.H.orig 2004-03-26 12:34:39.000000000 -0600 -+++ util.H -@@ -2,6 +2,7 @@ - #define util_H - - #include <fstream.h> -+#include <iostream.h> - - extern unsigned int GetUINT(unsigned const char *, int bigEndian); - extern unsigned int GetULONG(unsigned const char *, int bigEndian); |