. "$base/package/xorg/xorg_config.sh" xorg_server_postmake (){ echo "Create /etc/X11 (if it's not already there) ..." mkdir -p $root/etc/X11 echo "Copying default example configs ..." cp $confdir/xorg.conf.data $root/etc/X11/xorg.conf.example cp -fv $root/etc/X11/xorg.conf{.example,} echo "Installing X-Windows Setup Script ..." cp -fv $confdir/stone_mod_xorg.sh $root/etc/stone.d/mod_xorg.sh echo "export WINDOWMANAGER=kde" > $root/etc/profile.d/windowmanager echo "Installing the xdm start script (multiplexer) ..." cp $confdir/startxdm.sh $root/usr/X11R7/bin/startxdm chmod +x $root/usr/X11R7/bin/startxdm echo "Installing X-Windows Cron Script ..." cp -fv $confdir/xorg.cron $root/etc/cron.daily/80-xorg chmod +x $root/etc/cron.daily/80-xorg} hook_add preconf 5 "tar $taropt $archdir/MesaLib-$mesa_ver.tar.bz2"hook_add postmake 5 xorg_server_postmake var_append extraconfopt " " '--with-mesa-source=`dirs`/Mesa-$mesa_ver'
. "$base/package/xorg/xorg_config.sh"
xorg_server_postmake ()
{
echo "Create /etc/X11 (if it's not already there) ..."
mkdir -p $root/etc/X11
echo "Copying default example configs ..."
cp $confdir/xorg.conf.data $root/etc/X11/xorg.conf.example
cp -fv $root/etc/X11/xorg.conf{.example,}
echo "Installing X-Windows Setup Script ..."
cp -fv $confdir/stone_mod_xorg.sh $root/etc/stone.d/mod_xorg.sh
echo "export WINDOWMANAGER=kde" > $root/etc/profile.d/windowmanager
echo "Installing the xdm start script (multiplexer) ..."
cp $confdir/startxdm.sh $root/usr/X11R7/bin/startxdm
chmod +x $root/usr/X11R7/bin/startxdm
echo "Installing X-Windows Cron Script ..."
cp -fv $confdir/xorg.cron $root/etc/cron.daily/80-xorg
chmod +x $root/etc/cron.daily/80-xorg
}
hook_add preconf 5 "tar $taropt $archdir/MesaLib-$mesa_ver.tar.bz2"
hook_add postmake 5 xorg_server_postmake
var_append extraconfopt " " '--with-mesa-source=`dirs`/Mesa-$mesa_ver'