Subject: Re: Why Xfixes is conflict with native xcursor? (pkg/32317)
To: None <email@example.com>
From: Rui-Xiang Guo <firstname.lastname@example.org>
Date: 01/30/2006 09:59:03
On Sun, Dec 25, 2005 at 11:10:26PM +0800, Rui-Xiang Guo wrote:
> Hi, all.
> I found such condition in xcursor/builtin.mk -
> .if defined(USE_BUILTIN.Xfixes) && !empty(USE_BUILTIN.Xfixes:M[nN][oO])
> USE_BUILTIN.xcursor= no
> Is there anyone know the reason?
> I used native Xfree on NetBSD and we don't have native Xfixes. We have to
> install it from pkgsrc and that condition is always be true.
> I set USE_BUILTIN.xcursor=yes in /etc/mk.conf, then it will get the strange
> result when we have Xfixes and xcursor in the same time(e.g. gtk2).
> This is also the cause of PR 32317. After I comment those three lines, it
> fixes the problem.
If we still want to keep them, we can adopt this patch, it also works for me -
RCS file: /cvsroot/pkgsrc/x11/xcursor/builtin.mk,v
retrieving revision 1.10
diff -b -u -r1.10 builtin.mk
--- builtin.mk 4 Dec 2005 01:46:45 -0000 1.10
+++ builtin.mk 30 Jan 2006 01:49:53 -0000
@@ -44,6 +44,9 @@
.if defined(USE_BUILTIN.Xfixes) && !empty(USE_BUILTIN.Xfixes:M[nN][oO])
+. if defined(USE_BUILTIN.xcursor) && !empty(IS_BUILTIN.xcursor:M[yY][eE][sS])
.if defined(USE_BUILTIN.Xrender) && !empty(USE_BUILTIN.Xrender:M[nN][oO])