#!/bin/bash
umask 002
export KDEDIR=/usr/local/kde
export QTDIR=/usr/lib/qt
alias maketags="ctags -R .koffice.tags koffice/1.6 kdebase kdelibs"
export DO_NOT_COMPILE="kppp kdvi doc kdetv kpovmodeler kexi"
export PATH=$KDEDIR/bin:$QTDIR/bin:$PATH:/home/zander/sources/kde/unsermake
export MANPATH=$MANPATH:$QTDIR/doc/man/man3
export LD_LIBRARY_PATH=$KDEDIR/lib:$QTDIR/lib/
export LDFLAGS="-L/usr/X11R6/lib"
export INSTALL="/usr/bin/install -p"
export OPTS=" --with-shadow --without-rpm --with-pam=yes --prefix=$KDEDIR --with-java=$JAVA_HOME --without-arts  --enable-kpdf-drm=no"

alias confqt='./configure -system-zlib -qt-gif -system-libpng -system-libjpeg -system-libpng -system-libmng -xft -plugin-imgfmt-mng -thread -no-exceptions -fast --prefix=/usr/local/kde/qt -dlopen-opengl -xrandr -L/usr/X11R6/lib -Istring=/usr/include'
alias cs='cd `pwd | sed -e 's#kde/current#kde#'`'
alias cb='cd `pwd | sed -e 's#kde#kde/current#'`'
alias conf='`pwd | sed -e 's#kde/current#kde#'`/configure $OPTS'
alias make='unsermake --real-compare --print-progress'
alias doInstall='(cb && unsermake --real-compare --print-progress --compile-jobs=2 install)'
alias confdebug='(cb && conf --enable-debug=full)'
alias fullCompile="make -f Makefile.cvs && confdebug && doInstall"
alias fullCompile-light="make -f Makefile.cvs && (cb && conf) && doInstall"
alias compile="clear && unsermake  2>&1 | less"
alias cdkw="cd /home/zander/sources/kde/koffice/1.6/kword"
alias makekw='(cb && make $KDEDIR/lib/libkwordprivate.la)'

export KDESVN="svn+ssh://zander@svn.kde.org/home/kde/"

