KDE 2.2.2: Skirtumas tarp puslapio versijų
(Jokio skirtumo)
|
Dabartinė 09:55, 5 spalio 2010 versija
As of 2009 August, EofNET Networks have published its ported KDE 2.2.2 source code to the public, this KDE port works on new linux systems (maybe some more). The main goal of this work is to support old/legacy desktop/laptop systems with full featured desktop environment.
KDE 2.2.2 EofNET source release includes these ported sources:
- QT-2.3.2
- KDELIBS-2.2.2
- KDEBASE-2.2.2
More packages like kdemultimedia will be ported later...
Tested systems are:
- Debian etch/lenny.
- Gentoo.
Compilation/Installation[keisti]
We haven't made any binary packages for this yet, so you need to compile it by yourself...
First of all we need to set prefix of KDE 2 to something like /usr/lib/kde2 so it will not harm your system or overwrite something, also it patched for kde prefix on users home directories to be ~/.kde2 nor ~/.kde or something, that can harm your current kde installation or something...
Ok we need to get files from svn repository now, remember to install subversion to get this:
# svn checkout svn://svn.eofnet.lt/lab06/kde_2.2.2 # cd kde_2.2.2
So first we need to export environment variables, better way to do this is to add text bellow to the /etc/profile
QTDIR=/usr/lib/qt2 PATH=$QTDIR/bin:/usr/lib/kde2/bin:$PATH MANPATH=$QTDIR/doc/man:$MANPATH LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
Then do this
# source /etc/profile
Now we can start building QT 2:
# cd qt-2.3.2 # ./configure -thread -gif -sm -system-zlib -system-libpng -system-libmng -system-jpeg -xft `freetype-config --cflags` # make # g++ -shared -Wl,-soname,libqutil.so.1 -o lib/libqutil.so.1.0.0 tools/designer/util/*.o -Llib -lqt-mt # g++ -o bin/designer tools/designer/designer/*.o -Llib -lqt-mt -lqutil # g++ -o bin/uic tools/designer/uic/*.o tools/designer/shared/*.o tools/designer/integration/kdevelop/*.o -Llib -lqt-mt -lqutil
Now needs to install it! ;-)
# QT_DIR=$RPM_BUILD_ROOT/usr/lib/qt2 # mkdir -p $QT_DIR # cp -r bin configs lib $QT_DIR # find $QT_DIR/lib -type f -exec strip {} \; # find $QT_DIR/bin -type f -exec strip {} \; # mkdir $QT_DIR/include # cp include/* $QT_DIR/include/
Now we will compile kdelibs!
# cd ../kdelibs-2.2.2 # ./configure --prefix=/usr/lib/kde2 --with-qt-dir=/usr/lib/qt2 --enable-mt --with-alsa # make
Install!
# make install prefix=/usr/lib/kde2 # find /usr/lib/kde2/bin -type f -exec strip {} \; # find /usr/lib/kde2/lib -name \*.so\* -type f -exec strip {} \; # rm -f /usr/lib/kde2/lib/*.a /usr/lib/kde2/lib/kde2/*.a
Ok, now we will add dynamic link libraries path to /etc/ld.so.conf or /etc/ld.so.conf.d/ld.so-kde2.conf (depends on the distro)
/usr/lib/qt2/lib /usr/lib/kde2/lib
Now run:
# ldconfig
Finally we will build kdebase
# ./configure --prefix=/usr/lib/kde2 --with-qt-dir=/usr/lib/qt2 --enable-mt --with-pam=kde2 # make
Install kde2 base
# make install prefix=/usr/lib/kde2 etc=/etc # find /usr/lib/kde2/bin -type f -exec strip {} \; # find /usr/lib/kde2/lib -name \*.so\* -type f -exec strip {} \; # rm -f /usr/lib/kde2/lib/*.a /usr/lib/kde2/lib/kde2/*.a # chmod 755 /usr/lib/kde2/bin/kcheckpass # chown root:shadow /usr/lib/kde2/bin/kcheckpass # ldconfig
now we can startkde from .xinitrc !
# echo > "exec startkde" ~/.xinitrc # startx
Other information[keisti]
Please report known bugs to devnull@bsdnet.net
Links