see http://cvs.gentoo.org/~spider/KDE.is.broken.jpg for the exact result. dcgui (qt-dcgui) which is a QT (pure) program work nicely and render fonts, KDE does not. I've rebuilt kdelibs, kdebase, qt, xft, fontconfig, freetype. Gnome uses AA fonts nicely. I've tried both rc5 and the "stable" kdelibs/base media-libs/freetype 2.1.3-r2 x11-libs/qt 3.1.0-r1 x11-libs/xft 2.0.1-r1 kde-base/kdelibs 3.1_rc5 kde-base/kdebase 3.1_rc5 x11-base/xfree 4.2.1-r2 Portage 2.0.46-r4 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r3) ================================================================= System uname: 2.4.20 i686 AMD Athlon(tm) Processor USE="x86 apm avi encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xv zlib gdbm berkdb slang readline tetex aalib svga ggi tcltk java guile X sdl gpm tcpd pam libwww perl python esd imlib gtk motif opengl mozilla gphoto2 cdr crypt alsa oggvorbis -arts -qt -kde -cups gnome gpg gpgme bonobo doc oss ssl xmms 3dnow" ARCH="x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O2 -pipe" CXXFLAGS="-march=athlon-tbird -O2 -pipe" ACCEPT_KEYWORDS="x86 ~x86" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j10 -l5" JDK_HOME="/opt/sun-jdk-1.4.1.01" JAVA_HOME="/opt/sun-jdk-1.4.1.01" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
a lot of rebuilding and debugging and it appears that kde applications (even arts) link to /usr/X11R6/lib/freetype, where qt and other things link to /usr/lib/freetype this appears to be the culprit.
is -L/usr/X11R6/lib passed before -L/usr/lib? maybe passing LDFLAGS=-L/usr/lib to configure & make will solve this?
btw, here all those kde apps are linked against /usr/lib/libfreetype ;) (and freetype-2.1.3-r2 is merged)
I tried to manually edit the Makefile and reordered the -L flags, still no difference in the linking :/ Right now I'm making some system changes so Itll have to wait until a few reboots and some stabilization on my side.
uhm, i think this is a dup of bug #5305, isn't it?
okay, not sure -what- did it, but some more facts: the problem wasn't with KDE, it was with my linking/runtime system. deducted by: building KDE in a chroot proved teh "right" linking, then making pkgs of it and installed on chroot, worked, linked the right way: but, installing those packages on my normal system and it linked to /usr/X11.. again. possible fix: removing freetype, installing old version, then installing new version as update (Just dont ask why I did it that way, wanted to try) and also waiting for quite some time appears to solve the problem ;) no, its not a real fix, but... Heck