--===============0503370023== Content-Type: multipart/signed; boundary="nextPart1154434138.KURHtCPIgj"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1154434138.KURHtCPIgj Content-Type: multipart/mixed; boundary="Boundary-01=_+RzzEgHU8vicR63" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_+RzzEgHU8vicR63 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 1 August 2006 09:41, you wrote: > Hey Thomas, > > after my Linux destroyed itself (*hmpf*) I have now a new system up and > running ;) I also have KDE4 installed. Now I'm wondering _how_ you > develop KOffice. Do you really boot into KDE4? Or do you work in KDE3 > but use tools from the KDE4 user? Which tools do you use? Sure; I'll reply to list as others might want to steal some ideas as well. I use several tools; but everything in konsole (vim / make etc). I long ago decided to have a file in a project dir called 'env' which is a= =20 shellscript to setup the environment for that project. Due to my extensive use of the 'screen' command I just cd into one of=20 those project-dirs and start a screen there. I added a if test -e 'env'; then source ./env fi to my bashrc so every new shell I spawn in that screen uses the project=20 settings. Starting kword from that shell will start the one from my=20 current project. All this inside my favorite environment; which currently is kde3.5 I'll attach the kde and kde4 scripts. Some notes about sources setup; =46Irst of all; I use only one account. I also never use root: 1 account! I have a $HOME/sources/kde and a $HOME/sources/kde4 dir with checkouts of kde modules like koffice. These dirs are my 'projectdir's. In each project dir I have a 'current' dir which will contain all my build= =20 files (for src!=3Dbuild) and I use the aliases 'cb' and 'cs' to jump=20 between them. so; I have, for example; koffice [sources] current/koffice [buildfiles] cd into koffice and type 'fullCompile' to cmake and compile and install. And, very optional, but quite usefull; I have a darcs repository in $HOME/.etc which contains hardlinks to all=20 files I use for this. So my bash scripts, project scripts, my bin dir=20 etc. Very usefull to never suddenly loose anything due to a software bug=20 as well as to duplicate my homedir setup on another machine within 5 min. =2D-=20 Thomas Zander --Boundary-01=_+RzzEgHU8vicR63 Content-Type: application/x-shellscript; name="kde3-env" Content-Transfer-Encoding: 7bit Content-Description: kde3 setup file; rename to 'env' Content-Disposition: attachment; filename="kde3-env" #!/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/" --Boundary-01=_+RzzEgHU8vicR63 Content-Type: application/x-shellscript; name="kde4-env" Content-Transfer-Encoding: 7bit Content-Description: kde4 setup, rename to 'env' Content-Disposition: attachment; filename="kde4-env" #!/bin/bash umask 002 export KDEDIR=/usr/local/kde4 export QTDIR=$KDEDIR/qt export QTEST_COLORED=1 unset KDEDIRS export KDEHOME=$HOME/.kde4 export KDETMP=/tmp/$USER-kde4 mkdir -p $KDETMP export KDEVARTMP=/var/tmp/$USER-kde4 export PKG_CONFIG_PATH=$QTDIR/lib:$KDEDIR/lib/pkgconfig unset XDG_DATA_DIRS unset XDG_CONFIG_DIRS alias maketags="rm -f .vim.tags && find koffice/ kdebase/ kdelibs4_snapshot/ -name '*.h' | grep -v .svn | grep -v _darcs | grep -v kexi | ctags -Rf .vim.tags -L -" alias cdkw="cd ~/sources/kde4/koffice/kword/part" alias cdl="cd ~/sources/kde4/koffice/libs" PATH=$KDEDIR/bin:$QTDIR/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:$HOME/bin export MANPATH=$MANPATH:$QTDIR/doc/man/man3 export LD_LIBRARY_PATH=$KDEDIR/lib:$QTDIR/lib/ export LDFLAGS="-L/usr/X11R6/lib" alias doTailor='/usr/bin/tailor --configfile tailorConf' alias cs='cd `pwd | sed -e 's#kde4/current#kde4#'`' alias cb='cd `pwd | sed -e 's#kde4#kde4/current#'`' OPTS="-DCMAKE_INSTALL_PREFIX=$KDEDIR -DX11_Xfixes_LIB=/usr/lib" # -DKDE4_IGNORE_DONTPORT=1 -DCMAKE_CXX_FLAGS:STRING=-fPIC -DCMAKE_C_FLAGS:STRING=-fPIC" alias fullCompile='x=`pwd | sed -e 's#kde/current#kde#'` && (cb && cmake $OPTS -DKDE4_BUILD_TESTS=1 -DCMAKE_BUILD_TYPE:STRING=debugfull $x && make VERBOSE= && make install)' alias fullCompile-light='x=`pwd | sed -e 's#kde/current#kde#'` && (cb && cmake -DCMAKE_BUILD_TYPE=nodebug $OPTS $x && make VERBOSE= && make install)' alias doInstall='(cb && make -j2 && make install)' alias compile='clear && (cb && make 2>&1 | more)' alias makekw='(cb && make install 2>&1)' export KDESVN="svn+ssh://zander@svn.kde.org/home/kde/" alias confqt='./configure -prefix $QTDIR -qt-gif -no-tablet -no-exceptions -debug -fast -Istring=/usr/include' alias installqt='make sub-src sub-tools && make sub-src-install_subtargets-ordered sub-tools-install_subtargets-ordered install_htmldocs install_mkspecs install_qmake' # #initialize dbus daemon if test -f .dbus; then source .dbus >/dev/null fi # test if still alive if ! dbus 2>/dev/null >/dev/null; then umask 077 && /usr/bin/dbus-launch --auto-syntax > .dbus source .dbus > /dev/null fi --Boundary-01=_+RzzEgHU8vicR63-- --nextPart1154434138.KURHtCPIgj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBEzzR+CojCW6H2z/QRAgttAJ9RFDFd1fiCeG2OvQMbc6E/6YulOwCfUE9b sXZvpwakpk0pYKopjsh6KPE= =dD3I -----END PGP SIGNATURE----- --nextPart1154434138.KURHtCPIgj-- --===============0503370023== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel --===============0503370023==--