KDE, even of the latest version on Dec 20, 2007, is not as
advanced as Gnome and doesn't need fancy dependencies. Everything
except only a few packages can be taken from Etch repositories.
I didn't bother to install the dependencies. I had some before,
and later, compiling Garnome, I installed more. If you get any errors, read the
messages in the terminal and config.log carefully. But most likely
following this tutorial you won't get any. Anyway dependencies for
Lenny and Sid are listed on the KDE website. They should work also on
Etch.
MESSAGE:
Kig WARNING
===========
There is a problem using unpatched Boost.Python 1.30 in
combination
with GCC 3.2 and above. In some distributions, like Debian
sarge,
this problem has been fixed, but in other distributions, the
problem
may still be there. If you encounter problems while compiling
Kig,
then you should try to re-run configure with the option
"--disable-kig-python-scripting". This may fix the
compilation, but
you will not be able to use the Kig Python Scripting.
Funny. What crap this latest KDE is.
kdegames
Nothing is needed.
kdetoys
Nothing, either
kdewebdev
MESSAGE:
*************** Important *************************
Add /opt/kde-3.5.8/bin to your PATH and
add /opt/kde-3.5.8 to your KDEDIRS!
We did this already.
kdeutils
MESSAGE:
You're missing tpctl. If you're using a ThinkPad, you may
miss
some functionality of klaptopdaemon.
You can get them from
http://tpctl.sourceforge.net/tpctlhome.htm
Download and install tpctl_4.17.orig.tar.gz
There's also a deb package on that ftp repository. You can
try it, if you're not afraid.
kdeaccessibility
This package depends on ancient buggy crap. I didn't
install it. If you need it, you can spend your time on
adjusting the pieces on your own.
kdevelop
MESSAGE:
You have no kdelibs documentation generated by Doxygen
installed.
You should install Doxygen from www.doxygen.org,
reconfigure
and rebuild the kdelibs sources. You should 'make apidox'
and
'make install' in your kdelibs build dir, and then rerun
this
configure script.
No, thanks. I have doxygen installed, but they say, it
will take several hours to generate documentation that will
occupy the volume of 500 Mb. I am not a KDE developer.
ERROR:
GlobalParams.cc: In destructor
'GlobalParams::~GlobalParams()':
GlobalParams.cc:1827: warning: dereferencing type-punned
pointer will break strict-aliasing rules
GlobalParams.cc: In function 'void parseStyle(QString&,
int&, int&, int&)':
GlobalParams.cc:2069: error: 'FC_WIDTH_CONDENSED' was not
declared in this scope
GlobalParams.cc: In member function 'DisplayFontParam*
GlobalParams::getDisplayFont(GString*)':
GlobalParams.cc:2083: error: 'FC_WIDTH_NORMAL' was not
declared in this scope
GlobalParams.cc:2089: error: 'FC_WIDTH' was not declared in
this scope
GlobalParams.cc: In member function 'CharCodeToUnicode*
GlobalParams::getUnicodeToUnicode(GString*)':
GlobalParams.cc:2580: warning: dereferencing type-punned
pointer will break strict-aliasing rules
make[4]: *** [GlobalParams.lo] Error 1
make[4]: Leaving directory
`/home/rex/Desktop/Downloads/kdegraphics-3.5.8/kpdf/xpdf/xpdf'
FIX:
It's a fontconfig issue. It comes out that Etch's fontconfog
is too old. I fixed this problem by installing the latest
fontconfig-2.5.0.tar.gz into /opt/kde-3.5.8 my usual way.
Thanks to the Spanish guy for the hint.
ERROR :
./.libs/libkdeinit_kuickshow.so: undefined reference to
`Imlib_save_image'
./.libs/libkdeinit_kuickshow.so: undefined reference to
`Imlib_render'
FIX:
This is an absolutely weird error. I have imlib headers and
libraries which I compiled sepretaly trying to fix this
issue:
I fixed it this way. I deleted the entire
kdegraphics-3.5.8 folder and unpacked a new one from the
tarball. Then after running ./configure I changed directory
to kdegraphics-3.5.8/kuickshow and ran make. So kuickshow was
the first application I built. Than I changed directory back
to kdegraphics-3.5.8 and ran make as usual. Maybe that was
not a fix at all. Maybe shit just happened. Anyway it works
now.
kdeaddons
OK.
Installing KDE
Create
file KDE-3.5.8.desktop with the following content:
[Desktop Entry]
Name=KDE-3.5.8
Exec=/opt/kde-3.5.8/bin/startkde
Make it executable and put into /usr/share/xsessions
sudo chmod a+x KDE-3.5.8.desktop
If you start X with startx command, put into your .xinitrc:
/opt/kde-3.5.8/bin/startkde
XFCE4
XFCE people warn that compiling programs from source might be a
pain and suggest a nice graphical installer which due to some reason
was not helpful for me. Probably because I ran XFree86 binaries on my
machine. Anyway compiling 25 Mb XFCE after giant Gnome and crappy KDE
was like a toy, like candy. It went flawlessly, and I was done in 40
minutes.
Change directory to xfce-4.4.2/src and untar all the packages.
Now the Button xfce-4.4.2 should appear in GDM or KDM.
If you start X with startx, put into your .xinitrc the line:
/opt/xfce-4.4.2/bin/launch-xfce-4.4.2
If you want to get rid of your older xfce4 and don't know which
packages to remove, you can get them with the command:
sudo apt-cache depends xfce4
Applications
Having newer libraries it is quite easy to compile newer
applications. Gimp-2.4.1, Firefox-2.0.0.10 or even GTK+-2.12.2 and
many more can be taken right from Garnome. Just change the directory to the folder
containing the application or the library and run "make install". The
program will be built and installed together with its dependencies.
You might want to take a look into gar.conf.mk file
to change paths. Once you have the dependencies, it is easy to build
other programs. For example, I couldn't run Etch's Sylpheed Claws and
some other programs which crashed in Garnome because they were
compiled with the older GTK. I compiled new ones instead.
Claws-Mail
The only difficulty in compilation is to make pkg-config use the
packages not the ones it wants but the ones we need. One of the ways
to do that is editing your .bashrc. Put the following content into
it:
Then you will need X server headers. Otherwise you can get the
error:
Package x11 was not found in the pkg-config search path. Perhaps
you should add the directory containing `x11.pc' to the
PKG_CONFIG_PATH environment variable Package 'x11', required by
'cairo', not found.
You have X headers already installed, but pkg-config should find
then, since flags are pointed to garnome. I made just a bunch of
symlinks:
*** Claws Mail requires libetpan 0.49 or newer. See
http://www.etpan.org/
*** You can use --disable-libetpan if you don't need IMAP4 and/or
NNTP support.
configure: error: libetpan 0.49 not found.
In etch it is libetpan-dev (0.48-1)
In garnome there's no libetpan at all.
DOWNLOAD libetpan-0.52.tar.gz and compile it into Garnome with
Gpicview is a very nice and fast emage viewer. It doesn't take a lot
of resources and pops up in an instance. Gpicview is very handy, when
you need just quickly open and take a look at the picture.
DOWNLOAD gpicview-0.1.7.tar.gz and compile like Claws-Mail. No
other issues.
gliv
The same requirements are for Gliv as well. It needs gtkglext
installed first.
DOWNLOAD gtkglext-1.2.0.tar.bz2 gliv-1.9.6.tar.bz2 and compile
like for Claws-Mail and run ./configure with the following
options: