mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
951 B

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