OpenSDE Packages Database (without history before r20070)
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.

45 lines
1.4 KiB

  1. #!/bin/sh
  2. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. #
  5. # T2 SDE: package/.../xorg-server/xorg-server.conf
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; version 2 of the License. A copy of the
  13. # GNU General Public License can be found in the file COPYING.
  14. # --- T2-COPYRIGHT-NOTE-END ---
  15. x_postmake() {
  16. ln -sfv Xorg $root$bindir/X
  17. rm -fv $root/etc/fonts/*.bak
  18. echo "Copying default example configs ..."
  19. cp -fv $confdir/xorg.conf.{example,template} \
  20. $root/etc/X11/
  21. if [ -f $root/etc/X11/xorg.conf ]; then
  22. touch $root/etc/X11/xorg.conf
  23. else
  24. cp -v $root/etc/X11/xorg.conf{.example,}
  25. fi
  26. install -m 755 $confdir/startxdm.sh $root$bindir/startxdm
  27. install -m 755 $confdir/xcfgt2.sh $root$bindir/xcfgt2
  28. install -m 755 $confdir/xvfb-run.sh $root$bindir/xvfb-run
  29. echo "Installing X Setup Script ..."
  30. echo "export WINDOWMANAGER=kde" > $root/etc/profile.d/windowmanager
  31. }
  32. var_append GCC_WRAPPER_REMOVE ' ' '-I/usr/X11R6/include'
  33. var_append GCC_WRAPPER_REMOVE ' ' '-L/usr/X11R6/lib'
  34. # broken right now
  35. var_append confopt " " "--disable-dmx"
  36. hook_add postmake 5 "x_postmake"