Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2005 07:23:20 -0800 (PST)
From:      Rob <spamrefuse@yahoo.com>
To:        freebsd-x11@freebsd.org
Subject:   xorg-libraries installs libXcursor.so.1, but libXcursor.so.1.0.2 is hardcoded
Message-ID:  <20051031152320.83576.qmail@web36205.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help


Hi,

The xorg-libraries port installs the file
"/usr/X11R6/lib/libXcursor.so.1".

However, in xc/lib/X11/Imakefile the version
"1.0.2" is hardcoded:

 SOXCURSORREV=1.0.2 
 XCURSOR_DEFINES = -DUSE_DYNAMIC_XCURSOR
-DLIBXCURSOR=\"libXcursor.so.$(SOXCURSORREV)\"

which is then used in xc/lib/X11/CrGlCur.c:

 static char libraryName[] = LIBXCURSOR;


This is rater odd: why installing libXcursor.so.1,
but hardcoded looking for libXcursor.so.1.0.2 ?

Yes, I know that in CrGlCur.c, the open_library()
function will try subsequently libXcursor.so.1.0.2,
libXcursor.so.1.0 and libXcursor.so.1, until it
succeeds with the last one....

So when it's hardcoded, why not doing it right
in the first place, and hardcode libXcursor.so.1
instead ?

Is this a bug/mistake?

Regards,
Rob.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051031152320.83576.qmail>