First of all I have to correct a typo: The current gentoo kernel is linux-2.6.30-gentoo-r6.
Well, I went on a huge step. I decided to install KDE 4.2, thoug marked still unstable for x86 in gentoo. I followed this guide:
http://www.gentoo.org/proj/en/desktop/kde/kde4-guide.xmlHence I had to copy the kde4.2.keywords file from gentoo to /usr/portage/package.keywords.
The relevant use flags in /etc/make.conf I have set:
acpi hal dbus X lm_sensors nvidia mysql svg opengl webkit -gtk -gnome qt3 qt4 kde alsa mng laptop avahi zeroconf mdnsresponder-compat
And the CFLAGS I use:
CFLAGS="-O2 -march=core2 -mtune=generic -fomit-frame-pointer -pipe"
CXXFLAGS="-O2 -march=core2 -mtune=generic -fomit-frame-pointer -pipe"
A first try to emerge kde-meta:4.2 resulted in missing dependencies, there are some packages missing in the package.keywords file provided by gentoo:
=app-admin/eselect-python-20090824
=app-arch/xz-utils-4.999.9_beta
After adding the above lines, "emerge -pv kde-meta:4.2" reports everything nice. Hence we start compiling (remove the "p" from the command), and be patient!
(As I have at home other gentoo boxes, I have enabled distcc, and if you have the same I recommend you to make it work before compiling kde... See this guide:
http://www.gentoo.org/doc/en/distcc.xml for details.)
Next step will be to make work nvidia ion driver and the synaptics touchpad, stay tuned.