echo " all done."
###--------------------------------------------------------------------------
-### Install necessary things.
-
-echo "Installing useful scripts..."
-
-scripts="
- lesspipe.sh start-ssh-agent svnwrap"
-for script in $scripts; do
- $echon " $script:$echoc"
- found=
- for p in /bin /usr/bin /usr/local/bin $(echo $PATH | tr : ' '); do
- if $false [ -x $p/$script ]; then
- found=t
- break
- fi
- done
- if [ "$found" ]; then
- echo " already installed."
- else
- $echon " downloading$echoc"
- $GETURL $HOME$sub/bin/$script $REPO/$script
- chmod +x $HOME$sub/bin/$script
- echo " done."
- fi
-done
-
-echo " all done."
-
-###--------------------------------------------------------------------------
### Install some more complicated programs.
echo "Installing packages..."
systems="
- mlib:2.0.4:crc-mktab
- chkpath:1.1.0:tmpdir
+ mlib:crc-mktab
+ checkpath:tmpdir
"
[ "$xstuff" ] && systems="$systems
- xtoys:1.4.0:xatom
+ xtoys:xatom
"
for system in $systems; do
set -- $(echo $system | tr : ' ')
- sys=$1 ver=$2 prog=$3
+ sys=$1 prog=$2
$echon " $sys:$echoc"
if $false $prog >/dev/null 2>&1 --version; then
echo " already installed."
( set -e
$echon " downloading$echoc"
cd $HOME$sub/src
- rm -rf $sys-$ver.tar.gz $sys-$ver
- $GETURL $sys-$ver.tar.gz $REPO/$sys-$ver.tar.gz
+ rm -rf $sys.tar.gz $sys-$ver
+ $GETURL $sys.tar.gz $REPO/$sys.tar.gz
$echon " unpacking$echoc"
- gzip -cd $sys-$ver.tar.gz | tar xf -
+ dir=$(gzip -cd $sys.tar.gz | tar tf - | head -1)
+ gzip -cd $sys.tar.gz | tar xf -
$echon " configuring$echoc"
- cd $sys-$ver
+ cd $dir
mkdir build
cd build
../configure --prefix=$HOME$sub >>buildlog 2>&1
cgrc tigrc
gdbinit
guile
+ toprc
+ aspell.conf
lisp-init.lisp:.cmucl-init.lisp
lisp-init.lisp:.sbclrc
lisp-init.lisp:.clisprc.lisp
[ "$xstuff" ] && dotfiles="$dotfiles
xinitrc xsession Xdefaults vncrc vncsession
putty-defaults:.putty/sessions/Default%20Settings
+ eterm-theme.cfg:.Eterm/themes/Eterm/theme.cfg
e-keybindings.cfg:.enlightenment/keybindings.cfg
evnc-keybindings.cfg:.enlightenment-vnc/keybindings.cfg
e16-bindings:.e16/bindings.cfg
echo -n "Installing Git configuration:"
sed "
1i\
-### generated by $(pwd)/setup; do not edit!\
+### generated by $here/setup; do not edit!\
/@releasekey@/ s::$(./mdw-conf release-key 481334C2):g
-/@gitignore@/ s::$(./mdw-conf gitignore $(pwd)/gitignore):g
+/@gitignore@/ s::$(./mdw-conf gitignore $here/gitignore):g
" gitconfig >$HOME/.gitconfig.new
mv $HOME/.gitconfig.new $HOME/.gitconfig
echo " done."
mdw-editor
mdw-conf
movemail-hack
- emerge-hack"
+ emerge-hack
+ lesspipe.sh
+ start-ssh-agent
+ svnwrap
+ hyperspec"
[ "$xstuff" ] && scripts="$scripts
xrun
xshutdown"
echo "Installing Emacs packages..."
emacspkg="
make-regexp
+ ew-hols
git git-blame vc-git stgit
quilt"
for elib in $emacspkg; do