On Mon, May 31, 2010 at 02:09:54PM +0200, David Schmid wrote:
David Engster wrote:
you mentioned you compiled wmii successfully on Solaris.
Could it be, that Solaris 10 does not have Xutf8* functions?
That's the only thing LD is missing right now and I can't find the libs to link it against. Do I have to patch all the UTF-8 functions (like Xutf8TextPropertyToTextList to XmbTextPropertyToTextList) or what did you do?

It helps if you have Xorg's Xlib. Otherwise, you can just define them away in your CFLAGS:

CFLAGS += \
        -DXutf8DrawString=XmbDrawString \
        -DXutf8TextExtents=XmbTextExtents \
        -DXutf8TextPropertyToTextList=XmbTextPropertyToTextList

But I Wouldn't recommend it unless you have a UTF-8 locale. Non-latin1 window titles are always encoded in UTF-8, so you'll probably wind up with a lot of garbled nonsense if you don't.

--
Kris Maglione

Never attribute to malice that which is adequately explained by
stupidity.
        --Hanlon's razor


Reply via email to