#!/bin/bash # XFCE Subversion installer version 20050620 # Distributed under GPL2 # Emil Jacobs # More info on: http://www.q-collective.org/xfce/ install-in-usr() { sh autogen.sh --prefix=/usr make make install popd } # Run as root, of course, if not, exit ROOT_UID=0 E_NOTROOT=67 if [ "$UID" -ne "$ROOT_UID" ] then echo "===================================" echo "Must be root to run this script." echo "===================================" exit $E_NOTROOT fi svn co http://svn.foo-projects.org/svn/xfce/modules/trunk/ xfce4-svn-source svn co http://svn.foo-projects.org/svn/xfce/xfc/trunk xfce4-svn-source/xfc svn co http://svn.foo-projects.org/svn/xfce/xfmedia/trunk xfce4-svn-source/xfmedia svn co https://os-cillation.de:8080/repos/libexo/trunk xfce4-svn-source/libexo svn co https://os-cillation.de:8080/repos/terminal/trunk xfce4-svn-source/terminal pushd xfce4-svn-source dirs="xfce4-dev-tools xfc libxfce4util libxfcegui4 libxfce4mcs xfce-mcs-manager xfce-mcs-plugins xfce4-panel xfwm4 xfce-utils xffm xfdesktop xfce4-session xfprint gtk-xfce-engine-2 xfce4-mixer xfce4-toys xfce4-trigger-launcher xfce4-icon-theme xfce4-terminal xfwm4-themes xfcalendar xfce4-appfinder libexo xfmedia terminal" c=1 for d in ${dirs}; do echo -ne "\033]0;${c} of 26: ${d}\007"; pushd ${d}; install-in-usr; (( c = c + 1 )); done echo -ne "\033]0;xterm\007" for i in /home/*; do [ -f $i/.xsession ] && echo "# /usr/bin/startxfce4" >> $i/.xsession; done for i in /home/*; do [ -f $i/.xinitrc ] && echo "# /usr/bin/startxfce4" >> $i/.xinitrc; done echo "" echo "============================================================================================================" echo "I'm finished, everything went smooth and without errors. Please edit you ~/.xsession and/or ~/.xinitrc file" echo "Have fun with your new XFCE svn build!" echo "============================================================================================================"