pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/libXdamage Update to libXdamage-1.1.2. Changes:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/229882a3344b
branches:  trunk
changeset: 569336:229882a3344b
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri Jan 15 18:47:45 2010 +0000

description:
Update to libXdamage-1.1.2. Changes:

Add README with pointers to mailing list, bugzilla & git repos
Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS
libXdamage 1.1.2
Add *~ to .gitignore to skip patch/emacs droppings
Replace static ChangeLog with dist-hook to generate from git log
Janitor: Correct make distcheck and compiler warnings.
Change parameter names for QueryVersion/QueryExtension.
Fix a comment in configure.ac, this is libXdamage, not libXfixes
Require pkg-config to find the packages, no funky x11 lookups.
libXdamage incorrectly encodes/decodes the 'More' field from the event.

diffstat:

 x11/libXdamage/Makefile         |   5 ++---
 x11/libXdamage/distinfo         |   9 ++++-----
 x11/libXdamage/patches/patch-aa |  33 ---------------------------------
 3 files changed, 6 insertions(+), 41 deletions(-)

diffs (65 lines):

diff -r 851244f11d62 -r 229882a3344b x11/libXdamage/Makefile
--- a/x11/libXdamage/Makefile   Fri Jan 15 18:46:21 2010 +0000
+++ b/x11/libXdamage/Makefile   Fri Jan 15 18:47:45 2010 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2008/05/24 21:45:15 tnn Exp $
+# $NetBSD: Makefile,v 1.6 2010/01/15 18:47:45 tnn Exp $
 #
 
-DISTNAME=              libXdamage-1.1.1
-PKGREVISION=           1
+DISTNAME=              libXdamage-1.1.2
 CATEGORIES=            x11 devel
 MASTER_SITES=          ${MASTER_SITE_XORG:=lib/}
 EXTRACT_SUFX=          .tar.bz2
diff -r 851244f11d62 -r 229882a3344b x11/libXdamage/distinfo
--- a/x11/libXdamage/distinfo   Fri Jan 15 18:46:21 2010 +0000
+++ b/x11/libXdamage/distinfo   Fri Jan 15 18:47:45 2010 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.4 2008/01/29 03:50:25 bjs Exp $
+$NetBSD: distinfo,v 1.5 2010/01/15 18:47:45 tnn Exp $
 
-SHA1 (libXdamage-1.1.1.tar.bz2) = a88e5a004084400d638ed623e281a6076519a8d0
-RMD160 (libXdamage-1.1.1.tar.bz2) = 90de272adbd42113869a8e4d36a51e2e4e576dc9
-Size (libXdamage-1.1.1.tar.bz2) = 201096 bytes
-SHA1 (patch-aa) = f45851e0cdd665b78e5e712a11c2a838cae272b2
+SHA1 (libXdamage-1.1.2.tar.bz2) = dc1fbc938e9bbc859c70cf2087440fc15b00bb1e
+RMD160 (libXdamage-1.1.2.tar.bz2) = 0f2b85ce1314ac0d35cd2fcba15ff9c5425642f9
+Size (libXdamage-1.1.2.tar.bz2) = 238443 bytes
diff -r 851244f11d62 -r 229882a3344b x11/libXdamage/patches/patch-aa
--- a/x11/libXdamage/patches/patch-aa   Fri Jan 15 18:46:21 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2008/01/29 03:50:26 bjs Exp $
-
-libXdamage incorrectly encodes/decodes the 'More' field from the event.
-
-The client library for xdamage currently fails to fill in the 'more'
-field.  As a result, you get whatever uninitialised junk was there
-before.
-
-The server sets the high bit of 'level' when there is
-'more' (DamageNotifyMore = 0x80).  A patch follows to fix the client
-library. (from GIT)
-
---- src/Xdamage.c.orig 2007-01-09 19:20:57.000000000 -0500
-+++ src/Xdamage.c
-@@ -231,7 +231,8 @@ XDamageWireToEvent(Display *dpy, XEvent 
-       aevent->display = dpy;
-       aevent->drawable = awire->drawable;
-       aevent->damage = awire->damage;
--      aevent->level = awire->level;
-+      aevent->level = awire->level & ~DamageNotifyMore;
-+      aevent->more = (awire->level & DamageNotifyMore) ? True : False;
-       aevent->timestamp = awire->timestamp;
-       aevent->area.x = awire->area.x;
-       aevent->area.y = awire->area.y;
-@@ -264,7 +265,7 @@ XDamageEventToWire(Display *dpy, XEvent 
-       awire->type = aevent->type | (aevent->send_event ? 0x80 : 0);
-       awire->drawable = aevent->drawable;
-       awire->damage = aevent->damage;
--      awire->level = aevent->level;
-+      awire->level = aevent->level | (aevent->more ? DamageNotifyMore : 0);
-       awire->timestamp = aevent->timestamp;
-       awire->area.x = aevent->area.x;
-       awire->area.y = aevent->area.y;



Home | Main Index | Thread Index | Old Index